Menu

SAP Function Module WB2_CREATE_ITEM_WITH_REF

Trading-Kontrat: Vorbereitung der internen Tab. fuer Referenz position

The Function Module WB2_CREATE_ITEM_WITH_REF (Trading-Kontrat: Vorbereitung der internen Tab. fuer Referenz position) is a standard Function Module in SAP ERP and is part of the function group WB27 within the package WB2B.

Technical Information

Function Module WB2_CREATE_ITEM_WITH_REF
Short Text Trading-Kontrat: Vorbereitung der internen Tab. fuer Referenz position
Function Group WB27
Package WB2B
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_CPREF TYPE WB2_CP_REF Communication structure for copy TC
I_CP_HEADER TYPE C ' ' Copy header level or item
I_DIALOG TYPE CHAR1 'X' Dialog or not
I_FC_AKTIV TYPE CHAR1 NO yes: fuction call, no: online
I_FIRST_CALL TYPE C ' ' first call this FM
I_KOMWBHK_TO TYPE KOMWBHK Trading-Kontrakt: Kommunikationsstruktur Kopfdaten
I_LAST_CALL TYPE C ' ' last call this FM
I_P_ERROR TYPE CHAR1 YES issue error message yes/no or just set the return code
I_TPOSN_QTY TYPE KOMWBHI_REFC Referenzdaten: Kontrakt

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_KOMWBHD TYPE KOMWBHD Trading-Kontrakt: Kommunikationsstruktur Kaufmännische Daten
E_KOMWBHE LIKE KOMWBHE Trading Contract: Communication Structure, Schedule Lines
E_KOMWBHE_OLD LIKE KOMWBHE Trading Contract: Communication Structure, Schedule Lines
E_KOMWBHI LIKE KOMWBHI Trading Contract: Communication Structure, Item Data
E_KOMWBHI_OLD LIKE KOMWBHI Trading Contract: Communication Structure, Item Data
E_PREP_OK TYPE CHAR1 Flag for OK or not
E_P_SUBRC TYPE SYSUBRC Subroutines for return code
E_SKOMWBHI LIKE KOMWBHKS Trading Contract: Index for Screen Data

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_ERROR_MESSAGES LIKE WB2_ERROR Trading-Kontrakt: Fehlerhandling
T_IKOMWBHE LIKE KOMWBHEI Trading Contract: Schedule Line Index
T_IKOMWBHI LIKE KOMWBHII Trading Contract: Item/Sub-Item Data Index
T_IKOMWBHK LIKE KOMWBHKI Trading-Kontrakt: Index auf Kopfdaten
T_KOMWBHD LIKE KOMWBHD Trading Contract: Communication Structure, Commercial Data
T_KOMWBHE LIKE KOMWBHE Trading Contract: Communication Structure, Schedule Lines
T_KOMWBHI LIKE KOMWBHI Trading Contract: Communication Structure, Item Data
T_KOMWBHP LIKE KOMWBHP Trading Contract: Communication Structure, Partner Assignmt
T_XKOMWBHK LIKE KOMWBHK Trading Contract: Communication Structure Header Data
T_YKOMWBHD LIKE KOMWBHD Trading Contract: Communication Structure, Commercial Data
T_YKOMWBHE LIKE KOMWBHE Trading Contract: Communication Structure, Schedule Lines
T_YKOMWBHI LIKE KOMWBHI Trading Contract: Communication Structure, Item Data
T_YKOMWBHP LIKE KOMWBHP Trading-Kontrakt: Kommunikationsstruktur Partnerzuordnung

Exceptions

This function module does not define any Exceptions.