Skip to Content
avatar image
Former Member

Smartform how to determine the language of apurchase order.

Hi,

Maybe a simple question. But i cannot find it in my form because it isn't used in it so far.

A purchase order must be printed in the language of the receiver of the purchase (vendor).

Which variable is used to detemine in which language these form text has to be printed.

(it is not sy-langu).

Gr., Frank

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Jul 02, 2009 at 12:12 PM

    The language is in the vendor master data (LFA1-SPRAS). Pass it to the Smart Forms in CONTROL_PARAMETERS field LANGU (and don't forget to use control_parameters-langu in the Smart Forms when required)

    Regards,

    Raymond

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 02, 2009 at 11:06 AM

    Hi,

    Before calling the smartfrom..use SET LANGUAGE statement

    SET LANGUAGE <Reciever Language>.
    
    Call the smartform Now

    .

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 02, 2009 at 11:08 AM

    In the program you call smartform While running smartform FM You must fill the langu field of Control_parameters structure.

    Edited by: Gungor Ozcelebi on Jul 2, 2009 1:08 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 02, 2009 at 11:51 AM

    when calling a smartform you have some standard interface parameters.

    one of them is called OUTPUT_OPTIONS and is of type SSFCOMPOP.

    this parameter has an attribute bcs_langu.

    Smartforms in done in this language when given, when not given smartforms is done in original language of the smartform.

    Add comment
    10|10000 characters needed characters exceeded