Problem in creating and updating of  material by the use of bapi and bdc

Hello All,
I am using bapi (BAPI_MATERIAL_SAVEDATA ) and than bdc to create and update classification data of material.
I am facing a problem.
1) firstly I am creating material by the use of bapi and than after creation i want to update classification data for taht perticular material .
2) To update classification data i am using bdc . while at the time of updating material through bdc system showing me error that material is currently locked by user (my login name ).
Please suggest what to do.
Tkank you
With Regards
Shantanu Modi

When u update/create data it takes sometime to commit. So after using BAPI
give 10 minutes wait in ur program before updating classification data.
you can write like
wait up to 20 seconds.
and update the classification.

Similar Messages

Maybe you are looking for

  • Importing photos from camera or compact flash so slow urgent help.

    Little bit gutted, As this happen on my old MBP  now i have a new one got the same proble, on the 25th took part in the canon marathon, taking near 1000 photos raw on canon 7d. I took so long, i could just get some of the photo to meat the dead line,

  • Appraisal template - Columns

    Hi all, I am trying to analyze the appraisal template. The columns which are defined in template show up in the document. we have columns for final appraisal, start date, end date and obviously they are visible in the document. Question is what happe

  • Chart size does not extend with the data

    Hi, One of my reports has a horizontal bar and the chart size does not grow with the data. The chart displays fine if I have minimal amount of data. If the data grows, the display is bizarre, it's just messed up. Is there an option I need to set? Ple

  • HCM Processes & Forms - Message Type is unknown

    Hi, I have created an HCM process using HCM P&F framework. I can test the process from the ""Test Process" application on the ECC and it works fine. When I launch the process from the portal, I can see the adobe form correctly, the "Check and Send" a

  • Could not load assembly or file "crystaldecisions.windows.forms"

    Hi, I have a VS2005 C# .net application which works fine when I run on the programming machine. Now , I copy all files (dll , pdb , exe) from the Project's "..bin\Debug " directory . These files I transfer to another computer which does not have VS 2