ODI: Order records before processing

Hi All,
We have a requirement where the records has to ordered and processed through various scenarios based on the value
Ex) I have a data like this.
EMPNo DEPT
0001 A
0002 B
0003 A
0004 A
0005 A
0006 B
I have to order this table data based on department and process the emp data under department A through Scenario A, and under department B through Scenario B.
Please advise me whats the best way to implement it.
Note: The solution should fit to CDC scenario as well.

in the interface select the UD flag for dept mapping and in the KM just put the order by clause.
ORDER BY
<%=snpRef.getColList("","[EXPRESSION]","","","UD1")%>
You can refer this also
http://odiexperts.com/order-by/
Bhabani
http://dwteam.in

Similar Messages

  • WMS :  How to Process Sales Order Released before Turning on WMS

    Hello Gurus,
    How to process sales orders released before WMS enable flag is turned on in the  new WMS enviournment in Oracle 11.5.10 ?

    Helios,
    Thanks for the document.
    I m looking for how to perform Pick confirm transactions for already printed Pick slips before WMS enabled flag is turn on for the org.
    One option is to close all the deliveries  but if there is no on hand at that point the they will remain option.
    Other option is to Back order those deliveries and re release them post wms enable flag is turned on... The only issue i see here is that if there are more new orders for one of the items  and the orders are released then which orders will get allocated/reserved if there is limited on hand quantity to statisfy the SO need.
    Let me know if you can think off some alternative solution.
    Apprecite help !!
    Thanks,
    Sam

  • Content repository configuration to store process orders record in COPA

    Dear Experts ,
    i have status ORRQ for my process orders. to save the order records i execute T-code COPA but message comes
    " zero  process order stored ".
    after investigation it was found that we have to maintain content repository  id in OAC3 for process order object type BUS0001.
    OAC0 , OACT  are the t-codes to maintain it in SPRO.
    but the problem i dont know how to do it , neither know which module consultant will be able to do that.DMS or netweaver or
    someone else.
    please guide
    regards
    satish

    not answered

  • Using Batch Record/Order Record for electronic Device History Record in PP

    We are evaluating the use of PP or PP-PI for production planning at a medical device company and one of the primary considerations is the ability to create an electronic Device History Record.  It looks like the Electronic Batch Record (COEBR) or Order Record (COPA) provides some of the capabilities required, but they do not appear to work with discrete PP.  While I realize that the differences in functionality between PP and PP-PI are small (and getting smaller), I am surprised that SAP would require medical device companies to use PP-PI to handle this business requirement?
    How have other companies dealt with the eDHR business requirement?
    Regards,
    N Powell

    Dear,
    This error occurred 
    If the 'Approved batch record required' indicator is set in the material master,
    Batch release with inspection lot from goods receipt for a process order (origin 04) is possible, providing that the batch record exists and it has already been approved.
          See error message:
          Create and approve batch record first (EBR015) or
          approve batch record first (EBR016)
    Please refer the OSS 152549 for details.
    Regards,
    R.Brahmankar

  • Order printout before realse and after relase

    hi
    all
    order printout before realse and after relase
    is this possibile
    it gives message teco not done
    my client wants in preparation and after relerase
    though iknow no logic is there but they stick to this
    thanks
    manoj

    hi
    i think you can print the order after the releasing of order or at the time of put in process.
    kindly refer the following [link|http://help.sap.com/saphelp_erp60_sp/helpdata/en/5b/ae36044b8611d182ba0000e829fbfe/content.htm]
    regards
    thyagarajan

  • Difference between incomplete order and backorder processing

    What is the difference between incomplete order and backorder processing.

    Hi,
       Incomplete order is an order in which all the fileds(To which the Incompletion procedure is assigned) are not filled before saving the sales order.Using backorder processing, you can list sales documents relevant for requirements for particular materials and confirm them manually. You can assign available-to-promise (ATP) stock to outstanding order quantities. In addition, you can withdraw already confirmed quantities and reassign them to different items. This means If the stock of a material has been confirmed to a particular order or delivery, and after that you have recieved an order which ahs to be delivered immediately , then you can change the stock allottment of the previous order to this new order using back order processing. The transaction code for this is "V_RA". Transaction code to see which incompletion procedure is assigned to your sales order type is "VUA2" And to see the Incompletion procedure itself is "OVA2". Kindly please let me know If you need any more information on this.
    Regards,
    Ram Pedarla

  • SwingWorker done() is called BEFORE process() when publish() used

    I'm using SwingWorker to build a list of files by recursively searching a directory. As a file is found I call publish(file). In my process() method I add the file(s) to a list model, which updates a JList. I also have a PropertyChangeListener attached to the SwingWorker so I know when its done. The listener calls listModel.getSize() when done, so I can determine wheter to enable a 'Clear List' button. When only a few files are found, SwingWorker is done() before process() has added the files to the model, so the size is 0 and the button is not enabled.
    Mu question is how can I get SwingWorker to call process() before calling done()?
    Thanks

    Mu question is how can I get SwingWorker to call
    process() before calling done()?I have run into the same problem. It's ugly. The least Java could do is offer a flush() method. At best, they'd fix this problem and flush any publish()ed objects before calling done(). I've worked around it for now with a hack. I simply publish a null to signal completion in doInBackground(). I don't even override done() any more. Of course, I'm assuming publish() order is maintained (evidence so far supports this assumption).
    The only other option I'm aware of is invokeLater().
    Andrew

  • How to block order confirmation, before issue of raw materials?

    Dear Frndz,
    My client would like to block order confirmation, before issue of raw materials.Also, they do not want to use backflush concept.Pls help me out with the step by step process.
    Regards,
    Srini

    Srinivasan,
    You can think of using available user exits which are listed below,
    CONFPP01            PP order conf.: Determine customer specific default values
    CONFPP02            PP order conf.: Customer specific input checks 1
    CONFPP03            PP order conf.: Cust. specific check after op. selection
    CONFPP04            PP order conf.: Customer specific input checks 2
    CONFPP05            PP order conf.: Customer specific enhancements when saving
    CONFPP06            PP Order Confirmations: Actual Data Transfer
    CONFPP07            Single Screen Entry: Inclusion of User-Defined Subscreens
    Please take help from your ABAP consultant.
    Hope this helps you.
    SmanS

  • I ordered my iphone 6  8 days ago and I have noticed that there is no status change with it, the order is still "processing". I'm very frustrated and would like to know how much longer it will be "processing".

    I have heard of people ordering their iphone 6's and having them shipped out in the next day. I understand demand is extremely high but I don't understand why it has to take this long for my order to be fulfilled.

        mattminsch, I know that you're excited to get your new device and we are too. The demand for these devices would most certainly be high and depending on the model that was purchased. Currently for the time frame that was mentioned the ship date would be 10/31 for most models. Once the device has been set to ship only then would you see the order change from processing to shipped. Do you remember what model you purchased?
    AdamG_VZW
    Follow us on Twitter @VZWSupport.

  • Error in VA01 - "Sales order cannot be processed. Check customer type."

    Hi,
    While creating a Sales Order in VA01, I receive this error message - "Sales order cannot be processed. Check customer type."
    Could you please tell me what could be the reason for this.
    Thank you,

    Hi,
    U Can Find the Customer Type in Extras> Account Group Information> Customer Types.
    There U can Make the Customer Type.
    Regards..
    Praveen Kumar.D

  • Error"This order cannot be processed"is appearing  while saving in QA32

    Hi Experts,
    When I am going for Qa32 transaction after UD code selection I did stock posting, while saving QA32 transaction one error is occuring "Order cannnot be processed".
    For material inspn type 13 is active.
    in the last financial year that is till mar-2008 it is been posted and saved successfully.
    I doubt is there any year dependent parameter has to be set.
    Thanks in advance
    Rewards points to be given for suitable solution
    Regards
    Honyal

    hi
    i think once the system try to post the material it will also generate accounting documents which is year dependent,kindly check it
    regards
    thyagarajan

  • List of issues and fixes for procure to pay process and order to cash process for a trading company

    Dear All Gurus
    Kindly tell me where I can find the list of all issues arising in procure to pay process
    and order to cash process and there fixes for a trading company in support project
    Thanking You
    Abdul Baseer

    Hi Abdul,
    There are no standard list to provide, you should identify the issue through regression testing and raise an SR or create a thread accordingly we can help you.
    Note:- Issues are vary to instance to instance, version to version, installation to upgrade etc..

  • Query on open planned orders details with process order GR details

    Dear Experts,
    I need to create a query in SQ01 where the requirement is as given below,
    Query output should display the open planned orders  (Planned orders which is not converted to process order details) details for a material like Planned order number, Planned order quantity, Start date, Finish date and also  the details of the list of process orders created for the same material with its details like PO qty, GR qty, Basic start date, Finish date, Actual finish date, BOM Component material codes, component quantity.
    But i tried creating this query by joing the tables PLAF+ AFPO+AUFK+ AFKO+RESB . My input parameter will be the Material Number for which Planned order and Process orders are being created.
    But i am unable to generate the output when i create a query by joining these tables
    Is it possible to obtain the output for open planned order details and process order details in a single query ?
    I am failing in my repeated attempts
    Please provide your suggestions for developing this query
    Regards,
    J.Balakrishnan

    Dear Bala,
    as alternative , for use a query report and not a custom abap report, you can try to read data from MRP tables MDKP and MDTB . In these one tables you can find both elements (planned order and production orders) for to start to research all details that you need.
    You can also use MDTB-DELKZ to filter only planned order (PA) and Production order (FE).
    With the number order you can read the RESB table in order to define components details.
    With this table would you the advantage to have always the opened orders.
    If the following table are empty you should make a little customizing modification so that once MRP run will write them.
    Give me feedback if i have been useful for you.
    Daniele

  • Sender jms adapter-archiving before processing the message

    Hi,
    Do we have any option in Sender JMS adapter to archive the message before processing the message?
    I have searched in sender JMS adapter (XI7.0) settings, but couldn't find any option.
    My assumption is whether any option provided in configuration setting of adapter engine or any other alternatives.
    Thanks,
    Srini.

    Hi Srini.
    Here is the code. But you may prefer the EAR module, just for deploy. I need your email to send it to you.
    If you want to create it yourself follow the steps in this guide and paste the code:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
    When you configure the module in the JMS sender communication channel you have to spedify 2 parameter for the log file location:
    "file.path" (XI server file system path) and "file.name"
    CODE:
    package com.bfa.af.modules;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Date;
    import javax.ejb.CreateException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import com.sap.aii.af.mp.module.Module;
    import com.sap.aii.af.mp.module.ModuleContext;
    import com.sap.aii.af.mp.module.ModuleData;
    import com.sap.aii.af.mp.module.ModuleException;
    import com.sap.aii.af.ra.ms.api.Message;
    @author ibermatica
    public class BFATraceModule implements SessionBean, Module {
         private SessionContext myContext;
         public void ejbRemove() {
         public void ejbActivate() {
         public void ejbPassivate() {
         public void setSessionContext(SessionContext context) {
              myContext = context;
         public void ejbCreate() throws CreateException {
         public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException
              FileWriter outFile;
              try
                   Date date = new Date();
                   String filePath = moduleContext.getContextData("file.path");
                   String fileName = moduleContext.getContextData("file.name");
                   outFile = new FileWriter(filePath + System.getProperty("file.separator") + fileName, true);
              catch (IOException e)
                   e.printStackTrace();
                   throw new ModuleException(e);
              PrintWriter out = new PrintWriter(outFile, true);
              try
                   out.println("--- Start of message ---");
                   //Get message content.
                   Message data = (Message)inputModuleData.getPrincipalData();
                   if(data.getDocument() != null)
                        out.println(data.getDocument().getText());
                   else
                        out.println("Empty message.");
                   out.println("--- End of message ---");
                   out.println("Total characters: " + data.getDocument().getText().length());
              catch(Exception exc)
                   out.println(exc.toString());
              finally
                   if(out != null)
                        out.close();     
                   if(outFile != null)
                        try {
                             outFile.close();
                        } catch (IOException e1) {
                             throw new ModuleException(e1);
              return inputModuleData;

  • FTP sender adapter wait sometime before processing a message

    Hi,
    I want my FTP sender adapter to wait sometime before processing a message. This is needed in my case since the receiver of the message cannot consume message in, say two seconds, so I would like to configure a "time to wait before processing message" in PI since PI processes all of the files in folder without waiting another poll interval time if more than one exist.
    Is this possible in PI 7.0 sp16? 
    Regards,

    HI Tarik
    BPM is the solution for this problem. If you are not willing to use BPM other solutions are  Adapter module and Scripts
    You can write adapter module and use the threads mechanism. Thread.sleep can help you achieve this but you need to set this properly.
    Another method is Unix script. Let your actual directory be Dir1 and poll PI to Dir2. Use the script to write files from Dir1 to Dir2 one by one and with time gap. This will work for you.
    If you have PI system on Windows i prefer to go with Adapter module.
    Thanks
    Gaurav

Maybe you are looking for