cancel
Showing results for 
Search instead for 
Did you mean: 

please help me print different smartform in SRM Web client

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)