2013 Apr 09 12:20 PM
Hi Experts,
Please provide details of User Exits for adding screen in Additional Tab B at Item Level and how to update the data into table level and also before updating
the data into table how to validate the fields.
Please share information if any available.
Regards,
Mohammed
2013 Apr 09 12:44 PM
Hi Rafi,
go to report 'SAPMV45A' --> go to screen 8459.add the fields in this screen before adding the fields in screen add in VBAP table.
for PBO use this include MV45AOZZ
here write the following logic.
loop at screen.
if sy-tcode = 'VA03'.
check the screen group1 = 'your screen group '.
screen-input = 0.
modify screen.
endif.
endloop.
For PAI: in include 'MV45AFZZ'
FORM USEREXIT_MOVE_FIELD_TO_VBAP.
Endform.
use the above user exit to move the data from screen to VABP table.
validations:if you want raise any messages develop your code in this include MV45AIZZ.
for the above add the following line of code in the 8459 screen.
field vbap-zzxxx module zzxxxx..
module zzxxxx.
data:lv_msg(38) type c.
check the vbap-zzfield is initial.
concatenate 'zzfiled value is not maintained' into lv_msg.
message:lv_msg type 'E'.
endmodule.
Regards,
Guru
Hi Experts,
Please provide details of User Exits for adding screen in Additional Tab B at Item Level and how to update the data into table level and also before updating
the data into table how to validate the fields.
Please share information if any available.
Regards,
Mohammed
2013 Apr 09 12:44 PM
Hi Rafi,
go to report 'SAPMV45A' --> go to screen 8459.add the fields in this screen before adding the fields in screen add in VBAP table.
for PBO use this include MV45AOZZ
here write the following logic.
loop at screen.
if sy-tcode = 'VA03'.
check the screen group1 = 'your screen group '.
screen-input = 0.
modify screen.
endif.
endloop.
For PAI: in include 'MV45AFZZ'
FORM USEREXIT_MOVE_FIELD_TO_VBAP.
Endform.
use the above user exit to move the data from screen to VABP table.
validations:if you want raise any messages develop your code in this include MV45AIZZ.
for the above add the following line of code in the 8459 screen.
field vbap-zzxxx module zzxxxx..
module zzxxxx.
data:lv_msg(38) type c.
check the vbap-zzfield is initial.
concatenate 'zzfiled value is not maintained' into lv_msg.
message:lv_msg type 'E'.
endmodule.
Regards,
Guru
2013 Apr 09 12:48 PM
Hi Rafi,
This question was asked by many times in SCN.
http://wiki.sdn.sap.com/wiki/display/SI/Implementation+of+SAPV45A+User-exit+Screen
see the above link ,their explained STEP by STEP how to proceed with adding fields in
additional data b.
Regards,
Bastin.G
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |