‎2007 May 24 3:28 PM
Hello,
Which method of the user exit MV45AFZZ is executed when the user clicks on the texts tab (or, do I need another user-exit?)?
Thanks in advance,
Ricard.
‎2007 May 24 3:49 PM
You could use the exit 'USEREXIT_CHECK_VBAP(SAPMV45A)' ( Source MV45AFZB) to re-check the position texts. It would be something like
PERFORM PFLICHTTEXTE_PRUEFEN(SAPLV45T) USING
VBAK-VBELN
VBAP-POSNR
'VBBP'
TVAP-TXTGR
CHANGING
XTHEAD[]
XVBUV[].
The only problem i'ld see is the performance. It would be better if you could decide in that exit, if the position type was really changed or not (perhaps using some unused fields in position to have that information ?)
Perhaps you could set a breakpoint into Form FV45PFAP_VBAP_PRUEFEN_ENDE and see, what happens there .
Reward Points if it is useful
Thanks
Seshu
‎2007 May 24 3:49 PM
You could use the exit 'USEREXIT_CHECK_VBAP(SAPMV45A)' ( Source MV45AFZB) to re-check the position texts. It would be something like
PERFORM PFLICHTTEXTE_PRUEFEN(SAPLV45T) USING
VBAK-VBELN
VBAP-POSNR
'VBBP'
TVAP-TXTGR
CHANGING
XTHEAD[]
XVBUV[].
The only problem i'ld see is the performance. It would be better if you could decide in that exit, if the position type was really changed or not (perhaps using some unused fields in position to have that information ?)
Perhaps you could set a breakpoint into Form FV45PFAP_VBAP_PRUEFEN_ENDE and see, what happens there .
Reward Points if it is useful
Thanks
Seshu