Controlling the output when purhcsae order item is deleted

HI
Here is our scenario, we have two outputs automatically determined ( by condition records) when a purhcase order is changed, now when we delete the purchse order item we want only one put type to be triggered and not the other one.
NEU    - When the PO line item is deleted  we want  trigger this output
NEU1  - When the PO line item is deleted  we dont want to trigger this output
Obviously we cannot  use "Fields Relevant to Printouts of Changes"  config to deactivate the EKPO-LOEKZ field as it impacts both the outputs.
Is there a way to achieve this?
Thx,
Krishna.

Hi Mohan,
Thanks for the reply, we did try to use that requiremnet option but then how do you know if the purchase order item is being  deleted?  You have this field in the routinue KOMKBEA-DRUVO which gets pouplated with '2' means change.
Obviously you cannot do a select query on EKPO because the PO is not yet updated at this point of time.
Thx
Krishna.

Similar Messages

  • User exist for controlling the OutPut type in sales order

    Hi
    Is their any exist which controls the output type based on header data of the order? VA01/02.
    Best regards
    Satish Kumar K

    Hi,
    IN the VOFM routine you can use the structure KOMKBV1 which will be populated with the sales org (VKORG), division (SPART) and order type (AUART).
    Example
    SY-SUBRC = 4.
    IF KOMKBV1-VKORG = '0001' AND
        KOMKBV1-SPART = '12' AND
        KOMKBV1-AUART = 'ZXXX'.
    SET THE return code to 0 to propose the output type.
      SY-SUBRC = 0.
    ENDIF.
    Hope this helps..
    Thanks,
    Naren

  • Send a mail to the customer when their order of type Residential Credit is booked

    Hi,
    We need to send a mail to the customer when their order of type Residential Credit is booked.
    I followed the below steps, but i could not write the code for sending email, can you please send me a sample code.
    Step1:
    =======
    Setup Processing Constraint on Order Header/Line for order booking
    *(Navigation : Setup --> Rules --> Security --> Processing Constraints)*
    a) Set Application : Order Management, Entity : Order Header
    b) Under constraints --> set Operation : Create, user Action : Raise Integration event, and make it enabled
    c) Condition --> Set Scope : Any, Validation Entity : Order header, record Set : Order, Validation Template : Booked and make it enabled too.
    Step2:
    ========
    Profile Option: Set "OM: Electronic Message Integration Event Sources" to be set to All
    Step3:
    ========
    Develop a code(Package) /workflow as per business requirement. e.g sending mail to customer when order is booked.
    Step 4:
    =======
    Open business event *"oracle.apps.ont.oi.xml_int.status"* through workflow Administrator responsibility. Include code/workflow in the subscription section of Business event.
    Navigation : WF Administrator Web application ---> Administrator Workflow --> Business Events
    Search Name : oracle.apps.ont.oi.xml_int.status, it will return 1 record, click on subcription...
    In this page include the function e.g CLN_CH_EVENT_SUBSCRIPTION_PKG.ADD_COLLABORATION_EVENT_SUB, if you are using WF, mention (e.g) wf_rule.default_rule in function & Workflow as OEEM/WRITE_HISTORY and enable it in this page..
    Thanks and Regards,
    Priya

    Just wanted to let you guys know that I still haven't received my MP3 player... Creative has had the MP3 player for 73 days now and they still haven't sent it back. Since last time I wrote here I got an e-mail from Creative saying they got the MP3 player on the 5th of the November and that somehow the status wasn't updated. Well, it's been 73 days now, care to send it away? I sent them and e-mail yesterday where I wrote that they could just send me the cash for it or a new MP3 player.
    If I don't receive my MP3 player in a near future I will contact "Allm?nna Reklamations N?mnden" (a Swedish "Consumerist"-like government sponsored organization that deals with people vs company legal cases).
    Again, I strongly advise everyone to not buy any more Creative products. Once they break you won't get the help you need.

  • Challenge: Controlling the output stream of includes within iterative tags

    Problem:
    How can you control the output stream of an iterative tag that is making an include on each iteration (either by using the jsp include tag or by a custom tag that does an pageContext.include(). Example of the first of such a case could be:
    <wf:iterator name="...">
    <div>
    <jsp:include page="test.jsp" flush="true"/>
    </div>
    <wf:iterator>
    I now want to see the following output:
    <div>
    ..content of jsp file 1
    </div>
    <div>
    ...content of jsp file 2
    </div>
    etc....
    However what I AM seeing is that the jsp content is flushed to the output stream before the divs like this:
    ...content of jsp file 1
    ...content of jsp file 2
    <div>
    </div>
    <div>
    </div>
    See!? How is that and what can I do to control the output stream??
    Thanks
    Alf Johannessen
    Ariol

    This is a stab in the dark, but have you tried writing your div tags out using the JSP directive:
    out.println("<div>");
    or
    <%="<div>"%>
    It looks like a bug in the iterator. I'd suggest you try setting flush to be false, but I know that's not supported yet (unless you've updated your libraries) ...

  • Apple charge me twice for the bill when I order usb cable and power adapter, what should I do now ?

    Apple charge me twice for the bill when I order usb cable and power adapter, what should I do now ?
    they charge me separated for the cable & adapter , and charge 51.36$ for the full bill !!!
    order number *****
    <Edited by Host>

    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes
    international calling numbers..

  • Can we restrict the partially confirmed production order from getting delet

    Dear all,
    Can we restrict the partially confirmed production order from getting deleted?
    I.e. if the production order is having status PCNF then the deletion flag indicator (status DLFL) should not be allowed to set
    SmanS
    Edited by: SAP PP Consultant on Feb 4, 2009 6:12 AM

    Hi,
    Then must be there is change in BS22.Check allowed transaction setting for Status PCNF/CNF .For reference purpose compare it with other client IDES or sand box.
    For your reference I have pasted Error log on the same.
    Balance of ORD 1000000702 is not zero
    Message no. KO115
    Diagnosis
    The balance on object ORD 1000000702 is not zero. That is, there are still costs on the object.
    System Response
    The object cannot be closed and the deletion flag must not be set.
    regards,
    Dhaval

  • Control the output order of a CFSearch

    What is the proper procedure to take the return from a CFSearch and set the order based on one of the fields to be displayed in numerical, alphabetical, whatever?
    I understand how to use the result of the CFSearch to index into another source but that's one record at a time.  I want to re-order the cfsearch output to be in a defined order rather than the returned order based on ranking if I understand the process correctly.
    What to do?

    Basically we want to search a large inventory database and the client would like the output in an Alpha format.  I figured that the verity search would be the easiest way to parse through the data as well as allow for using wildcard chars.
    Ah right.  I probably would not use Verity to do that.  I'd use your DB's free-text search capabilities for this sort of thing, and do the work on the DB rather than getting Verity to drag it all out, then use CF to re-order it.
    I can get what I want except that I don't quite understand how to take the cfsearch return and then re-sort the data.
    This has been covered in previous responses: query on query will effect this.  However I don't think Verity & QoQ is the best approach to the requirement, now that I better understand what the requirement is.
    Adam

  • How to control the output types in PO MESSAGES

    Hi Friends,
    As per the requirement I need to control the message in Standard PO(ME22N). Scenario is like below.
    1.     I am modifying some field value in PO and saving it. Then clicking on MESSAGES tab. Now I am seeing some output types are adding in EDIT mode.
    2.     Requirement is , when ever user changed one particular filed(Order acknowledgement ) and saved it, then he doesnu2019t want to see the message in EDIT mode.
    Could you please suggest me the way? Any user exit is there to reach this? Please do the needful.
    Thanks,
    Kumar

    hi,
    its may be useful for u.
    In the release strategy,if the indicator changeablity is 1 the system will not allow you to take repeat out put.
    Solution is that you have to change the release indicator changeability to 6(SPRO>MM>Purchasing>Purchase order>Define release procedure for purchase order>Release indicator>Changeability).
    Another option is that in the message output of the PO in further data change despatch time to 3 and take a repeat out put.
    Also check,
    SPRO > MM > PO > Release Procedure for PO > Release indicator > Changeability of Purchasing Document During/After Release as 2 for Release ID - G and save
    And then Create go to chage mode of PO and repeat the messages
    Regards,
    venkat m

  • Expand Table Control with Fields for Purchase Order Item Overview

    Hi Gurus.
    Hereu2019s something easy for you, I hope/ think. We just want to additionally show the field u201CMFRPNu201D in the purchase order item overview. See structure MEPO1211 for the table control.
    How can we do this? Is it possible without a modification? Is there anything to pay attention to?
    Lot's of questions, because we donu2019t find any complete solutions yet. It seems there are no official SAP suggestions for this issue.
    Thanks in advance!
    Regards
    Patric

    Is there no one out there who can answer my question?

  • Re-peating the output in sales order

    Hi,
    When we create a sales order and save it , the output is issued through output type. We are now facing an issue.
    when we do some changes in the sales order (manually or batch job), the output is not re-triggred.
    how to re-trigger the output. It can be done manually be repaeting the output but we want  system to repeat the output automatically . how this is possible ?
    regards

    Hi Sonu,
    For such repeating the output type for the change also, need to contact the functional consultants. They can configure in NACE tcode.
    FYI, they are supposed to maintain the acess sequence, procedures and conditions records and assign them.
    Regards,
    Aditya

  • Repeating the output in sales order

    Hi,
    When we create a sales order and save it , the output is issued through output type. We are now facing an issue.
    when we do some changes in the sales order (manually or batch job), the output is not re-triggred.
    how to re-trigger the output. It can be done manually be repaeting the output but we want  system to repeat the output automatically . how this is possible ?
    regards

    Hi,
    Check in VV12 for the condition record, there is one button called Repeat Output. Use that it used for the repeat output processing only. I think this will solve your problem
    Hope you get some inputs
    regards,
    Sagar
    Edited by: Sagar Wagh on Dec 18, 2009 7:28 AM

  • Purchase Requisition number not changing when sales order item is rejected

    Hi all,
    I have a requirement to change the sales order status to 'TECO' when ever some reason for rejection is selected in the status tab at the item level.The status should change from 'TECO' when i remove the reason for rejection.
    The status change is happening correctly.I have achieved it using user exit.
    CASE 1 : Initially, when a new item is added in the Sales order the purchase requisition number appears in the schedule lines tab of the item level. This is as expected.
    CASE 2 :When the same item is blocked (by entering a reason for rejection in status tab of VA02 ) then the purchase requisition number is not present in the schedule lines tab.This is as expected.
    But i face the following issue.
    CASE3 : Again if the blocked item is unblocked (By removing the reason for rejection in status tab of VA02 ) then the purchase requisition number does not appear again in the schedule lines tab.The purchase requisition number is expected to appear again.
    This happens in case of DROP SHIPMENT scenario. I understand that in case of dropshipment scenario the purchase requisition number is triggered by item category and schedule lines only.
    I tried to make the changes(to change the status ) in user exits 'MV45AFZZ' and also 'MV45AFZB'.But i face the issue in both the exits.Please let me know if there are any means to solve this issue(as mentioned in case 3).
    Regards,
    S.Suba

    Many thanks for your answer. It help me to solve the issue.
    So applying note 738171, with transaction OVB5 (or VOFM, requirements->subsequent functions->Purch.requisitions) we create one new requirement, ie RV07A900, and then we apply the rule that if we have delivery or billing block, that is, VBAK-LIFSK or VBAK-FAKSK not empty, then we set an error with a code similar to this:
                da_sy-msgid = 'Z1'.    (message class)
                da_sy-msgno = '001'.  (message number)
                error_exception = true.
    and then the PR is not created.
    Regards.

  • How do I see the TOC when I "View Item"

    Hello,
    I know this is simple, but I am a total Robo newb.
    I have created the TOC and pages and then linked those pages to the TOC.
    When I click "View Item", all I see is the page without any TOC.
    What preview option should I use that will show me the TOC along with the pages that are linked to it?
    Thanks!
    Jeff

    Hello again
    Wow... lots of questions! I'll do the best I can to respond to these.
    I don't know what we are publishing to yet.  I think we are going to design our FAQ with Robo and then place that HTML on one of our web pages.  Is that possible and which view option is best for this purpose?
    Certainly a FAQ is possible. However, that would sound more like a single page. RoboHelp can certainly create a single page that you could copy and splice into a larger web site, but I'm not sure why one would want to do that. Tools like RoboHelp come into their own when creating a large body of information that needs to be organized using a Table of Contents and information easily found via an Index and by searching.
    Unfortunately I'm unclear on what is meant by asking which view option is best. Perhaps you aren't 100% sure about why folks use RoboHelp and what it does. Apologies in advance if you knew any of this, but here goes.
    You use RoboHelp to combine many ingredients (HTML Topic pages, Images, etc) into a "dish" that is served to users. That "dish" may be in the form of a system known as WebHelp, FlashHelp, Microsoft HTML Help, Multiscreen HTML 5 or other. What you create depends on what your audience needs or wants. If most are using iPads or Android tablets, you likely want Multiscreen HTML 5. If most are using Desktop or Laptop PCs, you may want WebHelp. But again, if all you are wanting is a single HTML page that presents a list of FAQs, RoboHelp is definitely overkill.
    Frankly, I prefer the look of the WebHelp view because the Multiscreen HTML 5 view has strange colors.  I don't see any color or skin options for Multiscreen.  How can I change colors in Multiscreen HTML 5?
    Well, that one is a bit tricksy not only to answer, but to pull off once you know how! To begin making changes to the Multiscreen HTML 5 layout, you need to click View > Pods > Project Set-up. Then expand the Screen Layouts folder. Then expand the layout of interest. You should see a layout for the Table of Contents, the Index, the Glossary, etc. Right-click and choose Edit. And that's where the REAL fun begins. (cough)
    Bottom line is that this area is most definitely NOT for the faint of heart or for folks unfamiliar with CSS and whatnot. In other words, editing is a wee bit on the daunting side. I'm so so hoping that it will be easier in the next version!
    I have a few test projects open for testing purposes.  For one project, under "Single Source Layouts", when I right click Multiscreen HTML 5, it shows a "View with Browser" option, but when I do the same thing on another project, I do NOT see "View with Browser" option under Multiscreen HTML 5.   Why is this happening?
    Well, it's unfortunately difficult to say what may be going on without seeing the projects first hand. As I indicated earlier, Multiscreen HTML 5 is the new kid on the block and as such, is a bit convoluted. For example, let's say you managed to sort all the colors and icons and whatnot for one layout. Before you generate your output, you must now ensure you edit the properties of the Multiscreen HTML 5 layout and map the layouts to the profiles. So possibly this bit is missing. I'm not sure.
    Lastly, when I view view the project the first book is always open by default.  How can I make all books closed by default when viewing?
    In any given project, there is a topic that is known as your Default Topic. It's quite simply the first topic presented to the user when the help system is opened. Typically, topics presented in the Topic pane also synchronize to the Table of Contents. So if your Default Topic is inside a book of the TOC, POOF! The book will be expanded showing where the matching topic is. One way to ensure the books are closed is to nominate a topic that isn't in the TOC structure as the Default Topic. You do this by manipulating the properties of the Single Source Layout.
    Hopefully that was both understandable and helpful... Rick

  • Reg the output for sales order

    hi friends,
    i have raised the sales order, i have gone to change mode and i have got the output.
    here, my problem is when i try to enter some more sales data in the same sales order in the change mode , i was unable to get the output for the respective order.
    Msg : output has not been selected..
    Thanks in advance
    rajurahim

    Hi there,
    What O/p are you talking here?
    Usually O/p will be trigered when the doc is saved. In some scenarios, it is triggered when some details are changed. The condition under which it is triggered is maintained in the requirement routine in the O/p determination procedure.
    Also if the condition records are maintained, it will automatically trigger. If you want to re-trigger, then you need to go got VA02, select the O/p & click on repeat O/p.
    In your case, what I feel is the requirement is not met when you try to retrigger the O/p.
    Regards,
    Sivanand

  • Output for Sales order Item

    Hi All,
    I have created an output type for item level output in sales order.Please suggest me what is the program  and FORM routine to be assigned to this output type.
    Thanks,
    Anup.

    Hello,
    You have to create the PRINT PROGRAM & SMARTFORM as per your requirement.
    Program can be created in the SE38 transaction code
    Smartform can be created in the transaction code SMARTFORMS
    This will be done be ABAPERS, just you have to give the functional specifications to the ABAPERs to fetch the data.
    Hope it is clear,
    thanks,
    santosh

Maybe you are looking for

  • Right click is not working on oracle form

    Hi I created a custom form using template.fmb When user trying to pasted some data into text field and right clikc the mouse , the popup menu is not coming. Actually nothing is happening when right click the mouse. Please help me on this one and let

  • Reg. FI entry in OMWB - Simulation entry

    Dear Experts I have configured newly in IDES system for Account determination. And saw my configuration in IDES  OMWB like the below Plant           1001    -> Company Code    NCCP  -> Chart of Accounts    NCCA                               -> Valuat

  • Failed to load DLL: HSAPI during Software Installation of Palm TX for Windows XP

    I have been attempting to load Palm TX software for Windows XP and receive error number: 0x80040702 Failed to load DLL: HSAPI.  I am able to download the zipped software from the Palm site.  After unpacking and beginning installation, I receive the e

  • How does VFP CDX works internally ?

    Hello all, Are there any information how MS VFP CDX file works internally, what type of trees it use. how does it function on multi-user environment, memory caching etc... I have lots Dbf which I use for my clients, I can managed the operation of Dbf

  • How do I switch to another window in Firefox for Mac?

    I often have multiple Firefox windows open. Does Firefox or Mac OS X provide a way to switch among windows? Normally I can switch from one window to another by Command-Tab, but when I have multiple Windows open for one application (such as Firefox),