SAP Function RM_RS_DOWNLOAD - Downloading run schedule headers

Parameter Reference Type Length Default Optional Text
I_KZALLE RM61F-SELEKT C 1 ' ' X
I_KZPLAF RM61F-SELEKT C 1 ' ' X
I_KZREVL RM61F-SELEKT C 1 ' ' X
I_KZZPT RM61F-SELEKT C 1 ' ' X
I_MATNR RM61B-MATNR C 18 ' ' X
I_MDV01 RM61B-MDV01 C 8 ' ' X
I_MDV02 RM61B-MDV02 C 8 ' ' X
I_VERID RM61B-VERID C 4 ' ' X
I_WERKS RM61B-WERKS C 4

Parameter Reference Type Length Text
E_WERKS RM61B-WERKS C 4

Parameter Reference Length Optional Text
E_SABDE SABDE 58
E_SPBDE SPBDE 135
E_SRBDE SRBDE 82
E_SZBDE SZBDE 20

Exception Text
DB_ERROR
MATERIAL_NOT_FOUND
NO_PLANT_SPECIFIED
NO_RUN_SCHEDULE_FOUND
RMP_NOT_FOUND

Functionality
The function module is used for supplying PDC systems with data fromrun schedule headers. The function module is always accessed from PDCsystems via RFC. The data is passed on to the PDC system in the form oftables.
In the function module, you must enter at least the plant in which theRS headers are created. You can further limit the selection of the runschedule headers for which data is to be transferred by entering amaterial number, a production version and two planning identifiers.
By setting the appropriate switch, you can instruct the function moduleto transfer further data over and above the basic data of the runschedule header - such as reporting points, all planned order or allassigned planned orders of the material to be produced and the revisionlevels of the material to be produced.