SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

fqevents - update z field in BP

Former Member
0 Kudos

hi,

I need to update the value of a Z field for a BP while invoicing the account.

For this I am using event 608 - Payment Specification: After Database Change.

here, I have tried using the FM - BUPA_CENTRAL_CI_CHANGE with IV_XSAVE = space. this one does not save on the BP and if i put IV_XSAVE = 'X', it gives me a short dump which says there are nested commits.

I have also tried using the BAPI - BAPI_ISUPARTNER_CHANGE but have ended up getting the short dump again.

Please suggest.

Thanks,

Arindam.

1 REPLY 1

Former Member
0 Kudos

You are invoicing a particular account (indirectly BP), so obviously it will be locked or will have its own commits. If you try to change the BP, then you will run into these kind dumps or inconsistencies. Never do two transactions within one. If you need to update a BP Z field based on some criteria during invoicing, dump those BPs into a custom table with whatever other details you need and then process the BPs in the Z table using a separate program.