SAP® Documentation

Single view

APODM010 - Data Modification During Release from DP to SNP

General Material Data   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

User exit for the modification of data read from the infocube I_INFOCUBE of the key figure I_KEYFIGURE during the release to the SNP version I_VERSION_TO.

Parameters:

I_FLG_LOCATIONSPLIT : Flag location split

'X' : Location split

' ' : No location split

I_INFOCUBE : Infocube

I_KEYFIGURE : Key figure from infocube

I_VERSION_TO : SNP version

I_MATID : Product

I_LOCID : Location (optional)

Tables:

IT_TAB : Matrix of data read from infocube (optional)

IT_COLS : Column index (optional)

IT_ORDER_TAB : Demand plan (optional)

The flag I_FLG_LOCATIONSPLIT controls which of the parameters and tables

are to be filled and released when calling up the user exit:

a) I_FLG_LOCATIONSPLIT = 'X'

the following parameters/tables are released:

I_INFOCUBE

I_KEYFIGURE

I_VERSION_TO

I_MATID

IT_ORDER_TAB

You should pay particular attention to the content of the internal

table IT_ORDER_TAB, which contains values for one or more

product/location combinations.

The quantity and the time-based distribution of quantities

(vontg , bistg) can be changed. Product (matid) and location

(locid) cannot be changed. The fields pegid, start_time and

end_time of the table IT_ORDER_TAB are irrelevant here.

b) I_FLG_LOCATIONSPLIT = ' '

the following parameters/tables are released:

I_INFOCUBE

I_KEYFIGURE

I_VERSION_TO

I_MATID

I_LOCID

IT_TAB

IT_COLS

You should pay particular attention to the content of the internal

table IT_TAB, which contains the values for one product/location

combination.

IT_TAB-C : Column number (referenced from IT_COLS-COLUMN)

IT_TAB-V : Planned value

Application example:

This user exit could, for example, be used to distribute data that exists in the infocube in months so that a certain amount is distributed to both the first and the fifteenth day of the month.






BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2743 Date: 20191017 Time: 231129     sap01-206 ( 19 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.