Menu

SAP Function Module UPSCU_PACKAGE_CREATE

PUB/INS : Anlegen eines neuen Pakets

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

The Function Module UPSCU_PACKAGE_CREATE (PUB/INS : Anlegen eines neuen Pakets) is a standard Function Module in SAP ERP and is part of the function group UPSCU within the package U_P_S.

Technical Information

Function Module UPSCU_PACKAGE_CREATE
Short Text PUB/INS : Anlegen eines neuen Pakets
Function Group UPSCU
Package U_P_S
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FLG_APPL_LOG TYPE XFELD KUPS_FALSE Write application log
FLG_COMMIT_AND_WAIT TYPE XFELD KUPS_TRUE Send COMMIT AND WAIT
FLG_DOCNUM_UPDATE TYPE XFELD KUPS_FALSE Identify object IDocs
FLG_LOCK_PACKAGE TYPE XFELD KUPS_FALSE Lock packet against changes
FLG_MSG_COLLECT TYPE XFELD KUPS_FALSE Collect accumulated messages
FLG_SERIAL_UPDATE TYPE XFELD KUPS_FALSE Objekt-Serialisierung aktualisieren
FLG_SET_UPSSTS_NEW TYPE XFELD KUPS_FALSE Set packet status to 'new'
IMT_APIITM TYPE API_TUPSITM ALE-Verteilungspaket : Objektliste (Eingabestruktur)
IMT_APIPRE TYPE API_TUPSPRE ALE Distribution Packet: Predecessor (Input Structure)
IMT_APISRC TYPE API_TUPSSRC ALE-Verteilungspaket : Quellobjektliste (Eingabestruktur)
IM_HANDLE TYPE BALLOGHNDL Application Log: Log Handle
IM_INSTID TYPE UPS_INSTID ALE Distribution Packet: ID for Instantiation
IM_VRGNG TYPE TJ01-VRGNG KUPS_VRGNG_EDIT Business Transaction

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CH_APIHDR TYPE API_UPSHDR ALE Distribution Packet: Header Data (Input Structure)

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EX_MESSAGES TYPE TUPSBAPIRET2 Accumulated messages

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CURRENT_EXISTS There is still a packet in the unit that can be changed
ERROR Unspecified Error
FAILING_INSTANCE Instanz konnte nicht restauriert werden
NO_AUTHORITY No Authorization
NO_CHANGE Packet has been opened for display only
PACKAGE_EXISTS Package already exists
WRONG_INSTANCE Packet key does not fit current instance