BAPI_SHP_QUANTITY SAP (Quantity per material/vehicle in shipment) Structure details
Description: Quantity per material/vehicle in shipment
Related tables to BAPI_SHP_QUANTITY
Access table BAPI_SHP_QUANTITY
Structure field list including key, data, relationships and ABAP select examples
BAPI_SHP_QUANTITY 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 "Quantity per material/vehicle in shipment" 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_SHP_QUANTITY TYPE BAPI_SHP_QUANTITY.
The BAPI_SHP_QUANTITY table consists of various fields, each holding specific information or linking keys about Quantity per material/vehicle in shipment data available in SAP. These include VEHICLE (TD Vehicle Number), MAT_ITM (TD material item sequence number), LABST (Char 15), GLQTY (Character Field of Length 23).. 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_SHP_QUANTITY 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 | |
VEHICLE | TD Vehicle Number | OIG_VHLNMR | CHAR | 10 | Assigned to domain | ALPHA | OIG_VHLNMR | OIV | |
MAT_ITM | TD material item sequence number | OIG_MATITM | NUMC | 3 | BUZEI | ||||
LABST | Char 15 | CHAR15 | CHAR | 15 | CHAR15 | ||||
GLQTY | Character Field of Length 23 | CHAR23 | CHAR | 23 | CHAR23 | ||||
RSNCDV | Reason code to accept gain or loss | OIG_RSNCDV | CHAR | 2 | Assigned to domain | OIG_REASC | |||
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
ZEILE | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
LABST_P | Char 15 | CHAR15 | CHAR | 15 | CHAR15 | ||||
GLQTY_P | Character Field of Length 23 | CHAR23 | CHAR | 23 | CHAR23 | ||||
UPDATEFLAG | Transaction type | TRTYP | CHAR | 1 | TRTYP | ||||
REAS_CODED | Reason code description | OIG_RSCDES | CHAR | 40 | TEXT40 |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_SHP_QUANTITY using ABAP code?
As BAPI_SHP_QUANTITY 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_SHP_QUANTITY as there is no data to select.How to access SAP table BAPI_SHP_QUANTITY
Within an ECC or HANA version of SAP you can also view further information about BAPI_SHP_QUANTITY 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