cancel
Showing results for 
Search instead for 
Did you mean: 

Form to be printed in four Afrikan languages

surya_ramireddy
Participant
0 Kudos

Hi guys.

The African language has been installed in sap and found in T002.

Initially script has been developed in EN language and translated to AF(afrikans) using Tcode se63.

My script should be printed in AF language when the contract account created in AF language and in

EN when contract account created in EN.

Please let me know the settings required.

Urgent.

surya.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member210123
Active Participant
0 Kudos

DATA : l_formname TYPE tdsfname.

DATA : l_ssfcompop TYPE ssfcompop.

DATA : l_ssfctrlop TYPE ssfctrlop.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = c_tabname

IMPORTING

fm_name = l_formname

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

l_ssfcompop-bcs_langu = kna1-spras.

l_ssfctrlop-langu = kna1-spras.

CALL FUNCTION l_formname

EXPORTING

control_parameters = l_ssfctrlop

output_options = l_ssfcompop

is_header = is_header_detail