Order Output should be supressed when all items are rejected

We have a requirement, where when all schedule lines in a sales order are rejected the order confirmation output should be suppressed.
This is what we did to achieve it.
Using the customer modification structure KOMKBZ3, add a new field ZZ_ALL_SL_REJ . This field is an indicator that will be set if all all items in a sales order are rejected.
Call function KOMKBV1_FILL to populate the communication structure KOMKBV1. The function calls USEREXIT_KOMKBV1_FILL, which is the header level user exit routine.
In this user exit, through a select statement read table J_3AVBUE, and check for all schedule lines if 'ABSTA' equals C, if this is true the ZZ_ALL_SL_REJ  indicator is set to ‘X’.
Then in the output requirement routine 900, see if KOMKBV1-ZZ_ALL_SL_REJ is set to 'X', if so set the return code to be 4.
However when we reject items in sales order and save it, we have to go back in again and save it for the second time for the output determination to be carried out again.
Could someone help with this...
Thanks.
Anne

I believe an easier method would be to check KOMKBV1-ABSTK in the output requirement. If it's 'C', then all items have been rejected.
Cheers, Paul.

Similar Messages

  • Still print picking list when ALL items are blocked. Is this possible.

    You know what warehouse people are like. When a delivery has all items blocked the picking list isn't printed, and the warehouse guys are wondering why nothing has printed. Of course a list is printed when there is at least one item that is not blocked on a picking list.
    My question is whether it's possible to print the picking list when all items are blocked?. I would expect no items to be printed for picking, but at the bottom of the report I would expect to see a list of items blocked.
    Anyone?.
    Jason

    HI
    1.Kindly chekc the routine in the t code V/27
    2.Against the routine against rthe condition type in the be.lwo path
          Logistics Execution
              Shipping
                 Output Control
                      Output Determination
                         Maintain Output Determination for Outbound Deliveries
                                Maintain Output Determination Procedure
    3.if it is in warehouse management then check in the tocde OMLV
    REgards
    Damu

  • Why does status bar say that all items are not loaded?

    When I have the status bar displayed at the bottom of my page, and I load a page, it usually says 4 of 5 item complete, or 6 of 7, or even one time, 92 of 93. What does this mean exactly? And why does it never say all items are completed? Is anything wrong with the browser, or is this just code for something?
    Thanks,
    Jeff

    These days web pages have many little extras, not just images, that have to be downloaded when we click on a link to a page. Sometimes, for a variety of reasons (file availability, internet problems, browser, bad coding, local cache, ISP problem) not everything downloads.
    As long as the page seems to have all the information and nothing is apparently missing, I tend to ignore this.
    When all items are completed, the status bar shows nothing.

  • Unable to cancel - open purchase order where all items are removed

    Hi all,
    When We try to cancel/close open purchase order where all items are removed from item master ?
    It showing error message,
    "No matching records found  'Items' (OITM) "
    Purcahse order was created on may-2007.
    As purchase order showing in open item list.
    Any solution for this problem ?
    Jeyakanthan

    SAP does allow items to be removed from the item master with open documents, but only if the documents have not created journals.
    It does create headaches though, and this situation is one of them.
    If there are not many items, I suggest you recreate the items, close the PO and just cancel the items rather than remove them.
    The other workaround is to change the items on the PO to something different that is in the item master, then close it.

  • All items are copied into Credit Memo request

    *Dear All*
    *Suppose I have created one scenario in which there is material code with one free goods and run uto the billing.*
    *I just need to know while creating Credit memo request wth reference to Billing,All items are copied into the sales order.My concern is that we can not hide free goods item in return order through Item selection.*
    Plz suggest on that issue

    Hi
    Yes you can set it up in the copy control of the item category so that it is not copied in the return order. But there is a specific reason why SAP would copy it into a return order. Suppose you sell goods and give something free, then based on the principle that the goods which were free were sent with the charged goods, it is expected that if the charged goods are sent back the free goods should also be returned.
    Thanks
    Indranil

  • Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer

    I have connected TABULAR Model to Excel, and in the pivot the filter is on multiple dimensions. When doing the drillthrough action it gives error - Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer
    Is there any workaround to this error?  so that drillthrough can be done even with multiple selection.

    Hi Vikas,
    The reason behind the error message requires the knowledge on what happens at the backend. When you perform a drill-through action, a query is sent to Analysis Services. This query is expressed in a query language called Multi-Dimensional Expression (MDX).
    Since the MDX language doesnot support drill-through command against a set (collection of tuples) an error is persisted. 
    For now, there is no workaround as it is a limitation of the underlying language that is generating the query.
    When multiple items are selected you lose the ability to drill-down on individual metrics. To resolve you must either:
    1. Select a single Item.
    2. Select all items.
    Hope this helps!
    Please mark as Answer if this helps! Thanks, Rajasekhar.

  • Black only error message when all inks are full

    My printer ran out of a color some time ago and popped up the black only message box. I have since replaced all of the colored inks and it still gives me the black only message when I go to print and says I need to replace magenta. I just replaced it! My printer is the photosmart C6280. Thank you

    Hello Sudharshan,
    "Status can only be set when all originals are stored" Also I see that the model is not having Status in CAD VIEW.
    This is error is indicating that your original CAD model is not checked in and as per your configuration you require the original to be checked in before moving to next status.
    Please:
    1. Check your document status network.
    2. ensure that you have proper set up for the fields "check in" in the current status. This indicator should be set. This ensures that the document is automatically checked in before moving to the next status. This will solve your problem.
    When I double click on that object in CAD VIEW, it takes me to DIR creation screen with Document Type DES. Can someone help me in this ?
    Because of the above set up missing the original DIR is missing the original document and hence the system assumes you are creating a new DIR when you click on the object in CAD view.
    regards,
    N K

  • Can we change log_buffer parameter online e.g. when all users are working..

    Hi,
    Can we change log_buffer parameter online e.g. when all users are working.. ???
    What is relation between redo buffer in sga and log_buffer parameter ?
    SQL> show sga
    Total System Global Area 3758096384 bytes
    Fixed Size 1983152 bytes
    Variable Size 553655632 bytes
    Database Buffers 3187671040 bytes
    Redo Buffers 14786560 bytes
    SQL>
    SQL> show parameter log_buffer
    NAME TYPE VALUE
    log_buffer integer 14338048
    SQL>
    SQL>
    If the log_buffer parameter is 14 MB then why redo buffer is no as same size e.g.
    14 MB
    SSM

    I am hoping your Oracle Consultant know what he's talking about.
    According to Oracle Performance Guide,
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref654
    "On most systems, sizing the log buffer larger than 1M does not provide any performance benefit. Increasing the log buffer size does not have any negative implications on performance or recoverability. It merely uses extra memory.
    The best method to determine if bigger redo buffer is needed is
    SELECT NAME, VALUE
    FROM V$SYSSTAT
    WHERE NAME = 'redo buffer allocation retries';
    The value of redo buffer allocation retries should be near zero over an interval. If this value increments consistently, then processes have had to wait for space in the redo log buffer. The wait can be caused by the log buffer being too small or by checkpointing. Increase the size of the redo log buffer, if necessary, by changing the value of the initialization parameter LOG_BUFFER. The value of this parameter is expressed in bytes. Alternatively, improve the checkpointing or archiving process.
    Other than that, hight log file sync event indicate you need faster disk for your redo logfiles. However, please also post your commits per second and redo per second from your AWR report.
    100M redo logs might be small for your environment.

  • CAD VIEW Error : "Status can only be set when all originals are stored"

    Hi Friends,
    I have Proe to SAP integrated and when I open Proe model in CAD VIEW and try to create a document it shows an error "Status can only be set when all originals are stored" Also I see that the model is not having Status in CAD VIEW.
    When I double click on that object in CAD VIEW, it takes me to DIR creation screen with Document Type DES. Can someone help me in this  ?
    Rgds,
    SM

    Hello Sudharshan,
    "Status can only be set when all originals are stored" Also I see that the model is not having Status in CAD VIEW.
    This is error is indicating that your original CAD model is not checked in and as per your configuration you require the original to be checked in before moving to next status.
    Please:
    1. Check your document status network.
    2. ensure that you have proper set up for the fields "check in" in the current status. This indicator should be set. This ensures that the document is automatically checked in before moving to the next status. This will solve your problem.
    When I double click on that object in CAD VIEW, it takes me to DIR creation screen with Document Type DES. Can someone help me in this ?
    Because of the above set up missing the original DIR is missing the original document and hence the system assumes you are creating a new DIR when you click on the object in CAD view.
    regards,
    N K

  • My menu bar does not appear at the top of my homepage on a brand new 27" iMac only when i pull up an app. this does not allow me to shut down my mac when all apps are closed nor does it all me to use finder. any help would be awesome

    My menu bar does not appear at the top of my homepage on a brand new 27" iMac only when i pull up an app. this does not allow me to shut down my mac when all apps are closed nor does it all me to use finder. any help would be awesome

    Press the escape (esc) key to exit full-screen mode.

  • HT204266 I live in China, have Dutch nationality, and no US address or Credit Card; how can I have access to products from the US iTunes store, in particular music, when such items are not available from the China iTunes store? In general, what are the di

    I live in China, have Dutch nationality, and no US address or Credit Card; how can I have access to products from the US iTunes store, in particular music, when such items are not available from the China iTunes store? In general, what are the differences between countries' iTunes offerings? Does one really need an address and a credit card for any country to be able to access that countries iTunes store? Why these restrictions?

    You cannot.
    You cannot use another countrys itunes store.
    You must be physically locates inside the borders of a country to use that countrys itunes store and a credit card issued in that country with a valid billing address in that country.
    The owners of the distribution rights of movies/music/etc differ by country.  These distributors decide who can sell their content in that country.
    Buy from another source if your countrys itunes store does not carry somehting that you want.

  • Message no. 26269 : Status can only be set when all originals are stored

    Hi,
    While changing status in cv02n, i am getting the below message no-Message no. 26269 : Status can only be set when all originals are stored. I am not getting the message solution in google. please guide me how to come over from this message.
    Regards,
    Mastan.

    Collegues! Have you any idea?
    Found this - [recommendation|http://help.sap.com/saphelp_47x200/helpdata/en/0c/b98e3c90347b17e10000000a114084/content.htm] - how to, but there so simple scenario without details about standart functionality.
    Check In
    You can check in originals, which are saved in the local network, into a storage system. The following originals are indicated by the  icon:
    Originals that are to be checked in for the first time.
    Originals that have already been checked in, and loaded into the local network for changing.
    To do this start WebDocuments. Process the document info record in the change mode.
    Select the original in the Originals dataset.
    Choose Check In. The system determines the storage system based on the system settings, and checks in the original.
    You return to the data sheet. The original application file is indicated by the Checked In  icon.
    Save the document.
    Very simple, but not work, and no details. Castle icon are not locked. DELETE, CANCEL - work, but not CNANGE.
    Maybe my storage system cannot determine the storage system? If it is right, so where can i maintain this option?

  • OM Sales Order Header should be Closed Immediately after Lines are closed

    Hi,
    OM Sales Order Header should be Closed Immediately after Lines are closed.
    Could you tell me how to modify the header workflow, if anyone has done this...could you please share.
    Thanks

    Thanks Mano, it worked.
    I have one question in workflow, let me create new thread.
    Could you please check my other question at below.
    OM Notable able to capture Approver Rejected comments from the Note field in WF
    OM Notable able to capture Approver Rejected comments from the Note field in WF

  • Credit Check Problem - Incorrect status in VBUK after items are rejected

    Hi All,
    I create a sales order initially and if it goes on to a credit block, the field VBUK-CMGST (overall status of credit checks) is set to B or C and an entry is made in the table VAKCR. However, when I reject all the items of that order, the entry in VAKCR is deleted but VBUK-CMGST is not reset. I assumed that if all the items are rejected then the crdit check should run again and reset VBUK-CMGST as not relevant. This is causing problems as lot of orders are showing up in V23 report as blocked for billing even though there is nothing to deliver or bill.
    Can any one help with proper config to over come this or with any OSS Note that you may know. We are on ECC 5.0
    Thank You,
    sckr

    I tried what you suggested and it seemed like the most reasonable thing to do. However, I was told that unrejecting a line item will not do the credit check again and any credit blocks should be removed using VKM3. I have also moved from my previous job so I no longer need to look into this. I am sorry for not replying earlier.
    Thanks for your suggestions

  • Scripting for when all buttons are clicked

    Im quite new to flash well at least the scripting part of it.
    I'm much more of a designer and I'm having big problems I know that
    it is prob very simple but I am totally useless at it! Can some1
    please just point me in the right direction thank you xxx

    If you're testing in flash you should see some trace outputs
    in the output panel. If you don't then there's something not
    working right.
    When you press each of your buttons, you want the main
    timeline to go to a different frame right? You need to set those
    frame targets in the code.
    example for but_bat:
    {button:but_bat, gotoFrame:2},
    this sets things up so that when but_bat is pressed, the
    timeline goes to frame 2.
    You will need to set the others for their correct frame
    targets. Just change the numbers for gotoFrame:
    number here
    Is what you want to happen when
    all of the buttons have been clicked that a congratulations
    sign movieclip is played? (You haven't said what you wanted it to
    do at that point, so I'm afraid I couldn't know that ;-) ) At the
    moment I've set the script up so that it checks... but all it does
    is trace an output:'I would normally want to do something special
    from this point' where whatever you want to have happen when
    they're all pressed would be requested by actionscript. If you tell
    me what that is, I can tell you the code to do it.

Maybe you are looking for

  • SAP Crystal Add On Error

    Hello everyone, we are having a problem on the Manage Crystal Reports Option, whenever we select a Report to be displayed the system shows this next message: "Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=12.0.2000.0, Cultu

  • Free of Charge PO Item - Invoice

    Hi, We often create free of charge PO's, particularly  when moving goods between plants in various countries. However, we have a problem with this. Obviously because the line is free it is not included in any invoice process, but for customs clearanc

  • Store color (uint) in MySQL table using PHP

    The PHP service wizard doesn't support uint. PHP doesn't have a uint type but MySQL does. How do I send a color from Flex to MySQL?

  • Material cost by period  for WBS/ Project

    Hi, I am working on one reporting requirement. Requirement is like that material  actual cost & quantity  which issued to WBS/ Project in perticular period. I am having some idea. Like COEP table via value type 4 I can fetch the actual cost for the p

  • Mac/Windows Compatibility for Word-Help!

    I just recently got Office for my Mac. I created a Word document and emailed it to a business partner. He has Windows and when he opened it, everything (including jpg.'s) were out of place and everything was skewed. He thinks he's running 2003. Any i