04-08-2015 8:05 PM
Hi,
I need to add 2 custom fields to the purchase requisition transactions ME51N/52N/53N. I've added the fields to the EBAN table via the structure CI_EBANDB but I don't see them reflected in the Items ALV on the purchase requisition. Is there any additional setting required to bring those fields into the ALV?
Thanks,
Esha
04-09-2015 8:13 AM
I suppose you used SMOD enhancement MEREQ001 to input/display your fields.
As the fields are defined in CI_EBANDB they are also defined in structure MEREQ3211GRID, did you execute a report BALVBUFDEL run, and then, did you adapt the ALV display variant?
Regards,
Raymond
04-08-2015 8:19 PM
Hi Esha,
You have added the fields in the structure level.Now make use of customer exit/BAPI to populate the same fields to the transaction.
I don't want to suggest any as a simple SCN search will give you all the exits available.
Regards,
Kannan
04-08-2015 8:26 PM
Hy Esha,
You must implement the exit User Exit - MEREQ001. Add at screen 0111 the desired fields.
After implemented, go to SE80 tcode give the function group as XM02 ....in that u will find ur added screen 0111 ....
and includeZXM02TOP where u can declare ur sscreen fields here .and in the flowlogic of the screen u will find PBO AND PAI.here you can add the required modules for your logic.....if you want to make the fields non editable in ME23N..crearet a module under PBO which will ask u for new Z include create it and write code under loop at screen.end loop.loop at screen .if sy-tcode = 'ME23N'.if screen-name = ' '.screen-input = 0.endif.endif.endloop.try to check out the values in debugg mode.
It will not add a field in alv, but will create a new tab at item level.
Regards,
Bruno
04-09-2015 8:13 AM
I suppose you used SMOD enhancement MEREQ001 to input/display your fields.
As the fields are defined in CI_EBANDB they are also defined in structure MEREQ3211GRID, did you execute a report BALVBUFDEL run, and then, did you adapt the ALV display variant?
Regards,
Raymond
05-19-2016 9:51 AM
I was also facing same problem, and resolved by this program run.
Thanks Raymond
05-02-2023 2:56 AM
Great answer! Thanks for your help. I spent a lot of time because I didn't see my new fiend in "Change layout" and executing this program solved the problem.