BAPI_OIGSII SAP (Shipment item position) Structure details
Description: Shipment item position
Structure field list including key, data, relationships and ABAP select examples
BAPI_OIGSII is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Shipment item position" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_BAPI_OIGSII TYPE BAPI_OIGSII.
The BAPI_OIGSII table consists of various fields, each holding specific information or linking keys about Shipment item position data available in SAP. These include SHITEM (Shipment item), DOC_TYP (SD document category), DOC_NUMBER (TD document number), POSNR (TD document item number).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP BAPI_OIGSII structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
SHNUMBER | TD shipment number | OIG_SHNUM | CHAR | 10 | Assigned to domain | ALPHA | OIG_SHNUM | OIS | |
SHITEM | Shipment item | OIG_SHITM | NUMC | 4 | Assigned to domain | OIG_SHITM | |||
DOC_TYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
DOC_NUMBER | TD document number | OIG_DOCNR | CHAR | 10 | ALPHA | OIG_DOCNR | |||
POSNR | TD document item number | OIG_ITEM | NUMC | 6 | OIG_ITEM | ||||
OID_SHIP | Ship-to party | KUNWE | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
OIHHANTYP | Excise Duty Handling Type | OIH_HANTYP | CHAR | 2 | Assigned to domain | OIH_HANTYP | |||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
VSTEL | Shipping Point/Receiving Point | VSTEL | CHAR | 4 | Assigned to domain | VSTEL | VST | ||
EXT_DOC_NR | TD document number | OIG_DOCNR | CHAR | 10 | ALPHA | OIG_DOCNR | |||
CHANGED | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
STATUS | Transaction type | TRTYP | CHAR | 1 | TRTYP | ||||
PSTYV | Sales document item category | PSTYV | CHAR | 4 | Assigned to domain | PSTYV | |||
ETA | Field of type TIMS | TIMS | TIMS | 6 | TIME | ||||
DROP_SEQU | 5 Character Numeric NUMC | NUMC5 | NUMC | 5 | NUM5 | ||||
ABLAD | Unloading Point | ABLAD | CHAR | 25 | TEXT25 | ||||
OIPBL | Business location identifier (IS-Oil MRN) | OIF_PBLNR | CHAR | 10 | Assigned to domain | ALPHA | OIF_PBLNR | OI0 | OIFB |
OIPIPEVAL | Validation indicator for pipeline fields (X=ON, blank=OFF) | OID_PIPEV | CHAR | 1 | X | ||||
OIC_LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
OIC_DCITYC | Destination city code | OIC_DCITYC | CHAR | 4 | Assigned to domain | CITYC | |||
OIC_DCOUNC | Destination county code | OIC_DCOUNC | CHAR | 3 | Assigned to domain | COUNC | |||
OIC_DREGIO | Destination region | OIC_DREGIO | CHAR | 3 | Assigned to domain | REGIO | |||
OIC_DLAND1 | Destination country | OIC_DLAND1 | CHAR | 3 | Assigned to domain | LAND1 | |||
OIC_OCITYC | Origin city code | OIC_OCITYC | CHAR | 4 | Assigned to domain | CITYC | |||
OIC_OCOUNC | Origin county code | OIC_OCOUNC | CHAR | 3 | Assigned to domain | COUNC | |||
OIC_OREGIO | Origin region | OIC_OREGIO | CHAR | 3 | Assigned to domain | REGIO | |||
OIC_OLAND1 | Origin country | OIC_OLAND1 | CHAR | 3 | Assigned to domain | LAND1 | |||
OIC_PORGIN | Tax origin | OIC_PORGIN | CHAR | 15 | OIC_PORGIN | ||||
OIC_PDESTN | Tax destination | OIC_PDESTN | CHAR | 15 | OIC_PDESTN | ||||
OIC_PTRIP | Pipeline trip number (external) | OIC_PTRIP | CHAR | 16 | OIC_PTRIP | ||||
OIC_PBATCH | Pipeline operatorĀ“s external batch number | OIC_PBATCH | CHAR | 16 | OIC_PBATCH | ||||
OIC_MOT | IS-OIL MAP external details mode of transport | OIC_MOT | CHAR | 2 | Assigned to domain | VKTRA | |||
OIC_AORGIN | Alternate origin | OIC_AORGIN | CHAR | 15 | OIC_PORGIN | ||||
OIC_ADESTN | Alternate destination | OIC_ADESTN | CHAR | 15 | OIC_PDESTN | ||||
OIC_TRUCKN | Truck number | OIC_TRUCKN | CHAR | 10 | OIC_TRUCKN | ||||
OIA_BASELO | Base location | OIA_BASELO | CHAR | 15 | OIA_BASELO |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_OIGSII using ABAP code?
As BAPI_OIGSII is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on BAPI_OIGSII as there is no data to select.How to access SAP table BAPI_OIGSII
Within an ECC or HANA version of SAP you can also view further information about BAPI_OIGSII and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects