Transaction name for a user exit
I know a exit in APO, exit_/sapapo/saplatpt_001 .. how will we know the transaction name ?
The exit is linked to "Distribution of Batch Data"
Its a part of Enhancement APOAT001.
Look at <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/5e/289b3c911bce03e10000000a11405a/frameset.htm">Distribution of Batch Data</a> thre you may get a more comprehensive view of the process involved.
Regards
Similar Messages
-
Required the transaction code for the user exit
Hi Abap Gurus,
i want to find out the *sap transaction code for which the user exit belongs to from the below code i am getting the enhancement name and the type.
i want to know the transaction code for exit EXIT_SAPLMEKO_002 and EXIT_SAPLFYTX_USER_001
data: begin of it_modsap occurs 0,
name type modsap-name,
typ type modsap-typ,
member type modsap-member,
end of it_modsap.
type-pools:slis.
data:wa_layout type slis_layout_alv.
data:it_sort type slis_t_sortinfo_alv.
data:wa_sort like line of it_sort.
parameters:p_exit type modsap-member.
select * from modsap into table it_modsap where member = p_exit.
read table it_modsap index 1.
select * from modsap into table it_modsap where name = it_modsap-name.
wa_layout-colwidth_optimize = 'X'.
wa_sort-fieldname = 'NAME'.
wa_sort-tabname = 'IT_MODSAP'.
wa_sort-up = 'X'.
append wa_sort to it_sort.
clear wa_sort.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
i_structure_name = 'MODSAP'
is_layout = wa_layout
it_sort = it_sort
tables
t_outtab = it_modsap.HI
The user exit EXIT_SAPLFYTX_USER_001 is trigered for the below transactions and also postings via IDOC.
'ME21' 'ME21N' 'ME22' 'ME22N' 'ME23' 'ME23N' 'ME31L' 'ME31' 'ME32L' 'ME32' 'ME33L' 'ME33' 'ME38' 'ME39' 'VL31N' 'VL32N' 'VL33N'.
This is basically used for tax calculation purposes.
The user exit EXIT_SAPLMEKO_002 is trigerred for multiple transactions of purchansing scenario.
Also use user exit for your business scenario.
Br
Vijay V -
Package name which contain user exit in standard include name
hai experts,
can i know the package name which contain user exit mean standard include which contain forms of the perform. or give some suggestion to find this exit for purticular tcode.
useful reply will be awarded.
regards,
jai.mHai,
it is not over thare....
actualy i need to do some work at the time of the save document of mb1b transaction. my need is if any one exit or custmer exit or badi has trigger at the time of save the document in mb1b transaction.
regards ,
jai.m -
FM in update task - How do you debug for a user exit (IW32)
Hi,
I am working on user exit IWO10009, fm EXIT_SAPLCOIH_009, transaction IW32.
The user-exit should be called any time an order is saved with parts added to the component tab.
The import structure of the user exit is CAUFVD, which doesnu2019t contain the items in the component. Instead, I have to go into table RESB and get the components.
However, when I go into RESB from inside the user-exit, the added components have not yet been added to the table.
As such, I was thinking of creating a Z function module in update task to process this code after the order is saved & RESB is updated.
2 questions
1 u2013 Is this the best way of accomplishing this?
2 u2013 How do you debug FMu2019s in update task? I have set a breakpoint & have switched system debugging on from inside the debugger, but it doesnu2019t stop inside the fm.
Please help.
Thanks,
JohnHi,
to debug update task you need to switch on "update debugging" not the "system debugging" from the menu Settings->update debugging.
-Ramesh -
I want to add transaction code for one user.
Hi abapers,
My requirement is;
I want to add transaction code for one user.
EX: zsdf to kanne.
Can any body tell me the procedure step by step.
With regards,If you want to give authorisation to an user for a particular tcode, you need to first include the transaction code in an authorisation Role and then assign the authorisation role to the user id in the transaction code SUIM.
A Basis guy will be able to help you to do this and anyway this is not the job of an ABAPer.
Hope this helps you.
Reward if this helps you -
In the initial screen of ME21 transaction i want a user exit
In the initial screen of ME21 transaction i want a user exit
which can popup a message once document type is given and press enter.hey guys try with Function exit EXIT_SAPMM06E_006
and implement ZXM06U36.
thanks guys i my self found the solution -
HOW TO FIND TRANSACTION CODE BASED ON uSER eXIT.
HI FRIENDS,
I WOULD LIKE TO KNOW HOW WE CAN FIND OUT A TRANSACTION CODE OF AN USER EXIT.
MY USER EXIT IS : EXIT_SAPLV60B_002 .
PLEASE LET ME KNOW .
THANS IN ADVANCE,
REGARDS,
ROBERTS.KFUNCTION EXIT_SAPLV60B_002.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(XACCIT) LIKE ACCIT STRUCTURE ACCIT
*" VALUE(VBRK) LIKE VBRK STRUCTURE VBRK
*" REFERENCE(DOC_NUMBER) LIKE VBRK-VBELN OPTIONAL
*" EXPORTING
*" VALUE(XACCIT) LIKE ACCIT STRUCTURE ACCIT
*" TABLES
*" CVBRP STRUCTURE VBRPVB OPTIONAL
*" CKOMV STRUCTURE KOMV
INCLUDE ZXVVFU02.
ENDFUNCTION.
Above is the interface of the function module stated by you, create the include zxvvfu02 by double clicking on it,
put a break point in it and activate and in the debugging mode you can see that the structure XACCIT has EBELN i.e.
purchase order no. assign it to the reqd field. -
Retrieving user detail, group name for all users
Hi,
How can I retrieve User name, email, authentication, user group name
for all users using SDK.
It is possible to create this report in webi or CR?
Thank you for reply,
GregorUse the following code to retrieve this information:
IInfoObjects users = oInfoStore.query("select * from ci_systemobjects where si_kind='user'");
for (int i=0; i<users.size(); i++)
IUser user = (IUser)users.get(i);
// user.getTitle(); for user name
// user.getFullName(); for user's full name
// user.getEmailAddress(); for user's email address
// for authentication type:
IUserAliases alises = user.getAliases();
for(int j=0; j<aliases.size();j++)
IUserAlias alias = alises.get(j);
// alias.getAuthentication() for authentication associated with this alias, since same user can have more than 1 authentication. e.g. Enterprise and Ldap.
// for user group memberships:
java.util.Set groups = user.getGroups();
// the groups Set object will contain SI_ID of all the user groups that this uses is member of. You need to query by the SI_ID of the usergroup to get the group names.
// e.g.
// oInfoStore.query("select si_id, si_name from ci_systemobjects where si_kind='usergroup' and si_id in (a,b,c....)");
where a,b,c are the SI_IDs of the usergroups.
To create a report based on the above fetched data, there are several methods such as:
you can use Java resultset where in you create the report structure in designer and push the data at runtime using java result set objects. Another way is to push this info in Excel or Access and design your report based on that excel\access. -
What is the name of the table for finding user exit !
What is the table name to find the user exit !
Hi,
Goto to the table tstc and enter the transaction code for
which u want to find out the User-Exits. Check out the
program name from the result. Goto SE38 and dee that
program in display mode. Then search for the string Call
Cutomer-Funtion. All the result of search are the user
exits defined there for that transaction.
SAP user exits (enhancement names that we see in SMOD transaction) are all stored in the table MODSAP. The field NAME contains the enhancement name and the field MEMBER contains the name of the function module that will be called if the customer enhancement exists and is active. The customer enhancement projects are stored in the table MODACT. There, the NAME field is the name of the project and MEMBER is the name of SAP enhancement (that from the MODSAP).
So, if you are in some include, you can use where-used-list to get to the function module name. Then you find the SAP enhancement name from the MODSAP by supplying the function module. And finally, you find the customer enhancement projects by querying the MODACT with the SAP enhancement in the field MEMBER.
cheers,
vasavi.
kindly reward if helpful. -
Transaction for this user exit
Hi
how can i find out to which transaction user exit SDVAX001 belongs?Hi Tushar,
SDVAX001 is a Enhancement not a program , you can see this in SMOD , it will be having comoponents which is again having the supported Exits like Function Module Exits, Screen Exits, Menu Exits.. But this SDVAX001 Enhancement is having a Function Module Exit EXIT_SAPMV45A_001 which will be used to determine the billing plan type . In side this Function Module you can see a include named ZXVVAU01 , this one will be created by us by double clicking on it. In this We will using data of VBAK,VBAP,VBKD,TVAK,TVAP to manipulate the FPART .
Hope This Info Helps YOU.
Regards,
Raghav -
Hi Experts.
Can anyone tell me how to know the enhancement for a particular user-exit.
Rgds,
SimranHi,
If you know the User-Exit name for eg:EXIT_SAPFP50M_002, Goto SE11 and check the table MODSAPVIEW giving this (EXIT_SAPFP50M_002) in the MEMBER field, you will find the Enhacement Name in the Name filed.
But is the thing you need to know or finding an user exit for a SAP transaction..?
SK -
Configuration for writing user exits
sir provide me the configuration of user exits,purpose how to write it
thank uHi Supraja,
User exits are the enhancements provided by SAP
you can use them in transactions. Each transaction will have user exits.
If you want to use your own requirements by making your coding while the transaction is run you can use user exits.
For example if you want to run the MRP in MD02 specific to MRP controller you can user exit.
Please also refer the document below.
USEREXIT
Userxits allow us to add our own functionality to SAP standard program
without modifying it. These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
All Userexits start with the word USEREXIT_...
FORM USEREXIT_..
z..
ENDFORM.
The problem lies in finding the correct userexit and how to find it if one exists for the purpose. Once the correct userexit is found the necessary customer code is inserted in the customer include starting with the z. in the form routine.
e.g. USEREXIT_SAVE_DOCUMENT_PREPARE
Certain application like SD still provide this form of enhancement using userexit but this practice is no longer being followed for newer extensions instead they are using EXITs which come bundled in enhancement packages . Nevertheless existing USEREXITS will be supported by SAP an all the newer versions of SAP.
HOW TO FIND USEREXITS
Userexits can be found in number of ways:
1) To find userexits in SD module , goto object navigator(SE80) and select
development class from the list and enter VMOD in it. All of the userexits in SD are contained in the development class VMOD. Press enter and you will find all the includes which contain userexits in SD for different functions like PRICING, ORDER PROCESSING etc. Select the userexit according to the requirement and read the comment inserted in it and start coding.
Some examples of userexits in SD (SALES & DISTRIBUTION) are:
1)ADDING OF NEW FIELDS IN PRICING
In Pricing in SD the fields on the basis of which pricing is done are derived from the FIELD CATALOG which is a structure KOMG .This structure is used to transfer transaction data to the pricing procedure in SD and is also known as communication structure. This structure KOMG consists of two tables KOMK for Header related fields and KOMP for item related fields. The fields which are not in either of the two tables KOMK and KOMP cannot be used in pricing .Sometimes a need arises when the pricing is to be based on some other criteria which is not present in the form of fields in either of the two tables. This problem can be solved by using USEREXITS which are provided for pricing in SD. Pricing takes place both when the SALES ORDER ( Transaction VA01) is created as well as when INVOICING ( Transaction VF01) is done. Hence SAP provides 2 userexits ,one for sales order processing which is
USEREXIT_PRICING_PREPARE_TKOMP or
USEREXIT_PRICING_PREPARE_TKOMK
Depending upon which table (KOMK or KOMP) the new fields were inserted we use either of the above two userexits.These userexits are found in include MV45AFZZ of the standard SAP sales order creation program SAPMV45A.
In the case of userexit which will be called when invoicing is done ,these
are provided in the include RY60AFZZ which is in the standard SAP program SAPMV45A. The name of the userexits are same. i.e.
USEREXIT_PRICING_PREPARE_TKOMP or
USEREXIT_PRICING_PREPARE_TKOMK
These userexits are used for passing the data from the communication structure to the pricing procedure, for this we have to fill the newly created field in the communication structure KOMG for this we fill the code in the above userexit using the MOVE statement after the data that has to be passed is taken from the database table by using the SELECT statement. The actual structure which is visible in these userexits and which is to be filled for that particular field is TKOMP or TKOMK.
Before the coding for these userexits is done ,it is necessary to create a new field in either of the two tables KOMK or KOMP .For this purpose includes are provided in each of them .
To create the field in header data (KOMK) the include provided is KOMKAZ
and to create the field in item data (KOMP) the include provided is KOMPAZ.
One possible example for the need of creating new fields can be e.g. Freight to be based upon transportation zone, for this no field is available in field catalog and hence it can be created in KOMK and then above userexits can be used to fill the transportation data to it.
2) The other method of finding userexit is to find the word USEREXIT in the
associated program of the transaction for which we want to determine userexit using SE38.
3) The other method of finding userexits is to find the include in case of SD/MM applications where the userexits are located, this can be found in the SAP reference IMG generally in the subfolder under SYSTEM MODIFICATION.
Some other examples of userexits in SD are:
USEREXIT_NUMBER_RANGE
This userexit is used to assign a different internal document number to the
sales order(VA01) when it is created depending on some criteria like a different SALES ORGANIZAION(VKORG) .
USEREXIT_SAVE_DOCUMENT_PREPARE
This userexit is used to insert the ABAP code which will be called when
the document (sales order VA01) is just about to be saved. This userexit is used generally for custom checks on different fields , to display some information before the order will be saved or for making changes to certain fields before the sales order will be saved.
Exits & Enhancements
There are mainly six types of EXITs in sap which have been collected in the form of enhancement packages and attached to standard code in SAP.
These are different from USEREXIT in the way that they are implemented
in the form of FUNCTIONs while in USEREXITS we use form routines for their implementation. These are also sometimes known as function exits.
These start from the word EXIT_ followed by the program name and then followed by a three digit number.
e.g. EXIT_SAPMV45A_002
This exit is found in SD in enhancement V45A0002.
TYPES OF EXITS
1) MENU EXITS
2) FUNCTION EXITS
3) TABLE EXITS
4) SCREEN EXITS
5) KEYWORD EXITS
6) FIELD EXITS
We use SAP transactions CMOD and SMOD to manage exits. Before implementing an exit, it is required to create the project by using CMOD
selecting the enhancement e.g. V45A0002 and selecting the component
(one which fulfills our need) i.e. the exit which will be implemented in SMOD and after coding has been done the project has to be activated.
An exit can be coded only once.
FUNCTION EXITS
These are used to add functionality through ABAP code. These start from the word EXIT_programname_NNN ending in a 3 digit number. No access code is required to implement any type of exit including function exits.
The function exits are called from the standard SAP program in the form
of ABAP statement
CALL CUSTOMER-FUNCTION 'NNN'
This is in contrast to USEREXITs where PERFORM statement is used to call
the required userexit.
To implement the FUNCTION EXITs first of all the project is created and a suitable enhancement package is selected and from its components the function exit to be implemented is selected and on double clicking it the exit code will appear in ABAP EDITOR(se38) where a Z include will be found and the customer code should be entered in this include.
e.g.
ADDING A DEFAULT SOLD-TO-PARTY in Sales Order Creation
To show a default sold-to-party in this field when the user creates a sales order (VA01) we can use a function exit .This function exit is located in enhancement no V45A0002 . Before we can choose the exit we have to create a project in CMOD after that enter V45A0002 in the enhancement field and click on the components. In the components you will see the exit EXIT_SAPMV45A_002. This exit is used for our purpose.
Double clicking on this exit will takes us to function builder (SE37) . This
function exit has one exporting parameters and two importing parameters, we are interested in exporting parameter which is E_KUNNR of type KNA1-KUNNR i.e. if we move the desired customer name to this structure(E_KUNNR) it will be shown in the field as the default value when we create the sales order. This function also contains a customer include ZXVVA04. This include will be used to write our custom code.
Double clicking on this include and it will prompt us that this include does not exists do you want to create this object, select yes and the include will be created .In this include we can write our own code that will fill the field E_KUNNR.
e.g. E_KUNNR = 301.
Activate the include and Activate the project. Now when ever the SALES ORDER will be created, sold-to-party field will come up with a predefined customer.
FIELD EXITS
The field exits are managed, created, activated through program RSMODPRF. The field exit is associated with a data element existing in ABAP dictionary and hence to the screen field using that data element.
The format of field exit is:
FIELD_EXIT_dataelement_A-Z or 0-9
If a particular screen and program name is not specified than the field exit will effect all the screens containing that data element.
The function module associated with field exit shows two parameters
INPUT and OUTPUT. Input parameter contains the data passed to the field exit when the field exit was invoked by the R/3, we can write our own code to change the output parameter depending upon our requirements.
Before the field exit can have any effect the system profile parameter
ABAP/FIELDEXIT in all the application servers should be set to YES
ABAP/FIELDEXIT = YES.
TYPES OF USER EXITS
User exits are basically 4 types,
1. Field exit,
2. Menu Exit,
3. Function module and
4. Screen exit.
These exits we can use according to a situation...
Please Reward If Really Helpful,
Thanks and Regards,
Sateesh.Kandula -
Error in creating include for the user exit "EXIT_SAPMP56T_002"
Hi,
"treat it as high priority"
when i db click on the include i am got the follwing error message :-
Program names ZX... are reserved for includes of exit function groups
Message no. DS027
Diagnosis
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).
If you want to create a program ZXaaabbb, note the following for program type I (Include).
1. The program is an include of the function group Xaaa:
In this case, the INCLUDE ZXaaabbb statement should not be inserted in the main program SAPLXaaa, but in the program ZXaaaZZZ .
2. The program is not an include of the function group Xaaa:
Since the syntax check for includes of this name range searches for the global data in the program LXaaaTOP (not ZXaaaTOP), you may not be able to check the include in isolation (--> check main program).
Procedure
Choose a different program name.
cld u please help me out how to further proceed...
awaiting for u r replies...
apprecitaed with points...
regards,
ravi ganjiHello,
1)That is not Error msg it is just warning - first db click then press enter if there is any msg again press enter off course all these things will happen only your user exit Active.
2)see the import,export and changing parameters if you are new to user exit let us know which user exit you are trying to use.
**********Poorna********* -
ABAP program to search for FM/User-Exit lookups
Hi everyone,
I have a need to find any and all Function Modules and User Exits that may have been written in BW that are used to do a lookup of data from one InfoProvider to another. I have found the following program from Lijo John which works for Update Rules and Transfer Rules but I need the same type program that digs into Function Modules, DTP's and any other User-Exit type code where a lookup could be performed. These are noted as the limitations in the program Lijo John created and I was hoping maybe someone has a solution for these as well.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/bi/abapprogramtofindBIlookupsandcodePatterns
If someone has a program that they could share that would do this it would be greatly appreciated.
Thank you,
DaveThank you Ashish. This was somewhat helpful. I guess if there isn't an ABAP program available like I need then the next best thing would be for me to know the BW table names that holds the actual Function Module and DTP source code so that I can then create my own ABAP program that would query them for the existence of the InfoProvider name anywhere in the code.
The goal with all of this is to find ANY lookup from ANYWHERE in BW for a specific InfoProvider so that we will know what will have to be "disconnected" if we decide to get ride of that specific InfoProvider.
So, if anyone can tell me the tables that contain the BW Function Module and DTP ABAP source code I would appreciate it.
Thank you,
Dave -
Transaction Variant for particular users
Hi all,
I have to hide Qty field in ME22. i created a transaction variant for this.
But i want that to be activated only for specific users.
I created a variant group and assigned users to that group.
But that is not working. the variant is getting activated for all users.I dont know which part i missed.
Help me in this regard.
Regards,
Viswanath babuHi Viswanath,
Have you followed the naming convetion -
Check the doumentation in SHD0 ( Utilities -> Application Help ).
<b>How are the variant groups maintained?
You can enter the group names on the "Variant Group" tab and maintain variant groups with the "Create" or "Change" functions.
The group name must be in the "correct" namespace.
In addition, there are two Where-Used Lists:
Which users are assigned to the group,
For which transactions the group applies.
Which transaction variants belong to the groups?
The name of a transaction variant that is to belong to a group meets the following naming conventions:
<Name of variant group><name of transaction code>. Example: A transaction variant is to be created for the XYZ transaction that belongs to GROUP1. The name of the transaction variant is then GROUP1XYZ.
Due to this naming convention, the group name must be in the "correct" namespace.
Transaction variants that (randomly) meet this naming convention do not necessarily belong to a group. The group assignment is activated by
1. Creating a group
2. Assigning users to this group
A transaction variant that belongs to a group can also be used this way, like a transaction variant without a group.
How are the transaction variants that belong to a group maintained?
Transaction variants that belong to a group are maintained in the same way as all other transaction variants, they are distinguished using a naming convention (<name of variant group> <name of transaction codes>).</b>Cheers
Maybe you are looking for
-
Folder mapping with Unix XI box / XI is not pulling the file from folder
We have installed XI on Unix box. We have developed a test scenario using file adapter and tested the mapping program. it's executing successfully. Problem is after completion of configuration XI server is not pulling the file from the assigned folde
-
In V 6.5 SP2 shading ever other row in crosstab report
Post Author: Theodore Van Patten CA Forum: WebIntelligence Reporting I am having tremendous difficutly on a seemily simple request, and that is to shade ever other row in a crosstab report. Anyone have any ideas? Thanks
-
How to paste text box into the same position
when I used adobe acrobat 6.0, I can paste the text box in the same position in the next page, it is very useful for editing files with similiar information. after I use acrobat 9.0, I found that I can not paste the text box in the same position in t
-
Select data from multiple servers(instances)
Hi All, Is possible that we can login to SQLPLUS of one server and be able to select data from other servers. For MSSQL server we can use opendatasource but I don't know if in ORACLE we can get the data from other servers by login to SQLPLUS of one s
-
MOTHER BOARD K8N NEO4 PLATINUM MS-7125 (V3.0) ATX - USB 2.0 ISSUE
The USB ports are not functioning as 2.0 When I plug any USB device in, I get the message IN ITALIAN LANGUAGE "This device could perform faster if you connect it to a high speed USB 2.0 port" I've got WIN XP Service Pack 2, with the latest updates. A