Ansicht
Dokumentation

API_S2K_IP_HDR_CREATE - Update Header table for SPEC2000 Upload

API_S2K_IP_HDR_CREATE - Update Header table for SPEC2000 Upload

PERFORM Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This API is used to insert details to the header in the Initial Provisioning database (SPCIPHDR table).

The import parameters being:

  • IS_UPDATE_OPTIONS - Database Update options. The options include the functionality to log errors as messages without any database commit taking place.
  • IS_SPCIPHDR - Header details should be passed to the API.
  • ES_UPLOAD_STATUS_HDR - Flag indicating the status of the update.
  • T_SPCIPEXTN - Customer Extensions. The customer extensions need to be handled by the Badi 'ADS2KIPUPL_HDR_API'.
  • T_MESSAGES - Messages raised are populated and passed to the calling application.

If the technical checks for any header fails, it logs in the messages and rejects the file. When the technical checks are successful the business checks are carried on.

In case the header is rejected there is no update in the database.

Example

Notes

Transmission Sequence Number(TSN field of CS_SPCIPPHDR) should be 1 for a transmission with New Parts, while for Revised, Deleted parts, it has be to one greater than the last TSN found in the database.

Further information





Parameters

ES_SPCIPHDR
ES_SPCIPHDRT
ES_UPLOAD_STATUS_HDR
IS_SPCIPHDR
IS_SPCIPHDRT
IS_UPDATE_OPTIONS
T_MESSAGES
T_MESSAGES_DOC_PARAMS
T_SPCIPEXTN

Exceptions

Function Group

ADS2KIPUPL_API_AL

Addresses (Business Address Services)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1738 Date: 20240605 Time: 071032     sap01-206 ( 33 ms )