Ansicht
Dokumentation

MMPUR_PO_OUTPUT_TEXT - Determine Output Language for Purchase Order Output

MMPUR_PO_OUTPUT_TEXT - Determine Output Language for Purchase Order Output

General Data in Customer Master   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

The purchase order output language is defined in the form template using the app Output Parameter Determination. With this BAdI, you can modify the output language for the purchase order output.

Parameters:

Importing Parameters:

PURCHASE_ORDER_NO: This parameter carries the purchase order number.

SENDER_COUNTRY: This parameter carries the country of the sender as defined in the purchase order output form.

RECEIVER_PARTNER: This parameter carries the country of the receiver as defined in the purchase order output form.

FORM_OUTPUT_LANGUAGE: This parameter carries the language information as defined in the purchase order output form.

PURCHASE_ORDER_LANGUAGE: This parameter carries the language in which the purchase order is created.

Changing Parameters:

OUTPUT_LANGUAGE: Use this parameter to modify the output language of the purchase order.

Sample Implementation

  METHOD if_mmpur_po_text_languange~change_text_language.

    IF purchase_order_language <> form_output_language.
      output_language = purchase_order_language.
    ELSE.
      output_language = form_output_language.
    ENDIF.

  ENDMETHOD.






General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1589 Date: 20240523 Time: 221406     sap01-206 ( 34 ms )