Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Table PA0000 not updated wven though IDOC shows status 53

Former Member
0 Kudos

Hi,

We have a scenario where PERNRs (Personal Numbers) are being transferred through IDOCs. The IDOCs are reaching the other system and is also showing Status 53 (Application Document Posted) but the Corresponding Table PA0000 is not getting updated at all. No PERNR inside the IDOCs are getting created in PA0000.

Everything seems to be working fine, I could not find any error at all but the Table. Can anyone please explain this anomaly?

Regards

Abhishek Sahi

3 REPLIES 3

Former Member
0 Kudos

Hi,

You debug the inbound function module, during debugging you check the sy-subrc value after the data is updated/inserted in the database. Use BAPI_TRANSACTION_COMMIT instead of commit work. It happens because of commit problems.

Thanks,

Asit Purbey.

babu_kilari4
Active Contributor
0 Kudos

Hi,

While updating the table, follow the below steps.

1) Lock the table

2) Update the table

3) Do Commit on the table

4) Change the status of the Idoc

5) Unlock the table.

Once you follow all the above steps, you will never see the problem that you have mentioned

Hope it is helpful

Thanks,

Babu Kilari

Former Member
0 Kudos

what is the IDOC type that ur using.