Skip to Content
avatar image
Former Member

BAPI_REQUISITION_CREATE for Services

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Sep 01, 2008 at 10:28 AM

    Hi,

    check the data whether u r getting from table or not.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 01, 2008 at 10:33 AM

    Hi

    try BAPI_TRANSACTION_COMMIT after BAPI_REQUISITION_CREATE

    Regards

    Pavan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Sep 01, 2008 at 10:54 AM

    Hi,

    Debug the program properly. In the transaction_comit pass some value to wait field.

    Regards,

    Naresh.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 06:10 AM

    Hi,

    Please use function module BAPI_TRANSACTION_COMMIT after BAPI_REQUISITION_CREATE FM.

    Thanks,

    radha.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.