on 2024 Dec 29 2:38 PM
Hi,
We need to display our custom Z fields(created in EBAN table using Z append structure) at line item level in ME51N/ME52N(PR creation and change).While the custom fields are getting displayed at line item level, but this could not be edited or shown at line item level as editable columns in ME51/ME52N(please find attached "PR Line Item" screen shot attached).
Did R&D in SDN community and some debug, found that below were some of our observations:
1. While debugging and from understanding from SDN, in program SAPLMEGUI(include LMEGUICJM), method BUILD_DYNPRO_FIELDS (LCL_REQ_ITEM_GRID) in MY_DYNPRO_FIELDS. If we change the metafield and make fieldcatalog(gt_fieldcatalog) EDIT for our custom fields as X, then these columns are displayed editable(please find "Debug1","Debug2","Debug3" screen shot for this).
2. Searched in SPRO settings to achieve this(as understood from SDN), SPRO--> Material Management-->Purchasing-->Purchase Requisition-->Define Screen Layout at Document Level. But here also we could not see our custom fields.
3. We could see BADI such as MEGUI_GRID_ENHANCEMENT for enabling our custom field metafield and fieldcatalogue(But here it is mentioned as "SAP Internal")
Doubt:
1. Adding editable custom fields - Is this possible via SPRO?
2.If not possible via SPRO, Is there any BADI which supports this case
3.If not possible, is it advisable to create any implicit enhancement in MEGUI_GRID_ENHANCEMENT implementation or so
With Regards,
Jagan
Request clarification before answering.
Hello @jagan_krishnan8571
The note 408017 - MERQ001: Implementation sample code explains how to add custom fields to purchase requisitions. They are added to a dedicated tab. I'd strongly suggest you follow this standard way, instead of forcing the fields to standard ME51N grid.
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.