SAP Reports / Programs | Production Planning and Control | Sales and Operations Planning | Distribution Requirements Planning(PP-SOP-DRP) SAP PP

RDRPDF01 SAP ABAP INCLUDE - FORM Routines: Deployment Run







RDRPDF01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RDRPDF01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RDRPDF01. "Basic submit
SUBMIT RDRPDF01 AND RETURN. "Return to original report after report execution complete
SUBMIT RDRPDF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: FORM Routines: Deployment Run


INCLUDES used within this REPORT RDRPDF01

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

EXIT_SAPMMDRP_002 CALL FUNCTION 'EXIT_SAPMMDRP_002' EXPORTING I_MT61D = MD_MT61D I_ATD = MD_ATD_MENGE I_DATE = MD_DPLOY-DATE I_Menge = MD_DPLOY-Menge TABLES T_POCO = MD_HLP_POCO "cha H 760695 T_DEMAND = FS_DEMAND EXCEPTIONS OTHERS = 0.

BAPI_REQUISITION_DELETE CALL FUNCTION 'BAPI_REQUISITION_DELETE' EXPORTING NUMBER = EC_MDUA-BANFN TABLES REQUISITION_ITEMS_TO_DELETE = EC_BAPIEBAND RETURN = EC_BAPIRETURN EXCEPTIONS OTHERS = 1.

BAPI_REQUISITION_GETDETAIL CALL FUNCTION 'BAPI_REQUISITION_GETDETAIL' EXPORTING NUMBER = EC_MDUA-BANFN * ACCOUNT_ASSIGNMENT = ' ' * ITEM_TEXTS = ' ' * SERVICES = ' ' TABLES REQUISITION_ITEMS = EC_BAPIEBAN * REQUISITION_ACCOUNT_ASSIGNMENT = EC_BAPIEBKNO * REQUISITION_TEXT = * REQUISITION_LIMITS = * REQUISITION_CONTRACT_LIMITS = * REQUISITION_SERVICES = * REQUISITION_SRV_ACCASS_VALUES = RETURN = EC_BAPIRETURN EXCEPTIONS OTHERS = 1.

BAPI_REQUISITION_GETITEMS *- CALL FUNCTION 'BAPI_REQUISITION_GETITEMS' *- EXPORTING *- PREQ_NO = EC_MDUA-BANFN * PUR_GROUP = * PREQ_NAME = * PREQ_DATE = * MATERIAL = * MAT_GRP = * TRACKINGNO = * PLANT = * DOC_TYPE = * DELIV_DATE = * REL_DATE = * SHORT_TEXT = *- ASSIGNED_ITEMS = 'X' * CLOSED_ITEMS = ' ' * DELETED_ITEMS = ' ' * PARTIALLY_ORDERED_ITEMS = ' ' * ONLY_NON_MATERIAL_ITEMS = ' ' *- TABLES *- REQUISITION_ITEMS = EC_BAPIEBANC *- RETURN = EC_BAPIRETURN *- EXCEPTIONS *- OTHERS = 1.

BAPI_REQUISITION_CHANGE CALL FUNCTION 'BAPI_REQUISITION_CHANGE' EXPORTING NUMBER = EC_MDUA-BANFN TABLES REQUISITION_ITEMS_OLD = EC_BAPI_OLD REQUISITION_ITEMS_NEW = EC_BAPI_NEW * REQUISITION_ACCOUNT_OLD = EC_BAPIEBKNO * REQUISITION_ACCOUNT_NEW = EC_BAPIEBKNN * REQUISITION_TEXT_OLD = * REQUISITION_TEXT_NEW = RETURN = EC_BAPIRETURN EXCEPTIONS OTHERS = 1.

MATERIAL_LESEN CALL FUNCTION 'MATERIAL_LESEN' EXPORTING SCHLUESSEL = MTCOM IMPORTING MATDATEN = GM_MT61D RETURN = MTCOR TABLES SEQMAT01 = DUMMY EXCEPTIONS MATERIAL_NOT_FOUND = 04 PLANT_NOT_FOUND = 08 OTHERS = 01.

AVAILABILITY_CHECK_CONTROLLER CALL FUNCTION 'AVAILABILITY_CHECK_CONTROLLER' * EXPORTING * P_SCHEDSH = * P_SCHEDTR = TABLES * P_ATPALLX = * P_ATPASSX = P_ATPCSX = DA_ATPCS * P_ATPDIAX = * P_ATPDIAWX = * P_ATPDSX = * P_ATPMATX = * P_ATPPLANTX = * P_ATPSDUX = * P_ATPSOPX = * P_ATPSSPX = * P_ATPTERMX = P_MDVEX = DA_MDVE * P_QTDERGX = * P_QTDOBJX = * P_QTDQTYX = * P_T441VX = * P_TMVFX = * CHANGING * P_ATPCA = * P_ATPCB = * P_ATPCC = EXCEPTIONS ERROR = 1 OTHERS = 2.

MDRP_PO_CREATE CALL FUNCTION 'MDRP_PO_CREATE' EXPORTING I_MATNR = T_POCO-MATNR I_MEINS = T_POCO-MEINS "ins H 760695 I_NODE_FROM = T_POCO-NODE_FROM I_NODE_TO = T_POCO-NODE_TO I_QUANTITY = T_POCO-PSHIP * I_PLIFZ = CP_PLIFZ I_PLIFZ = T_POCO-PLIFZ * I_DATUM = CP_DATE I_DATUM = T_POCO-EREDAT TABLES T_RETURN = T_MESS EXCEPTIONS NO_PO_CREATE = 1 OTHERS = 2.

MDRP_ROUND CALL FUNCTION 'MDRP_ROUND' EXPORTING I_MATNR = R_MATNR I_WERKS = R_WERKS I_MEINS = R_MEINS I_RQTY = R_R_QTY I_TOT_QTY = R_T_QTY I_MIN_QTY = R_BSTMI I_MAX_QTY = R_BSTMA I_RDPRF = R_RDPRF IMPORTING E_RQTY = R_R_QTY EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RDRPDF01 or its description.