My requirement is: While creating or modifying BP , I want to set field NOTRELEASED of BUT000 as 'X' whenever the BP's country is in my list of non-approved countries.
I have tried folowing ways to modify this field based on earlier postings on the forum but to no avail:
1) Using FM BUPA_CENTRAL_CHANGE in BADI BUPA_GENERAL_UPDATE: This gave me a dump- Nested call of PERFORM ON COMMIT: NESTED_PERFORM_ON_COMMIT
2) Using BUPA_FURTHER_CHECKS : Doesn't seem to work for me. I'm passing the new value of NOTRELEASED in IS_DATA and X in IS_DATA_X-NOTRELEASED . Is there anything I'm missing? Do I need to call bapi_transaction_commit somewhere?
3) tried using BUPA_GENERAL_CALLBACK FM but can't figure out how to use it..where to pass values? Is commit reguired after change of values here.
Also, how do i use PARTNER_UPDATE,it has no parameters. Where does one get the guid of BP?
I'm sorry if these are too many questions in 1 post but nothing I try has been working 😔