Alternatives to Field Exit for executing a transaction?
Hello,
i'm looking for a way to add code to an existing dynpro, so that a double-click on a field executes a different transaction. As far as i know this is not allowed in a field exist. If there's also no BADI-method defined, what else can be used? Is there any other way than changing the current code of the application itself?
TIA!
Hi,
The alternative for field exits after R/3 4.6C has been the enhancement Points...
Check in debugging if there exists an implicit enhancement point in the PAI of the screen,
If so you can add your code to call a new transaction...
Regards
Shiva
Similar Messages
-
Field Exit for ME21N & ME22N transactions
HI Friends,
I need to make the SAP Standard screen field "Overdeliv. Tol." & "Unlimited" to inactive under the Item level data --> Delivery tab in ME21N & ME22N transaction.
Can i do ths? If so give me the steps and Screen exit for the same...For User Exit's
goto to tcode->status->program name->double click on that,
then goto to-> attribute take the package name and
Goto SMOD tcode ->Utilities->give the package name and F8
then a list of exits will display for that tcode as well as that package.
double click on the exit u can see the Fm exit,screen exit,feild exit,include exit. there
u can check the table MODSAP
For BADI's,
1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
2)Goto to tcode->status->program name->double click on that program will display's
then press crtl+F then cl_exithandler
Thank u,
santhosh -
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 -
Hello ,
I have Implemented a field exit for Data element WADAT, but my requrement is, The value In the field LIKP-WADAT in VLO2n/VLO1N TRansaction should not be allowed to change even a single time.
Is there any user exit do statisfy my requirement
cheers.Field exit can be used to validate a user entry and not restrict a user entry. Even if you implement field exit user can always go and change the contents of field and in field exit ( only triggered in PAI ) there is no way to determine if field value was changed .
You should make the field output only in case you dont want users to change it.
Check if you have BADI LE_SHP_DELIVERY_PROC in your system. In this BADI you can use method CHANGE_FIELD_ATTRIBUTES to set the attributes of LIKP-WADAT in parameter CT_FIELD_ATTRIBUTES to disable input .
Cheers.
Sanjay -
Field exit for VA02 / for GOTO- HEADER- SHIPPING
Hello ,
Please help me out with field exit for GOTO->HEADER->SHIPPING in VA02 transaction .
I have to check if the shipping condition enetered against values in TVARV variable .
If unequal i need to display a warining messge .
But the requirement is it needs to be checked against field exit .
Thanks ,
RahulDear Sheo
I know OMJN can set the material Slip mandatory. but my question is how to seperate by company code.
for example:
company code D001 mandatory
company code D002 Input
regards,
Yang -
Hi experts,
I´m looking for a field exit for transaction IFCU for the first screen.
Does anyone know one?
Best regards,
Fernando MontenegroHi Pete,
The first screen for transaction IFCU, shows two fields: The equipment we are trying to record a consumption for and a GasStation field.
The Gas Stations we have configured have this mask: XNN, in which X: is a letter which stands for the company, for example "A" and a number NN for the GasStation belonging to the company in which we will consume fuel, for example 22.
So the GasStation´s name is "A22".
We wish to develop a field in which the user will only have to input the number (for example: "22"), and the system, depending on the company code of the equipment input in the first field, will concatenate the first letter of the company with the number input by the user.
Example:
1.User inputs Equipment that belongs to company "A". <<Enter>>
(System reads Equipment company code, in this case "A")
2.User only inputs "22".
(System concatenates A+22 internally for the GasStation entry)
3.User goes into the next screen to fuel an equipment with the A22 GasStation.
We are trying to find a field/user exit that will do this concatenation internally in the first screen.
I hope I gave you a good idea of what we ´re trying to do.
Thanks a lot and best regards,
Fernando -
hi friends,
i am new to field exit.i want to write field exit for ebeln.
when user tries to change po number error message should get display.
what logic i have to write in function module.
can any any one help me plz .
sonuin se38 execute report RSMOPRF ...
there you give element name of EBELN field...
and execute..
you'l get field exit created for EBELN...
in this field exit do your coding....
activate the fields exit...
in se38 again execute RSMODPRF.. and w/o giving any element name... execute...
you'l get list of all the field exits ...
there select exit for EBELN... and activate it...
Regards,
Sharayu -
Hello Guru's
I am facing a unique problem. I have created a field exit for the data element BSTKD_E. I have done the follwoing steps
1) SE38-executed RSMODPRF with data element BSTKD_E.
i have successfully created the FM for the same. Activated it.
2) Now again i Executed the program RSMODPRF by Keeping Data element field blank.
Now the data element BSTKD_E should be visible there, so that i can assign the screen number and program to it.
but i am not able to see the data element there.
can you put some light into the same, like whats happening?You should probably post this question in the ABAP forum.
-
HI Experts,
I want to implement the Field Exit for Changing the Field discription for Standard sap field for XD01 and MK01.
could any one tell me what are the ( Exits )Field Exits for above T Codes.
Thanks in Advance.
sudeer.hi,
cherck this link.
http://www.****************/Tutorials/ABAP/XD01/XD01.htm
these r exits available in xd01.
Transaction Code - XD01 Create Customer (Centrally)
Enhancement/ Business Add-in Description
Enhancement
SAPMF02D User exits: Customer master data
Business Add-in
CUSTOMER_ADDRSCR_CHG Change Address Screen in the Master Data Maintenance
CUSTOMER_ADD_DATA Additional Data at Customers
CUSTOMER_ADD_DATA_BI Additional Data at Customers (Batch Input and ALE)
CUSTOMER_ADD_DATA_CS Additional Data at Customers (Subscreen Container 4000) -
Hi to all experts,
I need to assign F4 help to a headertext field for MIGO tcode . I have searched all the exits but couldnt find field exit for it. What are the different options fulfilling this requirement.Please help me outHi,
The following are the enhancement/Business Add ins, Please use the appropriate exit for your requirement
Enhancement/ Business Add-in Description
Enhancement
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
MBCF0011 Read from RESB and RKPF for print list in MB26
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0009 Filling the storage location field
MBCF0007 Customer function exit: Updating a reservation
MBCF0006 Customer function for WBS element
MBCF0005 Material document item for goods receipt/issue slip
MBCF0002 Customer function exit: Segment text in material doc. item
Business Add-in
MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
MB_DOC_BADI_INTERNAL BAdIs During Creation of a Material Document (SAP Internal)
MB_ME_CSGMT_BADI_SAP BAdI: Consignment Processing - Stock Transfer
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
MB_RESERVATION_SCR Screen BAdI for Retrofit DFPS
MB_RESERVATION_UPCHD BAdI for Creation and Changing of Manual Reservations
MB_RES_BAPI_CHANGE BAdI: Execution of Changes to Reservation Fields
MB_RES_BAPI_CREATE1 BAdI: Adoption of Customer's Own Fields as Reserv. Fields
MB_RES_BAPI_DETAIL1 BAdI: Display of Customer's Own Fields in Reservations
MB_STOR_LOC_BADI_GTS BADI to Check and Change Storage Location (GTS Fct. Only)
MB_DOCUMENT_BADI_SAP BADI for Creation and Changing of a Material Document
ARC_MM_EBAN_CHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_PRECHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_WRITE BAdI: Enhancement of Scope of Archiving (MM_EBAN)
ARC_MM_EINA_CHECK BAdI: Enhancement of Archivability Check (MM_EINA)
ARC_MM_EINA_WRITE BAdI: Enhancement of Scope of Archiving (MM_EINA)
ARC_MM_INVBEL_CHECK BAdI: Enhancement of Archivability Check (MM_INVBEL)
ARC_MM_INVBEL_WRITE BAdI: Enhancement of Scope of Archiving (MM_INVBEL)
ARC_MM_MATBEL_CHECK Prüfung ADD-ON-spezifischer Kriterien für MM_MATBEL
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
MB_CIN_LMBMBU04 posting of gr
MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
MB_DOCUMENT_BADI BAdIs During Creation of a Material Document -
Using Field Exit for a field in table KNA1
Hi everyone,
I am working on a ticket, the problem is we have a field called STRAS in table KNA1 which holds the address of the customer but now we want to increase the length of this field from 35 charachters to 55 due to some business requirement. SO my question is if this can be done using Field Exit and if yes.. can you please tell me how as I have never used Field exits.
Thanks,
RajeevHi,
Using field exit, you can only validate the data entry for the field (either globally or on a particular screen field)
This is usually done by implementing the field exit for the data element corresponding to the field(in your case STRAS_GP)
Hence you cannot increase the length of the field using the concept of the field exits...
Please note that after SAP R/3 4.6c, SAP has stopped the creation of field exits and there will be no support for any new ones created.
Regards
Shiva -
Field exits for non-editable field
Hi All,
can I write field exit for non-editable field?
Thanks in advance...
bye.hi,
i think you can, just try it.
But when you have to change it, because of a certain exception in the fieldexit, it is impossible to change the field.
Hans -
Screen exit for ME51(old transaction)
Is there any screen exit for ME51 old transaction? ME51N(new transaction) I was able to find, please help me to find something in ME51.
ThanksHi,
check enhancement : MM06E005.
Regards,
Himanshu -
Field Exit for Sales Document Type in VA01
hi
i want to do field exit for Sales Document Type in VA01.
but i dont know to find the correct exit.
pls tell the exit name and the steps to find it.
thank uHi,
Goto this link u will get the information u required....
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915
Check the numerous threads that already exist in SDN :
CMOD and SMOD
http://www.sap-img.com/abap/what-is-user-exits.htm
Regards,
Manish -
Hi,
Field exit was created with CMOD, but is not processed when calling the screen.
Thanks,
BijuHi Biju,
Please find below an extract on how to approach the problem
1. The field exit was created with CMOD, but is not processed when the screen is called.
Field exits can be defined only for data elements whose name is shorter than 19 characters. The name of the data element plus the prefix "FIELD_EXIT_" must not exceed the maximum length of a function module name (30).
Since the field exit is not processed until PAI, an action must be triggered on the screen (choose enter, save, and so on).
Set the profile parameter abap/fieldexit = YES and restart the system.
After activating the function module FIELD_EXIT... and the field exit, leave the transaction on whose screen you want to execute the field exit. The relevant screen is only generated when the transaction is called.
Do not work on different application servers since there may be some delay before the field exit is activated.
The profile parameter must be set on all or no application servers.
If the field exit is to only be active on specific screens, check whether you chose the correct program and the correct screen number (take care with subscreens).
Use transaction SE51 to generate the screen on which the exit should be active. It is possible that it was not correctly generated. If you want to be sure that all screens that use the data element are regenerated, you can copy the report rsmodfdg from the correction instructions and start it with transaction SE38. The report uses the affected data element as the input parameter and regenerates all screens that use the data element.
Use transaction SE51 and choose 'Field list' to check that the screen field actually has a reference to a data element. In the name of the field exit, use the name of the data element and not the field name.
After the transport, field exits are marked as active but are not processed. Tip: First try to deactivate the field exit once more and then activate it again.
http://www.saptechies.com/faqs-field-exits-cmod/
Regards
Byju
Maybe you are looking for
-
Satellite Pro 4340DVD will not boot up - pci.sys missing or corrupt
I bought a Toshiba Laptop Satellite Pro 4340DVD Model # PS434C-3N152, Serial # Y0018185J, off E-Bay. The original operating system, Win 98SE has been upgraded to Win XP Pro. No disks came with the laptop. The laptop crashed yesterday while I was onli
-
Hello all, I've just received my brand new IdeaPad U530 Touch and I'm having a serious problems with touchpad. I've disabled tapping and I would like to use it as a normal touchpad - left-bottom for left click, right-bottom for right click and every
-
Raise exception using CX_MAPPING_FAULT
Hi, I want to raise an exception when an error occured in the ABAP mapping.I can be able to raise single message exception using the above one but I want to raise exception for all the messages from an error message internal table.I collect return co
-
Verizon Business Usage of Broadband Account
I'm just curious if anyone else has found this to be true: I utilize Verizon's broadband wireless for my business. I live in a rural area and the 5GB monthly limit broadband is a better option than satellite, which can be intermittent. Recently I s
-
I have Put Infinity blade game on download but it is still showing downloading since las five days... but where as rest all the apps /games downloaded successfully.