Ansicht
Dokumentation

SIMG_XXMENUOLSDMODA4 - New Fields For Listing/Exclusion

SIMG_XXMENUOLSDMODA4 - New Fields For Listing/Exclusion

ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book
  • For listing and exclusion the following communication structures are relevant:
  • KOMKG (Material listing - header)

  • KOMPG (Material listing/material exclusion - item)

  • KOMGG (Material listing/material exclusion - communication block)

For technical reasons, the communication structure KOMGG is used, which combines KOMKG and KOMPG, and which contains all fields that can generally be used for material listing and material exclusion. When entering new fields in KOMKG or KOMPG, the fields are also automatically included in KOMGG.
  • New fields for material listing and exclusion are integrated in the following INCLUDES.
  • Header data in KOMKGZ (INCLUDE in KOMKG, KOMGG)

  • Item data in KOMPGZ (INCLUDE in KOMPG, KOMGG)

  • The routines for supplying the new fields in order processing are found in member MV45AFZA. Use the following user exits:
  • USEREXIT_MOVE_FIELD_TO_KOMKG (header fields)

  • USEREXIT_MOVE_FIELD_TO_KOMPG (item fields)

A statement for supplying a new header field for material listing could be, for example:
  • FORM USEREXIT_MOVE_FIELD_TO_KOMKG

  • ,,MOVE VBAK-FELDXY TO KOMKG-ZZFELDXY.

  • ENDFORM.

Remember that new data fields must start with the letters "ZZ" or "YY", since SAP reserved these letters to protect them against overwriting during a release changeover.





SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2111 Date: 20240523 Time: 173508     sap01-206 ( 26 ms )