SAP BAPI_TSW_NOM_GETLIST Function Module for TSW Nomination : read Nomination Data for specified selection
BAPI_TSW_NOM_GETLIST is a standard bapi tsw nom getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for TSW Nomination : read Nomination Data for specified selection processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for bapi tsw nom getlist FM, simply by entering the name BAPI_TSW_NOM_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIJ_IF_NOM
Program Name: SAPLOIJ_IF_NOM
Main Program: SAPLOIJ_IF_NOM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_TSW_NOM_GETLIST pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'BAPI_TSW_NOM_GETLIST'"TSW Nomination : read Nomination Data for specified selection.
EXPORTING
* MAXROWS = 200 "Maximum number of lines of hits
* CARRIER = "OIL-TSW: Nomination Carrier
* SHIPPER = "OIL-TSW: Nomination Shipper
* TRANSPORTSYSTEM = "OIL-TSW: Transport system used in Nomination
* SHIPMENTTYPE = "TD shipment type
* VEHICLEID = "TD vehicle number
* CYCLE_ID = "OIL-TSW: Pipeline cycle ID
* SHIPMENTNUMBER = "TD shipment number
TABLES
NOMINATIONNUMBER_SAP = "TSW internal Nomination NumberSelection Range
* RETURN = "Return parameter
NOMINATIONNUMBER_EXT = "TSW external Nominationnumber Selection Range
* NOMINATIONHEADER = "TSW Nomination Header Data
* NOMINATIONITEM = "TSW Nomination Item Data
* NOMINATIONITEMCOPYTABLE = "TSW Nomination Item Data Copy Table
* NOMINATIONEVENTS = "TSW Nomination Events
* MATERIALBALANCE = "TSW Nomination-materials balance check
* NOMINATIONEVENTTEXTS = "TSW Nomination Event Texts
* EXTENSIONOUT = "Ref. structure for BAPI parameters EXTENSIONIN/EXTENSIONOUT
IMPORTING Parameters details for BAPI_TSW_NOM_GETLIST
MAXROWS - Maximum number of lines of hits
Data type: BAPIF4A-MAX_ROWSDefault: 200
Optional: Yes
Call by Reference: No ( called with pass by value option)
CARRIER - OIL-TSW: Nomination Carrier
Data type: BAPITSWNOM01-CARRIEROptional: Yes
Call by Reference: No ( called with pass by value option)
SHIPPER - OIL-TSW: Nomination Shipper
Data type: BAPITSWNOM01-SHIPPEROptional: Yes
Call by Reference: No ( called with pass by value option)
TRANSPORTSYSTEM - OIL-TSW: Transport system used in Nomination
Data type: BAPITSWNOM01-TRANSPORTSYSTEMOptional: Yes
Call by Reference: No ( called with pass by value option)
SHIPMENTTYPE - TD shipment type
Data type: BAPITSWNOM01-SHIPMENTTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
VEHICLEID - TD vehicle number
Data type: BAPITSWNOM01-VEHICLEIDOptional: Yes
Call by Reference: No ( called with pass by value option)
CYCLE_ID - OIL-TSW: Pipeline cycle ID
Data type: BAPITSWNOM01-CYCLE_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
SHIPMENTNUMBER - TD shipment number
Data type: BAPITSWNOM01-SHIPMENTNUMBEROptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_TSW_NOM_GETLIST
NOMINATIONNUMBER_SAP - TSW internal Nomination NumberSelection Range
Data type: BAPITSWNOM04Optional: No
Call by Reference: Yes
RETURN - Return parameter
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
NOMINATIONNUMBER_EXT - TSW external Nominationnumber Selection Range
Data type: BAPITSWNOM05Optional: No
Call by Reference: Yes
NOMINATIONHEADER - TSW Nomination Header Data
Data type: BAPITSWNOM02Optional: Yes
Call by Reference: Yes
NOMINATIONITEM - TSW Nomination Item Data
Data type: BAPITSWNOM03Optional: Yes
Call by Reference: Yes
NOMINATIONITEMCOPYTABLE - TSW Nomination Item Data Copy Table
Data type: BAPITSWNOM03_OOptional: Yes
Call by Reference: Yes
NOMINATIONEVENTS - TSW Nomination Events
Data type: BAPITSWNOM07Optional: Yes
Call by Reference: Yes
MATERIALBALANCE - TSW Nomination-materials balance check
Data type: BAPITSWNOM08Optional: Yes
Call by Reference: Yes
NOMINATIONEVENTTEXTS - TSW Nomination Event Texts
Data type: BAPITSWNOM09Optional: Yes
Call by Reference: Yes
EXTENSIONOUT - Ref. structure for BAPI parameters EXTENSIONIN/EXTENSIONOUT
Data type: BAPIPAREXOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BAPI_TSW_NOM_GETLIST Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_maxrows | TYPE BAPIF4A-MAX_ROWS, " 200 | |||
| lt_nominationnumber_sap | TYPE STANDARD TABLE OF BAPITSWNOM04, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_carrier | TYPE BAPITSWNOM01-CARRIER, " | |||
| lt_nominationnumber_ext | TYPE STANDARD TABLE OF BAPITSWNOM05, " | |||
| lv_shipper | TYPE BAPITSWNOM01-SHIPPER, " | |||
| lt_nominationheader | TYPE STANDARD TABLE OF BAPITSWNOM02, " | |||
| lt_nominationitem | TYPE STANDARD TABLE OF BAPITSWNOM03, " | |||
| lv_transportsystem | TYPE BAPITSWNOM01-TRANSPORTSYSTEM, " | |||
| lv_shipmenttype | TYPE BAPITSWNOM01-SHIPMENTTYPE, " | |||
| lt_nominationitemcopytable | TYPE STANDARD TABLE OF BAPITSWNOM03_O, " | |||
| lv_vehicleid | TYPE BAPITSWNOM01-VEHICLEID, " | |||
| lt_nominationevents | TYPE STANDARD TABLE OF BAPITSWNOM07, " | |||
| lv_cycle_id | TYPE BAPITSWNOM01-CYCLE_ID, " | |||
| lt_materialbalance | TYPE STANDARD TABLE OF BAPITSWNOM08, " | |||
| lv_shipmentnumber | TYPE BAPITSWNOM01-SHIPMENTNUMBER, " | |||
| lt_nominationeventtexts | TYPE STANDARD TABLE OF BAPITSWNOM09, " | |||
| lt_extensionout | TYPE STANDARD TABLE OF BAPIPAREX. " |
|   CALL FUNCTION 'BAPI_TSW_NOM_GETLIST' "TSW Nomination : read Nomination Data for specified selection |
| EXPORTING | ||
| MAXROWS | = lv_maxrows | |
| CARRIER | = lv_carrier | |
| SHIPPER | = lv_shipper | |
| TRANSPORTSYSTEM | = lv_transportsystem | |
| SHIPMENTTYPE | = lv_shipmenttype | |
| VEHICLEID | = lv_vehicleid | |
| CYCLE_ID | = lv_cycle_id | |
| SHIPMENTNUMBER | = lv_shipmentnumber | |
| TABLES | ||
| NOMINATIONNUMBER_SAP | = lt_nominationnumber_sap | |
| RETURN | = lt_return | |
| NOMINATIONNUMBER_EXT | = lt_nominationnumber_ext | |
| NOMINATIONHEADER | = lt_nominationheader | |
| NOMINATIONITEM | = lt_nominationitem | |
| NOMINATIONITEMCOPYTABLE | = lt_nominationitemcopytable | |
| NOMINATIONEVENTS | = lt_nominationevents | |
| MATERIALBALANCE | = lt_materialbalance | |
| NOMINATIONEVENTTEXTS | = lt_nominationeventtexts | |
| EXTENSIONOUT | = lt_extensionout | |
| . " BAPI_TSW_NOM_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_TSW_NOM_GETLIST
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single MAX_ROWS FROM BAPIF4A INTO @DATA(ld_maxrows). | ||||
| DATA(ld_maxrows) | = 200. | |||
| "SELECT single CARRIER FROM BAPITSWNOM01 INTO @DATA(ld_carrier). | ||||
| "SELECT single SHIPPER FROM BAPITSWNOM01 INTO @DATA(ld_shipper). | ||||
| "SELECT single TRANSPORTSYSTEM FROM BAPITSWNOM01 INTO @DATA(ld_transportsystem). | ||||
| "SELECT single SHIPMENTTYPE FROM BAPITSWNOM01 INTO @DATA(ld_shipmenttype). | ||||
| "SELECT single VEHICLEID FROM BAPITSWNOM01 INTO @DATA(ld_vehicleid). | ||||
| "SELECT single CYCLE_ID FROM BAPITSWNOM01 INTO @DATA(ld_cycle_id). | ||||
| "SELECT single SHIPMENTNUMBER FROM BAPITSWNOM01 INTO @DATA(ld_shipmentnumber). | ||||
Search for further information about these or an SAP related objects