BAPI_RM_DATGEN SAP (Backflush Parameters Independent of Process) Structure details

Dictionary Type: Structure
Description: Backflush Parameters Independent of Process




ABAP Code to SELECT data from BAPI_RM_DATGEN
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_NUMBERPDC number (specific ID for all PDC systems) SA_BDENRCHAR12CHAR12
MATERIALNRMaterial number SA_MATNRCHAR18Assigned to domainMATN1MATNR
PRODPLANTPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PLANPLANTPlanning plant WERKS_PLCHAR4Assigned to domainWERKS
STORAGELOCReceiving storage location for repetitive manufacturing ALORTCHAR4Assigned to domainLGORT
PRODVERSIONProduction Version VERIDCHAR4Assigned to domainVERIDVER
PRODLINEProduction line for repetitive manufacturing SA_LINE1CHAR8ARBPLAGRRMLINE
PLANNINGIDPlanning identification 2 MDV02CHAR8Assigned to domainMDVXX
BATCHReceiving batch for repetitive manufacturing SA_CHARGCHAR10Assigned to domainCHARG
POSTDATEPosting Date in the Document BUDATDATS8DATUM
DOCDATEDocument Date in Document BLDATDATS8DATUM
DOCHEADERTXTDocument Header Text BKTXTCHAR25TEXT25
BACKFLQUANTQuantity in Unit of Entry ERFMGQUAN13(3) MENG13
SCRAPQUANTScrap quantity SA_MNG04QUAN13(3) MENG13
UNITOFMEASUREUnit of measure for backflush quantity and for actual scrap SA_ERFMEUNIT3Assigned to domainCUNITMEINS
UNITOFMEASURE_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
SCRAPREASONReason for scrap SA_GRUNDCHAR4Assigned to domainCO_AGRND
REVLEVELRevision Level REVLVCHAR2NUMCVREVLVRVS
PLANORDERPlanned order number PLNUMCHAR10Assigned to domainALPHAPLNUMPAF
ORDERCOSTSIndicator: Post with order costs ORDERCOSTSCHAR1XFELD
INCLCOMPSCRAPIndicator: Post with component scrap INCLCOMPSCRAPCHAR1XFELD
MATERIALNR_EXTERNALLong Material Number for MATERIALNR Field MGV_MATERIALNR_EXTERNALCHAR40MATNR_EXT
MATERIALNR_GUIDExternal GUID for MATERIALNR Field MGV_MATERIALNR_GUIDCHAR32MATNR_EGUID
MATERIALNR_VERSIONVersion Number for MATERIALNR Field MGV_MATERIALNR_VERSIONCHAR10MATNWMATNR_VERS
PERNRPersonnel number CO_PERNRNUMC8PERNRPER
GRUNRGroup number PW_GRUNRNUMC8Assigned to domainGRUNRGRN
LOARTWage Type LOHNARTCHAR4LOART
LOGRPWage group LOHNGRPCHAR3Assigned to domainLOHNGRP
LSTYPTime ticket type PW_LSTYPCHAR2Assigned to domainLSTYP
USER1User Field for HR Backflush Data BF_USRCHAR12BF_USR
USER2User Field for HR Backflush Data BF_USRCHAR12BF_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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!