ME21N, User Exit/customize program
Please , advice is it possible to check, whether the is customize program/user exit, in ME21N, When user save ME21N, some funny stuff happened, how to check whether there is a customize program/user exit when save ME21N, please advice
hi,
you can try transaction SMOD
and see if there are any active user exits for the following:
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Individual customer source determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MM06E011 Activate PReq Block
good luck
Shachar
Similar Messages
-
User Exit - EXIT_SAPLVEDA_001 program ZXVEDU13
Hi All,
I am very new to Extensions i.e user exits. there is requirement to make validations in the user exit 'EXIT_SAPLVEDA_001' program ZXVEDU13. There is a structure given for EDI and SAP orders/contracts from which i have to to create two internal table and the entries are to be made based on some conditions given.
Please give me some idea on this on how to proceed?
thanks,
PoonamHi All,
I am very new to Extensions i.e user exits. there is requirement to make validations in the user exit 'EXIT_SAPLVEDA_001' program ZXVEDU13. There is a structure given for EDI and SAP orders/contracts from which i have to to create two internal table and the entries are to be made based on some conditions given.
Please give me some idea on this on how to proceed?
thanks,
Poonam -
Hi,
I have a requirement to find the user-exits available for the transaction <b>ME21N</b>. I have to findout whether there is any user exit exists while saving the PO in ME21N.
Can someone tell me the procedure to search for the user exits available.
We generally search for the text <b>'USEREXIT_'</b> in the program for the transaction.
I went to the program <b>SAPLMEGUI</b> for the transaction ME21N. When I try to search for the term 'USEREXIT_' it is asking me choose main program and listing so many INCLUDE names in a pop-up window. That way I couldn't find the user-exits. Can someone help in finding the userexits for ME21N. Is there any other procedure to find the user exits for the transaction ME21N..?
Thanks & Regards,
Paddu.USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Transaction Code - ME21N Create Purchase Order
Exit Name Description
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
No of Exits: 35
Rewards if useful.........
Minal -
Hi all,
Anybody knows an User-Exit / BADI to use when you click over SAVE icon on me21n transaction?
I have a 4.6 version...
Thanks!Dear Julian,
First you would need to find all the available enhancements. The ABAPer would check what are all the enhancements getting triggered when save button is pressed in ME21N by putting break-points.
Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
REPORT ZTEST.
TABLES: TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA: FIELD1(30).
DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS: P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA: WA_TADIR TYPE TADIR.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
ENDCASE.
Alternatively, you can do the following:
1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
ull get a list of Enhancements related to that Componene....
5. Choose which ever enhancement will suit ur business need ..
6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
For a user exit......
Finding whether there is any User Exit or not for tcode VA42
1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
Regards,
Naveen. -
Hi SAP Gurus,
I need help from you people, regarding ME21N.
In 4.7 Ver. after executing tcode ME21N, I had enter all required details for PO. for this we will give external order no. in Account assignment catageory tab.
but my client requirement is, while enterning the Order no. in Account assignment tab Warning message has to be display based on item no., Account assignment catageory combination.
For this I couldn't find any USER EXIST or BADI.
Kindly help me to resolve this issue.
Thanks and regards,
sreenivashi,
check these exits nbadi's for me21n.
Transaction Code - ME21N Create Purchase Order
Enhancement/ Business Add-in Description
Enhancement
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number
Business Add-in
ME_BAPI_PR_CREATE_01 BAdI: Enjoy BAPIs for Purchase Requisitions
ME_BAPI_PR_CHANGE_02 BAdI: Enjoy BAPIs for Purchase Requisitions (Method Change)
ME_BAPI_PR_CHANGE_01 BAdI: Enjoy BAPIs for Purchase Requisitions (Method Change)
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
SMOD_MRFLB001 Control Items for Contract Release Order
MM_EDI_ORDERS_OUT Enhancements for IDoc Output of Purchase Order: Internal
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_EDI_DELFOR_OUT Enhancements for IDoc Output of SA Releases: Internal
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_BAPI_PR_CREATE_02 BAdI: Enjoy BAPIs for Purchase Requisitions (Method Create)
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched. Agreemnts with Rel. Docs
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
ME_BSART_DET Change document type for automatically generated POs
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIP_REF_CHAR Facilitates Reference Characteristics in Purchasing
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_PURCHDOC_POSTED Purchasing Document Posted
reward if hlpful. -
In ME21N,User Exit/BADI for Defaulting Vendor number at item level.
Hi Experts.
In ME21N, for every purchase order, we have condtion tab for each line item.
Many condition typesot taxes are listed based on the config for the materials.
My requirements is, When we go inside by selecting a condition type we find vendor number displayed.
I need a user exit/BADI for defaulting the Vendor number.
Regards
Balaji RHi,
check with below link,
fo this one you will find both user exit and badis
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
Regards,
Madhu -
Coding in user exit in program rffous_t
The ACH file generated has to be updated with company specific information required by the NACHA file format standards. SAP functionality will be used to generate the interface file.
The ACH file will contain all employees who have pay for the current pay period being processed and have direct deposit set up for the current pay period. The ACH file will run during the biweekly and monthly payroll runs.This file will be generated upon completion of the current payroll processing.
The user-exits are invoked when the RFFOUS_T program is executed.For each record type, use the mentioned user-exit below:
1 (File Header Record)
o EXIT_100
o Function Module EXIT_RFFOEXIT_100
5 (Batch Header Record)
o EXIT_101
o Function Module EXIT_RFFOEXIT_101
8 (Batch Control Record)
o EXIT_105
o Function Module EXIT_RFFOEXIT_105
Based on the account id (REGUH table-HKTID field), the other fields have been identified.
Record Type "1"
File ID (Immediate Origin) - Structure DTAMUSFH, Component FH4
Origination Bank (immediate destination name) - Structure DTAMUSFH,Component FH11
Company Name (immediate origin name) - Structure DTAMUSFH, Component FH12
Record Type "5"
Company Name - Structure DTAMUSBH, Component BH3
Company Discretionary Date - Structure DTAMUSBH, Component BH4
Company ID - Structure DTAMUSBH, Component BH5
Company Entry Description - Structure DTAMUSBH, Component BH7
Company Descriptive Date - Structure DTAMUSBH, Component BH8
Effective entry date - Structure DTAMUSBH, Component BH9
Record Type "8"
Company ID - Structure DTAMUSBC, Component BC7
Message Authentication Code - Structure DTAMUSBC, Component BC8
Can somebody please advice me after reading the above information that how should i proceed for the coding to be done inside the user exit!!Hi Bhaskar,
1. Go to CMOD(transaction) create an enchancement project .
2. enter the project name ZName and click create and enter the short description of the project.
3.now click on the enhancement assigment button on the application tool bar and enter the enhancement number: RFFOX100 (File Header Record),RFFOX101(Batch Header Record), RFFOX105(Batch Control Record).
4.now select the first enhancement number i'e RFFOX10 and click on the components it will show you the fuction module exit EXIT_RFFOEXIT_100.
5.double click on it it will take you to the fuction builder screen now click on the include it will show you the warrining 'Program names ZX... are reserved for includes of exit function groups' just ignore the warning and press enter after placing your coursour on the include, system asks to create the include press yes.
6..and now in the include code your logic to update The ACH file generated has to be updated with company specific information required by the NACHA file format standards as per your needs.
follow the procedure from 4 to 6 to populate Batch Header Record and Batch control record in the exits EXIT_RFFOEXIT_101and
EXIT_RFFOEXIT_105 respectively.
thanks and Regards,
pavankumar -
User-exit for program RFPNFC00
I need to create an ACH format file. For this i'm using program RFPNFC00 to create file.
I need to modify few things in the file for which i need any user-exit available to do the required modifications. Please lemme know if anyone have used this program to create file and implemented any user-exit to modify the ACH file format.
Regards
VEnk@I am not wble to find any exit but i have the following two suggestions.
1. I can see lot of subroutines where you can create implicit enhancemnts and modify the data accordingly to solve your purpose.
2. This approach i usually dont prefer but it depends on person to person. You can create a Z copy of report and do modifications.
I will advise you find a suitable point and do implicit enhancement.
Nabheet -
USER EXIT - Sample Program or Material
Hai,
I don't know User Exit Programs.So, If anybody have Sample Program or Material, please send them to me...Finding the User Exit:
Code SE18 is used to Identify the BADI available.
Look for the string 'CL_EXITHANDLER' in the standard program. This is a class which has a method 'GET_INSTANCE' which is used to trigger BADI's from the Standard Program. The interface parameter for this static method 'EXIT_NAME' is used to pass the BADI to the method.
Open Standard Program and do a global search 'CL_EXITHANDLER'.
SE18 > give the BADI name found through above search.
CUSTOMER_ADD_DATA > which has a method SAVE_DATA.
T.Code SE19 is used to Implement BADI.
SE19 > give the implementation name > Give the Definition name as CUSTOMER_ADD_DATA and the Short Text.
User Exit
Exits are basically the hooks whcih SAP has provided to add your own code. There are two types of Exits:
1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
Please go through the following link which will help you understand the exits in a much better way:
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
http://sap.niraj.tripod.com/id21.html
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
http://www.sap-img.com/ab038.htm
User Exits.
http://www.erpgenie.com/sap/abap/code/abap26.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
customer exits
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
Menu Exit.
http://www.sappoint.com/abap/spmp.pdf
http://www.sappoint.com/abap/userexit.pdf
http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Field Exit
If you are in 4.7 and up follow this
1. Run report RSMODPRF
2. Run on the selection screen
3. In list Field Exit > Create
4. Give your data element
5.System will generate the FM FIELD_EXIT_XXXXX
6. Activate it.
7. Select your field exit and assign to your program and screen
8. Select again .. Field exit > Activate
If you are in version below 4.7
1. CMOD
2. Go to >Text enhancment > Field exit
then follow the same step from 3 onwards as given above.
Menu Exit
Procedure for Creating MENU Exits.
1) To get into Area Menu Maintenance Screen Type SE43 T.Code in Command
Line.
2) In Area Menu Paramenter type 'S000' (S triple Zero)
3) Then Press Change Icon in Application Tool Bar. Then It may ask for
Access Key or it may display "Specify Processing mode" window. If it ask
for the Access Key Check for the availability of OSS Note and apply to open
Standard SAP Menu to include MENU Exits. Otherwise, if it display "Specify
Processing mode" window with Three Push Button. In which select "Change" and
proceed further.
4) Then it will display "Information" window with the following information
"Caution : The Original Language of the structure is German (editing lang. :
English) ". Then press "Enter Key to proceed further.
5) Then you will get into "Edit Area Menu S000".
6) for eg:- Expand Tools Menu.
7) Then Press ABAP Workbench <Icon>.
8) Then you will get into ABAP Workbench Menu Tree.
9) Then Expand Utilities Menu.
10) In the last line you will find one MENU EXIT Provision to include your
own menu. "Node Text Not Found" This text can be change by double Clicking
that. There you can find the T.Code. Here for Eg:- "+DW4".
11) for eg: - Here change the Text to "Sample Menu Exit" and then note down
the T.Code "+DW4".
12) Then Save with Change Request Number and come out of Transaction SE43.
13) Then Goto Transaction SE93.
14) Then type T.Code "+DW4" and press Create.
15) Then proceed further to create transaction called "+DW4".
I hope this could help you in Creating Menu Exit...
Creating menu exits
http://help.sap.com/saphelp_nw04/helpdata/en/c8/19762743b111d1896f0000e8322d00/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/83/7a18cbde6e11d195460000e82de14a/frameset.htm
Regards, -
User exit macro - Program name
Hi,
In the APO macro builder, we have a USER EXIT MACRO defined and i just see the description of the macro there. Where do we see which User exit (Program) it is executing if i run the macro?
Thanks,
Shankar.Hi,
Refer to the note 418801 which explains in detail about user exit macro.
Regards,
Sunitha -
Debugging a User Exit or Program
Hi,
I would like to debug a program, and locate and fix an error in one of the user exits. How can I go about doing this?
Thanks,
Shah.Hi,
Enhancement/Modifications
1) Execute tcode SMOD to find available enhancement/modifications.
2) Create a project for the enhancement in tcode CMOD.
3) You must activate your project first in order to hit a break-point or get into debug mode for your existing enhancements/modifications, if you do not, the best you will be able to do is step through the main program until you hit the call for that particular customer enhancement.
4) To get into debug, you can enter a hard break-point in the enhancement itself, set a soft break-point with the stop sign, or the long way, before you execute your transaction or while you are in your transaction, you can place a /h in the ok code area (this is the area of your gui where you can type in a tcode). Once you have the /h, hit enter and that will take you into debug, from there, you can do many different things to find exactly what you are looking for.
User Exits
1) Identify the main program you want to locate a user exit/debug.
2) For example, go to SE80 and do a search by program or dev class (SAPMV45A sales order or Dev Class VMOD, most SD user exits are in this dev class). In SE80 if you go by program, most user exit programs end in a 'Z' on a rare occasion 'X' or 'Y'.
3) If you are looking at including MV45AFZZ, you can see where there are different forms. These forms will get called at times within the program. If you are looking to fill the storage location on the sales order, you will probably want to take a look at the perform that fills in a field in vbap.
4) If this is what you are trying to accomplish, you will need to do the select against the config Table TVKOL based on the shipping point/plant and possibly storage condition based on your picking strategies.
5) For the debug part, you can do the same as in the enhancements/modifications but you will not need to activate any projects.
Reward points if found helpfull..
Cheers,
Chandra Sekhar. -
Hi all,
I need to start a Workflow at user exit RGGBS000.
I know that I need to do a copy of this program ( ZRGGBS000).
But I don´t know how to implement on there.
I only need to call this function like this:
*Calls Workflow
call function 'SWE_EVENT_CREATE_FOR_UPD_TASK'
exporting
objtype = 'QMSM' "Name of the object
objkey = l_objectkey "Key field
event = 'zwf_create_acao' "Eventacionador WF
creator = w_creator "User
tables
event_container = t_event_container "WF variables
exceptions
objtype_not_found = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Is there a form to pass values to this exit?
How this works?
Thanks
RicardoIn RGGBS000 (or the copy thereof) you can maintain user exits that will be used in field value substitions of accounting documents.
Please see SAP help for all background information.
http://help.sap.com/erp2005_ehp_03/helpdata/EN/5b/d231a843c611d182b30000e829fbfe/frameset.htm
Cheers
Thomas -
Hi Friends,
I have a Requirement in me21n in which the release Strategy should be picked based on
storage location.
For this I have already appended a structure in cekko with the field LGOBE.
Now In which User-exit Do i have to write the code for the Requirement to take effect.?
Also i found out that if the user-exit is not implemented . Then the Release Strategy is
getting picked even if u specify the Storage Location or not.
Thanks,
NeelHi Gautam,
The Thing is i have Alredy added an append Structure to the STD Structure cekko with Field
LGOBE .
Now in Me21n when We enter the storage Location The Release Strategy is picked up
Correctly.
If We Remove The Storage Location And Enter some Other Storage Location the Release
Strategy Doesnt Change , even if there is a different Release Strategy Maintained In
Charecteristic Value for the given Storage Location.
How do i Go abt Solving This..?
Thanks,
Neel -
All,
Is there any user exit for adding an authority check object in ME55 transaction program .?
Kindly advise.
regardsHi,
check the following <b>BADI's</b>MD_PURREQ_CHANGE
MD_PURREQ_POST
ME_REQ_NEW_VERSION
<b>user exits</b>
COZF0001
COZF0002
M06B0001
M06B0002
MCP20010
MM06E004
OIAMSEG
SAPLMEWP
Regards -
HI All,
I am wiring the user exit for ME21N .
The requirement is need to save item text data along with PO.
For this i am using SAVE_TEXT Fm for this. the input for this FM contains PO number.
How can i get the PO number at runtime. Is there any exit for this?
Can any one suggest me the way to get PO number at runtime.
Thanks,
Khasimsa.Hi,
In Function Exit "EXIT_SAPMM06E_013" of "MM06E005",there is an Import Parameter I_EKKO-EBELN which will contain the PO number and this exit will get triggered just before saving the PO.
Hope this will help.
Thanks & Regards,
Rock.
Maybe you are looking for
-
CS4: Subtitles on BluRay. Troubles
I'm currently making the BluRay version of our movie. I did the DVD Version with DVD Studio Pro. So I basically reformatted the menus and subtitles to be compatible with Encore. The problem is when I want to build the BluRay: It' just try to find "si
-
HT201210 iPhone freezing during restore.....
My iPhone 4 keeps freezing about 60% way through a restore, according to iTunes when the firmware is being updated. Any ideas how to fix? I have tried a different computer, disabling my security software etc. and still no luck :o( (Windows)
-
Hi All. I have two applet based on the same BC. Ex. 1. "SIS Account List Applet" 2. "Account List Applet" these two applets are based on the same BC (Account). This BC having one field "Account Status" having some predefault value ("Active"). My Requ
-
Usage of 'java.io.File' is not allowed in EJB...
I get this warning in my Java IDE because I read and write to local files within EJBs running in a JBoss application server. What is the reason for this warning and is it safe to ignore it if I need to read / write to local files? And if this is a wa
-
My screen Documents are locked in place, help unlocking please.
All of my screen documents and pictures have locked themselves in place and wont allow me to move them. Can anyone help me figure out how the get them to move again.