on 03-25-2008 10:41 AM
hi,friends:
i create four PO smartform (different version) in SRM ,first is en version,second is zh version,third is tw version,forth is ja version. in IF_EX_BBP_OUTPUT_CHANGE_SF~CHANGE_FORMS 中coding these:
IF SY-LANGU = 'E'.
CV_SMARTFORM = 'ZBBP_PO1'.
ELSEIF SY-LANGU = 'J'.
CV_SMARTFORM = 'ZBBP_PO2'.
ELSEIF SY-LANGU = '1'.
CV_SMARTFORM = 'ZBBP_PO3'.
ELSEIF SY-LANGU = 'M'.
CV_SMARTFORM = 'ZBBP_PO4'.
ELSE.
CV_SMARTFORM = 'ZBBP_PO1'.
ENDIF.
but i logon SRM web client using en,if vendor is zh language,po print error format;if vendor is en language,print OK.it cannot print PO form by logon language,it follow the vendor language,how can i print po form by logon language?
Hi,
coding seems to be fine .
First make sure that you are using variable insted of constant field . If you using variable then debuf and check what language sy-langu field takes .
Otherwise check with langu field .
Regards,
Nageswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.