09-01-2008 10:52 AM
Dear All,
When i create a Service PR using bapi BAPI_REQUISITION_CREATE FM , service details ( Service number, Qty, Gross price, ) are not getting updated in Service tab of Purchase requisition transaction. I am passing all the services related parameters in the FM.
I am not getting any error in the return table.The PR does gets created but the services are not getting updated.How to upload the services using this BAPI ?I have tried with idoc earlier(PREQCR) but it returns the same issue without the services getting uploaded.
Almost all the threads i have watched into this forum but couldnot find a single one that can provide me with an solution.
Regards
Somnath
09-01-2008 11:28 AM
09-01-2008 11:33 AM
Hi
try BAPI_TRANSACTION_COMMIT after BAPI_REQUISITION_CREATE
Regards
Pavan
09-01-2008 12:16 PM
Hi
did tried with BAPI_TRANSACTION_COMMIT passed the value 1 and 0 to wait field still services do not get uploaded.Could you please try with test data (me52n with services tab) and whether it works in ur system or not.Its not easy i have tried all possible ways still not getting .If somebody gets to dig it thru please do reply me.
Regards
Somnath
09-01-2008 11:54 AM
Hi,
Debug the program properly. In the transaction_comit pass some value to wait field.
Regards,
Naresh.
09-02-2008 7:10 AM
Hi,
Please use function module BAPI_TRANSACTION_COMMIT after BAPI_REQUISITION_CREATE FM.
Thanks,
radha.
09-02-2008 8:59 AM
Hi
My reply above suggests that i have tried both of the function modules what value should i pass to wait?Is it working in your system for any test data that you have ?Update on this plz.