Ansicht
Dokumentation

MBCF0002 - Customer function exit: Segment text in material doc. item

MBCF0002 - Customer function exit: Segment text in material doc. item

BAL Application Log Documentation   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

The user exit MBCF0002 includes a function module that is called up when you enter a goods movement for each item.

It enables you to fill in the item text in the material document item, depending on the following data:

  • MKPF ,, (Material document header)
  • MSEG ,, (Material document item)
  • VM07M,, (Additional data for material document item)
  • DM07M,, (Additional data for material document item)

The item text is also stored in the accounting document.

Goods receipt for a purchase order assigned to an account: since the purchase order number does not contain a material number, the material description entered in the purchase order is used as an item text (field MSEG-SGTXT).

Example of source text:
IF I_MSEG-MATNR IS INITIAL.
E_SGTXT = I_DM07M-MAKTX.
ENDIF.

If the material description is to be used as the item text for all goods movements, the source text has the following line only:

E_SGTXT = I_DM07M-MAKTX.






Addresses (Business Address Services)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1189 Date: 20240329 Time: 130306     sap01-206 ( 20 ms )