Skip to Content
author's profile photo Former Member
Former Member

Commit and wait after BUPA_IDENTIFICATION_ADD FM?

Hi,

I have a small issue when using BUPA_IDENTIFICATION_* - function modules.

When I use them within a loop I get errors saying that business partners are locked by me.

I tried using 'COMMIT WORK AND WAIT' statements after the function modules but that results in incorrect updates.

Please let me know if you have any suggestions as to how I can eliminate this error.

Thanks,

Martin

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Feb 21, 2014 at 07:58 AM

    Hi Martin

    Why are you using BUPA one you should use BAPI BAPI_IDENTIFICATION_ADD and after the sucesscall of it call BAPI_TRANSACTION_COMMIT

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Nabheet Madan

      Hello Nabhdeep,

      I am also facing a similar issue . I have to update ID numbers on BP and i have around 2 lakh entries to be updated, when i use commit work inside the loop for each record, i get lock issues and when i use the commit work outside the loop the commit is taking reallly long time.

      I am using bupa_identifiction_add FM in a loop. which is better bupa or bapi_identification_add?

      Also should i use commit work or bapi_transaction_commit?

      Could you please help.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.