ROIJ_DOCNR_S SAP (Search Help Structure Sales Documents) Structure details
Description: Search Help Structure Sales Documents
Structure field list including key, data, relationships and ABAP select examples
ROIJ_DOCNR_S 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 "Search Help Structure Sales Documents" 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_ROIJ_DOCNR_S TYPE ROIJ_DOCNR_S.
The ROIJ_DOCNR_S table consists of various fields, each holding specific information or linking keys about Search Help Structure Sales Documents data available in SAP. These include VBTYP (SD document category), VBELN (Sales and Distribution Document Number), POSNR (Sales Document Item), MATNR (Material 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: Can be enhanced (character-type or numeric)
SAP ROIJ_DOCNR_S 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
POSNR | Sales Document Item | POSNR_VA | NUMC | 6 | Assigned to domain | POSNR | APO | ||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
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 | ||
KUNNR | Sold-to party | KUNAG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | VAG | |
NAME1 | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
VKORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
AUART | Sales Document Type | AUART | CHAR | 4 | Assigned to domain | AUART | AUART | AAT | |
AUDAT | Document Date (Date Received/Sent) | AUDAT | DATS | 8 | DATUM | ||||
ZMENG | Target quantity in sales units | DZMENG | QUAN | 13(3) | MENG13 | ||||
KWMENG | Cumulative Order Quantity in Sales Units | KWMENG | QUAN | 15(3) | MENG15 | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
NETPR | Net price | NETPR | CURR | 11(2) | WERTV6 | ||||
WKTNR | Value contract no. | WKTNR | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
OIEXGNUM | Exchange agreement number | OIA_EXGNUM | CHAR | 10 | Assigned to domain | ALPHA | OIA_EXGNUM | OI1 | OIAE |
OIEXGTYP | Exchange type | OIA_EXGTYP | CHAR | 4 | Assigned to domain | OIA_EXGTYP | OI3 | ||
SITYP | Schedule type | OIJ_SITYP | CHAR | 2 | OIJ_SITYP | ||||
DOCIND | Reference document indicator (PSX) | OIJ_DOCIND | CHAR | 1 | OIJ_DOCIND | ||||
NMWERK | Transport system In-transit Plant | OIJ_WERK | CHAR | 4 | Assigned to domain | WERKS | |||
NMLGORT | Transport system In-transit Storage Location | OIJ_LGORT | CHAR | 4 | Assigned to domain | LGORT | |||
LOCPT | Location Partner Plant | OIJ_LOCPT | CHAR | 4 | Assigned to domain | WERKS | |||
LOCSL | Location Partner Storage Location | OIJ_LOCSL | CHAR | 4 | Assigned to domain | LGORT | |||
VKTRA | EDI Mode of Transport | OIJ_VKTRA | CHAR | 2 | Assigned to domain | VKTRA | |||
LOCID | Location ID | OIJ_LOCID | CHAR | 10 | Assigned to domain | OIJ_LOCID | OIX | ||
IDATE | Scheduled date | OIJ_IDATE | DATS | 8 | DATUM | ||||
PLANLOC | Location ID | OIJ_LOCID | CHAR | 10 | Assigned to domain | OIJ_LOCID | OIX | ||
FROMDATE | OIL-TSW: Deal validity From date | OIJ_FROMDATE | DATS | 8 | DATUM | ||||
TODATE | OIL-TSW: Deal validity To date | OIJ_TODATE | DATS | 8 | DATUM |
Key field | Non-key field |
How do I retrieve data from SAP structure ROIJ_DOCNR_S using ABAP code?
As ROIJ_DOCNR_S 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 ROIJ_DOCNR_S as there is no data to select.How to access SAP table ROIJ_DOCNR_S
Within an ECC or HANA version of SAP you can also view further information about ROIJ_DOCNR_S 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