Ansicht
Dokumentation

POS_CONDITION_INTERVALS_MERGE - POS-Schnittstelle: Bestimmt Änderungszeitpunkte in Konditionsintervallen

POS_CONDITION_INTERVALS_MERGE - POS-Schnittstelle: Bestimmt Änderungszeitpunkte in Konditionsintervallen

ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The functionality of the module relates to a fixed use, a fixed application and a fixed access sequence, and is therefore only to be used by the POS interface.

The module analyzes the condition intervals of the input table in line with the hierarchy levels set in the access sequence. All points in time from when a condition can change during a period under examination (PI_DATAB to PI_DATBI) are determined, i.e. only at these points in time does it make sense to determine prices in the POS interface.

If parameter PI_INC_FIRST_RECORD = 'X', the system checks whether the hierarchy level of table PI_KOTABNR contains an interval that contains the start date for the period under examination, and if it is not covered by a higher hierarchy level, the start of the period under examination is given as the point in time.

Example

'-' : corresponds to a day of the validity interval of a condition.
H1 - H4: Hierarchy level 1 to 4 (can be any number of levels).
The smaller the number the higher the hierarchy level.
# : Result of the routine. Day on which a condition can change-
(#) : Is only transferred if paraameter PI_INC_FIRST_RECORD
= 'X' and PI_KOTABNR refers to hierarchy level H3.
If PI_KOTABNR refers to H4, this day is not transferred,
because it is already covered by H3.

Start End
Period under examination Period under examination
! Interval !
H4 +-------+ +--------------------+ !
! ' !
H3 +-----------+ ' +-------------------------+
! ' ' !
H2 ! ' +---------+ ' !
! ' ' ' !
H1 ! +------+ ' ' ' +----------+
! ' ' ' ' ' !
! ' ' ' ' ' !
' ' ' ' ' '
' ' ' ' ' '
(#) # # # # # Point in time
copied

Notes





Parameters

PET_DATAB
PET_KNUMH_DATAB
PIT_KONDART
PIT_PERIODS
PI_APPLIKATION
PI_CHECK_END_OF_INTERVAL
PI_DATAB
PI_DATBI
PI_INC_FIRST_RECORD
PI_KOTABNR
PI_VERWENDUNG

Exceptions

Function Group

WPDA

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

Length: 2931 Date: 20240605 Time: 154351     sap01-206 ( 43 ms )