Enhancement:MEREQ001
According to the enhancement documentation, I have appended a field in the custom
include(CI_EBAND) of EBAN table and added field in the below screen.
[Added field name in custom include is: zzmrpactivated]
Screen Exit: Called Screen:SAPLXM02
Screen Number:0111 (design layout(field) in this screen)
[Designed field name in screen is:eban-zzmrpactivated]
[I have marked screen as subscreen]
Exact Requirement:After giving the values(for mandatory fields in me51n transaction) and
pressing enter or by clicking the 'Save' button, my custom field should be marked as 'X' in
all the transactions (me51n or me52n or me53n) based on the below logic:
It has to check the matnr and plant from eban table, based on that we have to retrive the
material type(dismm) from marc table. If material type <> 'ND' then my custom field should
be enabled as 'X' otherwise not.
Below is the code I have written:
data:w_marc like line of t_marc.
select single * from marc into w_marc
where matnr = eban-matnr
and werks = eban-werks.
if sy-subrc = 0.
if w_marc-dismm <> 'ND'.
ex_ueban-zzmrpactivated = 'X'.
endif.
endif.
[Mantadory fields for ME51 transaction:
material:15000054
qty:25
plant:fap1
tracking no:001
purchaseorg:sepo]
The field value is not being displayed in the screen after saving.
Plz help....
Regards,
Chitra.P.S