User Exit / BADI for Transaction IW31 to create a POP-UP.
Hi,
I need to have a POP-UP Message in transaction IW31 on the press of ENTER. Could you give me the name of the EXIT or BADI which can be used for this purpose.
Hi!
In IW31/IW32, there is no user-exit/badi for pressing Enter. User-exits are attached to well determined event (enabling, closing, saving the order and so on).
If you wanted to solve it, it seems, you have to modify the standard COIH function group. Use SE80 transaction for it. The first dynpro is 3000.
Regards
Tamá
Similar Messages
-
User exit / badi for transaction appcreate
Hi,
Can nyone help me in getting user exit / badi for transaction appcreate .
Cheers
kamleshHi Kamlesh,
Try below code to know the userexits for the given trxn code.
Regards,
Raj
*& Report ZTESTRAJ_USEREXITS
REPORT ztestraj_userexits
NO STANDARD PAGE HEADING
LINE-SIZE 200
MESSAGE-ID zz.
T A B L E D E C L A R A T I O N S *
TABLES: tftit,
e071,
e070.
S T R U C T U R E D E C L A R A T I O N S *
TYPES: BEGIN OF x_tstc,
tcode TYPE tcode,
pgmna TYPE program_id,
END OF x_tstc.
TYPES: BEGIN OF x_tadir,
obj_name TYPE sobj_name,
devclass TYPE devclass,
END OF x_tadir.
TYPES: BEGIN OF x_slog,
obj_name TYPE sobj_name,
END OF x_slog.
TYPES: BEGIN OF x_final,
name TYPE smodname,
member TYPE modmember,
include(15), "Include name
END OF x_final.
I N T E R N A L T A B L E D E C L A R A T I O N S *
DATA: it_tstc TYPE STANDARD TABLE OF x_tstc WITH HEADER LINE.
DATA: it_tadir TYPE STANDARD TABLE OF x_tadir WITH HEADER LINE.
DATA: it_jtab TYPE STANDARD TABLE OF x_slog WITH HEADER LINE.
DATA: it_final TYPE STANDARD TABLE OF x_final WITH HEADER LINE.
V A R I A B L E S D E C L A R A T I O N S *
U S E R I N P U T S S C R E E N *
S E L E C T I O N S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK blk01 WITH FRAME TITLE text-t01.
PARAMETERS: p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN END OF BLOCK blk01.
S t a r t o f S e l e c t i o n *
START-OF-SELECTION.
PERFORM get_tcodes. "Get Tcodes
PERFORM get_objects. "Get Objects
E n d o f S e l e c t i o n *
END-OF-SELECTION.
PERFORM display_results. "Display Results
*& Form get_tcodes
Get Tcodes
FORM get_tcodes.
SELECT tcode
pgmna
INTO TABLE it_tstc
FROM tstc
WHERE tcode = p_tcode.
IF sy-subrc = 0.
SORT it_tstc BY tcode.
ENDIF.
ENDFORM. " get_tcodes
*& Form get_objects
Get Objects
FORM get_objects.
DATA: l_fname LIKE rs38l-name,
l_group LIKE rs38l-area,
l_include LIKE rs38l-include,
l_namespace LIKE rs38l-namespace,
l_str_area LIKE rs38l-str_area.
DATA: v_include LIKE rodiobj-iobjnm.
DATA: e_t_include TYPE STANDARD TABLE OF abapsource WITH HEADER LINE.
DATA: l_line TYPE string,
l_tabix LIKE sy-tabix.
IF NOT it_tstc[] IS INITIAL.
SELECT obj_name
devclass
INTO TABLE it_tadir
FROM tadir FOR ALL ENTRIES IN it_tstc
WHERE pgmid = 'R3TR' AND
object = 'PROG' AND
obj_name = it_tstc-pgmna.
IF sy-subrc = 0.
SORT it_tadir BY obj_name devclass.
SELECT obj_name
INTO TABLE it_jtab
FROM tadir FOR ALL ENTRIES IN it_tadir
WHERE pgmid = 'R3TR' AND
object = 'SMOD' AND
devclass = it_tadir-devclass.
IF sy-subrc = 0.
SORT it_jtab BY obj_name.
ENDIF.
ENDIF.
ENDIF.
*- Get UserExit names
LOOP AT it_jtab.
SELECT name
member
INTO (it_final-name, it_final-member)
FROM modsap
WHERE name = it_jtab-obj_name AND
typ = 'E'.
APPEND it_final.
CLEAR it_final.
ENDSELECT.
ENDLOOP.
*- Process it_final contents.
LOOP AT it_final.
l_tabix = sy-tabix.
CLEAR: l_fname,
l_group,
l_include,
l_namespace,
l_str_area.
l_fname = it_final-member.
CALL FUNCTION 'FUNCTION_EXISTS'
EXPORTING
funcname = l_fname
IMPORTING
group = l_group
include = l_include
namespace = l_namespace
str_area = l_str_area
EXCEPTIONS
function_not_exist = 1
OTHERS = 2.
IF sy-subrc = 0.
IF NOT l_include IS INITIAL.
*- Get Source code of include.
CLEAR: v_include, e_t_include, e_t_include[].
v_include = l_include.
CALL FUNCTION 'MU_INCLUDE_GET'
EXPORTING
i_include = v_include
TABLES
e_t_include = e_t_include.
IF sy-subrc = 0.
LOOP AT e_t_include.
IF e_t_include-line CS 'INCLUDE'.
CLEAR l_line.
l_line = e_t_include-line.
CONDENSE l_line NO-GAPS.
TRANSLATE l_line USING '. '.
l_line = l_line+7(9).
it_final-include = l_line.
MODIFY it_final INDEX l_tabix TRANSPORTING include.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " get_objects
*& Form display_results
Display Results
FORM display_results.
FORMAT COLOR COL_HEADING.
WRITE:/1(150) sy-uline.
WRITE:/ sy-vline,
2(23) 'Extension Name',
24 sy-vline,
25(39) 'Exit Name',
64 sy-vline,
65(74) 'Description',
140 sy-vline,
141(9) 'Include',
150 sy-vline.
WRITE:/1(150) sy-uline.
FORMAT RESET.
SORT it_final BY name member.
LOOP AT it_final.
CLEAR tftit.
SELECT SINGLE stext
INTO tftit-stext
FROM tftit
WHERE spras = 'EN' AND
funcname = it_final-member.
WRITE:/ sy-vline,
it_final-name COLOR COL_KEY, 24 sy-vline,
25 it_final-member, 64 sy-vline,
65 tftit-stext, 140 sy-vline,
141 it_final-include, 150 sy-vline.
WRITE:/1(150) sy-uline.
ENDLOOP.
ENDFORM. " display_results -
To find out appropriate user exit/ badi for transaction VT01n
Hi,
I have the following requirement.
Cass shipment type (VTTK-ADD03) field needs to be required and should be automatically populated upon creation of the shipment document. The rules for populating the value (SO, ST, PO and RA) are as follows:
If any of the orders on the shipment are customer order types, then the CASS shipment type should be a SO,
If all of the orders are STO orders, then the Cass shipment type should be "ST",
If all of the orders are PO orders, then the Cass shipment type should be "PO" , and
If all of the orders are customer return orders, then the Cass shipment type should be "RA".
I have to find out proper user exit / badi to do this.I have tried with many userexit but it won't work.
Thanking in advance to give your suggestion in order to resolve it.
With regards,
Ajit.Hi this code will enable you to find the user exit for any transaction . Just give the transaction as input
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
Just for your information the User exits available for VT01n are
MV56AINI Initialization of transaction control for transportation
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
V56FSTAT Shipment processing: Activities when setting a status
V56L0001 Status of Shipments for a Delivery
V56LDELI Read Delivery Data for Shipment Processing
V56LOCID Shipment Processing: Determine Location Identification
V56MVT04 Extensions for Collective Processing of Shipments
V56SLDET Shipment processing: Leg determination
V56TDLIF Filter Delivery Items for Shipment
V56UCHCH Shipment processing: Check whether changes were made
V56UCHCO Check shipments are complete
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UNUMB Shipment number allocation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
Award points if helpful..
Thanks -
User exit/ BADI for transaction VF11
Dear Gurus,
My requirement is that, When a billing document is canceled using transaction code VF11, while saving the document, a information message needs to be displayed based up on the invoice date which is currently getting canceled.
Kindly help me out with User Exit / BADI while saving and the table fields which will have invoice date of the invoice which is getting canceled.
Thanks,
Bhupender Dangihi,
the following user exits are available for tcode VF11
Exit Name Description
SDVFX001 User exit header line in delivery to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lists
V61A0001 Customer enhancement: Pricing
J_3RSINV Customer enhancement: Pricing -
User Exit/BADI for Transaction CNR1 & CNR2
Hi All,
We have a requirement where we need to make use of the transaction CNR1 & CNR2 to validate the employee number, can anyone tell me is there any user exit/BADI available for this purpose, I have searched for the user exits using a small utility program which resulted in 'No Exits',
Your quick help would be highly appreciated,
Rgds,Hi Sailatha,
I am not very clear with the requirement. I would appreciate if you can explain me the scenario.
As I understand the requirement there is no user exit exists for this purpose but there is one BADI available for CNR2 which can only be used if we try to remove the HR assignment to work center and the assignment is to Object Type "US" (User HR object). Hope this helps.
Definition name: CRHRORG
Method: CHECK_DEASSIGN_HRORG
Kind Regards,
Sanjeev Munjal -
User Exit/BAdI for transaction SCC4?
Hello!
Is there any user exit or badi that I can use if a client has been changed in transaction SCC4?
Any help would be appreciated! Thanks in advance!
Greetings
Wolfganghi,
ssc4 - it is standard view (sm30) for table t000,
here view is generated by special tool (se11-table maintenance generator) and you can
for example write own code in special events (before save, after delete etc)
see menu function (enviroment -modifcation-events)
regards,darek -
User Exit/BAdI for transaction ME22N - Release status of PO
Dear All,
Requirement: Irrespective of any change to a PO having its release indicator set to approved, the release indicator must not get updated.
As of now, editing a PO (using ME22N) leads to the updation of release group, release strategy and release indicator - this should be prevented from happening for all POs that have a release indicator set to Approved.
We know that in the system, this is determined in the FM ME_REL_STRATEGIE_EKKO. However we are using the version 4.6C and not being able to find a suitable user exit or other enhancement option. Can someone help us with a way to prevent this change from happening.
Regards,
NimishHi,
Did you check the BAdi: ME_PROCESS_PO_CUST.
Reddy -
User Exits / BADI for transaction VA05
Hi all,
We need to do some modification in transaction Va05 please tell me BADI / Userexit for transaction VA05 .
Any suggestions helpful,
Regards,Hi Navdeep,
You can find the BADI In diffrent approches, finding thourgh class CL_EXITHANDLER is 1 method.
Here are the steps.
1. Go to Tcode SE24
2. In object type specify object name as CL_EXITHANDLER
3. Double click on method - GET_INSTANCE
4. on line no 25 , i.e. is case statement, set a debug point
5. execute any desire transaction code in a new screen for which
you want to find a BADI
6. it will take you in debugging mode, debugging the program
press F5 until you are in method
CALL METHOD cl_badi_flt_data_trans_and_db=>act_imps_per_flt_val
7. check the value of exit_name in exporting parameter
8. it will list all badi's available for that transaction
2)Finding thourgh SQL TRACE ST05 is another apporach,see the blog
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3480. [original link is broken] [original link is broken] [original link is broken]
3) For the given transaction goto> tcode se93give the tcode and execute . you will get the development class there.
goto tcode se84>ENVIR>Exit techniques>Bussiness addins> give the development class and execute.
Pls reward if helpfull...
Regards,
Sharath -
User exit/BADi for Transaction CSK2 to check material
Hello Experts,
Are there any exits/BADi's to check for Material number entered on the selection screen of transaction code CSK2.
I coded my logic in SMOD enhancements PCSD0012 and PCSD0005, but none of them got triggered while executing CSK2.
Can you please help where can i code my check of materials to be triggerd at CSK2??
Please help me out.
Regards,
MansiHi,
I wud suggest u to go for Field Exit specifying Prgram SAPMC29L & Screen No. : 0110.,since u want validations/checks on the Material no. field.
Hope this helps.
Regd,
abhee. -
User Exit/BADI for transaction FTR_CREATE/FTR_EDIT
Hi,
Have anybody worked on any userexit or BADI on tcode FTR_CREATE or FTR_EDIT? I've been searching for a userexit/badi when I save the contract. Till now I found none. I need to validate limit amount of contract when save event is triggered.
Any inputs is appreciated... Thanks!Hi,
The BADI for FTR_CREATE is ADDR_PRINTFORM_SHORT and it's implementation is CL_EX_ADDR_PRINTFORM_SHORT.
There is an even quicker way to finding a BADI and BADI implementations for any transaction:
1.Go to SE37 display Function Module - SXV_GET_CLIF_BY_NAME.
2.Set a BREAKPOINT on call function SXV_ADD_PREFIX .
3.In another SESSION run the desired transaction, parameter 'name' gives the BADI; parameter 'clif ' gives implementation, e.g. for T-Code MIGO name = MB_MIGO_BADI, clif = CL_EX_MB_MIGO_BADI .
Regards,
Mukesh. -
Hi,
I have a task here that needs to send external email to the employee's manager whenever the approver set the status from 'released for approval' to 'approve'.
which is status 20 to 30 in CATSDB-STATUS thru transaction code CAT4 or
CATS_APPR_LITE.
Can anyone give some help here?
Thanks in advance.Hi,
there are mainly three ways to trigger a workflow:
- linked to a change document, because in standard function module to write change documents a trigger for a workflow is pre-designed. With workflow-customizing you can activate an active trigger.
- linked to output messages. There is a medium 9, which is the workflow trigger.
- linked to status changes. Maybe not all status change functions include a pre-designed workflow trigger, but at least for status in table JEST it should be possible to make workflow-customizing to activate a trigger.
- 'manually' with a function module SWE_EVENT_CREATE.
It's also possible to define filters (e.g. only status = approved), so your example was perfectly fitting workflow possibilities. If no other option is fitting, have a look at above mentioned exit.
Then you still have the question, should you try to define a workflow or just create a mail by FM. There I can't help you, this depends more on your skills and time.
Regards,
Christian -
User Exit / BADi for TCode - IMA11 (Create Appropriation Request )
Hi friends ,
Can anyone help me in finding the User Exit / BADI for Transaction IMA11 (Create Appropriation Request , Module - FI ).I want to create search help for field "Partner" in table control "Person Involved" present in this transaction.
Thanks in advance.
Regards
Nand KishorHi,
The following user exits are available :
Exit Name Description
AAIR0001 IM-IS: User value fields in app.req. reporting
AAIR0002 IM-FA: User fields for app. requests
AAIR0003 IM: Workplace assignmt when creating PM order from app.req.
AAIR0004 IM Drilldown: Definition of User-Defined Characteristics
AAIR0006 IM-FA-IA: Data Transfer from App. Req. to WBS Element
regards
Aveek -
User Exit / BADI for F-02 during SAVE to update BSEG Line Items.
Hi Experts,
I need a User Exit / BADI for Transaction code F-02 which triggers during save to update BSEG-SGTXT with Vendor / Customer
name in the Tax Line Item.This is to update table BSEG .
Thanks in Advance,
NithyHi,
Do it with the BTE 00001120 (tcode FIBF).
I hope this helps you
Regards,
Eduardo
PD: I forgot, check this link. It will tell you how to do it
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
Edited by: Eduardo Hinojosa on Jul 15, 2009 6:38 PM -
User-Exit / Badi for ML81n (create service entry sheet)
Dear experts,
I am looking for a User-Exit / Badi for ML81n (create service entry sheet), which will enable me to compare its date with the referenced PO's item's delivery-date, befor saving , and send an error message (with no update) if the check is not OK.
Remark : I have tried MB_DOCUMENT_BADI but with no success because you can't send an error message from it.
Thank you
Yaacovhi check below thread
User-Exit for Service Entry Sheet via ML81N?
regards
vijay -
User exit/ badi for fb02 transaction
Hi,
what are the appropriate user exit/ badi for fb02 transaction for a disabling(graying out) a
payment block field for particular users..?
Regards,
AviFollowing are the exits available for FB02
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
FEDI0001 Function Exits for EDI in FI
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)
Maybe you are looking for
-
Standard purchase order upload to oracle
hi, we are on oracle apps 11i, database 9i. I have a custom requirement that requires importing purchase orders to Oracle Apps through database. I was advised to use the following interface tables: PO_HEADERS_INTERFACE PO_LINES_INTERFACE PO_LINE_LOCA
-
Hi Guys, We have created a custom package where in we are trying to call the standard API's of Oracle projects i.e PA_PROJECT_PUB.When we are trying to call these APIs we are facing the below issue. We have tried testing in two instances ,Initially i
-
POP shut-off and strange behavior, what should I do?
Hello Everyone! I just purchased a Powerbook 1GHz 17" (used), that apparently was recently sent to apple and received a new logic board, a new case, and new parts for the airport extreme. I started working with it today, had it plugged in to the powe
-
CFFORM method=GET behaves differently in CFMX6.1 than in CF 8 ?
Hi Everyone, My organization is in the process of testing applications for a move from CFMX6.1 to CF8, however, we've found there appears to be a difference between the way CFMX6.1 and CF8 handle the GET method in a CFFORM tag. I'm not quite sure why
-
Hi Guys Is there any table where we can see the Plant number with Purchase Group. I tried MARC but its associated with Material and iam getting huge number of results. Thanks ronnie