Ansicht
Dokumentation

MEETA001 - Define schedule line type (backlog, immed. req., preview)

MEETA001 - Define schedule line type (backlog, immed. req., preview)

BAL_S_LOG - Application Log: Log header data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

The enhancement MEETA001 comprises a function module that is called in the generation of forecast delivery schedule releases.

This enhancement allows you to define the schedule line type for each of the individual schedule lines of a release.

The following types of schedule line are predefined in the SAP System:

Type of schedule line: Indicator:

Backlog R

Immediate requirement S

Forecast '_'

Backlog (R) means that the schedule line has a delivery date that lies in the past.

Immediate requirement (S) means that the schedule line has the delivery date 'today'.

Forecast ('_') means that the schedule line has a delivery date in the future.

SAP recommendation:

You can link these three types of schedule line with further conditions. However, use the indicators listed above if possible.

Example:

The date of the immediate requirement is 'today' or in the past and the applicable condition is that the schedule lines have not yet been transmitted to the supplier. If the schedule lines have already been transmitted, there is a backlog.
The forecast contains all schedule lines that have a delivery date in the future.

loop at i_ekeh.
if i_ekeh-eindt le sy-datum.
if i_ekeh-ameng eq space.
i_ekeh-etart = 'S'. "Immediate requirement
else.
i_ekeh-etart = 'R'. "Backlog
endif.
else.
i_ekeh-etart = ' '. "Forecast
endif.
modify i_ekeh.
endloop.

loop at xekeh where updkz ne 'D'.
if xekeh-eindt le sy-datum.
if xekeh-ameng eq space.
xekeh-etart = 'S'. "Immediate requirement
else.
xekeh-etart = 'R'. "Backlog
endif.
else.
xekeh-etart = ' '. "Forecast
endif.
modify xekeh.
endloop.






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

Length: 2330 Date: 20240426 Time: 161129     sap01-206 ( 29 ms )