User exit, secondary key
hi friends,
1.there r so many ways to find user exit can any one suggest me which is easy and helpful method
2.will performance increase if we use secondary index r key in select query
plz explain me with eg code how to assign secondary
thanks
regrads,
soorya
Hello Soorya,
Yes there are many ways of finding a user exit...
One way is go to SMOD and press F4, then select SAP application and then proceed as per your req.
Second is find out the package name for the transaction and then use SE84, click on enhancement and then enter the package name and execute.
Third is search the SDN site for user exit and u will come accross a program which will give u list of all exits for a transaction.
About ur second question, performance increases when the where clause in the select stmt is same as the key (primary or alternate). The database automatically selects the best index based on the its own logic. However u can find out using trace if it has selected the correct index. If you want to force the DB to use specific index then u can use HINT stmt to suggest.
Similar Messages
-
CO11N - User exit - secondary process
dear sir,
i have a problem in confirmation for secondary (control key PP02) operation, some shop floor person doing confirmation entry before goods rec'd entry into particular pruchase orders. i want control by this issue, once purchase order closed for that production order (secondary process) after only confirmed that operation
what settings need to change or how to control this?
Regards,
ElangoElango,
1. I am not sure if there is a standard way of controlling this.
2. Another work around is using the user exit to control this.
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
the above are the user exits that are available fro the CO11N tcode.
3. we have to take a help of the abaper to write coding fort his.
4. The user exit should be called for the
Order type: XXXX
Routing control key : YYYY
then check the relevant purchase and if it has a GR entry if then allow the colln to perform else give a error message.
5. Let me aslo know if there is a standard way to contrl this/
Dsk. -
To display net weights of the item in inbound and outbound deliveries i am using exit EXIT_SAPLV50Q_001 but when i click on the include in this Function module i am getting You attempted to create a program name beginning with ZX but this name range is reserved only for includes of exit function groups (function groups containing only function exits).
and if click on change button in Function module it is asking for access key my doubt is access key is required for user exit. i dont have access key how can i do this.
thanks in advanceHi
When the system displays this mesage just press enter and it would take you to the include code. You dont have to create any thing, just press enter when this message is displayed.
This is just a message, not an error.
This would solve your problem. -
RPREX010 User Exit - Acces Key
Hi experts,
sorry, I am begginer in "user exits".
I am trying to edit the include RPREX010, which is an "User Exit" for class CL_EX_TRIP_POST_FI, in program RPRFIN00_40.
But it asks for Access Key.
Is it normal?
My user has developer role and everything. I've been programming normaly.
Any hint is welcome.
Cheers
FabioHi Fabio,
The include has the BAdi. You cannot edit the include directly. You need to impliment the BAdi "TRIP_POST_FI".
Badi definitions can be viwed in SE18 & you can create multiple implementations for a BAdi definition & all the implementations gets called. In your system, already an existing implementation available. Now you can create your own implementation.
Badi's can be implemented in transaction code SE19. You need to create your own class to implement the BAdi.
Select Classical BAdi & give the Badi definition Name "TRIP_POST_FI" & Click on create implementation.
Give name for your implementation & Click OK.
Give short text.
On the interface tab, the system proposes default implementation class. You just double click on the method which you want to implement & write your own code. Activate the class & Badi implementation.
You can find lot of threads for imlementing BAdi's. If you still could find enough information to create a implementation on your own, I will help ou out.
Regards,
Mahesh Gattu -
What is difference between User Exits and BAPI
hello sap gurus
what is difference between User Exits and BAPIshttp://www.sap-img.com/abap/what-is-user-exits.htm
www.****************
Where as this customer exits are again divided into:
1. Menu Exits.
2. Field Exits.
3. Screen Exits.
4. Function module exits.
These all the things comes under Enhancements.
User exits
1.A user exit is a three character code that instructs the system to access a program during system processing.SXX: S is for standard exits that are delivered by SAP.
XX represents the 2-digit exit number.UXX: U is for user exits that are defined by the user. XX represents the 2-digit exit number
2.USER EXITS are FORMS and are called by SAP standard programs
using PERFORM.
3.Inside the form (user exit) you can read and change almost
any global data from host program.
4. User exits are more flexible because you have more information to use in your code but on the other hand , it is very easy to manipulate erroneously global data and lead the standard program to a dump or even to make database inconsistent.
5.While changing User-exit,Access Key is required,
BAPI is nothing function module but which is remote enabled, means you can access this fm through other SAP or non-SAP system by assingning to business object,which we can crea in SWO1 transaction.
more details see WWW.****************
reward if helpful -
MRP Run with User Exit key for Follow up material
Dear Gurus,
I want to run MRP only for followup materials by using User exit key. For example i have a material X(with discontinued Indicator as 1) and it's follow material is Y.
So we have a user exit key as ZFL, with coding as shown below. Now when i run MD01 with user exit key ZFL and parametre as 1, it only runs MRP for material X and not for material Y. What else we need to do so that when i run MD01 with user exit key ZFL, it shoudl consider both X and Y.
WHEN 'ZFL'.
DATA : BEGIN OF ITAB5 OCCURS 0,
KZAUS LIKE MT61D-KZAUS,
END OF ITAB5.
TRANSLATE USER_PAR TO UPPER CASE.
SPLIT USER_PAR AT ',' INTO TABLE ITAB5.
IF ITAB5[] IS INITIAL.
EXIT.
ENDIF.
CLEAR: NO_PLANNING, STOP_PLANNING.
READ TABLE ITAB5 WITH KEY KZAUS = MT61D-KZAUS.
IF SY-SUBRC <> 0.
NO_PLANNING = 'X'.
ENDIF.Hi Kumar,
You can use either MRP Type, MRP Controller, MRP Group in this user exit to control the MRP run. For these set of Materials you have to assign any of same value or at least differentiate these material from other material. Then only you can control the MRP by using this user exit even though if you use different MRP Group and MRP Controller. In User Exit, you may have to add your dependent material's MRP Group/MRP Controller. Make sure that these set of materials are different than all other materials.
If you don't have any plan to run MRP for other materials then as per Ajit suggestion you make that material's MRP type as "ND". But, in your business case they may want to activate the MRP for all the material not now but may be latter.
Thanks -
Entry help check fot the posting key in user exit.
Hi,
I am using an inbound idoc for posting FI document.I am just parking the document for the time being .For this i am using the user exit EXIT_SAPLF050_006.
If I want to change this parked document as save as complete document is there anything that I can do in this user exit.Can you please tell me the entry help check for the posting key (changing parameter) in the exit?
Thanks in advance
Regards,
ReniHi,
I am using an inbound idoc for posting FI document.I am just parking the document for the time being .For this i am using the user exit EXIT_SAPLF050_006.
If I want to change this parked document as save as complete document is there anything that I can do in this user exit.Can you please tell me the entry help check for the posting key (changing parameter) in the exit?
Thanks in advance
Regards,
Reni -
User exit asking for access key in CMOD
Hi Experts,
I am trying to write source code for an user exit in CMOD by creating a project and assigning enhancement to it.
When i click on user exit and press change it asks for access key .
Can you please tell me if there is any other way to write source code inside it ?Hi Martina,
Kindly go through this link below ,there few steps present to work on user exits:
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
Hope it helps
Regrds
Mansi -
What are all the key words are not recommented in User Exit or Enhancement
Dear Experts,
Can any of one tell me, what are all the key words not recommended to use any of the User exit or Enhancement spots?
Regards,
Mohana
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Feb 22, 2011 4:10 PMNo Icon:Visitor
Student
Honor Student
Top Student
Tutor
Intern
Teacher
Grad Student
Master’s Graduate
PhD Student
Associate Professor
Professor
Distinguished Professor
Regents Professor
Associate Dean
Dean
Provost
FONDA X. COX, PhD -
User Exit to flip Account key based on incoterm
HI,
For a particular condtion type ZCN1 and Incoterm INC1, account key AC1 has been assigned and this will hit a GL1 account respectively.
When incoterm changes to INC2, Account key AC2 should be assigned to the same condtion type ZCN1 and as a result this should hit a different GL account GL2.
Please let me know the user exit in which this can be accomodated.instead of changing the account key - you can avail the condition technique for the access sequences in the account determination.
Use the field incoterms to determine which G/L account should be posted.
Add incoterms to allowed fields in structure KOMPCV
Create a new table sales area / incoterms / account key
Add this to the acc seq for the account determination
in VKOA maintain the relevant entries.
Also add the incoterms field to the user exit for RV60AFZZ under include USEREXIT_ACCOUNT_PREP_KOMPCV .
Hope this helps
Regards
Sai -
User Exit ..Acess Key
hi ,
i added code in standard exit of customer,it never ask me acces key when i tried for va01 (new) then its asking for acces key ....
regardsStandard SAP user exits are designed to use include programs that are in the customer name space. They all begin with a Z therefore no access key is requried.
Since the user exits in VA01 (SAPMV45A) are subroutines and the include programs are not in the custom namespace these require an access key.
Chris -
As01 transaction using substitution user exit populate classificaion key
Hi all,
I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
The present rule U210 is not working for classification key.
Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
regards
Rajani YeluriHi,
Did you find a solution. I'm just looking for the same thing.
best regards.. -
As01 using substitution user exit populate classificaion key(ANLA-VMGLI)
Hi all,
I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
The present rule U210 is not working for classification key.
Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
regards
Rajani YeluriHi Balaji,
We have the same problem.
Have you discovered how to make this exit works?
We will really apreciate your help.
Thanks a lot,
Ivan Spellmeier -
Hi,
What all things to take care for MPS with MCI user exit key??
The requirement is -we need to run MPS for few material s in a plant (distribution). Can we do that by assigning diff MRP controller into those materials for whcih we need to run MPS.
Regards
DinabandhuUsing the user exit you can write your own way of requirement. Any required combination is possible.
-
Hi gurus
I have the confirmation control key automatically defaulting in the PO but it is not coming from the vendor master data, nor PIR nor from user exit.
Do you know from where it can be defaulted? I have noticed that if change the company code then it defaults but if change to another want then the field is blank, so it seems that there is something configured at company code level, but not sure what it could be
thanks so much
IvanThen you need to analyze thoroughly all the PIR'S and vendor master which are linked to scheduling agreement or contract where you are maintaining the control key.
And also any new functionality added in your PO functionality debug and check the same with ABAPER it will be easy way you can now from where exactly the confirmation control key is populating in PO.
Maybe you are looking for
-
Laserjet 4345 mfp won't scan to folder; web interface not showing all admin tabs
Hi, I have a laserjet 4345 mfp which, until a few days ago, was able to scan documents to a network folder. When I try now it gives me the error "the path cannot be found". Here's what I've tried so far: - Looked for a way to change the network folde
-
Why isn't my time machine backup updating a new drive correctly?
I bought a new larger hard drive and I am trying to use time machine (lion) to restore the new one and copy all my files. I made a Lion startup disk and use the disk utility to erase the new drive and then choose restore from time machine backup. T
-
How to write Protect endprotect concept in Smartforms
hi can any one suggest me How to write Protect endprotect concept in Smartforms i have some content to coem without break in SMARTFORM how to do that Thanks & Regards kalyan <thread moved, has nothing to do with ABAP Objects. Please choose your forum
-
When I tried to update Itunes I got an error message telling me to reinstall. When I try to reinstall I get a message "Apple Mobile Devide failed to start. Verify you have sufficient privliges to start syem services" I'm not sure what this means,
-
Pictures are printed on the edge of the paper using ipad with iOS 7
Pictures are printed near the edge of the paper instead of being printed on the center of paper. Using ipad 2 with ios 7 and hp 3520. Can anyone suggest anything to fix this issue. Thanks in advance !