Ansicht
Dokumentation

/SAPAPO/CIF_ATPCHECKSC_INBOUND - Maintain ATP check control

/SAPAPO/CIF_ATPCHECKSC_INBOUND - Maintain ATP check control

ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module is used to maintain the ATP Customizing data from connected systems.

The function module recognizes - controlled using the obligatory parameter IF_FUNKT - the functions:

  • '01': Delete ATP Customizing data
The ATP groups that are transferred in table I_ATP01_EX_TAB are deleted from the table /SAPAPO/ATP01. The relevant short texts from the table /SAPAPO/ATP01T are also deleted.
The business events transferred in the table IT_ATP02_EX_TAB are deleted from the table /SAPAPO/ATP02. The corresponding short texts are also deleted from the table /SAPAPO/ATP02T.
The check modes transferred in the table IT_ATP06_EX_TAB are deleted from table /SAPAPO/ATP06. The corresponding scopes of check are also deleted from the table /SAPAPO/ATP06.
The ATP check controls transferred in the table IT_ATP05_EX_TAB are deleted from the table /SAPAPO/ATP05. The corresponding scopes of check are also deleted from the table /SAPAPO/ATP04.
The check rules transferred in the table IT_ATP07_EX_TAB are deleted from the table /SAPAPO/ATP07.
The system does not check if the data to be deleted is still in use!
  • '02': Change Customizing data ATP
The ATP groups transferred in the table IT_ATP01_EX_TAB are deleted from the table /SAPAPO/ATP01. The corresponding short texts are also deleted from the table /SAPAPO/ATP01T.
The business events transferred in the table IT_ATP02_EX_TAB are deleted from the table /SAPAPO/ATP02. The corresponding short texts will also be deleted from the table /SAPAPO/ATP02T.
The check modes transferred in the table IT_ATP06_EX_TAB are deleted from the table /SAPAPO/ATP06. The corresponding scopes of check are also deleted from the table /SAPAPO/ATP06.
The ATP check controls transferred in the table IT_ATP05_EX_TAB are deleted from the table /SAPAPO/ATP05. The corresponding scopes of check are also deleted from the table /SAPAPO/ATP04.
The check rules transferred in the table IT_ATP07_EX_TAB are deleted from the table /SAPAPO/ATP07.
The ATP groups from IT_ATP01_EX_TAB and the short texts from IT_ATP01T_EX_TAB are then copied to the tables /SAPAPO/ATP01 or /SAPAPO/ATP01T.
The business events from IT_ATP02_EX_TAB and the short texts from I_ATP02T_TAB are then copied to the tables /SAPAPO/ATP02 or /SAPAPO/ATP02T.
The check modes from IT_ATP06_EX_TAB and the short texts from IT_ATP06T_EX_TAB are then copied to the tables /SAPAPO/ATP06 or /SAPAPO/ATP06T.
The ATP check controls from IT_ATP05_EX_TAB and their scopes of check from IT_ATP04_EX_TAB are then copied to the tables /SAPAPO/ATP05 or /SAPAPO/ATP04.
The check rules from IT_ATP07_EX_TAB are then copied to the table /SAPAPO/ATP07.
  • '03': Insert Customizing data ATP
The ATP groups from IT_ATP01_EX_TAB and the short texts from IT_ATP01T_EX_TAB are then copied to the tables /SAPAPO/ATP01 or /SAPAPO/ATP01T.
The business events from IT_ATP02_EX_TAB and the short texts from IT_ATP02T_EX_TAB are copied to the tables /SAPAPO/ATP02 or /SAPAPO/ATP02T.
The check modes from IT_ATP06_EX_TAB and the short texts from IT_ATP06T_EX_TAB are copied to the tables /SAPAPO/ATP06 or /SAPAPO/ATP06T.
The ATP check controls from IT_ATP05_EX_TAB and their scopes of check from IT_ATP04_EX_TAB are copied to the tables /SAPAPO/ATP05 or /SAPAPO/ATP04.
The check rules from IT_ATP07_EX_TAB are copied to the table /SAPAPO/ATP07.
  • '04': Complete copy of Customizing data ATP
First, all ATP groups and their short texts from the tables /SAPAPO/ATP01 or /SAPAPO/ATP01T are deleted. The same applies to the business events in /SAPAPO/ATP02 or /SAPAPO/ATP02T. The ATP check controls and all their scopes of check from the tables /SAPAPO/ATP05 or /SAPAPO/ATP04 are completely deleted. The check modes from the tables /SAPAPO/ATP06 or /SAPAPO/ATP06T are also deleted, as are the check rules from the table /SAPAPO/ATP07.
The ATP groups from IT_ATP01_EX_TAB and the short texts from IT_ATP01T_EX_TAB are then copied to the tables /SAPAPO/ATP01 or /SAPAPO/ATP01T.
The business events from IT_ATP02_EX_TAB and the short texts from IT_ATP02T_EX_TAB are then copied to the tables /SAPAPO/ATP02 or /SAPAPO/ATP02T.
The ATP check controls from IT_ATP05_EX_TAB and their scopes of check from IT_ATP04_EX_TAB are then copied to the tables /SAPAPO/ATP05 or /SAPAPO/ATP04.
The check modes from IT_ATP06_EX_TAB and the short texts from IT_ATP06T_EX_TAB are then copied to the tables /SAPAPO/ATP06 or /SAPAPO/ATP06T.
The check rules from IT_ATP07_EX_TAB are then copied to the table /SAPAPO/ATP07.
The system does not check if the data to be deleted is still in use!

Example

Notes

Further information





Parameters

ET_RETURN
IF_FUNKT
IF_LOGSYS
IS_CONTROL_PARAMETER
IT_ATP01T_EX_TAB
IT_ATP01_EX_TAB
IT_ATP02T_EX_TAB
IT_ATP02_EX_TAB
IT_ATP04_EX_TAB
IT_ATP05_EX_TAB
IT_ATP06T_EX_TAB
IT_ATP06_EX_TAB
IT_ATP07_EX_TAB
IT_EXTENSIONIN

Exceptions

BSG_ERROR
INIT_ERROR
INTERNAL_ERROR
LOGGING_ERROR
LOGSYS_ERROR
ODB_ERROR
POSTING_ERROR
USEREXIT_ERROR

Function Group

APO/SAPLCIF_ATP

Fill RESBD Structure from EBP Component Structure   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 6057 Date: 20240419 Time: 021145     sap01-206 ( 116 ms )