Hi Jiaul,
Many thanks for your response. My requirement is user will drop a file with PIR and SAP has to provide him a file with dependent requirements of raw materials relevant for the PIRs he has provided. The sequence of steps would be,
- Reorganize the DM version using the program RM60RR20 and RM60RR30.
- Creation of PIR using BAPI_REQUIREMENTS_CREATE
- Create Long term planing scenario - Need help on BAPI or FM for which I created this thread
- Create Simulative Planning File Entry using program RMMDVL00
- Run LTP using the program RMMRP010
- Build output file with dependent requirements using custom program for the scenario from the table MDSM.
I can setup all the above steps in a Job after transferring the input file to a UNIX path in AL11. But I don't want to do a BDC for step 3 because of which I have requested help and created this thread. If any BAPI , Function modules or standard programs (like RMMRP010) available for long term planning scenario creation it will be very helpful for me to automate the complete solution.
Kindly let me know if more information is required on this.
Thanks,
Aravind