Exit for MIR4 transaction code
hi,
Is there any exit or Badi to populate lfsnr (number of external delevary note which we entered in Goods receipt MIRO) insted of xblnr in MIR4 (invoice document) transaction code.
regards,
revoori
Hi,
Please find the userexits available for MIR4.
Transaction Code - MIR4 Call MIRO - Change Status
Exit Name Description
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
Similar Messages
-
Find active user exit for a transaction code
Hi All,
Please help to find the active user exit for a transaction code.
for Ex. below is the list of user exits for package VA ( for creation of sales order and changing sales order). Let me know which user exit is active and which is not active.
Exit name Short text
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Thanks & Regards,
SabuGoto TADIR table give program id as R3TR ,Objec type as CMOD and execute.
You will get all active exits in system.
Exits related to SD may be in ZSD package. -
User Exit for CO11n transaction code
Dear friends,
I have a requirement that in T-Code CO11n the user enters the order confirmation and when they go for the goods movement, the screen shows the BOM list with quantities.
My requirement is that the user will put one quantity for the main material and the rest of the quantities should be calculated through the input value and appear in the respective fields.
For that I need an enhancement so please suggest me a userexit or any possible solution for the same.
Thanks in advance.
Regards,
MubashirHi mubhasir,
The following are the list of available user-exits in transaction code co11n, go thru the documentation of all userexit in Tcode SMOD and choose a appropriate one for ur requirement.
Reward points, if helpful....
Regards
Karthik D
<b>Transaction Code - CO11N Single Screen Entry of Confirmations
Enhancement/ Business Add-in Description
Enhancement</b>
CONFPP01- PP order conf.: Determine customer specific default values
CONFPP02- PP order conf.: Customer specific input checks 1
CONFPP03- PP order conf.: Cust. specific check after op. selection
CONFPP04- PP order conf.: Customer specific input checks 2
CONFPP05- PP order conf.: Customer specific enhancements when saving
CONFPP06- PP Order Confirmations: Actual Data Transfer
CONFPP07- Single Screen Entry: Inclusion of User-Defined Subscreens
CONFPS01- PS confirmation: Determine customer specific default values
CONFPS02- PS confirmation: Customer specific input checks 1
CONFPS03- PS confirmation: Customer specific check after op. selection
CONFPS04- PS confirmation: Customer specific input checks 2
CONFPS05- PS confirmation: Customer specific enhancements when saving
CONF0001- Enhancements in order confirmation
CONFPI01- Process order conf.: Calculate cust.specific default values
CONFPI02- Process order confirmation: Customer spec. input checks 1
CONFPI03- Process order conf.: Cust. spec. check after op. selection
CONFPI04- Process order conf.: Customer specific input checks 2
CONFPI05- Process order conf.: Cust. spec. enhancements when saving
CONFPI06- Process order confirmation: Actual data transfer
CONFPM01- PM/SM order conf.: Determine cust. specific default values
CONFPM02- PM/SM order confirmation: Customer specific input checks 1
CONFPM03- PM/SM order conf.: Cust. spec. check after op. selection
CONFPM04- PM/SM order conf.: Customer specific input check 2
CONFPM05- PM/SM order conf.: Cust. specific enhancements when saving
<b>No.of Exits: 24</b> -
How to created exit for CS02 transaction to maintain bom details of a mater
hi ,
plz explain how to created exit for CS02 transaction to maintain BOM details of a material. what is the BOM component . give me sample example.Hi,
these are the user-exits for CS02
Transaction Code - CS02 Change Material BOM
Exit Name Description
PCSD0001 Applications development R/3 BOMS
PCSD0002 BOMs: Customer fields in item
PCSD0003 BOMs: Customer fields in header
PCSD0004 BOM comparison
PCSD0005 BOMs: component check for material items
PCSD0006 Mass changes user exit
PCSD0007 Check changes in STKO
PCSD0008 WBS BOM: Customer-specific explosion for creating
PCSD0009 Order/WBS BOM, determine URL page
PCSD0010 Order/WBS BOM, determine explosion date
PCSD0011 Knowledge-based order BOM, parallel update
PCSD0012 Customer - Mat. number/mat. number during material exchange
PCSD0013 Customer-specific processing of an explosion for BOM browser
Regards
Nilesh -
Reg : Enhacement for the transaction code MD04
Hi experts,
I have implemented an user exit for the transaction code MD04 where in the stock/requirement list I am supposed to add a new column for the exception number which displays the exception description for the corresponding exception number.
The coding part for fetching the exception description for the corresponding exception number is done in the include 'ZXM61U03'.
The problem is in the importing parameter IMDEZEXIT in which all the screen data will be present basing on which the data fetching is done .The AUSKT(Exception number) value is not getting populated . All the other data in the row is getting populated.
Please suggest e a solution for this.
Regards,
Ramkishore.Hi
Hope it will help you.
reward if help.
Please use FM MD_STOCK_REQUIREMENTS_LIST_API to get all information for transaction MD04/MD05.
You might also want to check out the function module API.
MD_MRP_LIST_API
and also
check this link for extracting data from MRP tables:
http://www.sap-img.com/pp001.htm -
How can we find the list of user exits for a transaction
hi all
iam new in user exits please send the basic details
how can we find the list of user exit for a perticular transaction and how can we determine that a particulr user exit is used for a field
regards
jagadishhi,
check the below links for userexits
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
FAQ's
http://http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
http://www.easymarketplace.de/userexit.php
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
1. what is the defference between enhancement and user-exits?
http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
Re: difference between user exits & customer exits
Some Questions ! Plz help...
http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1190924_tax299358,00.html?bucket=ETA
2. Difference between CMOD and SMOD?
http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
http://www.sap-img.com/abap.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236095
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236107
check these links..
http://www.sapgenie.com/abap/tips_and_tricks.htm
http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
passing selet-option variable to subrouine...
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
if u want to find the function exit
then check the below code
REPORT ZV_FIND_EXIT 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.
or
1. in se11, goto table MODSAP
View table contents
2. in Type field, enter 'E' (for function exit)
3. For that tcode, u should know the program name.
eg. SAPLLMOB
4. then type SAPLLMOB and execute
or
REPORT z34331_user_exit .
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
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
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-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 Modifactions
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.
Regards,
Naveen -
Hello,
i m looking for user exit for rerapp t-code but i couldnt find anything about that from internet. it s about e coming invoice. the invoice is being committed from rerapp t-code; then the view is being matched with invoice and clicked documents button. i m looking for a user exit when user click 'documents' button,
Thanks a lot,
AyşegülHi,
Follow this steps, you will get the exact BADI.
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
5. Then run your transaction.
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
Regards
Chaitanya -
Urgent. Badi or user exit for ML81N transaction
Hi!
Currently I am working on the transaction LM81N. I am looking for a user exit or BADI before save (commit work). I need to modify the XIMSEG table where this table is updated in the code:
FORM SET_XIMSEG_ACC using p_rcode.
*& Form SET_XIMSEG_ACC
ximseg fuellen - Buchung auf Ebene Kontierung
p_rcode = 0.
CLEAR XIMSEG.
XIMSEG-BWART = T156N-BWART_NEXT.
XIMSEG-EBELN = XESSR-EBELN.
XIMSEG-EBELP = XESSR-EBELP.
XIMSEG-KZBEW = 'B'.
XIMSEG-LFBJA = XESSR-ERDAT.
XIMSEG-LFBNR = XESSR-LBLNI.
XIMSEG-ELIKZ = XESSR-FINAL. "set ELIKZ
IF XESSR-KZABN EQ KZABN_S. "Storno
XIMSEG-XSTOB = 'X'.
XIMSEG-ELIKZ = SPACE. "reset ELIKZ
ENDIF.
XIMSEG-ERFMG = 1.
XIMSEG-ERFME = XEKPO-MEINS.
XIMSEG-BPMNG = 1.
XIMSEG-BPRME = XEKPO-MEINS.
<b>XIMSEG-SGTXT = XESSR-TXZ01.</b>
LOOP AT XESKN WHERE PACKNO EQ XESSR-LBLNI
AND LOEKZ IS INITIAL
AND NETWR > 0.
XIMSEG-LFPOS = XESKN-ZEKKN.
APPEND XIMSEG.
ENDLOOP.
IF SY-SUBRC > 0.
p_rcode = 8.
REFRESH: XIMSEG, XEMSEG.
exit.
ENDIF.
ENDFORM. " SET_XIMSEG_ACC
I need to modify
XIMSEG-SGTXT = XESSR-TXZ01 with ESSL-KTEXT1
I found that use ATP_PUBLISH_RESULTS BADI after the call SET_XIMSEG_ACC . But I didn't found it.
Thanks in advance.Hi Diana,
these are the available exits for this t.code:
Enhancement/ Business Add-in Description
Enhancement
SRV_FRM SRV: Formula calculation (obsolete since 4.0A!)
SRVSEL Service selection from non-SAP systems
SRVREL Changes to comm. structure for release of entry sheet
SRVQUOT Service export/import for inquiry/quotations
SRVPOWEB Purchase order for service entry in Web
SRVMSTLV Conversion of data during importing of standard service cat.
SRVMAIL1 Processing of mail before generation of sheet
SRVLIMIT Limit check
SRVKNTTP Setting the account assgnmt category when reading in, if "U"
SRVEUSCR User screen on entry sheet tabstrip
SRVESSR Set entry sheet header data
SRVESLL Service line checks
SRVESKN Set account assignment in service line
SRVESI Data conversion entry sheet interface
SRVENTRY Unplanned part of entry sheet (obsolete since Rel. 3.1G)
SRVEDIT Service list control (maintenance/display)
SRVDET User screen on tab strip of service detail screen
INTERFAC Interface for data transfer
o.of Exits: 18
o.of BADis: 0
Try to found the correct exits and provide the and activate the exits.
If u wan to where the exits is working put the breakpoint.
***********Rewords some points if it is useful.
Rgds,
P.Naganjana Reddy -
Do we have any exit for KP26 transaction(second screen)?
Hi,
Do we have any exits for KP26 transaction(second screen)?
I want to write some code at the moment, the values from KP26 gets saved in COST table.
Please tell me ASAP.Hi ,
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.
5. Then run your transaction. (kp26) do the operation acordingly agin execute. after save also it will go to the debug mode.(u will get the user exit &adi also)
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
8. u will get the user exit & badi after save
if found helpfull do reward.
Regards.
sachhidananda -
Screen exit for FS00 transaction
Hi All,
My requirement is i need to provide a button in FS00 transaction to approve the GL Code. Can anyone suggest me screen exit for FS00 transaction.
Thanks,
Chitra.Hi
You can find Exits and BADI from SPRO. Just identify the area where you want to enhance and go to that area by SPRO , then you can see system enhancement that are available. This is the good way to find enhancement because you can find the documentation related to enhancement.
Like SPRO > Material Management > Purchasing > Develop enhancement for purchasing (Exits)
or see Business add ins for purchasing. Read the documentation.
Else you can search exits and badi by the package name like find the package of a transaction where you want to put enhancement. SE93 > Transaction name > Display > Package.
then go to SE80 and open the package then see function group start with X. this are exits that are available. you can find enhancement also.
Else to find BADI related to a transaction just put break point to class method cl_exithandler->get_instance in SE24.
and run the transaction , then you can find the BADI as exit name in this function call.
These are the way you can find enhancement , but the way which is describe 1st is the best way.
hope it will solve ur problem.
Thanks -
Can any one help me out about how to find out the user exixts available for a particular T-code?
Kindly explain the step by step process.
Thanks ,
PriyaUse below code. Enter Transaction code and the output will be list of all the user exits associated with it.
*& Report ZUSEREXIT *
*& 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. *
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.
Best Regards,
Vibha
*Please mark all the helpful answers -
How to find user exit for the transaction PBAW
Dear Freinds
In Recruitment ....PBAW(Job Advertisements--when we execute the
transaction PBAW ...we can find create Advertisement... > here will create posting
in this screen i have to add a field Status . could you please let me know how
i can add.. Is there any user exit through which i can add a field or there is any way...
as it is standard..
regards
Vamsi.Hello Vamsi,
This might be of help. It is a program to find user exits based on transaction codes. Just install it on your sandbox and see if it works for you.
http://www.erpgenie.com/abap/code/abap26.htm
KR,
Peter Linn -
What to do if there is no relavent BADI/EXIT for standard transaction
Hi,
Can any one say,What to do if there is no relavent BADI/EXIT for standard transaction.
Helpful Answer will be rewarded.SAP provide some hooks to add our code to the standard program. This is what we called enhancement.
It has following types:
1. Personalization ( here the fields can be hide, display only etc. )
2. Customer Exit ( Function module Exit, Menu Exit and Screen Exit )
3. BTE
4. BADI( Function module Exit, Menu Exit and Screen Exit )
5. User Exit
Suppose all these are not helpful, then you could create the code from scratch. But it is too difficult to develop because of its complexity.
So what you can do is get SAP access key and change the code in the standard program. This is called as modification. Advantage of Enhancement and modification is whenever there is a new version come the changes made by us in standard code will be attached in the newer version also.
The final way is copy the source code into customer namespace and make changes according to your criteria. Eg. in the standard PO creation if you do like this, several disadvantages are the user has to give a new t.code, BASIS guy has to restrict the standard PO create T.code and you can't avail the new features of future versions.
Hope this gives you complete picture and solution. -
Need a BADI/ exit for MIGO transaction
Hi,
I need a BADI / exit for tha transaction MIGO. My requirement is before displaying the materials in the item tab, check whether the user has authorization for that material or not. If he has no authorization, give error message. This should be done for all types of documents.
Please let me know if you need more information.
thanks,
Kishorehi,
You can have the authorization for the inventory management via authorisation..
Check the path: SPRO --> MM --> Purchasing --> Inv. management nad physical inventory --> Authorization management --> Maintain roles and assign users....
Regards
Priyanka.P -
Any Suitable exit for CNMASS Transaction
Dear All,
Could any one tell me the user exits for CNMASS transaction. This transaction is used to mass update the records for a particular project. or is there any way that we can add some of the user fields to that transaction.
Thank You,
Regards,
Swaroop PatriHi Swaroop,
There is no user exits available for this Tcode. Copy the existing program and make changes in Z prg
With Wishes
Jai
Maybe you are looking for
-
My iphone and ipod are not longer being charged by the pc
my iphone and the ipod are not longer being recognized by the computer
-
Maximum hard drive size for upgrading a dv6375ea?
Hello to all, My hard drive began to make noises and since it is past warranty, I will upgrade it. When I had bought the laptop I had chatted with a HP personnel on these support pages, and he/she had told me that the maximum size that the bios all
-
Good evening everybody, I updated my mac and started to use photo after migration of my library During the migration they were a little problem because I didn't have enough storage, I just deleted couple of movies and i could finish the migration A
-
Has anyone had problems removing applications since the upgrade?
-
I am having some issues with navigation through ESS. We are implementing ESS but only are using Travel Expenses. I have created a copy of the standard SAP role and deleted all tabs other than Travel Expenses. When I create a new expense report and