on 06-30-2010 4:52 PM
Dear all,
I'm currently working on a Adobe form.
I need to know the language of the form which is contained in the variable /1BCDWB/DOCPARAMS-langu of the interface.
But when I add the parameter /1BCDWB/DOCPARAMS to the Input parameters of the code initialization, I get the following error :
"Field /1BCDWB/DOCPARAMS does not exist".
Then, How to use the form language parameter ?
Regards.
>>But when I add the parameter /1BCDWB/DOCPARAMS to the Input parameters of the code initialization, I get the following error :
>>"Field /1BCDWB/DOCPARAMS does not exist".
If you want to access the values of /1BCDWB/DOCPARAMS from within Code Initialization block of the interface object, its not allowed (atleast as of now).
you can access all other import parameters that are added by you, the global data etc in the Code Initialization.
if you really want to access the value of /1BCDWB/DOCPARAMS-langu inside Code Initialization, a possible workaround may be: to use abap print program
to maintain an additional input parameter e.g. UserSelectedLanguage
fill its value from /1BCDWB/DOCPARAMS-langu to UserSelectedLanguage before calling the fm_name,
add UserSelectedLanguage in the input parameters of the code initialization and access this value there.
a similar thread was posted few days back:
regards,
BJagdishwar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check report FP_TEST_00 for example.
fp_docparams-langu = p_langu.
fp_docparams-country = p_countr.
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
textlines = itf.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.