Inernal order enhancement after "ENTER" not user exit like COOPA_01 possibl
Hi guys,
I need a check on internal orders when creating or changing but before saving just pressing enter.
I think some years ago in a project a developer found out an enhancement spot in coding, where customer coding can be implemented without standard modification, but also not a user exit.
Unfortunately I can not remember where and in OSS I did not find anything.
Any idea?
best regards
Bjoern
Hi
As far as I know, exit COOPA_01 is used for any custom checks on Order master data... I dont know why you are against it
Anyways, to find out the enhancement spots called in a transaction, proceed as below
Go to se24 -> cl_exithandler-> go to method get_instance -> and put a break point at
CALL METHOD cl_exithandler=>get_class_name_by_interface
Here one of the parameters is exit_name .
Once after you put the break point , execute the transaction and here in the parameter exit_name , you will be able to see all the available badi's .
br, Ajay M
Similar Messages
-
On Yahoo Mail...and ONLY Yahoo Mail..I get a 404 error after entering my user name and password. This doesn't happen with IE, just Firefox, and just Yahoo Mail. I tried uninstalling and reinstalling FF; no change. Yahoo was absolutely no help whatsoever; can you solve the mystery? Thanks
HI Emmet,
thanks so much for your posts back. I really appreciate it and yes that does help to know that you could not get it working.
I did have some success, in removing the SSL Authentication checkbox in the smtp server settings - I found that this allowed my friend to be able to send mail from the mail app via his sbcglobal (yahoo) account.
So that did help but of course the messages do not have ssl encryption and I'm not sure how big a deal that is for an individual. He is able to receive mail but unless the SSL authentication box is unchecked, he cannot send.
i hope that helps anyone out there also!
Thanks also for the tip about sparrow - yes I have heard of it and it is very popular, he may end up using that in the end.
Thanks again, much appreciated.
Felix -
Retain standard SAP order type after copying with user defined order type
Hello SAP Gurus,
We have a requirement of retaining the standard SAP order types after copying with User defined order types. But the issue is we don't want to see the standard SAP order type such as PM01, PM02 in production system while using transaction like IW31 etc.
Is there anybody who has answer to retain these stanadard SAP order types without deleting from system configuration?
Thanks in advance.
Cheers,
VaibhavVaibhav,
When you F4 on the order type field in IW31 you will get the popup showing the order type list. At the top of this list is a button with a green "+" sign (Insert in personal list).
You can use this button to select your favourite list.
This function is available in most F4 drop-down lists.
However, you cannot set this setting for all users. You will need to write an ABAP program to do this.
PeteA -
Stoping process of saving purchase order(ME21/ME21N) in the user exit.
Hi,
I am using user exit "EXIT_SAPMM06E_016" of purchase order. While creating PO and after user enters 1st line item or more items and presses save button, then this user exit will be called.
Now my requirement is I have to check "item delivery date" , if it is more than 300 days from creation date then I have to show popup for warning the user for the same and if user want to make the changes then this user exit should stops the process of saving the PO and returns and allows to change the PO.
Please help me in this.
how I can stop the saving process.
Thanks,
DeepakHi Deepak,
You can do it in IM_ITEM method
DATA: ls_mepoitem TYPE mepoitem.
ls_mepoitem = im_item->get_data( ).
if you check ls_mepoitem-quantity field it will give your required value....pls Go through the documentation below for the method
Documentation for the method
Processing of Item Data
Functionality
The PROCESS_ITEM method enables you to change the item data and check it
for correctness.
Parameters
The following parameters are available:
o IM_ITEM - Document item
The interface reference is of the category
IF_PURCHASE_ORDER_ITEM_MM. You can use all methods defined there.
Note
Please note the general hints on Error Handling.
If you wish to mark the document item as invalid, use the
INVALIDATE() method of the IF_PURCHASE_ORDER_ITEM_MM interface.
Regards
Byju -
Sales order forceful completion using the USER-EXIT
Hi all,
We have a requirement as follows: As soon as the sales order is created a smartform should get triggered. the configurations are done in nace. It is working fine. But in our case we dont enter the PO number in the sales order this will show an incompletion log throwing a warning message. So we need to do modification in the user exit MV45AFZZ for the forceful completion of the sales order
This is to be done for the order type Zxxx. As i have not worked in the userexits before can anyone help me with the code.
Thanks and Regards
venu.mulaparthiHi,
Try this..
Create a new incompletion procedure in SPRO without that PO number field..
In the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ..
IF VBAK-AUART = 'Zxxx'.
* Switch the incompletion procedure.
TVAK-FEHGR = 'ZZ'. " New incompletion procedure..
* Then call the function module with the new incompletion procedure..
* I believe the function module name RV_CHECK_DOCUMENT.
* Or check RV*check*document in SE37..
* This will make sure the sales order to recognize
* the new incompletion procedure..
ENDIF.
Thanks
Naren -
E-Commerce create order runtime error because of user-exit
Hi all,
we face the following problem in our e-Commerce 5.0 R3 B2B application:
In our R3 system, we have implemented the userexit_save_document_prepare when creating sales order (VA01) because we do not want an order to be created (saving is cancelled) if some conditions are not met. If this happens, the systems throws an error message that users can see at the status bar and the order creation is cancelled (but the user still is on the VA01 transaction).
Now, we are implementing SAP e-Commerce solution and we can create orders when these messages are not thrown (the order is saved without any message because all conditions are met). If one of these error messages (in user-exit) are thrown (the user has exceeded some limit, for instance), then e-Commerce application does not show the message but shows a runtime error and crashes (user has to log in again and so on...). I include the error trace below.
Is it not possible to show these error messages (which have information for user) on our B2B application?
com.sap.isa.businessobject.BORuntimeException: order create not possible
at com.sap.isa.businessobject.BusinessObjectHelper.splitException(BusinessObjectHelper.java:78)
at com.sap.isa.businessobject.order.Order.saveAndCommit(Order.java:393)
at com.sap.isa.isacore.action.order.MaintainBasketSimulationSendAction.basketPerform(MaintainBasketSimulationSendAction.java:122)
at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:998)
at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343)
at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Thanks in advance.Hi Jolly,
thanks for your quick response. The user-exist is not java-based but ABAP-based. User-exit is included in program: MV45AFZZ. Routine: USEREXIT_SAVE_DOCUMENT_PREPARE.
If we do not want to let the user save the order we use:
MESSAGE eXXX....
Thanks. -
De-activating a Enhancement component in a User Exit -- Urgent
Hi,
How to De-activate a single Enhancement component from group of components in a User Exit(Project).
Regards
JikuHi
Goto transaction CMOD & open the project. Click on Change mode.
CLick on Components & then place cursor on user exit & click De-activate(Button next to Activate button).
Best regards,
Prashant -
Download sales order data in Text format -User exit
Hi Experts
I am very new to user exits, my requirement is if i go to sales order change mode and then press save, some of the details about the sales order needs to be downloaded in text format. Please give me the steps and procedures.
How to do this, please help me on this.
Regards
RajaramHi,
Go to include MV45AFZZ,u will find USEREXIT_DOCUMENT_SAVE.In this exit
u can get all the data from strcutures availabel thre..declare an internal table and fill the internal table with the data u want..andthen try for FM "GUI_DOWNLOAD" and pass the internal table data.I hope it might work..
Regards,
Nagaraj -
Fan issues after entering Single User mode
Earlier, I went into Single User mode to run an application called Applejack. When my computer first loaded up, my fan became twice as loud as it normally does. I figured that would return to normal once I restarted my computer, but when I went back to my usual setup my fan is still incredibly loud. I attempted to restart my computer again, but that didn't help. Is there anything I can do to fix this?
Just to clarify a few things, the fan begun to act up as soon as I entered Single User mode. I've tried looking into my System Preferences settings, but changing my Processor Performance doesn't seem to do anything unless there's something I need to do along with changing the setting. Thanks in advance!And just to be clear, in Single User Mode the computer's feedback about temps is not functioning... so your Mac assumes the worst, and keeps those suckers going full blast.
I find this to be the case when it has crashed and I re-start in SUM. But if I shutdown normally, usually you can start in SUM and be ok fan noise wise.
Quad 2.5 Mac OS X (10.4.6) -
Purchase Order - Goods receipt processing time (User Exit)
Hi All,
I would like to know if there is any User Exits available for this scenario.
In the Delivery tab of PO, we see GRPT & Planned Delivery Time, this information is picked up from the material master. In my case i have included the transport time in the GRPT time, so i have kept the GRPT = 25 days as the material is sent by sea. But in certain cases the material might be sent by air & the GRPT will then only be 5 days. So i want to use the Shipping instr field, where i select Shipping Instr1 & i want the system to force the GRPT time to be 5 days instead of the normal 25 days, when the PO is saved. Is this possible?
Alternatively if there is a better solution, kindly advice me.
VivekDear Vivek,
Thanks for recognising me,and also serch for you some document i am giving sap library link below.and also availble in first thread.
http://help.sap.com/saphelp_46c/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
Hope this will helps you.
Prem. -
Iam not getting the data on screen after using the user exit zxpadu01
Dear Freinds
As per my requirement when the user enters value Ansal it should get defaulted to Amount field (bet01 ) based on the wage type
i have written calculation ( q0008-bet01 = ansal/100) before it getting defaulted to bet01, i found that value is not getting default on the screen for bet01 once i enter value for Ansal , please any body correct my code
in ZXPADU02 i have written the code as below :
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
CASE innnn-infty.
when '0008'.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008. -- HERE I GOT ALL THE DATA EXCEPT BET01
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008 --- HERE I CAN SEE EVEN THE BET01 IS FILLED
IMPORTING
prelp = innnn. --- HERE I CAN SEE LGART BUT NOT AMOUNT VALUE
endif.
when others.
endcase.
IN ZXPADU01 I HAVE WRITTEN AS BELOW:
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
CASE innnn-infty.
when '0008'.
MOVE-CORRESPONDING innnn to wa_p0008.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008.
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008 --- I CAN SEE ONLY WHEN I COME AGAIN
IMPORTING
prelp = innnn.
endif.
when others.
endcase.
Now my problem is as follows :
i have entered the value for Ansal (ex: p0008-Ansal = 1000) ..........and i say enter then i should found the calculated value for the ansal through my coding
and it should display in bet01 as 10 ( q0008-bet01 = p0008-ansal /100)
but i dont find the value 10 being displayed for the field bet01 on the screen when
user enters Ansal as 1000 .........even then i have saved it to test the scenario......
now i came in displayed mode (pa20 ) for the infotype 008 for the same personnel no for the same dates .....where i created the record........i found that the value
bet01 is there i.e i can see the value bet01 as 10 ( my requiremnt here matching)
but when the user say enter during the time of creation of the record the value
bet01 is not getting defaulted with 10 .........why iam not able to understand
PLEASE ANY BODY HELP ME IN THIS REGARD
regards
shanti.Hi Pranesh,
i have used the logic which you hav given as below
in ZXPADU02
FIELD-SYMBOLS <fs> TYPE ANY.
ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
if <fs> is assigned.
<fs> = l_v_amount . --- amount as (ansal /100 i.e 1000/100 = 10) 10
endif.
still iam not getting the data for the field bet01
this is the coding i am using
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
FIELD-SYMBOLS <fs> TYPE ANY.
CASE innnn-infty.
when '0008'.
MOVE-CORRESPONDING innnn to wa_p0008.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008.
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
if <fs> is assigned.
<fs> = l_v_amount .
endif.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008
IMPORTING
prelp = innnn.
endif.
when others.
endcase.
please help me as iam still not getting (value in bet 01) when i press enter once i enter value in ansal feild.
regards
shanti. -
LT09 - Transfer Order User Exit is not getting trigerred though its active
Hi,
I am trying to assign the enhancement : MWMTO001
( Enhancements for end of transfer order generation )
which contains the user exit component : EXIT_SAPLL03T_001
I have created a project in CMOD and assigned the enhancement.
When I execute the TCode LT09 for transfer order, I noticed that this exit is not getting trigerred ...
I need to call a smartform whenever we save the data in the T-code LT09.
Am i using a wrong Exit ? Please help me to find out why this exit is not getting triggered though its activated ....
Thanking you in advance..
Nagasubramanyam.Hi
Thank you for reply.
According to 1st scenario prgm is activated & also activated enhancement in CMOD.
According to 2nd scenario, can u suggest how to find out the correct exit...
Actually I written a print prgm in include of EXIT_SAPLL03T_001 & designed SMARTFORM for that...
if I do process thru LT09 transaction & save that SMARTFORM should be triggered which is not happening...I put break points & tried but the exit is not triggering.
pls suggest how to find out the correct exit of LT09 .
Thanks&Regards
NagaSubramanyam. -
User-exit after updating PO from Order response ?
Hi All,
We are looking for a user-exit after the Purchase order is updated from an order response.
With this user-exit we would like to trigger a WF to the user to carry out transaction YE22N, with the WF the user(PO creator) can execute and update the PO.
Any feedback, tips would be helpfull and for sure points reward.
Thanks & Regards,
NameethHi Anand,
Sorry for the confusion., try to explain here.
During the updation of PO from inbound ORDSP IDoc, we have a transaction YE22N to confirm if the changes in ORDSP is accepted or not.
So we would like to automate this so that after the PO is update/saved from ORDSP IDoc, then we can trigger a workflow to send email to the PO creator.
If its still confusing then, "I would like to know if there is a user-exit or if Workflow can be triggered after updating PO" ?
Regards,
Nameeth -
Reg:User-Exit In Sales Order to Invoice
Hi All,
I have An requirement that to create automatic sales order and invoice in one go, i have used BAPI_SALESORDER_CREATEFROMDAT2 to create sales order and bdc invoice to create invoice its worked fine.
My problem is now i got an requirement as after creating sales order it should not create invoice as such because they will manually check whether the sales order is correct then only i should proceed to invoice also they need the option to create,change,delete sales order and same too invoice how can i acheive this scenario through user exits?
Since am new to user exit can any one tell me how to use user exits and what user exits need like this scenario?Hi Suresh,
For sales order following user exits can be used. These are available in include MV45AFZZ.
USEREXIT_DELETE_DOCUMENT : At the time of deletion of sales order
USEREXIT_SAVE_DOCUMENT : At the time of updations or creation of sales order.
Following are the user exits available in smod.
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference numbe
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedu
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lis
V61A0001 Customer enhancement: Pricing
Please check this exits which will help you for your requirement.
Thanks,
Naveen Kumar. -
User exits of enhancement SAPMF02D
Hi all,
I need to add an extra input check to customer master. From SMOD I can see that enhancement SAPMF02D contains the user exit EXIT_SAPMF02D_001, but this exit doesn't seem to be triggered when entering/saving the customer data.
I've searched and found the user exit EXIT_SAPMF02D_800 in SE37, how can I implement this (as part of the SAPMF02D enhancement)? As it is now, I don't get any hits in the where-used-list for this function module.
All helpful answers will be rewarded!
- Mari VirikHi again, thanks for your reply!
I've added both <b>EXIT_SAPMF02D_001</b> and<b> EXIT_SAPMF02D_800</b> to enhancement <b>SAPMF02D</b>. Both function modules are active, and the Z-includes called in the funciton modules are created and activated. After setting breakpoints in these two incloudes, I run FD01/FD02 - but none of the user exits are triggered (the same applies if I run XD01/XD02).
What I need to do is to create an extra address input check, and I've also checked out BADI <b>CUSTOMER_ADD_DATA</b>, method<b> CHECK_ALL_DATA</b>. But I need to test the fields Street 2, Street 3, and Street 5 - and these fields are not available as input to this method.
To me it seems that neither the user extis nor the BADI can be used? Is this correct? If so, are there any other options? If they indeed can be used, what am I doing wrong?
All helpful answers will be rewarded!
- Mari
Maybe you are looking for
-
How can I set the location of iChat dialogue box on my desktop?
When I use iChat it always opens a chat box in the upper left corner of my screen. I then drag it down to the lower right, where I want it, but it doesn't remember that position when I close it and open a new box. Is there a way to get iChat to alway
-
Delete price on product attributes
I added 2 attributes to a product and want to know how do I delete the pricing for the attributes, besides using us/00. When left blank, BC calculates double the price for the singular item. For example, attribute red + attribute sm = $40.00, while
-
Multiple event log errors with Indesign.exe
A colleague is having some issues with CS3 and certain programs keep crashing and she has to keep restarting. I've not been given any further info at this stage so I decided to delve into her event logs. Doing so uncovered a number of different InDe
-
PC not detecting drives, won't boot up passed HP Splash
Hey, so randomly two days ago I left my PC on and awoke to it frozen on the HP start up splash. Going into the bios I realize my hard drive is not detected, later on my CD drive stopped being detected. I ordered a new hard drive and I'm still getting
-
Exporting pictures...
Hi. I used to sync my iPhone pictures with the Pictures folder (Windows Vista) and so far so good. It worked well all the time. Today, (don't ask how), moving a picture between the Windows Photo Gallery to the Pictures folder, make all Pictures folde