Skip to Content
avatar image
Former Member

Add new column in Item overview - PO Enhancement

Hello Everyone,

I need help.

I have developed enhancement for adding custom tabs with custom fields in header and item levels of ME2xN transactions using MM06E005 enhancement, but unable to add a field with new column in Item overview (The Middle one).

Can anyone please help.

Thanks in advance.

<removed by moderator>

Edited by: Thomas Zloch on Feb 1, 2012

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 02, 2012 at 04:42 AM


    Functional Requirement: A new tab is needed to add in Purchase Order Transaction at the header level.

    Technical Requirements: This functionality can be achieved using Customer-Exits where in SAP provides certain hooks for modifying standard SAP transactions. The enhancement MM06E005 is required to enhance standard screen. This enhancement consists of following exits.

    A Function Exits.
    B Screen Exits.
    C Include Tables
    A List of Function Exits are.
    B List of Screen Exits are.
    SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101
    SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111
    SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201
    SAPMM06E 0211 CUSTSCR1 SAPLXM06 0211
    SAPMM06E 0301 CUSTSCR1 SAPLXM06 0301
    SAPMM06E 0311 CUSTSCR1 SAPLXM06 0311
    C List of Include Tables are.

    From the above List those exits in red colored are only required for our purpose

    Technical Solution.

    The below steps are required to follow to accomplish the task.

    1.Find the package name of the transaction by going to system->status.

    2.Double click on Transaction name (for e.g. ME21N) look for package name.


    3.Double click on Program name (for e.g. SAPLMEGUI) ->click GO TO on menu bar->attributes, look for package name.


    4.Double click on Screen no (for e.g. 14) ->attributes, look for package name

    5.Go to TCODE SMOD and press F4. Click on Information system and enter Package name

    ( for e.g. package Name ME was found from above points )

    6.We see a list of exits for the mentioned package.

    7 Go to TCODE CMOD->Enter a project name (for e.g. MMPRICE).

    8 Press->create. If the enhancement MM06E005 is already assign to another project either deactivate it by pressing . Deactivate project button OR we can use that project itself.

    9 Enter short text and save the project. Click on button. Type the required enhancement

    And press Enter. Press button and save the project. Now we can see the list of exits which are

    Required to enhance the screen. Activate the project by pressing activate project button . Check that all the Exits turn into green color.

    10 First include fields in the structure CI_EKKODB. This will automatically update Po header Table (EKKO)

    11 Use screen exit SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101. Double click on it and activate to get customer ..Design your layout with five fields in screen editor. Name them taking

    Dictionary fields as reference (EKKO).Use the custom include programs which are provided for coding purpose.

    12 Use exit EXIT_SAPMM06E_006 to get data from existing purchase order. This Function exit consist of import parameters I_EKKO which contains data for corresponding purchase order.

    13 Use exit EXIT_SAPMM06E_008 to transport data from purchase order customer screen to changing parameter E_CI_EKKO.The data which is entered on custom screen will be send to this structure and when saved, updates the table EKKO.



    Add comment
    10|10000 characters needed characters exceeded