Preventing delivery status to change

Hi all,
in my customer, decentral warehouse management is activated. idocs with inbound delivery confirmations are received, usually in several steps. The problem I am facing is that when a confirmation is received that puts the receipt qty equal to or above the delivery quantity, the status of the delivery is set to 'C', causing new confirmations to be refused, even though we want to accept them.
My functional consultant asked me to develop an enhancement, badi or exit to prevent the status from being set to 'C', but thusfar I am not succesful. Has anyone done this before?
thanks in advance for your time.

We have solved this by increasing the delivery quantity in the BAPI (using an enhancement) which handles the delivery confirmations to a value of 1+ (current confirmed qty + previously confirmed qties from VBFA).
Thread may be closed.

Similar Messages

  • Change inboud delivery status

    after the PGR in VL32N the inboud delivery status will be 'Complete'. but i am doing PGR for the inboud deliveries through IDOC message type WMMBXY IDoc type WMMBID01.
              when i am tetsing the idoc it is creating material documet and accunting documet but inbou delivery status still open.how can i make in bound delivery status as complete.
                      please tell me any function module exist to change the inboud delivery status.my system is 4.6B.
    BAPI_INB_DELIVERY_CHANGE is not there in my system.

    Did you look for OSS notes?
    It is possible that you have a bug.
    Deliveries can only be GOODS ISSUED completely and once done the status in VBUK should reflect C.
    Now, try running SDVBUK00 for this document. This is a report provided by SAP to fix the status of SD documents. If you run and it changes (or shows that it would if you run in test mode), than it is more likely you have a problem in the IDOC processing application (SAP).
    ATTENTION: bad implemented user exits could create inconsistencies. Check to see if any Delivery processing or IDOC processing user exit is not conflicting...
    Leonardo De Araujo

  • Sales order as complete and change the delivery status.

    Hello All,
    We  produces an order but then the customer calls and does not want the material so we in turn will scrap the material against the production order using transaction MB1A mvmt type 951 E. 
    Since the material were scrapped and no material were shipped against the sales order, the sales order u201Coverall statusu201D remains open and the delivery status is u201Cnot deliveredu201D.
    To close the order  we u201CRejected line itemu201D and moved on.
    I would like to know if there is another way we can set the sales order as complete and change the delivery status. 
    Regards
    Amit

    Hello,
    you can use the status profile for the same. but a better way would still be to use the rejection reasons . the rejectionr reasons are very well integrated with the document flow as well as transfer of requreiemnts to Production
    so a best practise would be to use rejection reason
    hope this helps
    Thanks
    akasha

  • Prevent update to document after status is changed

    Hi all, I configured a new status profile for a sales document ITEM and want to stop user from editing the item once the status is changed to 'Close'. I have tried with Business Transaction 'Edit' (forbidden is set) and 'No Change Allowed' (allowed is set) but the system still allows me to update the sale item. These are the business transaction configured under Transaction Control. Can I find out what other areas I might have missed out?
    Please note that with or without the configuration of the business transaction to block updates, the system will close off certain fields for update, e.g. Quantity field.
    I know my last resort is to use the BADI but I understand that this is achievable via configuration but it somehow did not work for me. I read in other posts that people mentioned about 'Change document' but I cannot find this transaction in the list given in the configuration.
    Lastly, just wondering whether the business transaction field for 'User Status Triggers Business Transaction' has any impact on what I am trying to achieve? I have assigned 'FINI' in this case.
    Appreciate any advice on the above.
    Cheers!
    SF

    Hi Christophe,
    Re my statement "One thing I do not understand is why am I not seeing the business transaction for Change Document?" - I meant when trying to maintain the business transaction through the transaction control screen of the status. Example:
    The transaction control screen:
    When I click the New Entries button, I get this list to work on:
    I scrolled through the list and could not find 'Change Document' (CHCG). Does that make sense?
    I will have a closer look at the status analysis and see whether there is anything I can find.
    Cheers
    SF

  • How to update user status in CRM Order depending the delivery status in R/3

    Hi All,
    In my scenario the partial delivery allowed to the customer while creating the CRM Order. But as per my requirement the status should be updated when the complete order and delivery takes place.
       Let me describe you clearly:
    Suppose I want to deliver 5 quantities products to the customer but initially I want to deliver only 3 quantities and rest 2 quantities later. When I do the post goods issue of 3 quantities in R/3 system the status should not change in CRM system. When I will do the rest 2 quantities in post goods issue in R/3 then the user status should change in CRM Order. But in current when I do the delivery of 3 quantities the user status is changing in CRM Order.
    I need the user status should change in CRM only when the entire deliverytakes place in R/3.
    Thanx
    Chinmaya

    Whenever an item is fully delivered, by standard, a "Completely Delivered" status will be updated into the item. If the I suppose by referring to that you will know an item is partial or completely delivered. When all items in the order is fully delivered, the standard header status will set to "Completed". So, you will also know if the whole order is partial or completely delivered.
    If you want to add a user status, the simplest, you can make use of the ORDER_SAVE Badi. Just call the function CRM_STATUS_MAINTAIN_OW. You can update both header and item status.

  • Delivery Status in VBUP/VBUK is showing as 'C' completely processed though

    Hi All,
    Delivery Status in VBUP/VBUK is showing as 'C' completely processed though invoice for the delivery is already cancelled, and delivery in document flow says being process. So now I cannot invoice this delivery. Is there any utility to correct the VBUP/VBUK status from 'C' completely to 'A' Not yet processed  As I belive SDVBUK00 is to update the VBUP/VBUK status from A to C only.
    Please help...

    Try using SD_ACTUAL_OPEN_DATA_RESET & SD_ORDER_SUBSEQUENT_ALLOWED FMs to change the values in VBUK table. I have not used it myself but i think this would be of some use to you.
    Regards,
    Mani

  • Shipping and delivery status from R/3 to CRM

    Hi all,
    we are creating sales orders in CRM and replicating it to R/3. CRM is the owner of the document.
    Now whenever changes are done to sales order in CRM, the changes are replicated to R/3.
    Let's say the shipping status is updated in R/3. Now the requirement is the changes need to be replicated
    back to CRM.
    I can use the scenario X + Y or X alone. But with X or X + y scenario Once I make changes in R/3 then the
    document owner changes to R/3.  this means any further changes in CRM will not be replicated back to R/3.
    I require all changes from CRM to be replicated to R/3, but from R/3 I require the shipping and delivery status to be replicated back to CRM. How could this be achieved.
    It would be great if you could share the experiences.
    Thanks
    Jothi.

    Hi all,
    I have a similar requirement. Can you please tell me how to go with it?
    The requirement is to send the user status from CRM (where the request is generated) to R3 (where the material is processed).
    The user status of the return order in CRM should be sent real-time to R3. Any updates to the user status in CRM should result in a corresponding change in the user status in R3.  Any updates to the user status in R3 should trigger a corresponding change to the user status in CRM.  All user statuses must be available in BI/BW for reporting and analytical requirements.
    <b>From R3 to CRM</b> – Standard R3-CRM middleware exchanges information between the two systems any time a transaction is created or changed.  At this point the order information is exchanged between the two systems depending on whether the item or the header level data is changed in R3. The development should be able to download the user status at the header & the line item level when the middleware brings down R3 sales transaction data to CRM. For the sake of simplicity the status profile in R3 and CRM will be defined exactly the same therefore we do not need a mapping table between the two systems. This information should also be exchanged in case the line item is deleted / cancelled / rejected.
    <b>The same from CRM to R/3.</b>
    <b>Processing restrictions :</b>
    This should not be transaction, item category or status profile specific so that as and when a new transaction type, item category or a status profile is added it should still be allowed to transfer between the two systems.
    Should be developed as an enhancement to the standard middleware data stream between R3 and CRM.
    Regards,
    Raju

  • EMOD Delivery Status Field Update

    I ma testing out the EMOD functionality and have been successful in ALL of the changes that occur in the Response Status based upon the hyperlinks in the email. Delivery Status changes to Hard Bounce or Soft Bounce when bad address, etc. However, the system is not updating the Delivery Status to Opened when I have actually opened the email. I know this is the other automatic update of the Delivery Status...Anyone experience this or am I not doing something right.

    You have to create the email with the functionality to track message open this is found on "Step two - Design Message body" at the bottom of the top drop down menu next to responses there is another drop down menu with track message open select this option and then press insert.
    This will resolve you issues.

  • Javamail delivery status report HELP

    This is the mail delivery status report that is given back to me....
    how do i determine which is valid and which is not valid
    // Actual detail of the mail, eg, from, to, send date etc
    public void dumpEnvelope(Message m, PrintWriter out, InMailBean inMailBean) throws Exception {
    Util util = new Util();
    System.err.println("In dumpEnvelope");
    out.println("<P>" + "This is the message envelope"+ "</P>");
    out.println("<P>" + "--------------------------"+ "</P>");
    Address[] a;
    // FROM
    if ((a = m.getFrom()) != null) {
    for (int j = 0; j < a.length; j++){
    out.println("<P>" + "FROM: " + a[j].toString()+ "</P>");
    inMailBean.setSender(a[j].toString().trim());
    // TO
    if ((a = m.getRecipients(Message.RecipientType.TO)) != null) {
    for (int j = 0; j < a.length; j++) {
    out.println("<P>" + "TO: " + a[j].toString()+ "</P>");
    //inMailBean.setReceipient(a[j].toString());                      
                   /*     InternetAddress ia = (InternetAddress)a[j];
                        if (ia.isGroup()) {
                             InternetAddress[] aa = ia.getGroup(false);
                             for (int k = 0; k < aa.length; k++)
                             System.err.println("  GROUP: " + aa[k].toString());
    FROM: [email protected]  (sender)
    TO: [email protected]   //<<<-----this is (valid)
    TO: [email protected] //<<<<----this is (invalid)
    if i open my outlook express...it will shows
    Reporting-MTA: DNS; emg-mrk04.localdns.com
    Arrival-Date: Fri, 6 Apr 2007 15:10:44 +0800
    Original-Recipient: RFC822; <[email protected]>
    Final-Recipient: RFC822; <[email protected]>
    Action: failed
    Remote-MTA: DNS; mx2.hotmail.com
    Last-Attempt-Date: Fri, 6 Apr 2007 15:10:43 +0800
    Message number: 0
    This is the message envelope
    FROM: Mail Delivery Subsystem
    TO: [email protected]
    SUBJECT: Returned mail: response error
    SendDate: Fri Apr 06 14:52:49 SGT 2007
    FLAGS:
    X-Mailer NOT available
    CONTENT-TYPE: multipart/report; report-type=delivery-status; boundary="[email protected]"
    This is a Multipart
    CONTENT-TYPE: text/plain
    This is plain text
    The original message was received at Fri, 6 Apr 2007 14:52:49 +0800 -
    The following addresses had permanent fatal errors -
    Transcript of session follows -
    ... while talking to mx3.hotmail.com >>> RCPT To: <<< 550 Requested action not taken: mailbox unavailable
    This is a string
    The original message was received at Fri, 6 Apr 2007 14:52:49 +0800 -
    The following addresses had permanent fatal errors -
    Transcript of session follows -
    ... while talking to mx3.hotmail.com >>> RCPT To: <<< 550 Requested action not taken: mailbox unavailable
    CONTENT-TYPE: message/delivery-status
    This is a Multipart Report -
    CONTENT-TYPE: message/rfc822
    This is a Nested Message
    This is the message envelope
    FROM: [email protected]
    TO: [email protected]  
    TO: [email protected]
    SUBJECT: sending mail exception 2
    SendDate: Fri Apr 06 14:52:11 SGT 2007
    FLAGS:
    X-Mailer NOT available
    CONTENT-TYPE: text/plain
    This is plain text
    sending mail exception 2
    This is a string
    sending mail exception 2
    Message was edited by:
            yzme yzme
    Message was edited by:
            yzme yzme

    For this, you need to answer the following:-
    a)  where the customer required date is being captured in sale order ?  Is it Requested Delivery Date ??
    b)  If it is RDD, will there be any manual change in that ??  If so, how will you track the changes
    I feel, for the above questions, you have to develop a zee table where you need to capture the original delivery date and the change date so that you can compare this with the actual despatch date.
    There is no standard report to make use of the requirement what you had narrated.
    G. Lakshmipathi

  • Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept e-mail from certain senders, or another restriction may be preventing delivery

    HI,
    We are getting following error message for all users while sending mail to external but we able to receive mail from internet.
    Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept e-mail from certain senders, or another restriction may
    be preventing delivery.

    Hi,
    Please follow Luke and Shelly’s suggestion to check your SPF record and Send Connector configuration. Also you can post the complete NDR message(with NDR status code) here for further analysis.
    If there is any updates, please feel free to let us know.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Confirmation status is changed

    Hi Folks.I am working on SNC7.0.I created New PO and then iam confirming PO.While click on save button confirmed status will be CONFIRMED but after click on publish button confirmed status is changed to NOT CONFIRMED.These changes are in Po details screen.In that PO header General tab.
    Any suggestions how to resolve this issue.
    Thanks in advance.

    Hi Srinivas,
    In path:SPRO>Supply Network Collaboration>Basic settings>Validation>Own setting you will not get any values(even if you press F4 also).
    There is no check here if you enter any junk value also system will save.
    As i suggested earlier you need to maintain validation setting manually(do not press F4).
    Save the validation setting as suggested and recheck now.
    About validation check PO_CONF_RELEVANCE_CTRL :"Set Confirmation Status for Changed PO Item to "Not Confirmed"
    If this validation check is active, SAP SNC sets the confirmation status of a purchase order (PO) item to Not Confirmed if the customer has changed the following item data in the customer back-end system and has sent the changed PO to SAP SNC:
    ■Goods recipient
    ■Ship-to location
    ■Product
    ■Requested delivery date
    ■Incoterm
    ■Price
    Validation check PO_CONFIRMATION_DELETE:"Delete Confirmation Schedule Lines for Changed Purchase Order Items"
    If this validation check is active, SAP SNC deletes the confirmations schedule lines of a purchase order item if the customer has performed a change that requires confirmation by the supplier. Changes that trigger deletion include the following: Quantity changes and the changes listed in the description for validation check PO_CONF_RELEVANCE_CTRL
    Regards,
    Nikhil

  • Bapi for Delivery Status

    Hi Experts!
    Can anyone tell me the BAPI to Display the Delivery Status
    for a particuler sales order no or document no.
    Thank U...

    hi,
    BAPI_DELIVERYFREE_PROXY_CREATE Proxy BAPI für Upload einer kostenlosen Nachlieferug SFA-Kontext: Anle
                                                                                    LE_SHP_DB_DELIVERY_BUFFER      Object Buffer Delivery w/Database Access                             
    BAPI_DELIVERY_GETLIST          BAPI for Reading Delivery Data                                                                               
    OIU_DELIVERY_NETWORK           Object Buffer Delivery w/Database Access                             
    BAPI_DELIVERY_NETWORK_CHANGE   Delivery Network BAPI for Changes                                    
    BAPI_DELIVERY_NETWORK_CREATE   BAPI for creating a delivery network                                 
    BAPI_DELIVERY_NETWORK_READ     Display delivery network details                                                                               
    BAPI_INB_DELIVERY_CHANGE                                                                            
    BAPI_INB_DELIVERY_CONFIRM_DEC  BAPI for Inbound Delivery Verification from a Decentralized System   
    BAPI_INB_DELIVERY_SAVEREPLICA  BAPI Function Module for Replication of Inbound Deliveries           
    BAPI_OUTB_DELIVERY_CHANGE                                                                           
    BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System  
    BAPI_OUTB_DELIVERY_CREATENOREF Generates Delivery Without Reference                                 
    BAPI_OUTB_DELIVERY_CREATE_SLS  Generates Delivery for Customer Order                                
    BAPI_OUTB_DELIVERY_CREATE_STO  Generates Delivery for Stock Transport Order                         
    BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries          
    BAPI_OUTB_DELIVERY_SPLIT_DEC   BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
    and for "Shipment
    BAPI_SHIPMENT_CHANGE           Change Shipment                                                      
    BAPI_SHIPMENT_COST_ESTIMATE    Calculate Shipment Costs of Different Forwarding Agents for Shipment 
    BAPI_SHIPMENT_CREATE           Create Shipment

  • XML file getting stucked in queue in ECC preventing material status in MDM.

    XML file getting stuck in queue in ECC preventing material status in MDM to be changed.
    Hi SAP Experts,
    We have an issue regarding XML messages getting stuck in queue in ECC preventing the material status in SAP MDM to be changed from "Approved" to "Updated/Posted".
    Checking in transaction SXI_MONITOR the status of the XML Messages are Scheduled or Green Flagged, looking at the time started it has been an hour and it is not yet processed successfully; and also checking the queues XBTR* (XBTR0001, XBTR0002 and ETC.) via transaction SMQ2 have stopped.
    We need to manual process the XML messages for it to be processed successfully.
    I'm unable to understand why these files are getting stuck in Queue's.
    Many thanks in advance and have an awesome day ahead.
    Regards,
    Aeron Merc

    Hi Aeron,
    Check whether the Queue XBTR* (XBTR0001, XBTR0002 and ETC.) is Unregistered in SMQR.
    If it is so you can see as U in the Queue type.
    Try to register by selecting the queue and click on Registration button and activate.
    Then check your message in MONI,  hope this should solve your problem.
    Thanks
    Sai.

  • CMDTUX_CAT:1380: ERROR: Message queue blocking prevented delivery

    Today, I changed a Tuxedo application (server) to the product systems(One master and two slaves). Only a small changes in code. But after a period of running, there are many errors in ULOG:
    CMDTUX_CAT:1380: ERROR: Message queue blocking prevented delivery, Qaddr = 583902
    And then, the server is died. After restart the server, this will happen again later.
    I don't know why this happens? Thx.

    Hi Bill,
    This is happening because the BRIDGE process received a message from the network and was unable to place the message on the intended IPC queue. This could be because the server handling that message is backed up, or the system IPC resource settings are too low. Please check the recommended actions in:
    http://download.oracle.com/docs/cd/E18050_01/tuxedo/docs11gr1/messages/cdtux/cdtux013.html
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Delivery status for third-party-sales

    Hello,
    because of a customizing error our US colleagues created several sales orders with a open delivery status even no delivery is requested for third-party sales orders.
    Does someone know a solution how to complete these documents without creating the delivery note? We now changed the schedule line category to solve the problem for the future but we have to find also a solution for the existing documents. Our colleagues want to change the table for VA05 to deselect the item category third-party. But in my opinion we have to complete the documents it selves.
    Thanks for your help.
    Regards,
    Kirsten

    put a Reason for rejection in sales order and save the document. you no longer can use these documents.
    hope this help.
    reward if helpful.
    regards,
    seshu.

Maybe you are looking for