Document Orders.

Hi All :
I have one querry regarding the orders of message sent to XI.
Scenario:  File to JDBC
I deactivated the JDBC adapter and sending 3 records to SAP XI lets say
r1
r2
r3
Now JDBC adapter is inactive so no records will be sent to database, but the moments I activate the adapter its send all the records in the reverse order
r3
r2
r1
Its means SAP XI is using (STACK) thats hold the message and sent to target when adapter is active.
Can any one let me know how can I send it in the same order to database.
Thanks
Farooq.

>>Are you sure we can use QoS = EOIO in the JDBC receiver adapter???
You have to do this in sender File adapter. You cant select the QoS for receiver adapters.
Once you have done this, the same QoS will be maintained for the entire msg.
You dont need to do it explicitly in receiver adapter.
Regards,
Jai Shankar

Similar Messages

  • Xpath result nodes not returned in document order

    An XPath expression over a mixed text element does not return the result nodes in document order (see example below). I am using dbxml 2.3.0.
    let $x := <a>this <i>is</i> <b>mixed</b> text</a>
    return $x/node()}
    dbxml> query {let $x := <a>this <i>is</i> <b>mixed</b> text</a> return $x/node()}
    4 objects returned for eager expression 'let $x := <a>this <i>is</i> <b>mixed</b> text</a>
    return $x/node()'
    dbxml> print
    <i>is</i>
    <b>mixed</b>
    this
    text

    To improve formatting :
    An XPath expression over a mixed text element does not return the result nodes in document order (see example below). I am using dbxml 2.3.0.
    let $x := <a1>this <a2>is</a2> <a3>mixed</a3> text</a1>
    return $x/node()
    dbxml> print
    <a2>is</a2>
    <a3>mixed</a3>
    this
    text

  • Question on folder and document order

    you used to be able to have a folder's contents changeable (in a list view). there used to be an option to arrange the folders first and then order the documents lower in the list rather than have all mixed up.
    is this feature gone?

    That's never been available officially in the Finder. There was a hack that did it in earlier versions, but that doesn't work in 10.5. If you really want this some of the various Finder alternatives such as Pathfinder can do this.
    Regards
    TD

  • Document ordering in attachment tab

    Hi all,
    I am a bit confused about the ordering of document in attachment tab of livecycle.
    My customers ask for a chronological order of document when they add attachment from the workflow. I think the easiest way to do is use a list of document, and add new document at the end of the list whenever it is added, but LiveCycle seems to display them in very strange order.
    My scenario is:
    LCES process adds 5 documents in the attachment list. (it adds 1 document at first task, 2 at second task and the last 2 documents at the third task)
    I create following variable:
    - attachmentList: List of <document> (to store and display in attachment tab)
    - tempDocument: document (to store generated pdf here and add it into attachmentList)
    - genCounter: int (to differentiate if user generate pdf many times)
    After generate the pdf, I call a execute script similar as follow:
    =====================================================
    import java.util.List;
    import java.lang.String;
    import com.adobe.idp.Document;
    import java.io.File;
    Document doc =  patExecContext.getProcessDataDocumentValue("/process_data/@tempDocument");
    int genCounter = patExecContext.getProcessDataIntValue("/process_data/@genCounter");
    File file = new File("finalDisbursementLetter"+genCounter+".pdf");
    doc.copyToFile(file);
    Document doc1  = new Document(file, true);
    List list =  patExecContext.getProcessDataListValue("/process_data/attachmentList");
    list.add(doc1);
    =====================================================
    The order of file being added is (top to bottom):
    [1]
    GrantApplicationForm.3214.pdf
    draftDisbursementLetter1.pdf
    draftPaymentVoucher1.pdf
    finalDisbursementLetter1.pdf
    finalPaymentVoucher1.pdf
    but when I see in the attachment tab, the order is:
    [2]
    GrantApplicationFormFTS000908000017.3214.pdf
    draftDisbursementLetter1.pdf
    finalPaymentVoucher1.pdf
    finalDisbursementLetter1.pdf
    draftPaymentVoucher1.pdf
    I have tried with a custom component to list the file name, it still display correct order, i.e. as [1].
    Do I miss out any thing or can you let me know what ordering of attachments that Livecycle is using?
    Thank you,
    Anh
    P.S.
    When it first add 3 document, i still see it displays correctly. i.e.
    [3]
    GrantApplicationForm.3214.pdf
    draftDisbursementLetter1.pdf
    draftPaymentVoucher1.pdf
    But when adding 2 more documents, the ordering is very strange as [2]

    I tried to download the 5 documents and try sorting with windows, i realized that if I download 1 by 1 by the order:
    GrantApplicationForm.3214.pdf
    draftDisbursementLetter1.pdf
    finalPaymentVoucher1.pdf   
    finalDisbursementLetter1.pdf
    draftPaymentVoucher1.pdf  
    and sort by accessed time, I will have the order as [2].
    i.e.
    GrantApplicationFormFTS000908000017.3214.pdf (6:58:18/6:58:18/6:58:46)
    draftDisbursementLetter1.pdf (6:58:18/6:58:25/6:58:25)
    finalPaymentVoucher1.pdf    (6:58:18/6:58:28/6:58:28)
    finalDisbursementLetter1.pdf (6:58:18/6:58:30/6:58:30)
    draftPaymentVoucher1.pdf    (6:58:18/6:58:32/6:58:32)
    The timing are created/modified/accessed in order.
    I don't know why it sort by accessed time or it is just a coincident ...
    Regards,
    Anh

  • SD: Incompleteness LOG in a document order

    Hi all,
    How I can define a Incompleteness procedure for a sale document where I want set up PO Data as mandatory data??
    thanks in advance

    Dear CMM,
    I understand your problem is your requirement is you want keep purchase order is mandatory when we doing sales order
    In this requirement go to T-code <b>VOV8</b>enter above t code and slect your document type and press details tab and come below of general control in that
    <b>check purchase order no put here A</b> and also check below enter po number
    save the data
    come and check out it will works
    hope this will helps you
    Prem.

  • Document order in Pages

    Is there a way to change the order of documents in order to group them by topic? I have quite a few and they are all in by date order. Is there a way to put them in folders?

    At this time the only available ordering is by date.

  • Lock Book documents order

    A simple lock which prevents reordering of book documents should be a no-brainer addition to InDesign to prevent accidental re-ordering of chapters (and subsequent renumbering / overset pages and all those other things which are a PITA when they happen at the wrong time!).

    Alex, I totally agree with you, as it is very easy to move the chapters. And by today is 03-June-2013, and that change was not implemented since you wrote this message.

  • Is it possible to sort the document order in Windows 7 taskbar preview?

    I am using Reader X and open many PDF docs at once.
    When I hover the mouse over the taskbar icon for Adobe Reader the list of all open documents appears, but they do not appear sorted by the document name.
    Is this possible to configure - either in Windows 7 or in Reader?

    Not possible to configure this in Adobe Reader.

  • Sales document (order) credit check

    Dear colleagues,
    we have an automatic credit check in sales orders . Days overdue - oldest open item.  (OVA8)
    We want to change this, checking not the overdue days of the oldest open item but the days from create date (of the oldest item) to current date against a specific limit of days for the specific credit area-risk category-doc.
    Any help will be appreciated.
    BR
    John

    Hello John,
    there is no standard customizing solution for your request.
    You might program you requirement in user function 1 in credit management by using
    LVKMPFZ1 (FORM USER_CREDIT_CHECK1). If you branch into function module SD_ORDER_CREDIT_CHECK you can use the coding of FORM OLDEST_OPEN_ITEM_CHECK as an example for your needs and change the dates that you would like to check.
    Best regards, Baerbel

  • Creating orders via SD_SALESDOCUMENT_CREATE

    Hello Everyone!
    I am using SD_SALESDOCUMENT_CREATE in creating sales documents order type YKE and YKR. I am successful in creating the sales orders, however, when i go in and check the order created, i can see that the order quantity is not being populated. Its value is always 0. I've tried changing the field type of my variable but i am successful.
    Any suggestions are greatly appreciated!
    Thanks in advance!
    Jim

    Here it is.
    i_sales_items_in-itm_number = v_item.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = i_tab3-matnr
        IMPORTING
          output = i_tab3-matnr.
      IF sy-subrc <> 0.                                         "#EC *
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    DATA: v_kwmeng_tmp LIKE rv45a-kwmeng.
        DATA: v_kwmeng_tmp type dzmeng.
      MOVE i_tab3-kwmeng TO v_kwmeng_tmp.
      i_sales_items_in-material  = i_tab3-matnr.
      i_sales_items_in-plant = i_tab3-werks.
      i_sales_items_in-batch = i_tab3-charg.
      i_sales_items_in-target_qty = v_kwmeng_tmp.
    i_sales_items_in-target_qu = i_tab3-vrkme.
      i_sales_items_in-sales_unit = i_tab3-vrkme.
      i_sales_items_in-target_val = i_tab3-netpr.
      APPEND i_sales_items_in.
      CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
        EXPORTING
          sales_header_in     = v_sales_header_in
        IMPORTING
          salesdocument_ex    = v_salesdocument_ex
        TABLES
          return              = i_return
          sales_items_in      = i_sales_items_in
          sales_partners      = i_sales_partners
          sales_conditions_in = i_sales_conditions_in           "#EC *
          sales_text          = i_sales_text.                   "#EC ENHOK

  • How to update sales orders using B1WS in SAP 8.8 PL18

    Hello all.
    We are having a problem updating sales orders using Sap Business One Web Service ( B1WS ).
    We are running SBO 8.8 PL18, MS-SQL 2008, and all is fine when using the SBO client.
    But when it comes to updating sales orders through B1WS we just cannot get it to work.
    We can add new orders easily without problems. Updating orders always gives this error:
    \[ORDR.PayDuMonth\]\[line: 0\] , 'Field cannot be updated (ODBC -1029)'
    We have checked and verified multiple times that our setup is correct.
    Also the WDSL files are verified.
    We can update orders just fine using the sboclient.
    And using B1WS we can basically do everything, besides updating.
    We have also tried this on different company db's, so we are quite sure this is not
    something related to some general setting we missed, but who knows?
    We have tried different ways to "assemble" the order before updating, but it always
    ends with the above error.
    Here is an example of one of the tests, where we load an order by docentry,
    increment the quantity of all open lines by '1', and then try to update it.
            protected void Page_Load(object sender, EventArgs e)
                // First we login
                string sessionId = "";
                LoginService.LoginService l_login = new LoginService.LoginService();
                LoginService.LoginDatabaseType l_dbtype = LoginService.LoginDatabaseType.dst_MSSQL2008;
                LoginService.LoginLanguage _lang = LoginService.LoginLanguage.ln_English;
                string _server = "SAP-8_8PL18";
                string _licserver = "SAP-8_8PL18:30000";
                string _db = "my_test_company";
                string _user = "manager";
                string _pass = "********";
                try
                    sessionId = l_login.Login(_server, _db, l_dbtype, true, _user, _pass,
                               _lang, true, _licserver);
                catch (Exception ex)
                    Response.Clear();
                    Response.Write(ex.Message);
                    Response.End();
                if (sessionId == "")
                    Response.Clear();
                    Response.Write("No sessionId");
                    Response.End();
                // We are logged in and have a sessionId
                // Now load a valid open order by docentry
                try
                    OrdersServiceRef.OrdersService orderService = new OrdersServiceRef.OrdersService();
                    orderService.MsgHeaderValue = new OrdersServiceRef.MsgHeader();
                    orderService.MsgHeaderValue.SessionID = sessionId;
                    orderService.MsgHeaderValue.ServiceName = OrdersServiceRef.MsgHeaderServiceName.OrdersService;
                    orderService.MsgHeaderValue.ServiceNameSpecified = true;
                    OrdersServiceRef.DocumentParams docParams = new OrdersServiceRef.DocumentParams();
                    docParams.DocEntry = 31; // Docentry of a known open order
                    docParams.DocEntrySpecified = true;
                    OrdersServiceRef.Document order = orderService.GetByParams(docParams);
                    OrdersServiceRef.DocumentDocumentLine line = null;
                    for (int i = 0; i < order.DocumentLines.Length; i++)
                        line = order.DocumentLines<i>;
                        if (line.LineStatus == OrdersServiceRef.DocumentDocumentLineLineStatus.bost_Open)
                            line.Quantity += 1;
                    orderService.Update(order);
                catch (System.Web.Services.Protocols.SoapException ex)
                    Response.Clear();
                    Response.Write(ex.Message);
                    Response.End();
                catch (Exception ex)
                    Response.Clear();
                    Response.Write(ex.Message);
                    Response.End();
                Response.Clear();
                Response.Write("All OK");
                Response.End();
    I hope that someone has an idea as to why this happens.
    The customer often changes quantity or adds lines on their orders,
    and the only way to solve it so far has been to make a new order and
    close the old one.
    Thanks in advance
    J. Thomsen

    Hi,
    Welcome you post on the forum.
    Have you checked if you only update a specific line instead of a loop?
    Thanks,
    Gordon

  • Link between Delivery Header & Sales Order Item for extraction to 2nd level

    Hi Guys ,
    I am having a requirement that need to pull the following data to 2nd level DSO
    1.  Delivery Header Data
    2. Sales Order Item data. ( Sales Document, Item, Item RDD, Material)
    So I am planning create a 2nd level DSO on top of Delivery header and need to pull the sales order ITEM level data ( Sales document , Order ITEM, ITEM RDD date , Material)  through start routine u2026
    How can I pull the Sales Order Item data through start routine?  i.e I need the link between Delivery Header & Sales Order Item Data .
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).
    Thanks
    Edited by: krismady on Sep 22, 2010 2:26 AM
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).

    Hi Krish,
    You can use VBLEN (Sales Document) to link Delivery header DS (2LIS_12_VCHDR) and Delivery item DS (2LIS_12_VCITM). Now In delivery item DS (2LIS_12_VCITM) you have VGBEL (Reference doc.) and VGPOS (Reference item) which is nothing but sales order document number and sales item in Order item DS (2LIS_11_VAITM) .
    So you need to link in above way to get other values in your DSO.
    It is proven method.
    Thanks,
    Uday Shankar.

  • Price in invoice is not getting copied from Sales order

    Hi,
    In my case when i create a sales order...my VPRS condition is taking price 4.020,24 (@335.02/PC). When i create a Invoice it is coming with 4.020,22 value and .02 is coming in different condition type ZDIF ( Rounding diff) automatically. When i check my PGI accounting document there also price 4.020,22  hits the G/L account.
    Now able to understand why .02 value is going in the ZDIF condition ?
    Need help
    Regards
    Nitin

    Hi Nitin,
    Rounding condition is coming in picture because there will some difference in PR00 and VPRS.
    Generally VPRS is a statistical condition type and it is just used for viewing purpose not a part of calculation.
    So you can go to V/08, select your pricing procedure and then control data.
    In that find out VPRS condition type and click on statistical, then it wont come in calculation.
    If you want that this should be copied then you have to made changes in copy control.
    Go to VTFA if you are making billing document with reference to order document.
    Go to VTFL if you are making billing document with reference to delivery document.
    Select your combination of billing document and delivery document/order document.
    Then go to item level and select you item category and then click on detail
    In that you will find pricing type just change that pricing type to D.
    Now it will copy pricing as it is from sales order.
    Hope so it will solve your problem
    Regards
    Raj.

  • A/R - Credit Memo ... document chain

    Hi
    Following procedure:
    Sales Order -> Delivery -> A/R Invoice has been done as usual.
    Now I want to issue an A/R credit memo and raise a new A/R Invoice with a different amount.
    Since all the documents are closed, how do I link the new A/R Invoice to the correct document chain, base it on either one of the documents (Order/Delivery/Invoice/CreditMemo)?
    Thanks
    Franz

    Hi
    1)Sales Order -> Delivery -> A/R Invoice has been done as usual.
    Then if required Do AR Cr memo with link to AR inv.
    2)Sales Order -> Delivery -> A/R Invoic ->Incomming Payment
    Means now AR invoice is closed.
    If u want to make Cr memo for this inv.
    -choose same customer
    -put required row level data
    Now have to make UDF in Cr.memo and AR inv title level.
    In Cr. memo's UDF put AR inv. number for link
    same way for AR inv.'s UDF Cr.memo's Number
    In this way u can make link.
    Rgds,
    Mahesh.

  • In which tables can I find the sales order item texts?

    Experts,
    In SD, we have texts on sales order item level. These texts can be filled manually or automatically via access sequences. My question is very simple: in which table can I find these texts? I want to extract them for a big number of sales orders.
    Reward points if helpful answer.
    Thanks

    hi
    try in
    TVAPT     Sales document item categories: Texts               
    TVAKT     Sales Document Types: Texts
    TVAUT     Sales Documents: Order Reasons: Texts
    TVAST     Sales Document Blocking Reasons: Texts

Maybe you are looking for

  • Auto Creation of Order from Notification

    Hi all, As all of us are aware we can create notification automatically on creation of order, through Order/Notification integration setting in SPRO. Is it possible to create Order automatically on creation of Notification in standard SAP ?? Pls conf

  • Create a PDF file that can be opened in PS

    Hello, I a cartographer that is creating a map with thousands of contour lines (among many other layers) in .ai.  Unfortunately, I can't open this map in PS.  PS will think for upwards of 10 hours trying to rasterize this file (and at that point it w

  • Using translate function for one to many character translation

    Hi friends! Can anybody tell me whether it is possible to use built in translate function for converting some text from a one alphabet to another one, if these alphabets are of different length. Something like SELECT TRANSLATE('текст', 'АБВГДЕЕЖЗИКЛМ

  • Using VA02 tcode sales order deletion

    Problem is: user getting error "you cannot select assembly order(production order number) for deletion" while trying to delete item from sales order using transaction code VA02. other info: corresponding production order status is "TECO PRT  CNF  DLV

  • HTTP_RESP_STATUS_CODE_NOT_OK in XI

    Hi all, I am doing a SOAP to SOAP scenario and I am getting the following error. Kindly help. Please let me know if you need more information. Error:- <SAP:Category>XIServer</SAP:Category> <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:C