01-06-2008 1:56 PM
Hi,
I have a requirement to create or change the requisition data.
Can I use IDOC_INPUT_PREQCR01 function module for both the purpose.
OR shall I go for custom function module by using BAPI function modules to create or change the data.
Please help me in this regarding.
Answers will be rewarded.
Thank you.
Eswar
01-06-2008 2:03 PM
Hello Eswar
You could use the IDoc processing function module if you had the data already available in the IDoc specific format (which is unlikely). This would mean you are receiving the IDoc data from another SAP system.
Instead, check the BAPI explorer (transaction BAPI) if you can find an appropriate BAPI.
Regards,
Uwe
01-07-2008 8:45 PM
Inside of IDOC_INPUT_PREQCR1 it is calling 'BAPI_PR_CREATE' anyway hence you can use that directly. There also is a 'BAPI_PR_CHANGE'
Regards,
Michael