Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User exit SD Texts tab.

Former Member
0 Likes
474

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
400

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

1 REPLY 1
Read only

Former Member
0 Likes
401

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