Stop Incident Creation
Hi Experts,
We have a custom condition, if plant manager(Incident manager) is not maintained in 'Z' table. We should give error message and stop the incident creation process.
Pls guide how to do the same.
Regards,
Reny Richard
Hello Sakthi,
I have added my validation in User-Exit "EXIT_SAPMM06E_012".
Below is the sample code:
IF sy-tcode = 'ME21N' OR sy-ucomm = 'MESAVE'.
IF i_ekko-bsart = 'XYZZ' and i_ekko-lifnr = 'P123456'.
MESSAGE e000(zm001) DISPLAY LIKE 'E' WITH 'Vendor' i_ekko-lifnr 'is not allowed for Document Type' i_ekko-bsart.
RETURN.
ENDIF.
ENDIF.
In place of "MESSAGE e00......" you could use below macro :
mmpur_message_forced 'E' 'ZM001' '000' 'Vendor is not allowed for Document Type'.
This macro is used to give soft error message. I tried with "A" instead of "E" message type too and it didn't work. It will trigger a pop-up window with "Save", "Edit" and "Cancel" buttons. If user clicks on "Save", it would create a PO. In my case I did not want the PO to be created, incase validation fails. So I did not use macro. My sample code triggers a pop-up window with "Hold", "Edit" and "Cancel" buttons. Hence a PO is created with Parked status.
Thanks,
Siri
Similar Messages
-
Stop Automatic creation and confirmation of Transafer Order for a doc type
Hello All,
There is a requirement that I need to stop Automatic creation and confirmation of Transafer Order for a particular document type.
The issue is that sometimes the cycle goes upto creation of Invoice automatically but sometimes this does not happen. More over the user wants that the transafer order needs to be confirmed manually.
Can u please provide the .steps involved for thie case.
Thanks
ChandrashekharDear Steve,
Thanks a lot for giving reply with what I need to do, but I am unable to see result.
I have down configuration like below even though system not processing Auto TO creation. Can you explain me if I have down any mistake below.
Click on Assign button,
Press on New entries
WhN = 900
Reference Movement Type = 101
Movement indicator = B
Movement type for Whse Mgmt = 101
TR create Transfer Requirement = X
Immed.TO Creation
Mail confirmation for background processing = 01.
GR date = 2 -
How to stop PR creation from PM work order for a particular vendor?
Hello Experts,
We have following scenario for breakdown maintenance activities.
When a machine breaks down, a breakdown order is created in SAP. The external manintenance services are planned in the order. When the order is released, a single PR (with multiple item numbers corresponding to number of services) is created by SAP. The PR has a release strategy. When PR is released, PO is created followed by the SES.
The practice followed AS -IS for breakdown outside business hours:- If the breakdown happens outside business working hours, the person releasing the PRs is not available & hence PR can not be released resulting in no PO & no subsequent SES.
In this case, the maintenance is completed by the external agency & the work order is TECO. The next day, TECO is reveresed, new PR is created, released, converted into PO, & then SES.
TO-BE process:- Client expects that, for certain vendors identified, PR should not get created at all from the breakdown order. (The list of vendors will be maintained seperately). For these vendors, a framework order will be created at the start of fiscal year & SES will be created as & when required agaainst the framework order.
My concern is :- How to stop PR creation from PM work order for a particular vendor? OR delete the created PR?
Highly appreciate your quick response.
Thank you.
Amit
Note:- My ABAP consultant has checked following BADI's, but could not find it useful.
IWO1_ORDER_BADI
ORDER_COSTING_CK
DATA_EXTENSION_CK
VALUATION_CK
ME_REQ_OI_EXT
IWO1_PREQ_BADI
ME_CHECK_SOURCES
ME_REQ_POSTED
IWO1_ORDER_BADIDear Amit
I am giving a different dimension to your question check if it fulfills your requirement -
As we know Vendor selection comes at a later stage only after your PR creation, approval & RFQ etc. & PR generation from maintaine. order is controllled through control key PM03. While triggering PR from order you have to specify Material group, Purchase group and vendor. Try to control it through authorisation as all these are authorisation objects. The persons executing breakdown order shall no t be given this authoriations
shakti -
Is it possible to stop reservation creation in PM Order?
Hi All,
Is it possible to stop reservation creation in PM Order?
Thanks in advance.Hi
It is not possible to stop reservation creation,you can only make the reservation valid for GI after release
regards
thyagarajan -
Stop auto-creation of Assoc when creating Entities
How can we stop auto-creation of Assoc files when creating Entities?
Hi Varshal,
Thanks for the suggestion.
However, we thought of an alternate method that does involve changing the customers existing business process.
1) Change the field AUDISP in the network profile to 1 "Never" for the conversion.
2) Migrate the data. Program will create Networks, Activities & Components with the field AUDISP set to "Never create Reservation or Purchase Requisition".
3) Change the field in AUDISP in the network profile back to "2 From Release".
We will have to get the users to clean-up their data (close outstanding PRs or convert those PRs to POs) before this exercise for a clean cut-over. -
How to Flag Customer to Stop Quote Creation
Suppose I have a customer that I have been doing business with for some and they currently have open orders that need to ship and invoice. We also have payements outstanding that we need to receive from the customer.
For specific reasons, we no longer want to allow future ORDERS and QUOTES for that customer. What are the best methods for stopping the creation of Quotes and Orders for this specific customer?
On the OM-side, it seems like the "Credit Hold" flag on the customer would be useful. On the ASO Quoting side, the Credit Check is not performed until the order is submitted. Any other good ideas on how to handle this scenario -- especially as it relates to holding the creation of Quotes?
Thanks,
JasonHi Jason,
Possible options:
You could setup Quote Status that would require Approval before it can be transitioned to an order.
Or use Quoting Hook for Credit Check, ASO_CREDIT_CHECK_PUB (asopqccb.pls)
R12: Oracle® Quoting Implementation Guide Release 12.1 (Part No. E13462-04)
Chapter 4 Implementation Tasks for Oracle Quoting, page 4-3
See detail on Quoting Hook for ASO_CREDIT_CHECK_PUB (asopqccb.pls)
page 4-29 Setting Up Credit Check Functionality
11i: Oracle® Quoting Implementation Guide Release 11i (Part No. B12388-02)
Chapter 4 Oracle Quoting Implementation Guide, page 4-2
See details on Quoting Hook for ASO_CREDIT_CHECK_PUB (asopqccb.pls)
page 4-42 Setting Up Credit Check Functionality
Thank You,
Deborah Bourgeois, Oracle Customer Support -
GTS Stop delivery creation for blocked sales orders
We implemented Note 579357 to stop the creation of deliveries when sales orders are blocked and everything works correctly except for rush orders (order type SO).
After the note was applied, deliveries are not automatically created for rush orders even though the orders have gone thru screening in GTS and have been released. Any solution to this problem???Dear GTS experts,
I'm facing exactly the same problem with rush orders that Sammy Chan describes in his original post.
I checked all replies but I have still no idea to solve this issue. The problem is that when creating the delivery during a rush order creation at the time the system reaches the copy condition with the implemented coding there is no order number available to check against in GTS.
As the whole thread is marked as answered I hope someone can help me.
Best regards,
Ulrich -
Hello,
I'm trying to stop PO creation upon Vendor check failure in ME21N transaction. After the user clicks "Save" button, the Vendor check needs to be done and on failing, no PO should be created. An error message displaying the reason should be triggered.
I tried applying break-points in ME_PROCESS_PO_CUST~POST, EXIT_SAPMM06E_013. The program breaks at these break-points, however the PO is still getting created.
Any inputs? Thanks in Advance.Hello Sakthi,
I have added my validation in User-Exit "EXIT_SAPMM06E_012".
Below is the sample code:
IF sy-tcode = 'ME21N' OR sy-ucomm = 'MESAVE'.
IF i_ekko-bsart = 'XYZZ' and i_ekko-lifnr = 'P123456'.
MESSAGE e000(zm001) DISPLAY LIKE 'E' WITH 'Vendor' i_ekko-lifnr 'is not allowed for Document Type' i_ekko-bsart.
RETURN.
ENDIF.
ENDIF.
In place of "MESSAGE e00......" you could use below macro :
mmpur_message_forced 'E' 'ZM001' '000' 'Vendor is not allowed for Document Type'.
This macro is used to give soft error message. I tried with "A" instead of "E" message type too and it didn't work. It will trigger a pop-up window with "Save", "Edit" and "Cancel" buttons. If user clicks on "Save", it would create a PO. In my case I did not want the PO to be created, incase validation fails. So I did not use macro. My sample code triggers a pop-up window with "Hold", "Edit" and "Cancel" buttons. Hence a PO is created with Parked status.
Thanks,
Siri -
Stopping PO creation using Status profile
Hi,
We are using status profile to release orders.In the case of third party item, we need to stop po creation.Even though i forbidd PO generation in status profile, po is generating for third party items.How to solve this issue?Did you tried to control this with transaction control in BS02? Use object type VBK Sales order header and transaction control create PO.
-
Two Incident creation option in ITSM
Hi Experts,
We have implemented ITSM in SolMan.
But we are can see two create Incident button in Create Pane of SM_CRM web UI Page. Can any suggest why we can see two options.
Both creation option create Incident in different way.
Option 1: Follows standard incident creation procedure for "REQUESTER" Role.
Option 2: Follows normal Incident creation procedure where whole Incident Page is displayed.
Can anyone please let us know how we can remove one option from here and keep only one to avoid duplication of option.
PFA screen shots for more Details.Hi Rakesh,
Disable one that you don't need in tcode CRMC_UI_PROFILE
choose Business Role and then from left side Choose
Adjust Direct Link Groups needed group ID
then choose Adjust Direct Links
here disable LogLink ID that you don't needed
Rg Dan -
Stop delivery creation for perticular Storage Location
Dear Experts
As per scenario we have two storage location 1) packing stock and 2) Ware House stock. All delivery are create from Ware house st.loaction.as per requiremnt we want to stop Delivery creation for Packing St.location.
Is ther any customization through which System should not Create Outbound delivery form Packing St.loaction,while doing this rest of things sholud not affect for that S.Loaction
Regards
Pash@SDGo to SPRO-> Logistics Execution ->shipping ->picking->determine pikcing location ->assign picking location.
Here you can remove the packing stock storage location assignment to plant/shipping point/storage conditions combination and then test.
If this does not work, then check the path SPRO-> Logistics Execution ->shipping ->picking->define picking requirements. Here check any requirements is currently used. If so copy this routine and create a new routine to exclude the storage location (packing stock) from picking process.
Regards, -
Stop Automatic Creation of Inspection Lot for a condition
Dear Gurus,
While Creating a Delivery through a Sales Order, Config is maintained such that "Inspection Lot" will be automatically Generated.
Now Business wants to Stop this Automatic Creation of Inspection Lot only for a Particular Delivery Type and for a particular mode of Transport.
Do we have any User Exits / BADIs to achieve this requirement.
Please let us know.
Thanks in advance.
Regards,
Vinay MuttHi
To meet you above mentioned requirement you have to modify the program RQAAAS10 as per your logic both to create lot for Expired Material and to consider project stock or vendor stock as In standard SAP these stock are not considered.
regards
Manish -
IDOC_INPUT_PORDCR1 - Stop PO creation based
Hi ,
We are using the standard process code IDOC_INPUT_PORDCR1 to create PO using IDoc. If a PO line item is repeated in more than one segment we want to display the error message in the status records and to halt the PO creation. We are using the user exit of EXIT_SAPL2012_001 and we could display the error in status records of the IDoc but it creating a PO. Is there any way to stop the PO creation?
Regards,
CharumathiHi,
If you look at the code of this function module, it is directly calling a BAPI to create the PO. So if you call this function module directly in some custom program and pass all the IDOC segment details to it, then the IDOC will not be created. It looks like this is called post-Idoc creation in a normal EDI scenario.
Srinivas -
Greetings.
I've suffered a problem over my SCSM, i'll try to explain the scenario as good as I can.
I got SCOM monitoring and resending critial alerts to SCSM as incidents, a few days ago, it detected a failed backup, so SCSM created an incident, and notified us via e-mail.
But we've been suffering a severe spam, this incident seems to have looped, creating new incidents which just contain the originail incident information, in example, the original and good alert was Title ID XX Body Backup failed, its been creating since
there the Title ID XX+1 Body ID XX Backup failed, Title ID XX+2 Body ID XX+1 Backup failed ID XX Backup failed, and so on.
I targeted the original incident and deleted it from the database in case that it was the problem, tried several services restart or even the machine, with no luck, even disabled the original monitor on SCOM, but no effect.
Any hint I could follow to solve this? It's so troublesome that it evens dry off the resources, hanging the Exchange Connector, so notifications won't reach the mailboxes, and making the machine perfomance and troubleshooting hard to do in real time.If you're in triage mode, stop any "System Center" services on your workflow server, (the first service manager server you installed) in order to prevent the change connector (assuming you're using the exchange connector), then open the mailbox
in OWA and delete anything that matches your original pattern. wait about 15 minutes for any bounces to normalize, delete any new messages, then re-enable everything
if you're looking to prevent this in the future, edit your template to put the work item ID in brackest (ie. "[IR1234] body backup failed"). this will clue the exchange connector (assuming you're using the exchange connector) that the new message relates
to the old incident number, and it will be added to the old incident as a user comment, rather then creating a new incident. This won't help if you have a notification rule that triggers on new user comment, but at least it will stop hundreds of IR records.
this as the advantage that anyone who replies to this message will have their response related to the original work item. -
User Exit to stop the creation of PO
Dear All,
I have a typical problem , we have 2 servers both running on ECC 6.0.
I tried creating a PO and I kept a break point in the exit EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) in server1 and the control stops here and I can check all the values from the table EKKO .
I implemented my user exit in server 2 in the same exit EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) , when I tried to debug , I was suprised to see that the control never comes in this FM EXIT_SAPMM06E_013 , but server 1 and server 2 are both ECC6.0
Is there any customization which I had to check from my end , so that the control can go through this user exit.
Even if I don't implement this user exit , shouldn't the flow be going the way it was in server 1 ( I mean control going through EXIT_SAPMM06E_013 (INCLUDE ZXM06U44 ) Kindly advise..
Best Regards,
Srinivas Gummadi.Hi Srinivas,
You need to create a project in CMOD and assign the enhancement to the project.
The project should be activated otherwise the user exit will not be triggered.
Regards,
Vinod
Maybe you are looking for
-
Using one copy of Windows to install via boot camp and on a virtual machine?
I have a copy on windows 7 coming in the post and I was wondering if it is possible to install windows 7 via boot camp when I want to do something more memory intensive such as gaming and also install it on a virtual machine such as virtual box just
-
Can photoshop CC open raw files from Lightroom 5?
Trying to open raw files from Lightroom 5 in Photoshop CC 2014, with no luck. Anyone?
-
How to print the data as a bold letters in classical report
Hi Friends, I want to print the some data in the classical report as a BOLD letters. What is the way to do.. Thanks and Regards, Surya
-
Keyboard Tabs doesn't work in PDF
Hi, I'm working on Accessibility in pdf forms, the PDF forms generated from LiveCycle Designer doesn't work for the TAB keystrokes, is there a way to do it in order to use tabs in keyboard when viewing pdf in Adobe reader. -Sri
-
Nothing happens when i click on the download mozilla firefox 3.6 for free
i am trying to switch from ie to mozilla firefox. i clicked on the download now for free tab but nothing happens. the page loads and no run or install box appears. i have tried all the troubleshooting without help