User Exit needed at PBO for transaction code CAT2
Hi all,
I'm enhancing CAT2 screen for the client. I've created a new field for CAT2 -> Data Entry Section and have made that field visible via config. I would like to implement a search help for my new field and would like to manipulate the search help via abap code. I understand that there's a whole list of CAT2's user exit that can be used. However, i need an user exit that is triggered before the Data Entry Section screen appear which is the PBO. I'm not allowed to modify the SAP Standard program and therefore i'm using the user exit.
I've tried SAP Enhancement CATS0005 but it is not triggering my ABAP Code before it enters the Data Entry Section screen. Kindly assist to advice is there's any particular User Exit that i can use for my purposes or another workaround.
Regards,
Loo
I don't think there is one, but you may either implement an implicit enhancement option (routine GET_NEXT_NUMBER in program SAPLSTRD), or make a custom program which creates transport requests (it is then easier to get the number).
Similar Messages
-
User Exit Doesn't Run For Transaction KE26
Hi Gurus,
I have a requirement in which when i use the transaction KE26, i need the User Exit EXIT_SAPLKEII_002 Enhancement
COPA0005 to run. Using the Program for finding out the user exits for a particular transaction i found out this exit . but when i use ke26 this exit is not activated .Plz Help.
Thanks in advance.The program you use give the Customer Exit (or BADI) for the development class of a transaction or program. Its only a tool, an exit can belongs to another dev class than the transaction and an exit of the same dev class may not be called by the transaction.
- Look at dev class KE with SE80, there are a lot of transactions in this class.
- Look at function group XKKE, there are some exits here.
Regards -
How to find User Exits/ Enhancments/ BADI's for T-code CJ20N
Hi All,
In T-code CJ20N, assume there are two fields A & B. User will input value in A, based on A value I need to fill B field. So I need to find first suitable User Exit/ Enhancment/ BADI.
Kindly help me in this regard. Pls tell me how to find User Exit/ Enhancment/ BADI for a given t-code.
Regards
Jaker.Hi,
Check the following , this might help,
1. CNEX0037
2.CNEX0038
3.CNEX0039
Regards
Kiran Sure -
User Exit or BAdI available for transaction MFBF
Hi all,
Is there any BAdI or User Exit available for Trasaction MFBF to change the workcentre type? if possible could anyone help me out in figuring out the the Exit.
Answers will be rewarded
Cheers,
Prashanthcheck...
Enhancement/ Business Add-in Description
Enhancement
PTRM0001 User Exit for Lead Column in REM Planning Table
SAPLRMPU Customer Exits for Material Staging
XMRM0001 User exits: Backflushing in Repetitive Manufacturing
Business Add-in
CIF_RM_PPR_DISTRIB Distribution of Postprocessing Records in APO
FCO_CO_FUNCTIONS CO Functions for Failure Costs
FCO_CUSTOMER_SPECIF Failure Costs: Customer-Specific Enhancements
FCO_RM_FUNCTIONS Failure Costs: Enhancements in Repetitive Manufacturing Area
RM_HR_INTEGRATION HR Integration of REM Backflush
RM_LIST_PRODUCTION BAdI for Printing Production Settings
RM_MF50_ROWS BAdI for Hiding Lines in the Planning Table
RM_PERFORMANCE_DREQ Performance Improvement in New Distrib. of Dependent Reqmts -
USer exit for transaction Code APPCHANGE
I want to include a function module to trigger a workflow
in a user exit related to program
SAPLHRHAP_UI_DOCUMENT_REPORT (transaction Code APPCHANGE.)
The workflow will be triggered when SAVE button is pressed.
Thank your for your helpHere is a program that can be used to find user exits per transaction code.
report z_find_user_exit no standard page heading.
tables: tstc, tadir, modsapt, modact,
trdir, tfdir, enlfdir, tstct.
data : jtab like tadir occurs 0 with header line.
data : hotspot(30).
parameters : p_tcode like tstc-tcode obligatory.
at line-selection.
get cursor field hotspot.
check hotspot(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
start-of-selection.
perform get_data.
perform write_list.
* FORM get_data *
form get_data.
select single * from tstc
where tcode eq p_tcode.
check sy-subrc eq 0.
select single * from tadir
where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
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.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = tadir-devclass.
select single * from tstct
where sprsl eq sy-langu
and tcode eq p_tcode.
endform.
* FORM write_list *
form write_list.
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.
endform.
Regards,
Rich Heilman -
USER-EXIT on SAVE event for IE01
Hi,
I need USER-EXIT on SAVE event for t-code IE01.
EXIT IEQM0003 work only first time after pressing "SAVE".
IF i press "SAVE" second time equipment will be created.
Edited by: andriy.hulyk on Jan 26, 2012 12:45 PMHere is my code:
IF DATA_ILOA-TPLNR IS INITIAL.
AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
ID 'ZZFLC' FIELD '*'.
CASE SY-SUBRC.
WHEN 0."SAP-ALL User
EXIT."OK
WHEN 12."User without restriction
EXIT."OK
WHEN OTHERS.
AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
ID 'ZZFLC' FIELD '01'.
CASE SY-SUBRC.
WHEN 0."Create eq. only with FL for some work centers
MESSAGE E250(ZPM) WITH 'test' RAISING POSTING_NOT_ALLOWED_EXT.
ENDCASE.
ENDCASE.
ENDIF.
If i press "SAVE" firs time it work great. But next pressing just create new equipment. My restriction does not work( -
User-Exit/Badi/Funtion Module for update Batch in transaction CORK
Hi Gurus,
when an IDoc 'Z' is executed to do a confirmation using the FM CO_RU_ORDER_CONFIRMATION, the values of transaction CORK are modified.
I'd like to update the field batch number so when you enter a process order in transaction CORK and then you click on Components, you'll see the list of component and the batch number updated throught the custom IDoc.
Does anyone knows any user-exit or Badi or maybe a FM to implement so when the first confirmation is done, the batch numbers are updated?
Thanks in advance.Hi,
You can copy and paste the Report code below. This will give the list of User Exits and BADIs available for the Transcation code. Very usefull program.
Below code will give a list of BADIs for particular transaction.
=============START
*& Report ZNEGI16 *
REPORT ZNEGI16 .
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.
================END
<b>Reward POints if this helps.
Manish</b> -
Need to add Standard transaction code to User Menu.
Hi All,
I need to add Standard transaction code to User Menu. How this can be accomplished?
ThanksYour Security and/or Basis team probably have control of the user menu settings. On the other hand, if this is for YOUR user menu, you could choose to simply adjust your favorites.
-
Need a user exit or enhancement point for loading start button in VT02
I have a requirement to write the code for loading start button and complete PGI as soon as loading start is checked in VT02(shipment transaction).
Please suggest....HI Venkata,
Below are the user exits and BADIs in the transaction VT01
Enhancement
V56UNUMB Shipment number allocation
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UCHCO Check shipments are complete
V56UCHCH Shipment processing: Check whether changes were made
V56TDLIF Filter Delivery Items for Shipment
V56SLDET Shipment processing: Leg determination
V56MVT04 Extensions for Collective Processing of Shipments
V56LOCID Shipment Processing: Determine Location Identification
V56LDELI Read Delivery Data for Shipment Processing
V56L0001 Status of Shipments for a Delivery
V56FSTAT Shipment processing: Activities when setting a status
MV56AINI Initialization of transaction control for transportation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
Business Add-in
BADI_V56N User Exit Transport - Message Determination
BADI_LE_SHIPMENT BadI: Shipment Processing
Regards,
Radhika -
Unrestricted access for transaction codes
Hi,
We had set Production Client settings in SCC4 as "No chnages allowed"
for client specific objects and
"No changes to cross client & repository objects" in cross-client
settings.
As a part of regular job Finance users needs access to below
transaction codes when the client is in non modifible Mode.
I would like to give access to below listed transcation codes for
selected users Without opening client everytime , I have assigned
SAP_ALL profile for two users but still they are not able to perform
their activity using below transcation codes when the client
is "Nonmodifiable" state
Transaction Codes List :
S_BCE_68000174 - Enter Translation Rates
S_ALR_87003642 - Open and Close Posting Periods
S_ALR_87002510 - Enter Time Interest Terms
S_ALR_87002678 - Enter Referance Interest Values
FTXP - Tax Codes
Please suggest us how to provide full (display, create, change,
generate) access to specific listed users for specific transcation
codes when production client is in "Nonmodifiable" & No changes allowed
mode.
ThankuHello,
Usually it depends on some points of customizing, that allow you to choose how SAP treats those transactions. I mean, you can choose if they should be treated as business transactions or customizing. In your case, the application is configured to use those transactions as customizing. Depending on the business area, you have to ask OSS support to change the configuration of these transactions.
Hope it helps
Best Regards
Francisco -
How to find out the 'z' user exit used in a Particular Transaction
Hi,
I have requirement to analyse all the user exits used in a transaction say 'VA01' . How can i find the user exits in a VA01 transaction. Can anyone suggest how to find the User exits
Thanks in Anticipation.
With Best Regards
mamathayou can execute the following program , give the transaction name and execute
*& Report YCHATEST *
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& 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 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. -
User exit at item level for billing block field default for VA41 or VA42
Hi All,
I want user exit at item level for contract (VA41or VA42) for the field Billing Block in the Billing document tab
which has to populate with some default value.
Which user exit i need to check.
Regards
JaiHi,
Use subroutine USEREXIT_FIELD_MODIFICATION in Include MV45AFZZ.
Make sure this is for only tcodes VA41 and VA42 because this wil trigger for sales order also.
Regards,
Ashok. -
User-exit on APO side for the deliveries that are coming from R/3
Hi,
When a delivery is created in ECC for a VMI customer, it creates an EI order in APO. We need to record some details of these orders on the APO side. Can you please let me know the user exit/BADI that gets triggered when a delivery comes to APO through CIF which we can use for our requirement?
Thanks in advance.Hi,
You can use APOCF006(EXIT_/SAPAPO/SAPLCIF_PU_001) CIF User exit on APO side for CF_OBJECTTYPE = B(Delivery).
I hope this will help you.
Regards,
Saurabh -
User exit or a badi for checking the vendor email id in me22n on me29n
hi all,
can anybody suggest me a user exit or a badi for checking the email id of the vendor in me21n or me22n or me29n.
i.e. a user exit or a BADI which gets hit either at the time of creation or release of a purchase order.
plz suggest me a solution its urgent.
regards,
santoshHi Santosh,
Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
Creating of Notes for Transaction Code RECN(Using Classes and Methods)
Hi Experts,
I want to Create Notes for Transaction Code RECN, This should not done manually but should be done programatically.
I had used the Class CL_GOS_SRV_NOTE_CREATE to create the notes.....but here comes the doubt for me.....note will be created by using this class and how this can be created for the Tcode RECN........
I am using the Real Estate Module.....Plz help me....awaiting for ur helpful answers....
Thanks in Advance.....!
BrahmaHi kanagaraja,
Thanks...!
The BADI which u have given is not existing in my system...i had gone through the se18 and se19 tcodes....
Awaiting for ur response......!
Thanks,
Brahma...
Maybe you are looking for
-
How to delete one invoice document in FI module!
Hi all, Does anybody know the T-code to delete a invoice document in FI module. Thanks in advance! Best regards, Wendong Feng
-
How do I send a sent iMessage as an SMS?
Previously in ios 6 if I sent an iMessage and it wasnt delivered I could press and hold the message and an option to send it as an sms came up. This no longer happens in ios 7. How do I send an iMessage as an SMS after the iMessage has been sent. ANy
-
What are the functions of the following - 1. ixParam("vCompany") 2.ixParam("vItem") 3.ixDimGet("ITM", "ItemName") 4." " & ixDimGet("ITM", "ItemCode") I found these functions in sample report of xl reporter i.e Item price list.I tried creating new r
-
Tab past locked cells in numbers?
does anyone know if you can lock individual cells in numbers? i need to be able to navigate from unlocked cell to unlocked cell avoiding all locked cells. it's easy in excel, we use complex vlookup formulas that return information to other cells and
-
Enhance 0CRM_MKTATTR_ATTR extractor
Hello all, I would like to enhance 0CRM_MKTATTR_ATTR standard CRM extractor to be able to view in reporting the field "attribute set" Could anybody give some ideas about how to do it? Thanks in advance. Carmen