Quantcast
Channel: SCN: Message List
Viewing all 8667 articles
Browse latest View live

Create dynamically a number of Input Fields

$
0
0

hi all,

 

one issue about creating dynamically a range of Input fields:

 

i have one sap.ui.layout.form.FormContainer.

at first i want to have one Input field in it. if this field is filled, i want to have a new one below, which is empty, and the cursor should be set to the new field.

 

so i know that there is an function addContent for the formcontainer, so i can listen to the changeEvent of the Input field, if this is filled i will add a new Input field.

 

at first: is this a good solution or is there any recommended way from SAP?

 

second: if i will implement it this way, how can i read the data from this "array" of input fields?

 

third: how can i set focus on input field in sapui5?

 

thanks for help!

 

Regards,

Alex


Re: Make to order Settlement

$
0
0

Hi

 

This is a standard behavior of MTO- sale order settlement.

 

You can find the EK02 condition will update in sale order after saving

 

And the cost incurrent during the production such as GI value + activity value will be transferred to sale order while doing CO88/Ko88 for that order -

 

You can find the settlement rule for the MTO production order is SD1.

 

In OVZG for the respective requirement class ( for the strategy maintained in Material master, If you use strategy 20 check for requirement class 40 in OVZG), you can find the settlement profile as SD1.

 

Refer http://scn.sap.com/thread/1042935

 

Regards

JH

Re: ECC Planned Order vs APO Planned Order

$
0
0

Hi Nick,

 

APO generated Planned order can be either SNP Planned order or PPDS Planned order (depending on the heuristics used for order creation).

 

R3 generated Planned order will always be considered as PPDS Planned order in APO

 

Also note that Planned order manually created in R3 will always be Firmed PPDS order in APO.

 

Regards,

Ravi

TDS part is disappearing on second simulation onwards

$
0
0

At the time of vendor invoicing,TDS part is disappearing on second simulation onwards,before that one warning message is showing like,       

Section code is not copied to withholding tax lines.

Message no. J1IN011.

Please suggest a solution to this.

Re: Invoice Date

$
0
0

Hi Jayapriya,

 

No, never, at least not in my country.

Changing an invoice data is a serious system breach that might lead to legal issues. It should never be done.

 

Sorry about that,

Edgar

SMP3.0 Sizing Guide for Agentry Apps

$
0
0

Hi All,

I'm looking for a sizing guide for Agentry Apps (Work Manager in particular) on SMP3.0. I only found the SMP2.3 sizing guide and the quicksizer has a SMP3.0 entry but only seems to refer to Mobilizer and Odata.

Has anyone SMP3.0 Agentry sizing information to share?

Thanks,

Christian

 

Tags edited by: Michael Appleby

Re: My personal blacklist

$
0
0

Yes, it's too delicate to handle this publicly.

 

Often times you can already judge by the form of the question if you should get involved.

Sufficient information provided? Signs of research done and attempts to self-solve? Professional and polite? If not, steer clear. Only points hunters will stay nevertheless.

Also quickly check the activity and content tab of the user, you can tell by the icon next to each question whether it was closed or not.

 

If you're a geek, you might be able to come up with a browser extension to show additional, user-based information (like dunce cap icons for your private black list...), I vaguely remember somebody doing this for the "old SCN" site.


Thomas

Re: Seperating bell curves into different graphs

$
0
0

Hey Jamie thanks for the quick reply.

 

But my Crystal report already groups by job and then by week, as shown in the attached picture.

 

now I want to add another group (by formula or expert or some other way) that will seperate these bell curves into different graphs.

 

thank you,

 

Anthony


Re: Shared variable in a sub report to a main report

$
0
0

Great, happy to hear it is working. STICK WITH WHAT YOU HAVE if it is working and disregard my last attachment. I don't have your original files, so things that you have done that don't exist on the files I am using should drive your approach.

 

Great work, great persistence. Go Peggy!

Re: Substitute tasks not shown in UWL but available in SBWP

$
0
0

Nilesh Telkikar wrote:

 

Is there any authorizations required in portal to add substitution?

 

page 14, http://www.sap-press.de/download/dateien/1461/146_leseprobe.pdf

 

 

Nilesh Telkikar wrote:

 

I see entries in SAP table HRUS_D2 but portal table KMC_WF_SUBSTITUTE is empty when I add substitution.

 

 

sorry, Im not familiar with the table. But regarding your expectation of new entries, did you saw that already?:

 

UWL FAQ - Business Process Expert - SCN Wiki

Substitution - Getting Started - Using SAP Software - SAP Library

 

regards

Re: SAP Sourcing:Disconnect LDAP and Connect UME for user store

$
0
0

Hi Gary,

 

Thank you for your help.  As you said, I noticed this strange behaviour.

I was loged in  as system in one of the internet explore tabs. Now in another tab I tried to login as enterprise; the system would not allow me. Then I had to close all the browsers and reopen again to login again as enterprise. Your tip was really helpful.

 

Now I need your help in changing the source to UME from LDAP.

 

We have successfully changed to UME.  Below is our scenario.

 

We already have SAP sourcing 5.1 ( productive) and our plan is to upgrade to 9.0 version.  As a first step to build the sourcing Development system,  we have copied the database of production. Then installed new sourcing 9.0 software on it. After doing the post install steps, We want to point the system to UME from LDAP.


With your help we have pointed to UME successfully from LDAP.

Now the issue is

     1) The old production users which were in LDAP are showing up. This is not want we want. You said that we should delete the old directory. Is there some other place where we should be deleting the users to completely delete all the production users?

     2) Some of the links like the login for FS buyer  don't work. For example

http://<hostname><port>/<context>/fsbuyer/portal/login this doesn't work, whereas http://<hostname><port>/<context>/fsbuyer/portal/index works perfectly fine.


I believe both of them should work.


Thanks

Manmath

MSS with NWBC

$
0
0

    Dear All.

 

I am implementing ESS&MSS . However when I execute the link "Pool Trabajo", the system show the message of error.

 

 

 

Error MSS.jpg

 

 

I have used a copy of the rol SAP_MANAGER_MSS_NWBC_2 to ZHRSAP_MANAGER_MSS_NWBC_2

 

 

I have copied the roles:

 

SAP_ASR_MANAGER to ZSAP_ASR_MANAGER

SAP_FI_TV_WEB_APPROVER to ZSAP_FI_TV_WEB_APPROVER

SAP_HR_CPS_DET_PLAN_L_SR_NWBC to ZSAP_HR_CPS_DET_PLAN_L_SR_NWBC

SAP_HR_LSO_HR-MANAGER to ZSAP_HR_LSO_HR-MANAGER

SAP_HR_LSO_MANAGER to ZSAP_HR_LSO_MANAGER

SAP_MANAGER_MSS_OTH_NWBC to  ZSAP_MANAGER_MSS_OTH_NWBC

SAP_MANAGER_MSS_SR_NWBC_2 to ZSAP_MANAGER_MSS_SR_NWBC_2

SAP_RCF_MANAGER to ZSAP_RCF_MANAGER

SAP_TIME_MGR_XX_ESS_WDA_1 to ZSAP_TIME_MGR_XX_ESS_WDA_1

SAP_TMC_MANAGER to ZSAP_TMC_MANAGER

 

 

Info: Components:

 

SAP_BASIS7310009SAPKB73109Sistema Base SAP

 

SAP_ABA7310009SAPKA73109Componente multiaplicaciones

 

SAP_HR6040070SAPKE60470Gestión de Recursos Humanos

 

EA-HR6060032SAPK-60632INEAHRSAP R/3 Enterprise Extension HR

 

How can solve this issue?

 

Thanks

Re: Charateristics description on header of MC94/95

$
0
0

Yeah we can use the same notes, but you need to have some code written in user exit include.

follow this. - you can send me your email i will send you the document.

 

Implementing the characteristics descriptions in MC94.

  1. Use the user exit: MCP20004 – activate the exit by crating the project.
  2. Create a z* module pool program
  3. Copy the corresponding screens from program: SAPMMCP6 – modify the screen by adding the input fields just beside the regular field where we are expecting descriptions with output type only.
  4. The write the appropriate logic to call the z* program and screen in user exit like

****&---------------------------------------------------------------------*
****&  Include           ZXSOPU04
****&---------------------------------------------------------------------*
***
e_strat
= i_strat.
CLEAR sy-subrc.
***
TABLES: s774,
s774e
,
mcdynum
.
DATA: short_text(40),
long_text
(40),
hlp_index
TYPE i,
hlp_screenfield
(13),
con_sum_plobj
(10) VALUE 'SUMMEN',
con_keyfigure_screen
(4) VALUE '1000',
*con_mat_txt_screen(4) VALUE '0100',
con_prodcat_screen
(4) VALUE '7039',
con_prodline_screen
(4) VALUE '7040',
con_prodhier1_screen
(4) VALUE '7041',
con_matnr_screen
(4) VALUE '7042',
con_version_screen
(4) VALUE '1020',
*Maheshg
con_initial_screen
(4) VALUE '1002',
lv_char
TYPE prodh_d,
lv_matdesc
TYPE maktx,
lv_prodcat_desc
TYPE bezei40,
lv_prodline_desc
TYPE bezei40,
lv_prodhier_desc
TYPE bezei40,

BEGIN OF screens_for_display OCCURS 0,
fieldname
(10),
screenfield
(10),
END OF screens_for_display.
*field-symbols: .
* in every case:
e_strat
= i_strat.
CASE i_sav_t445a-gstru.
* which info structure ?
WHEN 'S774'.
* check the planning types
CHECK i_sav_t445p-sctyp = '~1S774' OR
i_sav_t445p
-sctyp = 'ZS774-FCRS1'.
* collect the screens for display
* (the user settings were read by the standard)
SELECT * FROM mcdynum WHERE
progname
= 'SAPMMCP6' AND
tabname
= 'S774'.
screens_for_display
-fieldname = mcdynum-fieldname.
CASE mcdynum-dynnr.

WHEN i_strat-dynp1.
screens_for_display
-screenfield = '1'.
APPEND screens_for_display.
WHEN i_strat-dynp2.
screens_for_display
-screenfield = '2'.
APPEND screens_for_display.
WHEN i_strat-dynp3.
screens_for_display
-screenfield = '3'.
APPEND screens_for_display.
WHEN i_strat-dynp4.
screens_for_display
-screenfield = '4'.
APPEND screens_for_display.
WHEN i_strat-dynp5.
screens_for_display
-screenfield = '5'.
APPEND screens_for_display.
WHEN i_strat-dynp6.
screens_for_display
-screenfield = '6'.
APPEND screens_for_display.
ENDCASE.
ENDSELECT.
* initialize the include dynpros
PERFORM initialize_dynpros_s774 IN PROGRAM zstfhead.
* get the characteristic values
CLEAR: s774, s774e.
IF i_strat-akt_plobj = con_sum_plobj OR i_strat-kennz = 'X'.
* get the characteristic values of the aggregated information
PERFORM get_sxyz_value IN PROGRAM mmcp6774
CHANGING s774.
MOVE-CORRESPONDING s774 TO s774e.
ELSE.
* get the characteristic values of the detailed information
SELECT SINGLE * FROM s774e WHERE plobj = i_strat-akt_plobj.
CHECK sy-subrc = 0.
ENDIF.
* set the information of the description fields
*product category
IF s774e-prod_cat <> space.
MOVE s774e-prod_cat TO lv_char.
PERFORM char_desc IN PROGRAM zstfhead
USING lv_char
CHANGING lv_prodcat_desc.
CLEAR lv_char.
ENDIF.
*product line

IF s774e-prod_line IS NOT INITIAL."<> space.
MOVE s774e-prod_line TO lv_char.
PERFORM char_desc IN PROGRAM zstfhead
USING lv_char
CHANGING lv_prodline_desc.
CLEAR lv_char.
ENDIF.
*product hierarchy

IF s774e-prod_hier1 IS NOT INITIAL. "<> space.
MOVE s774e-prod_hier1 TO lv_char.
PERFORM char_desc IN PROGRAM zstfhead
USING lv_char
CHANGING lv_prodhier_desc.
CLEAR lv_char.
ENDIF.
**
* here: material short text:
IF s774e-matnr IS NOT INITIAL. "<> space.
* get the material short text
PERFORM mat_desc IN PROGRAM zstfhead
USING s774e-matnr
CHANGING lv_matdesc.
ELSE.
* no material short text is to be filled
ENDIF.
* set the characteristic values into the screens
LOOP AT screens_for_display.
hlp_screenfield
= 'E_STRAT-DYNP'.
hlp_screenfield+12
= screens_for_display-screenfield.
*assign (hlp_screenfield) to .
CASE screens_for_display-fieldname.
WHEN 'PROD_CAT'  . "product category
PERFORM fill_dynpro IN PROGRAM zstfhead
USING con_prodcat_screen
s774e
-prod_cat
lv_prodcat_desc
.
WHEN 'PROD_LINE'  . "product line
PERFORM fill_dynpro IN PROGRAM zstfhead
USING con_prodline_screen
s774e
-prod_line
lv_prodline_desc
.
WHEN 'PROD_HIER1'  . "product hierarchy
PERFORM fill_dynpro IN PROGRAM zstfhead
USING con_prodhier1_screen
s774e
-prod_hier1
lv_prodhier_desc
.
WHEN 'MATNR'  . "material number
*        con_matnr_screen.
PERFORM fill_dynpro IN PROGRAM zstfhead
USING con_matnr_screen
s774e
-matnr
lv_matdesc
.
ENDCASE.
ENDLOOP.
IF i_strat-kennz = 'X'.
* the key figure format is active
* ==> fill the dynpro with the key figure text
e_strat
-dynp7 = con_keyfigure_screen.
PERFORM fill_dynpro IN PROGRAM zstfhead
USING '1020'
i_rmcp2
-krit3
lv_matdesc
.
ENDIF.
* set the dynpro prog
*maheshg
*    e_strat-dynp_prog = 'SAPMMCP6'. "ZSTFHEAD'.
e_strat
-dynp_prog = 'ZSTFHEAD'.
* fill in every case the version and its texts
e_strat
-dynp8 = con_version_screen.
PERFORM fill_version_and_vtext IN PROGRAM zstfhead
USING i_rmcp2-vrsio
i_rmcp2
-vetxt
i_rmcp2
-avtxt.
WHEN OTHERS.
ENDCASE.

  1. Write subroutines to populate the characteristics as well descriptions like MATNR, PROD_LINE,PROD_CAT and PROD_HIER for S774

Program: ZFHEADF00

*&---------------------------------------------------------------------*
*&  Include           ZFHEADF00
*&---------------------------------------------------------------------*
*----------------------------------------------------------------------*
*&---------------------------------------------------------------------*
*&      Module  PROCESS_BEFORE  OUTPUT
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
FORM fill_dynpro
USING fd_dynnr
fd_value
lv_desc
.
CASE fd_dynnr.
*when '0100'.
*hlp_matnr_txt = fd_value.
WHEN '7042'.
*s774
-matnr = fd_value.
makt
-maktx   = lv_desc.
WHEN '7039'.
*s774
-prod_cat = fd_value.
hlp_prodcat_txt
= lv_desc.
WHEN '7040'.
*s774
-prod_line = fd_value.
hlp_prodline_txt
= lv_desc.
WHEN '7041'.
*s774
-prod_hier1 = fd_value.
hlp_prodhier_txt
= lv_desc.
WHEN '1020'.
rmcp2
-krit3 = fd_value.
ENDCASE.
ENDFORM. " FILL_DYNPRO
*&---------------------------------------------------------------------
*& Form INITIALIZE_DYNPROS_S712
*&---------------------------------------------------------------------
* initialize all fields of all dynpros *
*----------------------------------------------------------------------
*----------------------------------------------------------------------
FORM initialize_dynpros_s774.
CLEAR: s774,
rmcp2
,
hlp_matnr_txt
.
ENDFORM. " INITIALIZE_DYNPROS_S774
*&---------------------------------------------------------------------
*& Form FILL_VERSION_AND_VTEXT
*&---------------------------------------------------------------------
* text
*----------------------------------------------------------------------
* --> vrsio version number
* --> vetxt text of the version
* --> avtxt active version / inactive version
*----------------------------------------------------------------------
FORM fill_version_and_vtext
USING vrsio
vetxt
avtxt
.
rmcp2
-vrsia = vrsio.
rmcp2
-vetxt = vetxt.
rmcp2
-avtxt = avtxt.
ENDFORM. " FILL_VERSION_AND_VTEXT
form mat_desc
using i_matnr type matnr
CHANGING lv_desc type maktx.
select single maktx from makt into lv_desc where matnr = i_matnr.
if sy-subrc <> 0.
clear lv_desc.
endif.
ENDFORM.
form char_desc
using i_char  type PRODH_D
CHANGING lv_chardesc type BEZEI40.
select single vtext from t179t into lv_chardesc where prodh = i_char.
if sy-subrc <> 0.
clear lv_chardesc.
endif.

ENDFORM.

 

Program: ZFHEADTOP

*&---------------------------------------------------------------------*
*&  Include           ZFHEADTOP
*&---------------------------------------------------------------------*
TABLES: RMCP2,
S774
,
*S774
,
MAKT
.
data: hlp_matnr_txt(40),
hlp_prodcat_txt
(40),
hlp_prodline_txt
(40),
hlp_prodhier_txt
(40).

Re: RSO 404 and D0318

$
0
0

Hi,

 

First check your source system(flat file) was active or not.

 

Later create new data source and check the fields which you add into your data source.

Key fig like quantity and amounts need to have currency and units.

 

Can you check or share here your data source-- fields tab.

 

Thanks

Re: RSO 404 and D0318

$
0
0

Hi Laura,

 

please see the following...

 

1740740 - Error when creating the export DataSource and dependent Objects

 

Hope this helps,


Colm


Re: Adding a calculation line in Cross-tab

$
0
0

If the report will always have 2014 as the last year then you can change that code to:

 

GetRowGroupIndexOf(CurrentRowIndex) = 1 and GridRowColumnValue("@Event Year") = "2014"


-Abhilash

Re: ORA-00001 Unique constraint Violation Error

$
0
0

Hi Anil,

 

Kindly let me know the SP level of the below component.

 

KMC BASE COMPONENTS 7.30

 

 

J2EE ENGINE FRAMEWORK 7.30

 

Also attached the logs from SUM directory.I afraid you have to raise a message with SAP.

 

With Regards

Ashutosh Chaturvedi

Re: iChart - Multiple X-axis

$
0
0

Hi Ria,

 

Thanks...

Is that I have to place this ""sap.ui.version" in Browser of the server?

Please let me know?

 

Regards

R.P

Adding a table to an existing table results in wrong link

$
0
0

This is the code being used to add a table to a report:

 

private ISCRTable AddLinkTable(ILinkTable linkTable, string sourceTableAlias, ConnectionInfo connectionInfo)

{ // construct a new Table from its name

ISCRTable newTable = new Table();

newTable.ConnectionInfo = connectionInfo.Clone();

newTable.Name = linkTable.LinkTableName;

newTable.Alias = linkTable.LinkTableName + "_ThisIsTheLinkTable" + LinkTableId++;

if (_dataServiceSettings.DataProvider == DataProvider.Oracle11G)

newTable.QualifiedName = _dataServiceSettings.DatabaseUserName.ToUpper() + "." + newTable.Name.ToUpper();

else

newTable.QualifiedName = "dba." + newTable.Name;

// add a field to this new Table

newTable.DataFields.Add(AddDbField(linkTable.DataField, newTable.Alias));

// join this table to another one named sourceTableAlias, using linkFields TableLink

tableLink = new TableLink();

tableLink.SourceTableAlias = sourceTableAlias;

tableLink.TargetTableAlias = newTable.Alias;

tableLink.JoinType = CrTableJoinTypeEnum.crTableJoinTypeEqualJoin;

Strings sourceFields = new Strings();

Strings targetFields = new Strings();

for (int i = 0; i + 1 < linkTable.LinkFields.Length; i += 2)

{

sourceFields.Add(linkTable.LinkFields[i]); targetFields.Add(linkTable.LinkFields[i + 1]);

}

tableLink.SourceFieldNames = sourceFields;

tableLink.TargetFieldNames = targetFields;

TableLinks tableLinks = new TableLinks();

tableLinks.Add(tableLink); _report.ReportClientDocument.DatabaseController.AddTable(newTable, tableLinks);

_report.ReportClientDocument.DatabaseController.VerifyTableConnectivity(newTable);

//AddFieldToReport("{" + newTable.Alias + "." + linkTable.DataField + "}");

return newTable;

}

 

This is the resulting query SELECT "Article"."ArtId", "Article"."ArtDescr", "ArticleGroup"."AgDescr1", "Article"."ArtPurchLevel", "Article"."ArtMaximum", "Article"."ArtAbc", "Article"."ArtContext", "Article"."ArtPurchPrice", "Article"."ArtServOutUnt", "ArticleSite"."ArtsSitId", "Article"."ArtRecStatus"

FROM  (dba.Article "Article" LEFT OUTER JOIN dba.ArticleGroup "ArticleGroup" ON "Article"."ArtAgId"="ArticleGroup"."AgId")

INNER JOIN "10_78_00"."dba"."ArticleSite" "ArticleSite" ON "Article"."ArtId"="ArticleSite"."ArtsPurch" WHERE  "Article"."ArtContext"=1 AND ("ArticleSite"."ArtsSitId"='63'

OR "ArticleSite"."ArtsSitId"='64') AND "Article"."ArtRecStatus">=0 ORDER BY "Article"."ArtId"

 

the link field artspurch is not the field I declared . It happens to be the first column of the table ArticleSite. This seems to be a bug. has anyone ever experienced anything like this?

 

( Fixed the formatting )

 

Message was edited by: Don Williams

Re: Portal 7.31 SP 4 theme in theme editor is saved but after new login disapears

$
0
0

Your SP level is way behind. SAP has done considerable changes to the LAF during the past year or so. It is still not working perfectly but I myself wouldn't use anything older than SP10. Anyway regarding your problem, are you running multiple servers e.g. is it a cluster environment? Can you see the custom theme by using the portal component /irj/servlet/prt/portal/prtroot/com.sap.portal.themes.archive.download? When you save the theme in the Theme Editor, is anything recorded in the defaultTrace?

Viewing all 8667 articles
Browse latest View live




Latest Images