2012 Oct 05 12:01 PM
Hi all,
I am passing a string in to the header table passed to the BADI from a standard program. The string is the concatenation of 4 fileds and 2 text elements inthe program - which we pass to the BADI.
We are log in in the ENG language and so we are getting 2 text elements in english - which i want in russian language.
We just need to replace those 2 text elements in english to russian language and that has to be done inside badi.
Any pointers to go ahead will be helpful.
Regards,
Veena.
Hi all,
I am passing a string in to the header table passed to the BADI from a standard program. The string is the concatenation of 4 fileds and 2 text elements inthe program - which we pass to the BADI.
We are log in in the ENG language and so we are getting 2 text elements in english - which i want in russian language.
We just need to replace those 2 text elements in english to russian language and that has to be done inside badi.
Any pointers to go ahead will be helpful.
Regards,
Veena.
2012 Oct 05 12:54 PM
Hi Veena,
You can try with a fm which will convert and pass those fields.I guess it is possible.
Regards,
Madhu.
2012 Oct 05 1:24 PM
thanks Madhu.
But the string is already concatenated one. The text elements can come anywhere .
Stmt is something like CONCATENATE x_workarea-name y_workarea-street text-001
x_workarea-ponum z_workarea-hzno text-002 INTO l_string
So what goes inside the BADI is just the l_string. Except the text elements , rest are maintined in russian in the corresponding tables. .
I was thinking of reading the text elements inside the BADI in Russian and use REPLACE OCCURANCE OF ... stmt. ?
Is there any alternative?
2012 Oct 06 5:46 AM
Hi veena,
I just guess it is possible first translate and then concatenate.
Regards,
Madhu.
2012 Oct 12 5:12 AM
Hi all,
We followed this approach-
We read the text pool of the program in RU from the badi then used "REPLACE ALL OCCURANCE".
Solved the problem.
Thanks for all the pointers.
Regards,
Veena.
Closing !!!
2012 Oct 12 6:54 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |