Hi help needed in user-exit
Hi can any one send me the code for sample user-exit and with business requirement.
Thanks in advance
Regards
Uday
The code that you put in the user exit really depends on what you want to do.
Regards,
Rich Heilman
Similar Messages
-
Urgent help need for user exit
Hi all,
i have just did one user exit but in RSA3 field is not coming. in step 1 i modified the extract structure. in step 2 in added field in include program ,saved and activated it. but field is not coming in RSA3. can anyone plese help me what should i do now or what has went wrong.
in RSA3 update mode is 'F'
thanks in advancehi,
Have you created a project in CMOD and included your User exit component(RSAP0001) and activated it?.
check that. otherwise give some more details reg. your problem.
rgrds,
v.sen.
Message was edited by:
Senthilkumar Viswanathan -
Hi frnds.
For long time i have been searching for user exits for following txns. If any body have some idea i will appreciate it a lot.
1.ME01(MAINTAIN SOURCE LIST)
2.ME11(CREATE INFO RECORD)
3.MB01(GR for PO)
4.ME31(CREATE ONLINE AGREEMENT)
5.ME51(CREATE PURCHASE REQUISITION)
Waiting for your replies.
Regards,
ArpitHi Arpit,
You can use following code to find user-exits in any SAP standard transactions...
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,
Sriram -
Needed a User Exit to cross-check the mtrll master at the time of making PR
Hello Experts,
As per the requirement from my client I need a USER Exit in PR where before saving the PR the system should check the Material Master of every line item for the Material Type and MRP controller fields.
for the particular combination of material Type and MRP controller, the system should propose an account assignment which could be achieved but User Exit is required.
Please help.
Thanks in advance
and Regards
Yawar KhanHi Ravi,
Thanks for the reply, I will check back.
Regards,
yawar Khan -
I need a user-exit or similar to SAPMV45A (VA02).
Hi ABAP, an older question cleared while a new one showed up.
I have to capture a text after hitting SAVE on the TA VA02.
The captured Text has to be stored, and somewhat later when the text has been replaced by the new materials text i have to replace it again with the original text it had before changing the material of the position.
probabaly i even need two user-exits, one straight after hitting save, and another short before code ends.Hi,
Please check this link perhaps it may help.
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
Regards,
Ferry Lianto -
HELP..migo user Exit
HI all..
please help me...
this is my third post and i badly need a user exit after posting of material document..
is there a user exit avaible before migo will pop up the success message Material document number 49000000 posted?..
because in my requiremnt, material document must be posted(save in table mseg mkpf ) and all lock entries(material batch etd) are already released..
thanks u very much.Hi ,
You can use BADI MB_DOCUMENT_BADI ( MB_DOCUMENT_UPDATE ),
here u will have the Doc number too..
The following steps to activate the BADI.
1. Execute Business Add-In(BADI) transaction SE18
2. Enter BADI name i.e. MB_DOCUMENT_BADI and press the display
button
3. Select menu option Implementation->Create
4. Give implementation a name such as Z_MB_DOCUMENT_BADI( depends on the naming conbvention)
5. You can now make any changes you require to the BADI within this
implementation, for example choose the Interface tab
6. Double click on the method you want to change, you can now enter
any code you require. ( SE19 )
7. Please note to find out what import and export parameters a
method has got return the original BADI definition
(i.e. MB_DOCUMENT_BADI) and double click on the method name
for example within MB_DOCUMENT_BEFORE_UPDATE is a method
8. When changes have been made activate the implementation
Please rewards the point if answer is helpful.
Regards. -
Need a user exit to modify the quantity schedules in a sales contract
Hi,
I am using ECC 6.0 with IS OIL. Need a user-exit to update the quantity schedule(table OIA05) in the sales contract VA42.
I have a new field called timestamp in the table OIA05 which needs to be updated with the timestamp value.
I tried the user exit MV45AFZZ in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT to update the values. But the new values are not being reflected. Can you please help me in this regard.
Thanks,
Best regards,
Ajiththat will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
Yep, that is exactly it. So after the APPEND statement, simply fill the fields of the <accit>.
append initial line to im_document-item ASSIGNING <accit>.
<accit>-field1 = 'Blah'.
<accit>-field2 = 'Blah'.
Regards,
Rich Heilman -
Need a user exit for Export Control check in Sales Order fro VA01/VA02
Hi ,
I need a user exit for Export Legal Control process in Sales Order.since Ship-to country in the Sales Order is not always the ultimate destination country User Exit needs to be built in with following logic
1. Check to see if ultimate destination country field is maintained in Sales Order
2. If a value is maintained then for the Export control checks use ultimate destination country instead of the Ship-To country (step 1)
3. If no value is maintained then use Ship-To country as default
The user exit is called when the user creates or changes a Sales Order.
Can anybody help ?
ThanksHi,
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
SDAPO001 Activating Sourcing Subitem Quantity Propagation
<b>Reward points</b>
Regarsd -
Please help me with user-exits or baids for TCode : FOE2 & FOE1
Hi Experts
Please help me with user-exits or baids for TCode : FOE2 & FOE1.
I found these but not picking values from VIMI01,VIOB03 and VIOB41.
User-exits
FVCH0001 CH-specific enhancements: Esp. POR
ISRE0001 Determine bank procedure account no.
ISRE0002 IPD reporting data retrieval
Business Add-in
FVD_HANDLE_FORMULA Processing of Condition FormulasHi,
ASk your basis regarding the CI_CSKB table active issue, and first of all i dont see any table with the name CI_CSKB.
And check this exit-COOMKS03 whether it works for your screen exits.
Cheers!!
VEnk@
Edited by: Venkat Reddy on Nov 4, 2008 5:59 PM -
I need a user exit to restrict total qantity of yeild, scrap and rework on
Hi friends
I need a user exit to restrict total qantity of yeild, scrap and rework on CO14 (Confirmation of Production Order Detail) not more then total qantity field in CO03 (Production Order Display). Please also mention if what I am asking is theoratically right and if possible please explain a bit from the functional point of view.
Regards,
Anurag JainI resolved it
-
ME51N / ME52N - need special user-exit
Hi there,
I'm looking for an user-exit oder BAdI in transactions for creating and changing purchase requisitions. I have to write the data of an item into the ABAP-memory EVERY TIME a new position is selected. The BAdI I found is only processed when a position has changed some data.
But I really need the user-exit every time a position/item is displayed, also in starting the transaction directly with a purchase requisition.
Thanks a lot.
I DON'T NEED A BIS LIST OF ALL EXITS IN THIS AREA - THX
Kind regards
JohnHi,
Try these...
Enhancement/ Business Add-in Description
Enhancement
MEREQ001 Customers' Own Data in Purchase Requisition
Business Add-in
ME_COMMITMNT_PARKING BAdI for Redefining Commitment Interface When Parking
ME_MEREQ_PARKING BAdI Purchase Requisition: "Hold"
ME_REQ_HEADER_TEXT Copy Header Text: Enjoy Purchase Requisition
No.of Exits: 1
No.of BADis: 3
Arunima -
Need a user exit to add custom partner function in sales order @ item level
Hi,
Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
Thanks,
ThiyagiHI Leo
To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
Naren is right to point out on the same.
If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same.
I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
Kind Regards
Eswar -
Need help in PBEN0011 user exit
Hello Experts,
I am using EXIT_SAPLHRBEN00GENERAL_011 FM of PBEN0011 user exit to calculate the coverage amount.But in my requirement i have to calculate that based on the PA0008-TRFST(pay scale level).But in this user exit there is pernr field in import parameters.
I need perner to read the pay scale level for that employee.
Please help...is there any way to access the screen fileds like pernr ,begda,endda in the user exit if they are being passed to the user exit.
Thanks in advance..
ShwetaHello All,
I want to copy all queries under one infoset and user group to new infoset.I tried copying using copy function vaialable in goto menu.But it is giving error for the query having varian.
I am unable to copy the queries with variants. And I am getting following message:
Error when copying query report XXXXXXX= with variants. Error when importing query
Please help...
Thank you in advance
Shweta -
Need help urgently in user exit
Hi experts,
i m new to the concept of user exit.
shud anyone have very good coding knowledge for doing uiser exit.
i havent got a clear idea about my specification.
problem: one of the sd transaction code (dnt know the transaction code)) there is a tabstrip or table control window.In that windoww i m supppose to add one more column.
This is an idea that i recieved from the sd consultant, i havebnnt recieved my spec yet.
pls p[ls help me.
i need to perform this task very well so pls guide me
will reward for sure
sincerely
jayHi Jaya
For using USER EXISTS you need Access Key from SAP.If you know the TCODE follow the procedure given below.
->enter TCODE in command field
->enter
->System(Menu item)
->Status(in drop down list)
->Double click on Program(screen) name
->you will find empty INCLUDE programs under commented heading USER EXISTS.
->Read the Description given for each INCLUDE and select the required one.
->Double click on hte INCLUDE.
You'll see a pop-up asking for access key, which we should get from SAP.Without Access Key you cannot use USER EXISTS.
Regards
Lakshman -
Need help with transporting User Exit Variable in CMOD ZXRSRU01
Hello Gurus.,
I changed the existing user exit variable in CMOD ZXRSRU01.,before changing neither it ask for any transport request, nor when I activated the include program .
Well., I tried this........I went to goto-> Object Directory Entry.,
changed the Package and person responsible for and then it asked for transport request...but this dint work...
Now., how can I capture the changes in a transport request, so that, i can move the changes to production system?
is there anyway to solve my problem?
Regards,
PNKThanks for ur help VIKRAM...i solved the issue...the changes are captured in someother request, but it was not showing in the Version Management.'
I checked the Lock Overview in the Object DIrectory Entry and found out that it was capturing in different request. I released the request and when I tried to change the code, it asked for new transport request.
It worked..
Thanks for your help..
Regards,
PNK
Maybe you are looking for
-
Hello community! What can be wrong if an incident created in Work center is visible only to incident owner, even solman_admin cannot see it. Is it smth wrong with Business partners, what would be the best bet - from where to start the investigation?
-
How can I get Firefox to automatically open a new search in a new tab please?
How can I get Firefox to automatically open a new search in a new tab please? [Without me manually opening the tab]
-
No login appears for protected pages
Hi, I have a web application name codeConsole with the following web.xml settings: <!-- Security settings --> <security-constraint> <web-resource-collection> <web-resource-name>AdminPages</web-resource-name> <description> These pages are only accessi
-
Initial importing , in photo mode sorting by name??????
Under Library while in photos mode is there any way to sort photos by the name that you typed when you first imported them?? Thanks in advance
-
How can i know iphone users from contacts, how can i know iphone users from contacts
how can i know iphone users from contacts, how can i know iphone users from contacts