How to handle rejected Orders in BTS

Hi - I have a requirement where for instance there are 1000 Orders received, and out of them say 900 are good and 100 are wrong, I need to Process those 900 Orders  and remaining 100 wrong Orders needs to be sent back the the client.
How can this be achieved through BizTalk, can anyone throw some ideas please ?
MBH

There will be lots of permutations to this based on specific technical aspects and varying business requirements but here's some general guidence:
Process the inbound orders.  Apply Schema Validation, BRE Policies, an internal LOB to validate the Order.
'Wrong' Orders can be flagged with a custom Context Property that is Promoted.
Have an Aggregator Orchestration that subscribes to and Correlates on the flag property.  It would be a Sequential Convoy.  It will collect the Orders flagged as wrong.
After some amount of time or number of rejected Orders, the Aggregator will flush the collected Messages.  Then you can transform to .csv or any other format and return to the client.

Similar Messages

  • BPEL Workflow Tasks - Assignees and how BPEL handles rejection of tasks.

    (JDeveloper 10.1.3.1.0)
    So I am curious about the following:
    1) When rejecting a task, can it go to the person that initiated the task? Or do we need to handle this through new tasks? Like in a while loop?
    2) Can we specify users and groups when selecting a management chain?
    3) How do we handle multilevel approvals? Seperate Tasks?
    The management chain functionality seems interesting. I would like to be able to create a management chain task so that we specify the user (initiator), reviewGroup, approvalGroup. If the Reviewer Rejects, then it would go back to the user. If the Approver in the approvalGroup rejects it, it would go back to the reviewGroup.
    This seems like standard type of functionality, but I don't think it is in this version of BPEL, or at least the JDev wizard interface.
    Any thoughts, suggestions, insights?
    Thanks,
    BradW

    While loop was the only way I could make this work... :) BPEL is pretty linear, not like a typical activity diagram...

  • How to handle "bulk orders" in SAP AFS ?

    Hi experts,
    do some of you know how to manage in SAP AFS the so-called bulk orders also known as "promises to buy" ?
    I heard about the chance to use a SD contract: if this is the case which type of contract I am supposed to use ? How this contract is treated by the ARUN ? Is it MRP relevant ?
    Thanks in advance.
    Karlinga.

    Don't believe this is possible without a manual process linked to it.
    The only solution I see for now is that you first only release the TR that need to go to your follow-up system, import them, then perform the manual actions and then release the subsequent TRs, etc...
    Same issue is popping-up when using XI Transports, as each TR has a Change List that needs to be activated. If two TRs within the same maintenance cycle contain the same object, the second TR will fail because the change list for that object is not yet activated. A manual process can solve the issue. At our project, we introduced a new user status for this.
    Best regards,
    Roel

  • How to handle rejected messages in file adapter

    Hi....! every one.........
    in file adapter read operation it will pick the files even the file contains unstructure message but that file wont be processed.
    where the rejected message goes.
    i have requirement like that rejected message i have to store in another file
    please provide me answer..........

    Hi,
    You can add the parameter 'PhysicalErrorArchiveDirectory' in the JCA file (of the File Adapter).
    Put there the required directory where you want the rejected file to be sent.
    You can add this property in 2 ways:
    1. In your JDeveloper open the JCA file and add: <property name="PhysicalErrorArchiveDirectory" value="/../.."/>
    2. In EM, right click the composite->Service/Reference Properties->Choose your file->On the Properties tab press Add-> Choose 'PhysicalErrorArchiveDirectory' and put the directory-> press Apply.
    Arik

  • Error when handling rejections

    Hi experts,
    This is relative to Mobile Infrastructure 7.1 SP8.
    I have a scenario where the client wants to upload to the backend only orders that are finalized. In our Data Object Node we created an BOOL attribute 'finalized', in the client this status is setted when needed. If the order is not finalized, the changes made on client (such as 'description' and 'hours spent') can´t be lost on close the mobile client and can´t either go to backend until this order is finalized.
    In this [Thread|; I asked for possible solutions for this issue and got a solution. In this solution I changed my BAPI Wrapper modify to handle a rejection when the order is not finalized:
    IF ( ORDERHEADER-FINALIZED = 1 ).
      UPDATE ZORDERS
      SET HOURS_SPENT = ORDERHEADER-HOURS_SPENT
        FINALIZED = ORDERHEADER-FINALIZED
        DESCRIPTION = ORDERHEADER-DESCRIPTION
      WHERE ID = ORDERHEADER-ID.
    ELSE.
      LTYPE = 'E'.
      LCL = 'not_finalized'.
    ENDIF.

    In the mobile client I followed this Document which describes how to handle rejections on mobile client.  My rejection implementation is that:
    public void getOrdersRejections() {
    //@@begin getOrdersRejections()
      RejectionRepository rr = OcaRoot.getInstance().getSyncManager().getRejectionRepository();
      Ordem_srvModel model = ((Ordem_srvModel) OcaRoot.getInstance().getModel(Ordem_srvModel.class));
      Collection rejections = rr.getRejections((OcaModel) model);
      forRejections : for (Iterator iterRejections = rejections.iterator(); iterRejections.hasNext();) {
        Rejection rejection = (Rejection) iterRejections.next();
        if (rejection.getRejectionState() != RejectionState.INITIAL) {
          continue forRejections;
        // If there is at least one normal rejection, accept server version.
        for (Iterator iterInfo = rejection.getRejectionInfos(); iterInfo.hasNext();) {
          RejectionInfo info = (RejectionInfo) iterInfo.next();
          if (!"not_finalized".equals(info.getMessageClass())) {
            rejection.acceptServerVersion();
            wdContext.nodeordem_srv().nodegetOrders().reload();
            rejection.delete();
            continue forRejections;
        // There was no normal rejection, only mine, accept client version.
        rejection.acceptClientVersion();
        wdContext.nodeordem_srv().nodegetOrders().reload();
        rejection.delete();
    //@@end
    I tested changing only the order description on client and sync, this scenario was sucessfull, the description wasn´t updated on backend. I tested changing the order description and I finalized the order and sync, this scenario was sucessfull also, the description and the 'finalized' attribute went updated on backend.
    In the third scenario, when I updated description on client and on server, after sync the object on client went in an invalid state, I could not update anymore, receiving this message on NWDS console:
    java.lang.IllegalStateException: Cannot update row in status - 4
      at com.sap.tc.mobile.cfs.sync.InternalSyncState.update(InternalSyncState.java:27)
    Any ideia?

  • How can we reject a Sales order after first Down payment invoice for Italy?

    Hello,
    As a legal requirement in Italy the Down paymenty have to be transformed into real invoices, another legal requirement is that an invoice cannot be cancelled it has to reversed by a credit memo.
    I would like to know in this context how we can reject a sales order line once a Down payment invoice has been emitted.
    When I do enter a reason for rejection in the sales order line I receive the message : V1036: Subsequent documenst exist for item XXX and then V2432 Cancellation not possible. Down payment request already created.
    I can create a down payment credit memo in order to cancel the down payment invoice but how can I get rid of my SD requirement in MD04 if I cannot reject the sales order line?

    Hello,
    have you tried using a recjection code which is not relevant for billing?
    Regards,
    Uli

  • How SAP handles AFS Third Party Orders in ECC system?

    Hi All,
    There is a user exit EXIT_SAPLJ3AM_003 which exist in 4.6C version of SAP for AFS.
    This user exit is for Third Party order processes. This is called within the include LJ3AMFD1 of the main program SAPLJ3AM.
    But this User exit is missing in ECC version of SAP for AFS.
    Basically when the Dierct ship Sales Order is created, corresponding PR is created for it and using this User exit certain fields in this corresponding Purchase Requisition is filled from Sales Order but this user exit is missing in ECC system.
    Could anyone please let me know how SAP handles the Third party Orders in ECC AFS system?
    Thanks,
    Ameesha

    Hi Ameesha,
    Did u find out any solution for it? bcoz, am also hving the same issue!!
    thanq

  • How can we reject an already approved sales quotation and sales order

    Hi,
    Could anyone please tell me how can we reject an already approved sales quotation and sales order.
    Thanks and Regards
    Mahavir

    Hi,
    in the document flow : i am finding documents which are given below :
    Serv. notif.      00015773                                                     
    Qt For NewConnection 20022016  23.04.08 Completed  
    Order New Connection  22460       23.04.08 Open                 
    Z New Connection  90022430   23.04.08 FI doc. not Required 
    Cancel. Invoice (S1) 90023731  19.07.08 FI doc. not required 
    I have run VF11 for document no. 90023731 .
    But when i was running VL09 i just gave the shipping point and execute the transaction.
    Then i did not find any document for that selection.
    Please guide .
    Thanks and Regards

  • How to handle returned products originally issued out using Transport Order

    Dear Experts
    I transfer a batch containing 10 cartons from production plant NDE1 to sales plant NDE2 within same company code using a stock transport order.
    Each carton is valued at 1dollar each, that is total value of transfered stock is $10
    After two weeks, 3 cartons went bad and needs to be returned to production plant NDE1.
    How do I capture this return process in SAP?
    If it were an outright sales to a customer, a Return Order with reference to the invoive will be created, return delivery done,PGI done which brings the returned stock into inventory, and a credit memo posted against the original billing.
    How do I handle my 3 cartons of returned stock since it was given out using a transport order?
    What will the accounting entries be in the system? i mean which accounts will be credited and debited by the $3 value of th ereturned three cartons?

    It depends how you handle the stock .Your accounting document generated in NDE2  in plant only.
    The first step you transfered the material through sto from NDE1 to NDE2 ,here there is no impact on accounting entries as you are transffering the stock with in company code.
    After you get return stock from customer NDE2 you can directly scrap or after inspecction of the stock if the stock is good then you can keep in Unresticted use for further sales.
    I dont think so you need again one more sto to get return stock from NDE2 to NDE1 as it is damaged stock and un necessary paying transport costs.
    If you scrap the material then the 3 qty of stock 3 doller price hit to scrap account.

  • How to Handle Cancelation of PO, Partial Order Acceptance

    Dear Experts,
    Please give me the answers -
    1] How to cancel purchase order on eleventh hour.
        I mean user have created purchase order, released the PO. For any reason the purchase order to be canceled.
    2] Partial Order acceptance -
        Actual PO Quantity - 500. GR is to be posted for quantity - 250. How to cancel the rest 250 Qty.
        cancellation means no further GR is to be posted for the same.
    3] How to handle complaints and material return to vendor in SAP?
    4] How to handle Returnable packaging.
        That mean my company provides a container to Vendor to pack the material and deliver it to me.
    Thanks in Advance !

    hi,
    1. You can delete the line item and then save the PO...
    2. Use "delivery completed indicator" at GR for showing the indication that your requirement is fulfilled while the rest qty is not further req. but possible...
    3. Complaints is not necessary but you provide direct indication may be via scrapping etc..and vendor return is handled via using the proper mvt type like 122 etc...for returning the mateiral to vendor as per the business scenerio...
    4. check with the SD or few forums on same ....
    Regards
    Priyanka.P

  • Rejected Orders in Standard Business Content 2LIS_13_VAITM to 0SD_C03

    Hello Folks,
    My (new) employer has implemented standard business content for SD (VAHDR, ITM, etc.), and we are trying to reconciile data to ECC.
    We are running Netweaver 2004s (BI 7.0) with very recent ECC.
    It seems that 'rejected orders' still reflect the original 'incoming orders value' in ZSD_C03_Q009 Query.
    I can see the rejected reason in PSA, InfoSource, and transfer structure, but not shown in Update Rules from InfoSource to 0SD_C03.
    I would have thought that this is standard functionality in SAP, and doesn't require any 'enhancements' to deal with it.  Howeveer, if enhancements are required, has anyone done this, and how do you deal with rejects that happen in a different period from the order creation?
    Am I just missing something in standard business content?
    Many Thanks for any assistance you can provide.
    Regards,
    Martin.

    Hi,
    Please check the record mode in the DSO for those records.
    Please check the OSS :
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bct/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373131373530%7d
    -Vikram

  • Suggestions on how to handle "Hacked Skype Account...

    I. User Can Still Access Account
    Run a full anti-virus scan (and other security scans available in your computer).  This may help to detect and remove any elements that the hacker may have used in gaining access to your account.
    2.  Immediately Change Your Password, preferably with something that is difficult to guess, and not related or totally different from the passwords you previously used. 
    3.  If the hacker also changed your registered email address, changed it back to your own email address.  Here is the link on how to change your registered email address;
    https://support.skype.com/en/faq/FA96/How-do-I-change-my-email-address-or-add-another-email-address-...
    4.  Contact Skype to report the incident.  They may be able to provide you with further explanation, clarification and helpful advice.  Use the Subject Security & Privacy >> Identity theft / Account takeover.
    https://support.skype.com/support_selection
    5.  You can also contact your bank to inform or alert them of the incident if there is a payment method registered in your Skype account.   They may also be able to provide you with additional suggestions, advice, or options.
    II. User Can Not Access Account (Password Has Been Changed) – Registered Email Address Not Changed.
    Run a full anti-virus scan (and other security scans available in your computer).  This may help to detect and remove any elements that the hacker may have used in gaining access to your account.
    2. Open the “Forgotten Your Password” page, then request for a new password to be sent to your registered email address;
    https://login.skype.com/account/password-reset-request
    3. Contact Skype to report the incident.  They may be able to provide you with further explanation, clarification and helpful advice.   Select the subject  Security & Privacy >> Identity theft / Account takeover.
    https://support.skype.com/support_request
    4. You can also contact your bank to inform or alert them of the incident if there is a payment method registered in your Skype account.   They may also be able to provide you with additional suggestions, advice, or options.
    III.  User Can Not Access Account (Password Has Been Changed) – Registered Email Address Has Also Been Changed.
    Run a full anti-virus scan (and other security scans available in your computer).  This may help to detect and remove any elements that the hacker may have used in gaining access to your account.
    2.  If your account has a billing or purchase history in the last 6 months, you can request for a new password without the need of your registered email address.  just click the link below;
         https://login.skype.com/account/password-automation
        After acquiring a new password, you can proceed in changing the registered email address to your own           email address;
        https://support.skype.com/en/faq/FA96/How-do-I-change-my-email-address-or-add-another-email-address-...
    3.  Contact Skype to report the incident.  They may be able to provide you with further explanation, clarification and helpful advice.  They will most likely ask you to provide some details in order for them to verify that you are the real account owner.  Select subject/topic Security & Privacy >> Identity theft / Account takeover.
         https://support.skype.com/support_request
    4.  You can also contact your bank to inform or alert them of the incident if there is a payment method registered in your Skype account.   They may also be able to provide you with additional suggestions, advice, or options.
    5.  If your account has no recent purchase, it may no longer be possible to retrieve your account.   Still you can try to contact Skype to know if you have other possible options.
    Note:  If for some reason the links to contact customer support don't work, you can also send an email to [email protected]
    Useful Links
    A. Protecting your Computer
    http://www.skype.com/intl/en-gb/security/online-safety/#protecting
    B. Skype Security - Protecting your online safety, security and privacy.
    http://www.skype.com/intl/en/security/
    C.  What can I do if someone has taken over my account? (from support.skype.com)
    https://support.skype.com/en-us/faq/FA10920/What-can-I-do-if-someone-has-taken-over-my-account;jsess...
    D.  How can I contact Skype Customer Service?
    https://support.skype.com/en/faq/FA1170/How-can-I-contact-Skype-Customer-Service
    CONTACT SKYPE CUSTOMER SERVICE   |  HOW TO RECORD SKYPE VIDEO CALLS  | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES   |  WINDOWS PROBLEMS TROUBLESHOOTING   |  SKYPE DOWNLOAD LINKS  
    MORE TIPS, TRICKS AND UPDATES AT
    skypefordummies.blogspot.com

    Skype is useless for this.
    They will claim that you the user are responsible, and that they don't need to do anyhing.
    So....
    Do not allow Skype to autorefill your account when it runs low on balance, and do not store a creditcard, or other payment info with them.
    Each user is liable for whatever the hackers can steal.
    As this is from recent personal experience, I recommend you to never keep payment information on file with Skype.

  • Email Notifications through workflow for all Approved and Rejected Orders

    hi,
    i have to send Email Notifications through workflow for all Approved and Rejected Orders to the user who have submitted the order for approval.how could it be done.please send ur solutions.
    regards
    yesukannan

    Hi,
    An option would be use Oracle Alert. Create an event based alert on the table where you have order approvals or rejections. This alert will be raised after inserting or updating this table. Create an action linked to this alert, and choose message as action type.
    This setup can be done under Alert Manager Responsibility.
    Regards,
    Ketter Ohnes

  • Drive Utility Help Viewer "does not know how to handle selected URL"

    I have Drive Utility 10.5.6, according to . I'm trying to reformat a FAT32 partition on an external drive to Mac OS X Ext. Journaled in preparation for using SuperDuper to back up my Mac HD boot partition. For a time, which seems to have passed, now that erasing the partition has been done. The Disk Utility Help wouldn't work. Instead of putting up topic information, I got a message saying "Help Viewer does not know how to handle selected URL", followed by an reference to an html file that allegedly existed inside a set of folders inside the app. Where, of course, Finder cannot see. Once the erasing was done, Help seems to have come back. I tried Apple Support, but could only get a reference to OS 9 Appleworks macros not working in OS X. No help at all. Is this a question? I don't know. Help is working now. But for a while it was very annoying. It must be one of those little windows glitches that no one ever bothered to fix.

    In order to change a FAT or NTFS formatted drive for use with OS X you will need to do the following:
    Extended Hard Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    If you have an Intel Mac and can partition the drive using GUID then you can have FAT32 and OS X partitions on the same drive.
    As for problems with the Help viewer see:
    In most cases doing the following will restore the Help Viewer:
    1. Trash the following three files, if extant:
    /Home/Library/Preferences/com.apple.help.plist
    /Home/Library/Preferences/com.apple.helpui.plist
    /Home/Library/Preferences/com.apple.helpviewer.plist
    2. Trash the /Home/Library/Caches/com.apple.helpui folder.
    3. Empty the Trash and Restart.
    Visit The XLab FAQs and read the FAQ on the Help Viewer for additional suggestions.

  • How to handle this kind of scenario in SBO

    Hello, I am new to SAP Business One. I would like to know how to handle Transporation Company scenario below in SBO.
    QUESTION 1: A transportation company has 30 truck. The company receives orders from the customer and use the trucks to deliver the goods from Point A to Point B everyday. The cost for delivery is $0.50 per-KG.
    The way I handle above:
    1. In ITEM MASTER DATA:
    Create a new item > Item Type: Labor > Description: Delivery from Point A to Point B > and determine the delivery price is $0.50.
    2. Use the item created in no 1 above when creating Sales order/Invoice.
    If the weight is 5000kg then simply put QTY 5000 in Sales Order with the price of $0.50/KG, which has been set in Item Master Data.
    Is the above method correct or there is better way to handle?
    QUESTION 2: TRACKING EACH TRUCK EXPENSES BY ITS LICENSE PLATE:
    Each truck has Spare Parts expense (e.g. bulbs, oil, battery, tires etc) that the company would like to track.
    The company purchased the spare parts from suppliers and keep it in the warehouse. When a truck needs to replace its spare parts, the company will issue the parts and record it under that truck's license number as that truck's expense.
    The goal is SBO must be able to provide detail monthly expense report for each truck when inquired by its license plate. I prefer NOT to manually input "directly" in Journal Entry to prevent error.
    Thanks.

    Hi,
    welcome to sbo forum!
    For your question 1, it will depend if you will only have 1 route for all of your deliveries.If your point of origin is always point a then destination is point B w/ price of $0.50,then you are right with your process... but if you will have to expand and move into different places, i think it will best for you to create a UDT for your pricing.
    in summary:
    1.create UDT pricing(with origin,destination and price)
    2.Create UDF in row level of Sales order(U_origin,_U_destination)
    3.) create FMs for your Sales order Origin and destination based on UDT Pricing table.
    4.) create automatic fms for your price( based on origin and destination selection).
    for question 2, all your repairs and maintenance will pass through AP invoice( either by item or service). in our country we normally use Ap service,since a truck has normally several types of spare parts. This figures will will surely add up to the number of item master data record in your system ,since you will need create a unique item for each and every item available.
    -To monitor all your expenses, you will need to create a UDF in the header of PO, GRPO or AP invoice, place your plate number here. so that when you extract your reports, you will easily identify your expenses per truck.
    in summary:
    1.create UDF for header of PO,GRPO or AP( Udf_Plate number) you can set valid values for you udf or by FMS with default values.
    2.Create Udf for lines of PO,GRPO or ap(UDF_spare part type) --note: if you will use the Item type document for repairs and  maintenance then i guess you dont need to add UDF_spare parts.
    Hope i was able to help you.
    Regards,
    Darius Gragasin

Maybe you are looking for

  • Restore, Refresh, reload Win 8.1 after hardrive in multiple similar Thinkpads

    All - This is the deal... Had a Thinkpad T-61 with partitioned Disk 0 into logical disks C: (System other stuff - no hidden partition), D: (disk images, data back up), E: reload programs and drivers. (WD SATA 320GB, 8 GB new RAM) System was drowned i

  • Page Properties- Background Color Change

    Can anyone help me here? I know how basic the subject sounds but for some reason it does cause me trouble here today. We recently had a company design our site and now we are using contribute to edit pages etc. Now, we have admin access so that isnt

  • YahooABSPlugin customization for Convergence

    Hi, I enabled and tested the YahooABSPlugin customization for Convergence. It works. I would like to know more about this URL, like how safe is it, who controls it and the relationship to Sun since Sun has included and published it in this working ex

  • Iphone 5 Phone favorites no longer Home button double-click?

    Double-clicking the Home button on the iphone 5 no longer brings up the Phone Favorites.  Is there another shortcut way to do it or is the shortcut gone?

  • Cannot print from E65 to bluetooth Epson RX620

    Hi, I have paired my printer and authorised it with my E65. When I attempt to print a gallery image, first it asks me for the passkey (remember its authorised), then it says unable to print. Please advise on how to get the two talking via bluetooth.