on 11-17-2006 10:49 AM
I use the copy of F150_DUNN_01 for dunning printout.
Is there any variable I can use to determine the language of the form?
I believe it's coming from the communication language of the customer, so I could get in a PERFORM myself, but I'm sure it's available as a variable, however I cannot find it.
It seems the print is triggered by FM PRINT_DUNNING_NOTICE.
Thanks in advance,
Peter
Hello Peter,
Are you looking for &sy-langu& ?
Thanks,
Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>Kalyan</b>
I'm looking for the langauge of the form, not the logon language.
The language form depends on the customer, but the logged on user.
Eg: The user logged on in English and the dunned customer is Spanish, then the form laguage is Spanish.
<b>Raghu. </b>
There is no such a variable as sy-language. Probable you meant "sy-langu".
Peter
Hi Peter & All,
I am having the same requirement in smartforms regd the language.
Could you please help me?
Thanks
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
do you mean import parameter 'control_parameters-langu'?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tomasz,
Can you let me know where to find this 'control_parameters-langu'?
I tried to put in the form debugger and the ABAP debugger, but it was not recognized, so I have no idea how to use it.
Where it is defined?
I couldn't find it in SAPF150V.
Did you mean the parameters for Smartforms? I'm using SAPScript.
Thanks in advance,
Peter
Hi Tomasz,
Thanks for your answer.
It seems for both FM there is an import parameter LANGUAGE, however in case od OPEN_FORM it's still the logon langauge, however for START_FORM it's already correct.
I still couldn't find if this parameter is passed to the SAPScript. In the ABAP debugger LANGUAGE and 'rstxc-tdspras' is filled with the correct language, however in the FORM Debugger, there is no value assigned to these parameters.
If I change from the FORM debugger to ABAP debugger, the value is shown correctly for rstxc-tdspras.
I think I'll get it from the customer master with a PERFORM, it's easier.
Thanks,
Peter
Hi,
Default Form prints using the sy-language and if you need any specific landuage data then you need to convert and place the cusomt text data to the required language using strnslation i.e. using transaction se63.
Let me know if you need any more details in this regard.
If thiss olution helps you do not forget totalocate points, Thanks.
Raghu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.