cancel
Showing results for 
Search instead for 
Did you mean: 

Form language for dunning

Peter_Inotai
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Peter,

Are you looking for &sy-langu& ?

Thanks,

Kalyan

Peter_Inotai
Active Contributor
0 Kudos

<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

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Peter & All,

I am having the same requirement in smartforms regd the language.

Could you please help me?

Thanks

Dan

Former Member
0 Kudos

Hi,

do you mean import parameter 'control_parameters-langu'?

Peter_Inotai
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Peter,

One of the import parameters in FM OPEN_FORM and START_FORM is language. Set a break-point on these FM and check what is passed to sapscript.

Message was edited by:

Tomasz Kozerski

Peter_Inotai
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.