12-17-2008 10:58 AM
dear experts,
Could any body help me out ?
i do have a requirement that in the Screen, iam having a field say Tshirt size, which have to be populated differntly according to the country in the value help. how can i do that.
iam mentioning what i have done:
1. defined field and selected From Dictionary Attribute in the screen.
2.maintained
Field ztab-fieldname in the chain endchain.
please do the needful as hoe come the filedname is populated with value help for different countries?
Edited by: Murthy Ganti on Dec 17, 2008 12:00 PM
12-17-2008 4:09 PM
Hi Murthy,
try FM F4IF_INT_TABLE_VALUE_REQUEST
In a dynpro ist has to be calles like this:
PROCESS ON VALUE-REQUEST.
FIELD a_field MODULE some_module.
kind regards
Miro
12-17-2008 4:25 PM
Hi Murty,
There are two ways in which you can approach this problem.
1. Data Dictionary Level where you can create a Search help and can associate it to the field. Based on the selected Input the value of the other fields will get populated.
2. You can program it manually in the code in Process On Value Request. You need to use the following function module Function Module F4IF_INT_TABLE_VALUE_REQUEST. This should be handled in
PROCESS ON VALUE-REQUEST.
You can have a look at the demo code which starts with DYNPRO in SE38.
Hope this will help.
Thanks,
Samantak.
12-18-2008 4:07 AM
Hi samantak,
I do not have the access key for calling FM in the program and accomidate it as it was migrated from 4.7 to ECC already. could you explain me how can i maintain different values for different conditions using Search help only.
Regards,
Murthy.
12-18-2008 4:19 AM
Hi Murty,
You need to create a View on the different field set which might be composed across different Tables. Once the view is created you need to create a Search Help using that View by selecting the fields that will come in the Help. Below is the step by step Documentation for the Search Help Creation.
Link 1
http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
Link 2
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
But after going through your statement, I have one concern. As you mentioned that you don't have any access for the calling FM in a Report Program, then I doubt whether you will have authorization for the Data Dictionary Object creation also. Just check the Roles and Authorization assigned to your user. You need the S_DEVELOP Authorization Object for any new create.
Hope this helps.
Thanks,
Samantak
12-18-2008 2:03 PM
hi samantak,
what view i need to create? help view?
Regards,
Murthy.
12-18-2008 2:16 PM
HI Murty,
You need a Help View to create a Search Help. Below is the link which will tell you how to create the View and to associate it with the Screen Fields.
Help View
http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ecd2446011d189700000e8322d00/frameset.htm
Linking the View to Screen
http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
Hope this will help.
Thanks,
Samantak.