cancel
Showing results for 
Search instead for 
Did you mean: 

Customer accounting field

Former Member
0 Kudos

hello,

we have a SRM 5.5 System running. We added two new fields to the accountings by add them to the Include Structure CI_BBP_ACC. The fields is shown on the website. But now we want to add a F4-Searchhelp to that field which depends on the field G_L_ACCOUNT of the table REQACCT. We tried different so far but nothing worked yet. We just are not able to retrieve that value from the site where the searchhelp is called from. The function DYNP_VALUES_READ wont work on that internet service, would it ?!

Another question that relates to the problem above is, how may i can retrieve the structure that is used to display the values on that site (internet service) ?

The site i mean is the details site - when i add an item to the basket within the Purchase website and go to the details of that item.

Well im new to SRM / webdynpros etc. so any help would be highly appreciated.

thanks and regards,

oliver

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

problem not solved yet

Former Member
0 Kudos

Hey Disha,

i came across the function "F4UT_PARAMETER_VALUE_GET" before but as far as i can see that one helps you to get the values of the search-parameters defined in the Search Help. These values arent the problem. The problem is different. I try to describe it more detailed.

We have added fields to the EBP-structure CI_BBP_ACC which is part of the table REQACCT. For the added field we have a search help with a user exit that retrieves the needed data from R/3 and fill the values of the search help. For this we need to know what accounting is selected (field G_L_ACCOUNT of REQACCT). I added REQACCT-G_L_ACCOUNT to the parameterlist of the search help but the value dont get filled. I assume, that the used structure within the basket-details of SRM is using another structure. But i dont know what structure.

So i need to find a way to retrieve that value from the website. Is there any way to get the values entered on the site ? Something like DYNP_VALUES_READ or so ?

The fieldname of G_L_ACCOUNT on the http-site is S_SCREEN_ACCDET-G_L_ACCT but that isnt a structure 😕

Any further help would be highly appreciated.

thanks,

oliver

Former Member
0 Kudos

Hi,

The F4 search help for customer field comes from the data definition in INCL_EEW_PD_ACC_CSF. If not,You can attach a std search help to your field or you could build a specific search help and define it in the customer append.

In your search help, don't use table and selection method but the search help exit: set and create a FM that will retrieve data in R/3 by RFC call.

You need to call these function modules inside your search help exit to fetch the user-entered value and then process it accordingly as per your requirements.

Please go through these function modules.

code*--- Get the user-entered fieldname[/code]

CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'

code*--- Map the Results[/code] CALL FUNCTION 'F4UT_RESULTS_MAP'

Other related links ->

Refer to following links

http://help.sap.com/saphelp_47x200/helpdata/en/1f/29ef5777df11d2959800a0c929b3c3/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/1f/29ef5777df11d2959800a0c929b3c3/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee45446011d189700000e8322d00/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/1f/29ef5777df11d2959800a0c929b3c3/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/1f/29ef5777df11d2959800a0c929b3c3/frameset.htm

Also, Please go through the SAP OSS Notes below ->

Note 1002979 - Customer fields are not displayed correctly in ITS

Note 672960 - User-defined fields 2 in ITS

BR,

Disha.

Pls reward points for useful answers.