Hi,
I need some help with the Business Data Toolset in order to modify Business Partner Data.
I have to modify the sort field 1 (bu_sort1 of include structure but000adat in but000) of a business partner during save (at event DSAVC to be precise).
So I fetched the but000-data of the currently modified business partner via the FM 'BUP_BUPA_BUT000_GET'. The question is how to hand the modified data back to the owning applicatin? There is a FM 'BUP_BUPA_BUT000_COLLECT' which seems to be responsible for that, but the modification of but000-data is only allowed for the applications PSCM and ISM and I don't belong to either of those.
Why is that the case? Is there a different way to modify but000 fields during save?
Thanks in advance!
Best regards,
Michael Biber
EDIT: I found a pretty simple solution: There exists an undocumented event (or at least I didn't find it in any documentation) called ESORT. It can not be found in transaction BUS7 which holds the customization of the business data toolset. It is customized in transaction BUPA_EVENTS.
As input parameter it gets i_but000 of linetype but000 and exporting parameters are e_sort1 and e_sort2 both of types bu_sort1 / bu_sort2.
The question can be marked as solved (which I cannot do myself as it seems).