Ansicht
Dokumentation

TB_LIMIT_CHGPTR_CREATE - Set Change Pointer for Data Export of Limits

TB_LIMIT_CHGPTR_CREATE - Set Change Pointer for Data Export of Limits

BAL Application Log Documentation   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module writes a change pointer in the table JBDCPHDR. Depending on how relevant the data fields are for export, the function module writes it to the table.

The function module has two main sections:

  • Section 1: The fields for the limits key have changed. In this case a change pointer is written for all limits that are attached to this key.
  • Section 2: The limit itself has changed. A change pointer is written only for this limit.
  • Also in section 2: An interim limit has changed. In this case a change pointer is written for the corresponding limit.

Note that "change" here can also mean "insert" or "delete".

The relevance for export (Customizing of fields relevant for export) is first of all imported with the function module JBD_EXPORT_RELEVANZ_GET_PARAM. The imported data fields are filled with data and the function module JBD_CHGPTR_CHECK_AND_CREATE then writes a change pointer.

Example

* delete old sets

* DELETE VTBLVIL FROM TABLE T_VTBLVIL.

* Change pointer for VTBLVIL DELETE

LOOP AT t_vtblvil INTO wa_vtblvil.

DELETE vtblvil FROM wa_vtblvil.

CALL FUNCTION 'TB_LIMIT_CHGPTR_CREATE'

EXPORTING

i_old_vtblvil = wa_vtblvil

i_modus = 'D'.

ENDLOOP.

Notes

Further information





Parameters

IT_LS_NEW
I_MODUS
I_NEW_VTBLS
I_NEW_VTBLV
I_NEW_VTBLVIL
I_OLD_VTBLS
I_OLD_VTBLV
I_OLD_VTBLVIL
I_VTBLSKEY_UPDATE

Exceptions

VTBLSKEY

Function Group

TBLS

CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1943 Date: 20240523 Time: 051752     sap01-206 ( 33 ms )