BAPI_RM_DATGEN SAP (Backflush Parameters Independent of Process) Structure details
Description: Backflush Parameters Independent of Process
Related tables to BAPI_RM_DATGEN
Access table BAPI_RM_DATGEN
Structure field list including key, data, relationships and ABAP select examples
BAPI_RM_DATGEN 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 "Backflush Parameters Independent of Process" 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_RM_DATGEN TYPE BAPI_RM_DATGEN.
The BAPI_RM_DATGEN table consists of various fields, each holding specific information or linking keys about Backflush Parameters Independent of Process data available in SAP. These include MATERIALNR (Material number), PRODPLANT (Plant), PLANPLANT (Planning plant), STORAGELOC (Receiving storage location for repetitive manufacturing).. 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 BAPI_RM_DATGEN 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 |
PDC_NUMBER | PDC number (specific ID for all PDC systems) | SA_BDENR | CHAR | 12 | CHAR12 | ||||
MATERIALNR | Material number | SA_MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
PRODPLANT | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PLANPLANT | Planning plant | WERKS_PL | CHAR | 4 | Assigned to domain | WERKS | |||
STORAGELOC | Receiving storage location for repetitive manufacturing | ALORT | CHAR | 4 | Assigned to domain | LGORT | |||
PRODVERSION | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
PRODLINE | Production line for repetitive manufacturing | SA_LINE1 | CHAR | 8 | ARBPL | AGR | RMLINE | ||
PLANNINGID | Planning identification 2 | MDV02 | CHAR | 8 | Assigned to domain | MDVXX | |||
BATCH | Receiving batch for repetitive manufacturing | SA_CHARG | CHAR | 10 | Assigned to domain | CHARG | |||
POSTDATE | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
DOCDATE | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
DOCHEADERTXT | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
BACKFLQUANT | Quantity in Unit of Entry | ERFMG | QUAN | 13(3) | MENG13 | ||||
SCRAPQUANT | Scrap quantity | SA_MNG04 | QUAN | 13(3) | MENG13 | ||||
UNITOFMEASURE | Unit of measure for backflush quantity and for actual scrap | SA_ERFME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
UNITOFMEASURE_ISO | ISO code for unit of measurement | ISOCD_UNIT | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
SCRAPREASON | Reason for scrap | SA_GRUND | CHAR | 4 | Assigned to domain | CO_AGRND | |||
REVLEVEL | Revision Level | REVLV | CHAR | 2 | NUMCV | REVLV | RVS | ||
PLANORDER | Planned order number | PLNUM | CHAR | 10 | Assigned to domain | ALPHA | PLNUM | PAF | |
ORDERCOSTS | Indicator: Post with order costs | ORDERCOSTS | CHAR | 1 | XFELD | ||||
INCLCOMPSCRAP | Indicator: Post with component scrap | INCLCOMPSCRAP | CHAR | 1 | XFELD | ||||
MATERIALNR_EXTERNAL | Long Material Number for MATERIALNR Field | MGV_MATERIALNR_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
MATERIALNR_GUID | External GUID for MATERIALNR Field | MGV_MATERIALNR_GUID | CHAR | 32 | MATNR_EGUID | ||||
MATERIALNR_VERSION | Version Number for MATERIALNR Field | MGV_MATERIALNR_VERSION | CHAR | 10 | MATNW | MATNR_VERS | |||
PERNR | Personnel number | CO_PERNR | NUMC | 8 | PERNR | PER | |||
GRUNR | Group number | PW_GRUNR | NUMC | 8 | Assigned to domain | GRUNR | GRN | ||
LOART | Wage Type | LOHNART | CHAR | 4 | LOART | ||||
LOGRP | Wage group | LOHNGRP | CHAR | 3 | Assigned to domain | LOHNGRP | |||
LSTYP | Time ticket type | PW_LSTYP | CHAR | 2 | Assigned to domain | LSTYP | |||
USER1 | User Field for HR Backflush Data | BF_USR | CHAR | 12 | BF_USR | ||||
USER2 | User Field for HR Backflush Data | BF_USR | CHAR | 12 | BF_USR |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_RM_DATGEN using ABAP code?
As BAPI_RM_DATGEN 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_RM_DATGEN as there is no data to select.How to access SAP table BAPI_RM_DATGEN
Within an ECC or HANA version of SAP you can also view further information about BAPI_RM_DATGEN 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