Which is the order to execute the insert to database?

Hi everybody:
My scenario is PROXY - > JDBC. I have a Message Type where the are information for to insert into two tables.
<MT_ParentNode>
     <StatementTable02>
          <NameTable02 action="UPDATE_INSERT"></NameTable02>
          <table>BDTable02</table>
          <access></access>
     </StatementTable02>
     <StatementTable01>
          <NameTable01 action="UPDATE_INSERT"></NameTable01>
          <table>BDTable01</table>
          <access></access>
     </StatementTable01>
</MT_ParentNode>
Which is the order how insert the datas? First insert the datas in table BDTable02 and last in BDTable01 or not matter tha position?
Thank you in advance.

Hi Vera,
The data will be inserted in the order you have mentioned in the Message Type,
in your case, data will be inserted first into 'StatementTable02' and then 'StatementTable01'.
-Tanaya.

Similar Messages

  • Which is the insert key on an hp pavillion 2000

    How do I get the insert option back on the laptop? What is the combination or key to get the Ins Option back on?

    Hi @tbaby27 ,
    Welcome to the HP Forums!
    It is a fantastic place to find answers and suggestions!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    You provided your notebook series the HP 2000 but not your exact model.
    How Do I Find My Model Number or Product Number?
    What was the original Operating system if it was not XP?
    I grasp the insert key is not working on your notebook.
    What has changed since it was working?
    As it would normally just be part of the keyboard driver you can try uninstalling and reinstalling that driver.
    Have you ran MS Fix It to help overcome this issue?
    Do you not have an insert key on the notebook keyboard?
    Good Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Custom SharePoint 2010 designer page throws "The data source control failed to execute the insert command" exception while adding the new item after the August 13, 2013 CU has installed

    We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
    August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
    Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values)     at
    System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65  w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
    failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex)     at System.Web.UI.DataSourceView.Insert(IDictionary
    values, DataSourceViewOperationCallback callback)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)    
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65* w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
    <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
    Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
    instead of only "Daughter".
    Please provide the solution to get rid of this issue.
    Thanks
    Ramasubbu

    Try below:
    http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
    http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
    While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
    'i' and I was working with an Edit Form. Changing it to
    'u' as it was with every other FormField fixed the issue.
    <SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
    />
    Explanation:
    DataBind operation type parameters (the first parameter) are listed below:
    'i' stands for INSERT,
    'u' stands for UPDATE,
    'd' stands for DELETE.
    http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered

  • Report for the List of Vendor for which no Purchase order has been created

    Hi ALL
    Please let me know if there is any Report for the List of Vendor for which no Purchase order has been created
    regards,

    Hi Prateksha Vaid ,
    Go to transaction S_ALR_87012093
    Select accounts with no purchases checkbox and execute
    Diwakar
    reward if useful

  • Modified Functional module not executing the inserted Code

    Hi everyone
    I've modified the IW_C_CREATE_TRANSPORT_REQUEST Functional module so that it calls the GUI_EXEC FM which calles my java script which saves the transport ID with a filename specified. The code seems to work when i test it within SAP, but when i come to use STARTRFC to call the function, the added code dosen't seem to be executing, the transport still gets created but my javascript is not being called?
    Anyone know why?
    Thanks - Peter
    Code following
    FUNCTION IW_C_CREATE_TRANSPORT_REQUEST.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(DESCRIPTION) LIKE  E07T-AS4TEXT
    *"     VALUE(TRANSPORT_KIND) LIKE  E070-TRFUNCTION DEFAULT 'K'
    *"     VALUE(LANGU) LIKE  SY-LANGU DEFAULT 'EN'
    *"     VALUE(CQ_ID) LIKE  E070-TRKORR DEFAULT 'FileName'
    *"  EXPORTING
    *"     VALUE(COMMFILE) LIKE  E070-TRKORR
    *"     VALUE(PROG_PATH) LIKE  E070-TRKORR
    *"     VALUE(CLASSNAME) LIKE  E07T-AS4TEXT
    *"  EXCEPTIONS
    *"      LANGUAGE_MISSING
    *"      NUMBER_RANGE_FULL
    *"      UNALLOWED_TRFUNCTION
    *"      NO_AUTHORIZATION
    *"      CREATE_TRANSPORT_ERROR
    CLEAR COMMFILE.
    CASE TRANSPORT_KIND.
      WHEN 'P'.
    Stücklisten für Releasewechsel
        IF NOT LANGU IS INITIAL.
          PERFORM CREATE_RELEASE_REQUEST
            USING    LANGU
                     DESCRIPTION
                     TRANSPORT_KIND
            CHANGING COMMFILE.
        ELSE.
        keine Sprache angegeben und Transportart Stücklisten
          RAISE LANGUAGE_MISSING.
        ENDIF.
      WHEN OTHERS.
    Alle anderen Transporte
      PERFORM CREATE_REQUEST
        USING    DESCRIPTION
                 TRANSPORT_KIND
        CHANGING COMMFILE.
    ENDCASE.
    *{ INSERT SM1K900042 1
    WRITE 'Entering My Pogram'.
    PROG_PATH = 'java.exe'.
    CLASSNAME = '-cp c: writeToFile'.
    CONDENSE CLASSNAME.
    CONDENSE PROG_PATH.
    CONCATENATE CLASSNAME CQ_ID COMMFILE INTO CLASSNAME SEPARATED BY ' '.
    CALL FUNCTION 'GUI_EXEC'
    EXPORTING
    PARAMETER = CLASSNAME
    COMMAND = PROG_PATH.
    WRITE 'Our path is'.
    WRITE PROG_PATH.
    WRITE CLASSNAME.
    *} INSERT
    ENDFUNCTION.
    *************************FORMS****************************************
          FORM CREATE_RELEASE_REQUEST                                    *
    Transportauftrag für Stücklisten erstellen                           *
    FORM CREATE_RELEASE_REQUEST
      USING    P_LANGU              LIKE SY-LANGU
               P_TRANSPORT_DESCRIPT LIKE E07T-AS4TEXT
               P_TRANS_KIND         LIKE E070-TRFUNCTION
      CHANGING P_COMMFILE           LIKE E070-TRKORR.
      DATA: SUBRC         LIKE SY-SUBRC,
            H_TMP_LANG(2) TYPE C,
            H_NUMBER(3)   TYPE C,
            NUMBER(4)     TYPE C.
    Anwednungslog öffnen
      PERFORM OPEN_LOG
        USING P_TRANSPORT_DESCRIPT.
    *Nummer ziehen
      PERFORM GET_NUMBER USING    P_LANGU
                         CHANGING H_NUMBER
                                  SUBRC.
      IF     SUBRC = 12.
    Fehler beim erstellen des Transportauftrags
        RAISE CREATE_TRANSPORT_ERROR.
      ELSEIF SUBRC = 11.
    Nummernkreis voll
        RAISE NUMBER_RANGE_FULL.
      ELSE.
        WRITE P_LANGU TO H_TMP_LANG.
        P_COMMFILE = 'SAPKXXXLYY'.
        REPLACE 'XXX' WITH H_NUMBER     INTO P_COMMFILE.
        REPLACE 'YY'  WITH H_TMP_LANG   INTO P_COMMFILE.
        CALL FUNCTION 'SUBST_CREATE_COMMANDFILE'
             EXPORTING
                  IV_KORRNAME          = P_COMMFILE
                  IV_KORRTYPE          = P_TRANS_KIND
                  IV_KORRTEXT          = P_TRANSPORT_DESCRIPT
             EXCEPTIONS
                  NAME_COLLISION       = 1
                  CREATE_HEADER_FAILED = 2
                  UPDATE_HEADER_FAILED = 3
                  OTHERS               = 4.
        IF SY-SUBRC <> 0.
          CLEAR P_COMMFILE.
        Fehler beim Erstellen des Transportauftrags
          RAISE CREATE_TRANSPORT_ERROR.
        ELSE.
        Transportauftrag erstellt
        Log schreiben
          PERFORM WRITE_LOGFILE
            USING P_COMMFILE.
        ENDIF.
      ENDIF.
    ENDFORM.                               "CREATE_RELEASE_REQUEST
          FORM CREATE_REQUEST                                            *
    Transportauftrag erstellen                                           *
    FORM CREATE_REQUEST
      USING    P_TRANSPORT_DESCRIPT LIKE E07T-AS4TEXT
               P_TRANS_KIND         LIKE E070-TRFUNCTION
      CHANGING P_COMMFILE           LIKE E070-TRKORR.
      CALL FUNCTION 'TRINT_INSERT_NEW_COMM'
           EXPORTING
                WI_KURZTEXT   = P_TRANSPORT_DESCRIPT
                WI_TRFUNCTION = P_TRANS_KIND
           IMPORTING
                WE_TRKORR     = P_COMMFILE
           EXCEPTIONS
             NUMBER_RANGE_FULL       = 1
             INVALID_INPUT           = 2
             NO_AUTHORIZATION        = 3
             OTHERS                  = 4.
      CASE SY-SUBRC.
        WHEN 0.
      Auftrag erstellt
      Anwednungslog öffnen
          PERFORM OPEN_LOG
            USING P_TRANSPORT_DESCRIPT.
      Log schreiben
          PERFORM WRITE_LOGFILE
            USING P_COMMFILE.
        WHEN 1.                             "Nummernkreis für Aufträge voll
          CLEAR P_COMMFILE.
          RAISE NUMBER_RANGE_FULL.
         p_error_msg-no = '735'.
        WHEN 2.                             "Unbekannter Auftragstyp
          CLEAR P_COMMFILE.
          RAISE UNALLOWED_TRFUNCTION.
         p_error_msg-no = '353'.
        WHEN 3.                             "keine Berechtigung
          CLEAR P_COMMFILE.
          RAISE NO_AUTHORIZATION.
         p_error_msg-no = '328'.
        WHEN 4.                             "Allgemeiner Fehler
          CLEAR P_COMMFILE.
          RAISE CREATE_TRANSPORT_ERROR.
         p_error_msg-no = '353'.
      ENDCASE.
    ENDFORM.                               "create_request
    FORM OPEN_LOG                                                        *
    Anwedungslog öffnen                                                  *
    FORM OPEN_LOG
      USING P_TRANSPORT_DESCRIPT LIKE E07T-AS4TEXT.
    *init application log
      PERFORM LOG_INIT USING C_APPL_LOG_TRANSPORT.
    *log header
      PERFORM LOG_HEADER
        USING C_APPL_LOG_TRANSPORT P_TRANSPORT_DESCRIPT.
    ENDFORM.                             "OPEN_LOG
    FORM WRITE_LOGFILE                                                   *
    Logfile in den Anwendungslog schreiben                               *
    -> P_TRANSPORT_DESCRIPT                                              *
    FORM WRITE_LOGFILE
      USING P_COMMFILE           LIKE E070-TRKORR.
    DATA: H_ERROR_MSG LIKE IWERRORMSG.
    *log message transport created
      CLEAR H_ERROR_MSG.
      MOVE '42'  TO H_ERROR_MSG-ID.
      MOVE 'I'   TO H_ERROR_MSG-TYPE.
      MOVE '733' TO H_ERROR_MSG-NO.
      MOVE P_COMMFILE TO H_ERROR_MSG-V1.
      PERFORM LOG_MSG
        USING C_APPL_LOG_TRANSPORT '2' H_ERROR_MSG.
    *log save
      PERFORM LOG_SAVE
        USING C_APPL_LOG_TRANSPORT.
    ENDFORM.              "WRITE_LOGFILE
          FORM GET_NUMBER                                               *
    -->  LANGU                                                         *
    -->  NUMBER                                                        *
    FORM GET_NUMBER
      USING    LANGU   LIKE SY-LANGU
      CHANGING NUMBER  TYPE C
               SUBRC   LIKE SY-SUBRC.
      CONSTANTS: OBJECT LIKE INRI-OBJECT VALUE 'SIWBTRANSP'.
      DATA: NR_RANGE LIKE INRI-NRRANGENR,
            RETURNCODE LIKE  INRI-RETURNCODE,
            ERROR_MSG LIKE IWERRORMSG.
      CLEAR SUBRC.
      NR_RANGE = '01'.
      CALL FUNCTION 'NUMBER_GET_NEXT'
           EXPORTING
                NR_RANGE_NR             = NR_RANGE
                OBJECT                  = OBJECT
                SUBOBJECT               = LANGU
           IMPORTING
                NUMBER                  = NUMBER
                RETURNCODE              = RETURNCODE
           EXCEPTIONS
                INTERVAL_NOT_FOUND      = 1
                NUMBER_RANGE_NOT_INTERN = 2
                OBJECT_NOT_FOUND        = 3
                QUANTITY_IS_0           = 4
                QUANTITY_IS_NOT_1       = 5
                INTERVAL_OVERFLOW       = 6
                OTHERS                  = 7.
      CASE SY-SUBRC.
        WHEN 00.
        WHEN 01.
          PERFORM NUMBER_RANGE_INTERVAL_INSERT
                  USING      NR_RANGE  LANGU
                  CHANGING   NUMBER
                             RETURNCODE.
        WHEN OTHERS.
          SUBRC = 12.
          PERFORM FILL_ERROR_MSG
            USING    C_MESSAGE_ERROR 736 SY-SUBRC SPACE SPACE SPACE
            CHANGING ERROR_MSG.
          PERFORM LOG_MSG USING C_APPL_LOG_TRANSPORT 1 ERROR_MSG.
      ENDCASE.
      CASE RETURNCODE.
        WHEN ' '.
        WHEN '1'.                          "Nummer im kritischen Bereich
          PERFORM FILL_ERROR_MSG
            USING    C_MESSAGE_INFO 734 SPACE SPACE SPACE SPACE
            CHANGING ERROR_MSG.
          PERFORM LOG_MSG USING C_APPL_LOG_TRANSPORT 2 ERROR_MSG.
        WHEN '2'.                          "letzte Nummer vergeben
          PERFORM FILL_ERROR_MSG
            USING    C_MESSAGE_INFO 735 SPACE SPACE SPACE SPACE
            CHANGING ERROR_MSG.
          PERFORM LOG_MSG USING C_APPL_LOG_TRANSPORT 1 ERROR_MSG.
          SUBRC = 11.
      ENDCASE.
    ENDFORM.                               "number_get
    Message was edited by:
            Peter Lai

    Hi i've tried restarting and starting the server, but it didn't help, would it have anything to do with the fact i'm callin sap which is calling JAVA from a .exe program. The .exe program is having problems connecting to the JAVA program as there is no link?
    I did a trace as well and this is what it came up with:
    Error in program 'startrfc': ======> Exception condition "NO_BATCH" raised.
    >>>> [1] <unknown>    : EXT  <ac: 7> L DDSLOCTE01 >>> CLOSE abrfcrcv.c 429 (23850562)
      -{F0776FA3-F1A7-4662-BF7A-D1352735C394}
    *> RfcReceive
            handle = 1
             Data conversion On
    Error in program 'startrfc': <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION
    Error in program 'startrfc': <* RfcCallReceive [1] : returns 3:RFC_SYS_EXCEPTION
    >>>> [1] <unknown>    : EXT  <ac: 8> L DDSLOCTE01 >>> FREE abrfcio.c 3517 (23850562)
      -{F0776FA3-F1A7-4662-BF7A-D1352735C394}
    Trace file opened at 20070312 164006 GMT Standard T, SAP-REL 640,0,119 RFC-VER 3 818122 MT-SL
    *> RfcClose called by external program ...
            handle = 1
    *> rfcClose called by RFC-Library in file: abrfc.c, line: 532
            handle = 1
    Trace file opened at 20070312 164006 GMT Standard T, SAP-REL 640,0,119 RFC-VER 3 818122 MT-SL
    <* rfcClose
    >* RfcClose
    Any help or ideas what it could be would be great

  • Which is the process (or Package) that approve the Purchase Order

    Hi All,
    I have a custom process that modifies need by date and promised date fields in Purchase Order. After that the Purchase Order that has "Aprove" status change and say "Required Reaprove". Do you know which is the package that I can execute in order to aprove again the PO ?.
    Thanks Mariano.-

    Hi Hussein,
    It was a good idea to make a trace. I finally found the solution. Here it is....
    Thanks a lot !!!
    begin
    FND_GLOBAL.APPS_INITIALIZE(1911,50737,20003);
    end;
    begin
    MO_GLOBAL.SET_POLICY_CONTEXT('S',81);
    end;
    declare
    v_wf_seq NUMBER;
    v_itemkey VARCHAR2(100);
    begin
    SELECT TO_CHAR (po_wf_itemkey_s.NEXTVAL)
    INTO v_wf_seq
    FROM SYS.DUAL;
    v_itemkey := TO_CHAR(5782)|| '-' || v_wf_seq;
    po_reqapproval_init1.start_wf_process (itemtype => 'POAPPRV'
    ,itemkey => v_itemkey
    ,workflowprocess => 'POAPPRV_TOP'
    ,actionoriginatedfrom => 'PO_FORM'
    ,documentid => 5782 -- po_header_id
    ,documentnumber => '388' -- OC
    ,preparerid => 82 -- agent_id
    ,documenttypecode => 'PO'
    ,documentsubtype => 'STANDARD'
    ,submitteraction => 'APPROVE'
    ,forwardtoid => NULL
    ,forwardfromid => 82 -- agent_id
    ,defaultapprovalpathid => 10
    ,note => NULL
    ,printflag => 'N'
    ,faxflag => NULL
    ,faxnumber => NULL
    end;

  • SqlLoader issue from which path i have to execute the SqlLoader Command

    Hi,
    I created .ctl file and moved the file on the server.
    My problem is from which path i have to execute the SqlLoader command.
    Logged into putty, /home/mydirectory
    executed the command: sqlldr userid=apps/apps@p012 control=nstock_active.ctl
    but i get, command not found.
    Could you suggest me.
    Thanks.

    Srini,
    here is my full .ctl file
    LOAD DATA
    INSERT INTO TABLE XXCIV_INV
    APPEND
    --REPLACE
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    PO_NUM "Ltrim(Rtrim(:PO_NUM))",
    PO_LINE_NUM "Ltrim(Rtrim(:PO_LINE_NUM))",
    ITEM_NUMBER "Ltrim(Rtrim(:ITEM_NUMBER))",
    RECEIPT_NUMBER "Ltrim(Rtrim(:RECEIPT_NUMBER))",
    RECEIPT_LINE_NUM "Ltrim(Rtrim(:RECEIPT_LINE_NUM))",
    RECEIVED_QTY "Ltrim(Rtrim(:RECEIVED_QTY))",
    PO_QTY "Ltrim(Rtrim(:PO_QTY))",
    ID "Ltrim(Rtrim(:ID))",
    ITEM_ID "Ltrim(Rtrim(:ITEM_ID))",
    TRACE_TYPE "Ltrim(Rtrim(:TRACE_TYPE))",
    LOT_NUMBER "Ltrim(Rtrim(:LOT_NUMBER))",
    INVENTORY_ID "Ltrim(Rtrim(:INVENTORY_ID))",
    OBJECT "Ltrim(Rtrim(:OBJECT))",
    BATCH "Ltrim(Rtrim(:BATCH))",
    CREATION_DATE "NVL(TO_DATE(REPLACE(Ltrim(Rtrim(substr(:CREATION_DATE,1,9))),'NULL'),'MM/DD/RRRR'),TO_DATE(SYSDATE))",
    CREATED_BY "Ltrim(Rtrim(:CREATED_BY))",
    LAST_UPDATE_DATE "NVL(TO_DATE(REPLACE(Ltrim(Rtrim(substr(:LAST_UPDATE_DATE,1,9))),'NULL'),'MM/DD/RRRR'),TO_DATE(SYSDATE))",
    LAST_UPDATED_BY "Ltrim(Rtrim(:LAST_UPDATED_BY))",
    REQUEST_ID "Ltrim(Rtrim(:REQUEST_ID))",
    MFG "Ltrim(Rtrim(:MFG))",
    FILE_NAME "Ltrim(Rtrim(:FILE_NAME))",
    ROW_ID "Ltrim(Rtrim(:ROW_ID))"
    begindata
    0,1,R5531251-02,NA,1,1,8000,10000,WR551251-002,D2,,CMPX0001596,CMPX0001596,0,7/27/2011 14:00,-1,7/27/2011 14:00,-1,-1,HI,,
    0,1,R5534149-01,NA,1,1,3000,10000,WR5534149-001,D2,,HCMPX0001597,HCMPX0001597,0,7/27/2011 14:00,-1,7/27/2011 14:00,-1,-1,CHI,,

  • Getting cache items in the order that they were inserted

    Hi,
    Is there a way to get the cache items in the order that they were inserted into the cache?
    I tried the following but that does not work - the result is not in order of insertion...
    NamedCache cache = CacheFactory.getCache("XXXX");
    Set setKeys = cache.keySet();
    debug("key size: " + setKeys.size());
    Iterator keysIt = setKeys.iterator();
    while (keysIt.hasNext())
    Object object = (Object) keysIt.next();
    debug("key: " +object);
    debug ("----------------------------------------------\n\n\n");
    Thanks
    G

    khanna111 wrote:
    Hi,
    Is there a way to get the cache items in the order that they were inserted into the cache?
    I tried the following but that does not work - the result is not in order of insertion...
    NamedCache cache = CacheFactory.getCache("XXXX");
    Set setKeys = cache.keySet();
    debug("key size: " + setKeys.size());
    Iterator keysIt = setKeys.iterator();
    while (keysIt.hasNext())
    Object object = (Object) keysIt.next();
    debug("key: " +object);
    debug ("----------------------------------------------\n\n\n");
    Thanks
    GHi G,
    in general there is no way to do this with get/iterate calls.
    Particularly because you can't define a time order in the cache as there is no shared timesource to relate to without relying on explicit cluster-wide locking which is not done in caches by default.
    Best regards,
    Robert

  • SQ02 - Issue on a infoset which doesn't order the results

    Hello to everyone,
    I'm experiencing some issues when creating a Infoset and implementing the relative query, as the results aren't ordered by the first field which is the Primary Key of the first table of the join which composes the Infoset. Here are the details:
    I've created a query on the following JOIN:
    DFKKKO >> ERDB >> ERCHC
    Plus, i've implemented some code to mess the query so that it returns some additional field with custom values.
    One of the target of this query is to have the output sorted by DFKKKO-OPBEL, which is the key of DFKKKO, but it seems that when I ask for a big amount of data, the output isn't sorted at all.
    Is there a way to ask the infoset via SQ02 or the query via SQ01 or some coding within the additional fields, etc.. to sort the output by certain fields? In this particular case, I'd like to order for the first output field which is the key of the first table of the join.
    Thank you very much in advance.
    Best regards,
    Claudio

    Hello Arbind,
    thanks for your quick reply, i'll be start testing it immediately, but I've seen that apparently this method sorts the extraction after it is done. Even though it could appear strange, I should keep a progressive number while elaborating each row of the selection, so for example I'll count in this way:
    record 1 - counter 1
    record 2 - counter 2
    record n - counter n.
    Actually, my problem with sort was that record 1 has the key 1, record 2 has the key 2018, record 3 has the key 58, so the counter 2 points to a wrong record.
    Your solution is really helpful, but do you know actually if I can put a sort or order by directly in the main selection by indicating something somewhere?
    If it isn't possible, i'll start thinking of an alternative solution for the counter problem (which is a counter of the billing rows in a document, instead of a simple counter).
    Thanks also to Christian for the answer!
    Thank you very much.
    Kind regards,
    Claudio
    Edited by: Claudio CPU on Feb 22, 2011 12:14 PM

  • When I try to open my Yahoo mail in safari, I get a message which states:" In order to use Yahoo mail, please turn Private Browsing off. Please go to Settings Safari Private Browsing, and turn off" The problem is my ipad does not a Private Browsing switch

    When I try to open my Yahoo mail in safari, I get a message which states:" In order to use Yahoo mail, please turn Private Browsing off. Please go to Settings>Safari>Private Browsing, and turn off" The problem is, my ipad does not a Private Browsing switchat this location.

    With iOS 7 on the iPad, you turn Private  Browsing on and off by tapping the URL field.  The screen that  opens up has your bookmarks on it.  In the bottom left corner is a hot button marked 'PRIVATE'.  Tap on the word 'PRIVATE' to turn private browsing on or off.  Yeah, there aren't any instructions anywhere that I can find to do this, and if you follow Yahoo's instructions, they don't work.  This doesn't happen with the previous Apple OS, and you can restore your iPad to the older OS. 

  • A report which shows the purchase order MM and the linked vendor invoice

    Hi All,
    I wonder if ther's a SAP standard report which shows the purchase order MM and the linked vendor invoice (the FI document)  with the Net due date.
    Could anyone help me?
    Thanks
    G.Rossi

    Hi,
    ME80FN with PO History View
    ME2N with Scope of List "ALLES"

  • A report which shows the vendor invoice and its purchase order MM

    Hi All,
    I wonder if ther's a SAP standard report which shows the vendor invoice (the FI document) and its purchase order MM.
    Could anyone help me?
    Thanks
    G.Rossi
    Edited by: Lakshmipathi on Aug 2, 2011 2:24 PM
    Thread Locked - Reason  Cross Posted

    Dear,
    you can use FBL1N,
    From there you can view following things:
    1. Vendor Invoice = Reference
    2. Document type = KR and RE for Invoices
    3. Po Number
    4. Amount
    you can enable there many fields as per your requirement.
    Hope this helps!!!
    Br,Vivek

  • The data source control failed to execute the insert command

    Hi,
      We have installed SharePoint 2010 on Windows Server 2008 Enterprise Edition. We've started using the "Employee Training Scheduling and Materials" template that is available at
    http://www.microsoft.com/government/en-us/campaigns/Pages/SharePoint-Templates.aspx. Till last friday (17th Oct,2013) everything was working fine, but after that we are getting an error "The data source failed to execute the insert command"
    when I click on the "Save" button available on the Registrations.aspx. Could any one help me resolve this issue?
    Kinldy revert if you need more details.
    Though I see many posts regarding this, most of them are associated with Windows Server 2008 R2. So, most of the hot fixes mentioned there could not help me.
    Your help me is greatly appreciated. Thanks for taking time to go through this post.
    Thanks and Regards
    Praveen.
    Thanks and Regards Praveen.

    I have the exact same problem. I updated the 2007 Employee training template to the 2010 version and then 2 months ago, presumably when our Sharepoint had the July 10th patch 14.0.7102.5004 applied, it all broke. An attempt to register for a class always
    comes back with "Failure to execute insert command".
    I tried changing the DateSourceMode from "ListItem" to "List"  that gets rid of the error but does NOT update the registrations list.
    Anyone have any success fixing this?

  • Failed to execute the insert command

    I have a sign up training calendar that runs on sharepoint 2010, over the weekend i went to install the latest cumulative update http://support.microsoft.com/kb/2817552 and it seems to have broken the signup process. Whenever some goes to sign up for an
    event they see the following error what can i do to fix this?
    Error
    The data source control failed to execute the insert command. d8b915be-5355-4d63-97bb-c9cf3aacad75
    Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: d8b915be-5355-4d63-97bb-c9cf3aacad75
    the error occurs when someone tries to add an event in the calendar & this issues seems to be across the entire sharepoint 2010 foundation farm. How can i resolve this without rebuilding the farm?

    Hi, We are having the same issue. Did anyone get a solution for this? I tried following solution. 
    open
    the page with SPD and update this value.
    OLD: <SharePoint:SPDataSource
    runat="server" DataSourceMode="List"
    NEW: <SharePoint:SPDataSource
    runat="server" DataSourceMode="ListItem"
    That gives me "Access Denied" error.
    User has contribute permission
    for the list. 
    Any solution???

  • Order of the plug-ins as they appear in the inserts menu?

    Does anyone know how to re-arrange the order of the plug-ins, as they appear in the inserts menu?

    You can!
    But you have to edit the plugin with a Resorce Editor.
    I highly doubt that, given those menus are built dynamically by Logic, based on what installed plugins are on your system. You might conceivably be able to change the order of the inbuilt stuff, but not the third-party ones, as that list cannot obviously be hard-coded into Logic.
    As a confirmed Logic resource hacker, I haven't come across those menus in my poking around, so if this is something you have discovered actually how to do (rather than just speculation), I'd be interested in your procedure.

Maybe you are looking for

  • Printing Crystal Report decreasing font Size in web.

    Printer reduces font: when we use crystal report`s print button to print report, It reduces original font size.... I am using Crystal report viewer to preview and print the report in which print mode is "pdf". I tried with "ActiveX" mode but its gene

  • New Macbook Pro w/ Retina: Random definitions pop-up from the bottom left of my screen when dictionary isn't even open

    My OS is 10.9.3 and I've only had it for a month or so. I'll be on Firefox or the desktop and without touching the mouse or keyboard or anything 'var' appears highlighted in yellow at the bottom left corner of my screen and a speech bubble will defin

  • How to avoid ORA-3113 when selecting from XMLTYPE table

    Hi, If I register an XML-schema, Oracle automatically creates a table xxxxxx_tab of XMLTYPE. (I use Oracle 9.2.0.1) When I do a DESCRIBE or a SELECT from this table I get the error: 'ORA-03113: end-of-file on communication channel' and my connection

  • Issue with proc - erratic behaviour

    I have 2 tables A and B. A and B are populated by 2 large queries. After populating A and B another procedure runs on A and B and inserts data after processing into another table C. The procedure consists of multiple cursors. A, B and C are truncated

  • ObjectMedia partialTriggers and audio file

    Hi, i have a problem using <af:objectMedia refreshing the media object. Audio file must change by clicking reloadAudioButton but the player is not visible and "*/" is shown. Refreshing the page with F5 (or reload browser button) it works. In my jspx: