cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic determination of language key in SD documents

Former Member
0 Kudos

Hello guys,

we have the requirement for certain customers to determine dynamically the language when creating SD documents (offer, order). In SAP Standard the document language is derived from the customer master data of the sold-to. So what i am looking for, is an exit / an alternative way to overwrite the language determined by the system when creating a new SD document. The objective is to have materal, header and item textes in the new language.

I would be very pleased, if anybody had an input to this matter.

Thanks for your help.

Regards, Fred

Accepted Solutions (0)

Answers (1)

Answers (1)

mandar_shete
Active Participant
0 Kudos

Hi Mark,

Solution could be as follows.

1. Create a Z-Table with Customer and Language as 2 fields.

2. In user exit MV45AFZB (USEREXIT_CHECK_VBAK) read the Z-Table with kuagv-kunnr. If entry found then overwrite the kuagv-spras with the language maintained in Z-Table.

I have tried this with EN, DE and ES and it works.

Thanks,

Mandar

Former Member
0 Kudos

Hi Mandar,

thanks for your reply. The solution you proposed does work to change the material text. Very good. Unfortunately it does not work for the proposed language in the language field of the header and item tab" texts". Does it work in your system?

Tried to reward points, but stars are not displayed....?

Thanks for your reply.

Regards, Mark