Menu

SAP Function Module UPSCU_PACKAGE_CREATE

PUB/INS : Anlegen eines neuen Pakets

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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