cancel
Showing results for 
Search instead for 
Did you mean: 

Purchasing Order language

0 Kudos

HI,

Create new layout ZMEDRUCK copy of MEDRUCK.

Create controlling program ZSAPFM06P copy of SAPFM06P.

Create output function module ZME_PRINT_PO copy of ME_PRINT_PO.

Purchasing document will always be printed either in English (EN) language or in German (DE) language.

Any other default language in the purchasing document should be automatically changed to EN language.

SAP determines output language based on value in field EKKO-SPRAS.

This field value should be changed to EN if it is neither EN nor DE.

How to control this and where?


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

RK,

Go to subroutine "entry_neu"  of ZSAPFM06P.

Before you call  ZME_PRINT_PO, try to reset language ldoc-XEKKO-SPRAS = 'E'.

Hope this works!

Thanks,

VM.

0 Kudos

Thanks Venkat its working.

its L_DOC.

0 Kudos

Hi Venkat,

ME21N Print Preview, in script for language we will use

INCLUDE &T024E-TXADR& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS&

but i am migrating script into smartform.

on DE standard Po is printing in DE. in Smartform how to control language DE to display in DE.

Former Member
0 Kudos

RK,

In Smartforms you can use the Address Node, where you can dynamically populate the address number and language( Next to the address field and language field, you have a Dynamic value option arrow button). You can define a global variable, assign it in the address node and populate the value in your initialization event of your smart form.

Hope it helps!

Thanks,

VM.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Pls check OSS Note 300284 - ME21N:Change to language in communication subscreen. Hope this solves your problem.

Regards,

Deepti