Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Welcome, Guest
Login
Register
Share
Tw eet
Like
selvamuthu kumar
Correct Answer by sreekanth reddy on Nov 13, 2008 11:05 AM Use MM06E005 enhancement to add fields in screen of ME21N SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101 Subscreen: PO header SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201 Subscreen: agreement header SAPMM06E 0211 CUSTSCR1 SAPLXM06 0211 Subscreen: agreement item SAPMM06E 0301 CUSTSCR1 SAPLXM06 0301 Subscreen: RFQ header SAPMM06E 0311 CUSTSCR1 SAPLXM06 0311 Subscreen: RFQ item Use the appropriate screen exit depending on where u require to add field
11102 View s
Topics: abap
sreekanth reddy Nov 13, 2008 11:05 AM (in response to selvamuthu kumar) Correct Answer Re: ADDING NEW FIELDS IN me21n - (Screen exit / enhancment) Use MM06E005 enhancement to add fields in screen of ME21N SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101 Subscreen: PO header SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201 Subscreen: agreement header
http://scn.sap.com/thread/1125834
1/4
2/18/2014
Like (0)
selvamuthu kumar Nov 13, 2008 11:08 AM (in response to sreekanth reddy) Re: ADDING NEW FIELDS IN me21n - (Screen exit / enhancment) thankz for your reply. kindly give me step by step procedure for achiving the same, since i am new to userexits and badi'S. which transaction code to use ? thanks girish
Like (0)
sreekanth reddy Nov 13, 2008 11:31 AM (in response to selvamuthu kumar) Helpful Answer Re: ADDING NEW FIELDS IN me21n - (Screen exit / enhancment) 1. Go to SMOD to find the appropriate screen exit suitable for u give enhancment as MM06E005 press display press components button among the existing screen exit choose appropriate one for example if u want to add some fields in PO header( all the fields u create will be added in customer data tab) use the below screen exit SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101 Subscreen: PO header 2. Go to se51 give prog name SAPLXM06 screen 0101 press create Add the fields in the layout Write the code in PBO and PAI modules to perform any operation to be done on these added fields. 3. Go to se51 give prog name SAPMM06E screen 0101 press display In PROCESS BEFORE OUTPUT. double click on CUSTSCR1_HEAD_SET_DATA in flow logic( MODULE CUSTSCR1_HEAD_SET_DATA) double click on CUSTSCR1_HEAD_SET_DATA_PBO using fc_call. double click on EXIT_SAPMM06E_006 (CALL FUNCTION 'EXIT_SAPMM06E_006') double click on ZXM06U36 (INCLUDE ZXM06U36 .) add code here IF I_EKKO-EBELN NE G_EBELN. "PBO 101 screen CLEAR G_IND. " Here G_IND is global variable declare it in top include ENDIF. MOVE I_EKKO-EBELN TO G_EBELN. G_IND = G_IND + 1. IF G_IND EQ 1. MOVE : I_EKKO-EBELN TO EKKO-EBELN, I_EKKO-BUKRS TO EKKO-BUKRS, I_EKKO-LIFNR TO EKKO-LIFNR, I_EKKO-EKORG TO EKKO-EKORG, I_EKKO-EKGRP TO EKKO-EKGRP, I_EKKO-KUNNR TO EKKO-KUNNR, ENDIF. In PROCESS AFTER INPUT. I u want to write any code u want to perform on the fields which u r creating double click on CUSTSCR1_HEAD_SET_DATA ( MODULE CUSTSCR1_HEAD_SET_DATA.) double click on CUSTSCR1_HEAD_SET_DATA_PAI double click on EXIT_SAPMM06E_007 and write code in include ZXM06U38. 4. Go to CMOD tcode
http://scn.sap.com/thread/1125834
2/4
2/18/2014
Like (1)
pramod Murthy Jul 23, 2013 5:27 PM (in response to sreekanth reddy) Re: ADDING NEW FIELDS IN me21n - (Screen exit / enhancment) Hello sreekanth , your explination was very clear , Can you let me know if I want to add new field in Invoice tab in the Item level data which Screen Exit I need to use. I am very much new to this EXITS. Regards, pramod.
Like (0)
muralidhar adibhatla Nov 13, 2008 11:15 AM (in response to selvamuthu kumar) Re: ADDING NEW FIELDS IN me21n - (Screen exit / enhancment) hi kumar, Functional Requirement: A new tab is needed to add in Purchase Order Transaction at the header level. This tab is needed to accommodate five fields for which user can enter Term IDs to update in Create and Change Modes. 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. EXIT_SAPMM06E_006 EXIT_SAPMM06E_007 EXIT_SAPMM06E_008 EXIT_SAPMM06E_009 EXIT_SAPMM06E_012 EXIT_SAPMM06E_013 EXIT_SAPMM06E_014 EXIT_SAPMM06E_016 EXIT_SAPMM06E_017 EXIT_SAPMM06E_018 B List of Screen Exits are. SAPMM06E 0101 CUSTSCR1 SAPLXM06 SAPMM06E 0111 CUSTSCR1 SAPLXM06 SAPMM06E SAPMM06E SAPMM06E SAPMM06E 0201 CUSTSCR1 SAPLXM06 0211 CUSTSCR1 SAPLXM06 0301 CUSTSCR1 SAPLXM06 0311 CUSTSCR1 SAPLXM06
C List of Include Tables are. CI_EKKODB CI_EKPODB 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.
http://scn.sap.com/thread/1125834
3/4
2/18/2014
Like (1)
Share
Tw eet
Like
Copyright
Follow SCN
http://scn.sap.com/thread/1125834
4/4