User Exits for MM01 & MM02 transaction
Hi SDN,
Is there any user exit available for Change, create Material so that i can update some materail related data.
Regards,
Rahul
Hi
MGA00001- Material Master (Industry): Checks and Enhancements
Func. EXIT_SAPLMGMU_001
MGA00002- Material Master (Industry): Number Assignment
Func. EXIT_SAPLMG02_001
Func. EXIT_SAPLMG02_002
MGA00003- Material Master (Industry and Retail): Number Display
Func. EXIT_SAPLOMCV_001
Func. EXIT_SAPLOMCV_002
Func. EXIT_SAPLOMCV_901
Func. EXIT_SAPLOMCV_902
Regds
Seema
Similar Messages
-
To find the User Exits for a particular Transaction.
hi,
I want to find the number of User Exits for a The Transaction MM01 or MM02,
I serched in the forums but could not find satisfactory ans,
I tried with:
T.Code-> System>Status->Prog Name>SE38>find Call Customer-Exit.
But its not helping me,
Please help me.
Thanks and Regards
Suraj S Nair.hi ,
if you are new to user exist use --> follw the below methos to find the user exit for a particular transaction or t-code
create one custom pgm in se38 and execute >selection screenenter t-code and execute it will return all the user exists for a specific transaction..
Finding the user-exits of a SAP transaction code
* Finding the user-exits of a SAP transaction code
* Enter the transaction code in which you are looking for the user-exit
* and it will list you the list of user-exits in the transaction code.
* Also a drill down is possible which will help you to branch to SMOD.
* Written by : SAP Basis, ABAP Programming and Other IMG Stuff
* http://www.sap-img.com
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : 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 obligatory.
select single * from tstc where tcode eq p_tcode.
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 = 'SMOD'
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:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
*---End of Program
Regards,
Prabhudas -
Hi All,
I am looking for a User Exit for MM01
I need to catpure the Document data in MM01>Additional data>Document data tab
I checked with the following enchancements but no use
MGA00001
MGA00002
MGA00003
BADI_Material_Check.
Can any one help me in finding the suitable enhancemet?
Thanks
BhaskerHi Bhasker
Go to Se18 Tcode
and give the definition name is "DOCUMENT_MAIN01"
check the definition in display mode because it is Sap Standard Definition.
there you will find a "TYPE" Tab
under this you have two check boxes
<b>1) Multiple Use</b>
2) Filter-Depend
if you want multiple implementations check this Check box
after this you need to create a request and the system asks Access Key for Changes
for that you will catch that Key from your Basis Team.
Regards
Sreeni -
GL Account User Exit for all FI transactions
Hi Experts,
We have to create a Ztable and it stores GL bank account principal amount.
Ex: 130121 (SCB Bank) - Rs.10,00,000.00
In SAP , for the same GL account closing balances will available in FS10N of each month.
Ex: 130121 (SCB Bank) for Sep'09 - Rs.8,50,000.00
Now, the requirement is..
I want to put an User Exit for this Bank GL Account . It has to perform a check operation whenever this GL accounts comes for posting on any FI transactions, and
it'll check each time to the GL account principal balances(from Ztable) with the posting amounts and give a popup message regarding about the bank limits exceeded, remainaing amounts and then only they can able to post the transactions.
Ex: If they are posting in F-02 (general ledger posting) the amount showing in GL account which go for my user exit calculations everytime and the same will be for all other FI GL transactions.
Hope u understood else pls let me know by your replies.
Pls advise.
thanks & regards
sankar.Hi..
In the tcode where u want to put the user exit, In the menu select System--> Status and double click on the program.
Then click on search and give the search term as "call-customer function".. and see if there are any available user exits..
Select one, and double click on the 3 number..if '003' ,double click on it,it will take u to the Fm..where u will find an include starting with Z.
Here u can write the code u want.
Regards,
Vishwa. -
User exit for V.23 transaction
Hi,
Is there any user exit or BADI available for transaction v.23?
Thanks,
VenuDear Venu,
There are no user Exits for V.23 T code,check whether any BADI's are available.
I will suggest you to post the same thread in ABAP Forums.
Regards
Mangal -
Is there a User exit for fast entry transaction PA42
I am trying to find a user exit for transaction PA42 Fast entry.
We currently have custom table that we check before allowing maintenance on employee data. I have found user exits for transaction PA30 and PA40 but am struggling to find one for PA42 Fast Entry.
Any assistance would be greatly appreciated.
ShamshudinYou can check the following...
Determined from program DevClass HRPBAS01 User Exit for HR Master Data
Determined from program DevClass HRPC0001 HR: PC download authorization
Determined from program DevClass HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
Determined from program DevClass PARA0001 Enhancement for Determining the Number of Periods
Determined from program DevClass PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
Determined from program DevClass PBASRP01 PA: User exit distributed reporting
EXIT_SAPFP50M_001 PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
EXIT_SAPFP50M_002 PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
EXIT_SAPMP50A_001 PBAS0002 PA: Enhancements for Personnel Administration - Menu -
BADI / User Exit for APO Order transaction /SAPAPO/SNPTLB
Hi Experts,
We have a proxy interface and currently we are using FUNCTION EXIT_SAPMSNPUSER_006 for the APO Order transaction: /SAPAPO/SNPTLB.
This exist is triggering before the Order is being saved in APO and at times it is throwing an error 'Order key already exists in live cache' in the APO system.
Is there any other BADI or User exit available to Save the order in APO before the interface gets processed?, if so, plese guide me.
Thanks & Regards,
VijayaHello Lakshmi,
I am having the same issue with the message "Order key already exists in live cache" in our system.
We are using the user-exit EXIT_SAPMSNPUSER_005 for UoM conversion. But we are not making any explicit proxy calls
to /SAPAPO/SNPTLB. Does the system automatically call this transaction with this user-exit?
Did you get a resolution for the issue. I would really appreciate if you can let me know how you have addressed this.
Thanks,
Ratnam -
User Exit for F-92 transaction!
Hi everyone,
I hope you all fine!
I hope you guys could help me with this. This is about user exit, I need one for the transaction F-92, when the user wants to sale a fixed asset I need to catch the fixed asset number to validate it, but I don't know if I'm doing something wrong with this user exits that I found here in the forum none of them stops when a type a break-point sentence.
SAPLF051 Workflow for FI (pre-capture, release for payment)
RFKORIEX Automatic correspondence
RFEPOS00 Line item display: Checking of selection conditions
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
FEDI0001 Function Exits for EDI in FI
FARC0002 Additional Checks for Archiving MM Vendor Master Data
F180A001 Balance Sheet Adjustment
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
Does any body know if there's any more user exit that are not listed in here for this transaction? or in the user exit listed above there's one that could stop at the break-point. but I'm not doing it correctly!
I hope you guys could help me with this, I'll really appreciate it.
Thanks for your time.
Regards,
Guillermo E.Hi Vinod,
Thanks for your reply, I also tried as you told me to use the transaction OB28, but I'm having some problems to understand how to use it. I found this documentation to create a user exit, here is the link:
http://www.richard-harper.me.uk/Kb/showtext.aspx?id=0007c
I followed the steps that it says, but the functional consultant can't see the new user exit that I'm trying to use.
I hope somebody could help me to understand how to set up a user exit with the transaction GCX2, and how to set parameters to make to make a query to a custom table and return a value to trigger the validation.
Or if I'm supposed to use another way to do it.
Thanks for your time!
Regards,
Guillermo -
User Exit For CO02 (PP transaction)
Dear All .
When Production order is saved it should check for requested quantity and withdrawn quantity . Also it should check for the confirmation of all operations .
I could find the User exit . Since I have not written any User exit before this I am am not understanding what has to be done . If any body knows about that pls guide me
thank you all .Exit Name Description
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determination
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks changes to order components
PPCO0100 test
STATTEXT Modification exit for formatting status text lines
regards
vinod -
User exits for mm01 to assign default value
experts,
when i have used exit MGA00002 and the corresponding function module EXIT_SAPLMG02_001 to assign the default values of mbrsh and mtart to the material number created during the course of the transaction mm01 i have written the following code in the INCLUDE ZXMG0U03
matnr+3 = matnr.
matnr+0(1) = mbrsh.
matnr+1(2) = mtart.
concatenate matnr0(1) matnr1(2) matnr+3 into matnr.
but default value is not getting assigned.
with regards.you just want to concatenate the mat type and indus sect to ur material num.
if it is then do this
go for MGA00001
in that u use
data: field1(18) type c,
concatenate the three fields using wmara like
wmara-matnr wmara-mbrsh wmara-mtart
into ur field field1
now write
cmara-matnr = field1.
if useful rewars
regards
Prakash Varun -
Hi, all
how to input default value e.g.. 01 in field division in tr. MM01
that is MARA-SPART field.
this is EXIT_SAPLMGMU_001, and how to do this please guide me!Look at [BADI BADI_MATERIAL_REF|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=badi_material_ref&cat=sdn_all], method CREATE_MATERIAL.
Look the online documentation.
Regards -
How to find the user-exit for transaction fpp2
Hi experts,
could you help me how can I find the user-exit for transaction fpp2. I tried to after the package, but I did not find it.Hi,
Use the following program to find user exits of specified code.
*& Tables
TABLES : tstc, "SAP® Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP® Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
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 = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP® Modifications
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
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:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
I executed the above program but there are no user exits for the specified Transaction.
Thanks,
Naveen Kumar. -
BADI/ User Exit for transaction FTR_EDIT/FTR_CREATE initial screen
Hi All,
I want a BADI/User Exit for FTR_EDIT/FTR_CREATE transactions to validate company code and partner fields.
please provide your suggestions.Hi,
here is a coding example that I implemented in the BAdI FTR_TR_GENERIC. This coding is executed when the user press the check button. The method is EVT_TRANSACTION_CHECK. This example is checking the payment date dfaell if it is equal to the system date. If not then a message is sent to the message handler. Here is the code:
DATA: faelligkeit TYPE d,
faelligkeit_text type c length 10,
meldungstext TYPE c LENGTH 100.
FIELD-SYMBOLS: <it_source> LIKE LINE OF pi_proxy_transaction->a_tab_conditions.
IF sy-uname = 'XYZ'.
* BREAK-POINT.
READ TABLE pi_proxy_transaction->a_tab_conditions INDEX 1
ASSIGNING <it_source>.
faelligkeit = <it_source>-dfaell.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = faelligkeit
IMPORTING
DATE_EXTERNAL = faelligkeit_text
EXCEPTIONS
DATE_INTERNAL_IS_INVALID = 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.
IF faelligkeit <> sy-datum.
CONCATENATE 'Fälligkeit' faelligkeit_text 'incorrect' INTO meldungstext separated by space.
CALL METHOD pi_proxy_messages->set_message
EXPORTING
pi_message_id = 'T0'
pi_message_number = '101'
pi_message_severity = 'E'
pi_message_var1 = meldungstext
EXCEPTIONS
OTHERS = 4.
ENDIF.
ENDIF.
It is not a really nice coding but it shows in a simple way how to use the BAdI.
Regards
Robert -
BADI/ User Exit for transaction FTR_EDIT/FTR_CREATE
Hi All,
I want a BADI/User Exit for FTR_EDIT/FTR_CREATE transactions to validate company code and partner fields.Hi,
here is a coding example that I implemented in the BAdI FTR_TR_GENERIC. This coding is executed when the user press the check button. The method is EVT_TRANSACTION_CHECK. This example is checking the payment date dfaell if it is equal to the system date. If not then a message is sent to the message handler. Here is the code:
DATA: faelligkeit TYPE d,
faelligkeit_text type c length 10,
meldungstext TYPE c LENGTH 100.
FIELD-SYMBOLS: <it_source> LIKE LINE OF pi_proxy_transaction->a_tab_conditions.
IF sy-uname = 'XYZ'.
* BREAK-POINT.
READ TABLE pi_proxy_transaction->a_tab_conditions INDEX 1
ASSIGNING <it_source>.
faelligkeit = <it_source>-dfaell.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = faelligkeit
IMPORTING
DATE_EXTERNAL = faelligkeit_text
EXCEPTIONS
DATE_INTERNAL_IS_INVALID = 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.
IF faelligkeit <> sy-datum.
CONCATENATE 'Fälligkeit' faelligkeit_text 'incorrect' INTO meldungstext separated by space.
CALL METHOD pi_proxy_messages->set_message
EXPORTING
pi_message_id = 'T0'
pi_message_number = '101'
pi_message_severity = 'E'
pi_message_var1 = meldungstext
EXCEPTIONS
OTHERS = 4.
ENDIF.
ENDIF.
It is not a really nice coding but it shows in a simple way how to use the BAdI.
Regards
Robert -
User Exits for FI transaction at time of 'Save'
Hi All,
I'm looking User Exits for the FI transaction - FBD1.
I used CMOD to identify the user Exits available for the 'FBAS' package:
F050S001 - FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 - FIDCC1: Change IDoc/do not send
F050S003 - FIDCC2: Change IDoc/do not send
F050S004 - FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 - FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 - FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 - FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 - Balance Sheet Adjustment
FARC0002 - Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 - Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 - Line item display: Checking of selection conditions
RFKORIEX - Automatic correspondence
SAPLF051 - Workflow for FI (pre-capture, release for payment)
However I'm looking for an user exit that is called at the time of 'Save'. I'm looking to make some changes
so that no entry can be posted in the above transactions until a document has been attached. None of the User exits above seem to be available at the time of 'Save'.
Is there any OSS note for a User Exit/BADI that can be used at the time of 'Save' for these transactions?
Thanks in advance..
Deepika.Hi Deepika,
for your requirement you can use FI substitutions (entire document). Check transaction GGB1. They allow to change fields from FI tables (BKPF,BSEG,BSIK,BSAK, etc...)
Please remember to reward points if the answer is useful and eventually to close the post if it solves your problem.
Regards, Manuel
Maybe you are looking for
-
Streaming an image from mySql db?
hi all i already stored an image into a mySql database now i'd like to write a simple servlet to display it anyone could help me? thanx sandro
-
Hi, to duplicate a databse to an auxiliary DB, auxiliary should be in nomount. please See 374069.1 note on metalink or Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2) B14239-04 page F-7. But, RMAN can not connect to an auxiliary o
-
XI error Cannot read Pool-Stamp. /Connection is invalid.
Please assist. These problems seems to be related and are occuring intermitantly on our XI system. Here are the details: Connection is invalid. Thrown: MESSAGE ID: com.sap.aii.utilxi.misc.api.ResourceException com.sap.aii.utilxi.misc.api.ResourceExce
-
Hi all, I know there´s a way to create subfolders in the Presentation level by adding a minus or something like that, but I can't remember it, anyone knows how to do it? Thanks in advance!
-
Keep button state on bookmarked Url
I have a question about writing an actionscript function for calling rollovers--I am working on website that consists of two frames (a navigation frame on top and a content frame underneath). I am creating the navigation bar in Flash. How would I sho