Professional Documents
Culture Documents
1 Modify Standard Purchasing Report Output of ME2N
1 Modify Standard Purchasing Report Output of ME2N
Here in this output we need to add one additional column which will display some
information as
per the requirement. Here lets add an extra field/column and display text SAP
Technical in that.
If in scope of list field ALV format is not available then you can do the below
SPRO configuration to bring
the same. One customizing request will be generated for same.
Add our new field for the report here, maintain enhancement category and then
activate.
Now we are done with enhancement of underlying structure. Lets execute the report
ME2N and see our
newly added field. You need to choose the field from Layout Option.
However in SAP ECC release with EHP4 FOR SAP ERP 6.0 / NW7.01 we have the
same BADI with a
different name which is available for customer usage. The same is shown below
Since I have made this example in system ECC 6.0, I will be using one enhancement
spot for population
of value to the newly added field to the report.
Note: There is no specific way where you can find the appropriate
enhancementspot/point/section. I
found it by debugging standard program for the report and with little search in SDN
& Google.
When we run the report ME2N, main program SAPLMEREP will run and the include
LMEREPD02 in it.
We can find different enhancement point in the include which can be analyzed.
In release SAP ECC release with EHP4 FOR SAP ERP 6.0 / NW7.01 as
discussed above you can
implement the BADI and inside the implementing class you can include
your custom logic. At run time
Table CH_OUTTAB will have all the final output records.
SAP ECC release with EHP4 FOR SAP ERP 6.0 / NW7.01
Note: This is a real-time requirement and the solution is stated above. However
for this requirement we
did not follow any specific methodology or procedure to find the program name,
enhacement point name
or structure name that needs to be modified. Debugging and searching in
different sites helped us to
reach to the conclusion.