on 01-18-2013 4:02 PM
Hello Gurus,
my requirement is to print a custom smartform in SRM 7 using the vendor language, which not necessarily is the same of sy-langu at runtime.
Example: vendor is from spain, but the buyer who's looking at the document is logged in in English --> Smartform should print out a document in spanish.
I have translated the smartform in any possible language without problems.
Actually, what determines the Sform language is the field LANGU in the structure CONTROL_PARAMETERS, so I'm here to ask you: is there any point in which I can modify it according to my logic without breaking the standard code?
As far as I've seen, in SRM there's a BADi , BBP_OUTPUT_CHANGE_SF, in which I could change that structure.
However (tried in debug mode) the value entered in the BADi are NOT transferred to the CONTROL_PARAMETERS structure as I can see, when the Smartform's FM is triggered, the LANGU value is always set to sy-langu.
Any idea? Thank you!
Hi - actually control_parameters-langu is same as the output language. If the output is issued in 'EN', then LANGU will be 'EN'. Its not the sy-langu though.
Thanks.
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.