Significance of project in user exit
Hi
can u tell me what is the significance oa project( in CMOD) in a user exit?
Thanks and regards
Davinder Singh
Hi Davinder Singh,
Projects helps you better organize your customer exit implementations. You can also implement logically grouped areas in one projects, so you get a better overview about your implementations.
For customer exits (CMOD) it's mandatory to define a project fro your implementation.
Best regards,
Peter
Similar Messages
-
Which user exit belongs to which project
hello,
1) imagine I have got the user exit name
EXIT_SAPMV45A_003 and now I want to find out
to which project this user exit belongs.
How can I obtain this information
2) Is it possible to deactivate only one
or designated user exit instaed of the
whole project
IlhanHi,
Herewith i am sending the sample coding for the report which will help to u can find through whatever transaction codes are having how many user exits are there and through that u can run that user exits and u can go to any transaction code.
*& Report YMS_USEREXITTEST *
REPORT YMS_USEREXITTEST 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-
Thanks,
Shankar -
Use of Project(CMOD) in exits:
Hi all,
Can anybody tell me what is the exact use of Project in user exits.
Thanks in advance.hi,
SMOD : for single user .
CMOD: for USER-GROUP.(set of users doing the same task will be kept in one group based on the requirement for the group we will set authorizations.)
thnks,
raji -
Hi,
Can some one please send me the code and guide on how to create the following user exit LMR1M003. This is for Consignment Settlement. It brings up an error saying that the reference field is missing. The transaction I am using for settlement is MRKO and you can not enter the reference field in the foreground.
So what I want is to implement the user exit LMR1M003 and conditions are if it is via transaction code MRKO and is in relation to consignment use the material document number as the referenc number etc.
If you have experience in this please help me.
Points will be awarderd.
Thanks
AdeelHi,
You can go T Code CMOD and create a new project.
In tab enhancements of editing this project, insert user exit LMR1M003, tip enter.
In tab components you can go directly to FM EXIT_SAPLMRME_003. Double click on include ZXM08U14, tip Enter to create source code of this include. After all, active your code and your new project.
Note: In your include ZXM08U14 you can use these parameters
*" IMPORTING
*" VALUE(E_TRBKPV) TYPE MRM_RBKPV
*" EXPORTING
*" VALUE(E_NUMKR) LIKE T003-NUMKR
*" TABLES
*" T_DRSEG TYPE MMCR_TDRSEG.
Regards,
Gy -
Capacity Planning : CM40 - User Exit CY190001
Hi,
I implemented project for user-exit CY190001 and activated it.
I am executing transaction CM40 with parameter "User Exit" selected and "Execute background job at once".
It creates and executes the job (RCCYMAB2) successfully. Job log says "Planning results were saved".
It seems it is not able to call user exit CY190001 code. I have several write statements and success messages just to check whether it is calling the user exit or not. But job log does not reflect any write or messages I have written in User--exit.
Can you help me to find out what I should do to activate the user-exit? Or am I missing anything here?
Thanks,
ChiragHI,
the user-exit run olny at end of function.
see standard function module CY01_USER_EXIT_PLANNING
IF IN_FCMSG-PARAMETER3 = FC_CON_END_OF_FUNCTION.
PERFORM RESET_LOGS.
CALL FUNCTION 'CY01_USER_EXIT_1'
TABLES
IN_AFVG_TAB = WORK_AFVG_TAB.
REFRESH WORK_AFVG_TAB.
EXIT.
If you want say exactly when our user exit is used, you can put in DEVelopment system or QAlity System a message twpe X. Just for test
Rgds -
How to find enhancement RSAP0001 user exit EXIT_SAPLRSAP_001 project CMOD
Hi,
I need to find in one system the project in cmod that contains the enhancement RSAP0001 with user exit EXIT_SAPLRSAP_001.
How do I proceed?
Thanks a lotSimon,
Goto CMOD and enter * and select F4 so that you will get the list of packages. Most of the clients we have naming terminology with BW. Pick one of them and go for components there you can see the interface.
Double click on that you will see four classes. Select any one of them and write your logic.
If you provide what exactly your are trying to do enhancements, so that will provide better solutions.
Thanks
Ganesh reddy. -
User exit for me29n with project wise
hi gurus,
is there any user exit for me29n .. i want to Restrict my authorizastion based on project, that is only user from that particular project should be able to release.. is it posible
With Regards,
Shakthi Raj N.
<<Phone number removed>>
Edited by: Matt on Jan 28, 2009 10:02 AMHi
To find out the user exits:
Goto System->status. Obtain program name.
In Attributes obtain Package name.
Goto tcode CMOD. Specify the pkg and pgm naem. It will give you a list of user exits.
Hope this helps
Regards,
Jayanthi.K -
User exit during project creation
Dear ALL,
I want to know is there any user exit at the time of project Creation ( CJ20N / CJ01). Actually the requirement is the system should restrict the user if the user selects the wrong project profile during the initial screen and not during saving .
Thanks in advance.
Regards
NitinHi Virendra,
I am new to PS , can you please help me to get prepopulated project profiles .
Thanks
Nitin -
Hi
What is the significance of USER Exit pgm in the XI/PI, Can you provide some examples
Thanks
PRHI PR
We never use User exit for any of the normal scenario on PI.
If you are using PI as application server then it can be useful for you to trigger some process within the Proxy of ABAP development you do on PI.
Thanks
Gaurav -
User Exit for TCode CJ20N to populate Project system user fields
Hi team,
need one support from your side..
I am looking for User Exit for TCode CJ20N to populate Project system user fields on SAVE.
I have found
Enhancement CNEX0001
Short text PS: User field
which is exactly suiting my req...as it has USER Fields (USR08/USR09 )in export paramters..
BUT it is not triggering on SAVE,,
Any hint or is any other user exit/badi which have USER Fields in export paramters.
Warm Regards
KrishanHi Krishnan,
If you want a custom tab that contains User defined fields at Project level then you have to use CNEX0006 user exit. Before this you must declare your fields using the CI include CI_PROJ in the PROJ table.
If you want a custom tab that contains User defined fields at WBS level then you have to use CNEX0007 user exit. Before this you must declare your fields using the CI include CI_PRPS in the PROJ table.
In the PBO function module exit of these exits you must use the following statements as the first statement.
MOVE-CORRESPONDING sap_proj_imp TO proj.
MOVE-CORRESPONDING sap_prps_imp TO prps.
In the PAI function module exit of these exits you must use the following statement as the last statement.
MOVE-CORRESPONDING proj TO cnci_proj_exp.
MOVE-CORRESPONDING prps TO cnci_prps_exp.
The remaining programming as in the case any Screen Exit.
Regards,
Abijith -
User Exit / BADI to change Project WBS Element/Task data
Hi,
We are using BAPI BAPI_PROJECT_MAINTAIN to create Project in R/3. We are passing Company Code to Project Definition Structure ( BAPI_PROJECT_DEFINITION ). BAPI updates Header company code at line item ( WBS element / Task ) level also. We do not want company code at line item level.
Is any User Exit or BADI available in the above BAPI to change WBS/Task data. Also I would like to know whether we can control data flow ( from header to Line item ) through customisation.
Thanks in advance.
NarenHi,
Thanks. BADI WORKBREAKDOWN_UPDATE has import parameters. It does not have export parameters. I can not change import parameter data.
I am looking for user exit or BADI to change WBS/Task data.
Regards,
Narendra -
User exit for CJ20n (to check budget when create Reservation) for project
Dear All,
Plz advice, is there any user exit for CJ20n(project builder) in order to check available budget when we create reservation under a network/activity for a project?
Many thanks in advance.Hi,
Budget functionality is available against actual / commitment items, but n't against reservation of materials as there cane be reservation at projects or plant level. Morever there is no such user exit in CJ20N.
If you can make developments of reservation agsinst network as committments items then budget functionality may work in that case.
Hope this will help you.
Regards,
Rakesh Pradhan -
User Exit or BADI.. Project close.
Hi All,
My requirement is as below.
If there is any associated PCPT work order has outstanding commitments or GR/IR balance then the system should not allow the user to close the corresponding project NWA unless this outstanding commitments or GR/IR balances are settled completely to project NWA.
Is there any user exit or BADI or any other way(possibility) to include the above validation? When I checked the transaction CJ20N I could not found any exit for this transaction.
Thanks in Advance.
Regards,
Satya.Hi Satys,
You can find the BADI your self, Check the class CL_EXITHANDLER.
follow the below steps to find the suitable BADI for your case ..
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction
if you follow this 7 steps, you will find a suitable BADI.
Regards
Sudheer -
User exit MB_CF001 in MIGO
Folks,
I am using the user exit MB_CF001 to get the data from XMSEG table and send it to an external system. I was asked to call an RFC function module in this user exit to send the XMSEG data to an external system but the user exit documentation clearly says not to use RFC function call in this user exit.
I also heard that I can do this by using the idocs that get posted after MIGO is done. Could anyone give me step by step procedure how to do this as I am new to IDOCS.
Points will be rewarded for best answers.
Thanks,
AlokDear Alok,
Below is a documentation about IDOCs. Hope it will be useful to you.
Data Creation in Idoc
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
IDoc is a intermediate document to exchange data between two SAP Systems.
*IDocs are structured ASCII files (or a virtual equivalent).
*Electronic Interchange Document
*They are the file format used by SAP R/3 to exchange data with foreign systems.
*Data Is transmitted in ASCII format, i.e. human readable form
*IDocs exchange messages
*IDocs are used like classical interface files
IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
FOr testing you can use WE19.
For more information in details on the same along with the examples can be viewed on:
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
http://www.sappoint.com/presentation.html
http://www.allsaplinks.com/idoc_search.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.erpgenie.com/sapedi/idoc_abap.htm
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
2.IDOCs are independent of the sending and receiving systems.
3.IDOCs are independent of the direction of data exchange.
The two available process for IDOCs are
Outbound Process
Inbound Process
AND There are basically two types of IDOCs.
Basic IDOCs
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extended IDOCs
Extending the functionality by adding more segments to existing Basic IDOCs.
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30)
Create Message Type ( WE81)
Assign Idoc Type to Message Type ( WE82)
Important links
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
www.sappoint.com
--here u can find the ppts and basic seetings for ALE
http://sappoint.com/presentation.html
www.sapgenie.com
http://www.sapgenie.com/ale/index.htm
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
>SAP ALE & IDOC
Steps to configuration(Basis)
>>1. Create Logical System (LS) for each applicable ALE-enabled client
>>2. Link client to Logical System on the respective servers
>>3. Create background user, to be used by ALE(with authorizaton for ALE postings)
>>4. Create RFC Destinations(SM59)
>>5. Ports in Idoc processing(WE21)
>>6. Generate partner profiles for sending system
The functional configuration(Tcode: SALE)
Create a Customer Distribution Model (CDM);
Add appropriate message types and filters to the CDM;
Generate outbound partner profiles;
Distribute the CDM to the receiving systems; and
Generate inbound partner profiles on each of the clients.
>Steps to customize a new IDoc
>>1. Define IDoc Segment (WE31)
>>2. Convert Segments into an IDoc type (WE30)
>>3. Create a Message Type (WE81)
>>4. Create valid Combination of Message & IDoc type(WE82)
>>5. Define Processing Code(WE41 for OUT / WE42 for IN)
>>6. Define Partner Profile(WE20)
Important Transaction Codes:
SALE - IMG ALE Configuration root
WE20 - Manually maintain partner profiles
BD64 - Maintain customer distribution model
BD71 - Distribute customer distribution model
SM59 - Create RFC Destinations
BDM5 - Consistency check (Transaction scenarios)
BD82 - Generate Partner Profiles
BD61 - Activate Change Pointers - Globally
BD50 - Activate Change Pointer for Msg Type
BD52 - Activate change pointer per change.doc object
BD59 - Allocation object type -> IDOC type
BD56 - Maintain IDOC Segment Filters
BD53 - Reduction of Message Types
BD21 - Select Change Pointer
BD87 - Status Monitor for ALE Messages
BDM5 - Consistency check (Transaction scenarios)
BD62 - Define rules
BD79 - Maintain rules
BD55 - Defining settings for IDoc conversion
WEDI - ALE IDoc Administration
WE21 - Ports in Idoc processing
WE60 - IDoc documentation
SARA - IDoc archiving (Object type IDOC)
WE47 - IDoc status maintenance
WE07 - IDoc statistics
BALE - ALE Distribution Administration
WE05 - IDoc overview
BD87 - Inbound IDoc reprocessing
BD88 - Outbound IDoc reprocessing
BDM2 - IDoc Trace
BDM7 - IDoc Audit Analysis
BD21 - Create IDocs from change pointers
SM58 - Schedule RFC Failures
Basic config for Distributed data:
BD64: Maintain a Distributed Model
BD82: Generate Partner Profile
BD64: Distribute the distribution Model
Programs
RBDMIDOC Creating IDoc Type from Change Pointers
RSEOUT00 Process all selected IDocs (EDI)
RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
RSARFCEX - Execute Calls Not Yet Executed
RBDMOIND - Status Conversion with Successful tRFC Execution
RBDMANIN - Start error handling for non-posted IDocs
RBDSTATE - Send Audit Confirmations
FOr testing you can use WE19.
Best Regards,
Rajesh.
Please reward points if found helpful. -
How to find out the user exit is implemented
Hi All,
Kindly let me know the process to be followed to find out the User exit is implemented in SAP system.
I have seen many senriors suggestions for some treads to check if there is any Exit is implemented in the process when the system is behaving differently rather standard.
Is it the only way with help of ABAP'er we can find out or the functional consultant also can find out through some procedure?
I tied in google for this doubt, but i could not get the relavant answer.Pleaea execuse me if this already answered.
Thanks,Hi Krishna/TW,
Thank you for your immediate replies. Sorry i think i have not explained correctly my requirment.
Let me explain my requirement once again.Let us say Comapny has implemented one Exit in the project, now i want to find out what exactly the Exit was implemented.
Example: In STO process user is able to increase the qty in delivery. As per the client requriement system should not allow.
This is not possible in standard to control even after maintainig check over delivery field in 0VLP.
For this comapny has already implemented one enahnceament.
User Exit : USER EXIT_READ_DOCUMENT
Program: MV50AFZ1
like this when any one joined in the project we do not know what are all the Exits are implemented in the SAP system where we are working.
So if i want to find out if there is any Exit or enhancement implemented, what is the process to find out?
I hope now am clear with my requirement.
Thanks in advance.
Maybe you are looking for
-
How do I move ITunes from one computer to another
I am trying to move my ITunes from one computer to another. I downloaded ITunes on my new computer and loged in with my account information. Then I pluged my IPod into the comuter and imported all my songs. I thought that everything would come over b
-
My playlists wont play in order on ipod playlist. why?
My playlists wont play on my touch in the same order as they show on the touch playlist scheme.Why? & ive gone onto ituned & clicked on orderofplay!
-
Command for Unzipping a password protected zip file in Solaris
Hi, I got a requirement where I need unzip a password protected zip file using java in Solaris.I tried with unzip -P but it is not working in India and Australia (may be I need to download some patch). Can any one help me to find out the solution. Th
-
hi, I have been following the below perf tuning url: http://www.oraclebidwh.com/2010/02/performance-tuning-in-obiee/ I have been reviewing section3, regarding turing off logging, it states the following: +3) Turning off Logging+ Logging can affect in
-
Item 001 Order 99999999 budget exceeded SRM 5.0 Classic Extended
There are two issue that seem to be going on with budget being exceeded. One is that when looking at the Budget Overview the Credit Limit Used seem to be twice that of what is noted in our backend system. The second one is the Assigned value is not