Ansicht
Dokumentation

J_3ASD01 - AFS user exit for SD lists (dynamic list navigation)

J_3ASD01 - AFS user exit for SD lists (dynamic list navigation)

General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Enhancement J_3ASD01 contains one function module, which makes it possible to fill in the additional fields to be displayed in the list.

The function module for enhancement J_3ASD01 is:
  • EXIT_SAPLJ3AL_001
The following data is available:
  • Field I_CALLPROG
Program where the user exit is called
  • Field I_LISTID
Current list ID
  • Field I_LISTVAR
Current list variant
  • Structure I_VBAK
Document header data
  • Structure I_KUAGV
Sold-to party data
  • Structure I_KUWEV
Ship-to party data
  • Table DLN_FIELDCAT
Field catalog which contains the displayable fields in
the list. Each entry describes one field, and only those
fields with description NO_OUT=Space are displayed
  • Table DLN_TOPCAT
TOP-OF-PAGE data
  • Table DLN_LISTTAB
Data to be displayed
  • Table XVBUK
Status on header level
  • Table XVBAP
Item data
  • Table XVBUP
Status on item level
  • Table XVBEP
Schedule line data
  • Table XVBUE
Status on schedule line level
  • Table XVATL
VAS ticket/label
  • Table XVAP
VAS packet
  • Table XVASSO
VAS special service
  • Table XOSHE
Order scheduling
  • Table XVBFA
Sales document flow
  • Table XVBFAE
Sales document flow on schedule line
  • Table XVBAPF
Order item flow
  • Table XJ_3AMSO
Multistore order
The following example shows how additional fields are displayed
on a standard list (dynamic list navigation):
  • Change the list definition (use IMG: -> Logistics-General -> AFS Dynamic list navigation -> List definitions)
  • Check if the List-ID has a user exit (-> Calling program)

  • Create additional fields to the field catalog within the customer name range and set them to be displayed (-> Field catalog -> Layout).

  • Create/change the include to the customer function so the new fields are filled:
FIELD-SYMBOLS: .
IF I_LISTID = 'ORD_VIEW'.
LOOP AT DLN_LISTTAB.
LOOP AT DLN_FIELDCAT.
IF DLN_FIELDCAT-FIELDNAME = 'ZZABTLG'.
ASSIGN COMPONENT DLN_FIELDCAT-FIELDNAME OF STRUCTURE
DLN_LISTTAB TO .
= 'STABSABTEILUNG'.
MODIFY DLN_LISTTAB.
ENDIF.
ENDLOOP.
ENDLOOP.
ENDIF.





General Data in Customer Master   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4331 Date: 20240416 Time: 183248     sap01-206 ( 33 ms )