It's necessary for me to implement checks for several BP fields BEFORE SAVE data, and show error message for user.
Where can I find common samples or description of such extensions?
Solved problem:
I've solved one problem for TAX codes check by using BDT - BUS7 transaction - add custom FM for DCHCK event.
SAP function BUP_BUPA_TAX_GET works well and returns
values for TAX codes , so I can check them and send ERROR
by Using BUS_MESSAGE_STORE function.
Question:
I need to check several other Filed Values from other Screens of BP transaction - for Example compare "BP Type" field from Control subscreen and "Grouping Field" from main Screen etc.
What SAP FM (or etc) I must use to obtain Field values in Custom FM ? Because of other modules like BUP_BUPA_BUT000_GET or BUP_BUPA_BUT100_GET
or BUP_BUPA_MEMORY_GET_ALL return Empty TABLES for new BP.