In a serviceorder when a user changes the wbs element in the additional data tab he or she also needs to change the settlement rule accordingly
further on their needs to be a check if the new wbs element is not TAFS and if the element is a wbs element (since also projects can be filled in here)
I have managed to programm the check in user exit EXIT_SAPLCOIH_009
there I can find out the new value entered by the user and check if it's correct
I only can't get the new filled in values before save from the settlement rule
when I use
ASSIGN ('(SAPLKOBS)dkobr') TO <dkobr>.
CHECK <dkobr> IS ASSIGNED.
the new values for the wbs element are not filled in dkobr when the user exit is running
is there any other way to find the new values for the settlement rule in memory in the user exit mentioned above ?
or is there a bapi or function to adapt the settlement rule automaticaly ?
I have looked at K_ORDER_SETTLEMENT_RULE but I don't see where you can enter the WBS element in this function ?
kind regards
arthur
Message was edited by:
A. de Smidt