Unable to fetch 50,000 records from SQL using Orchestrator

Hi Team,
I have a table in MS SQL which is having more than 50,000 records. I am trying to fetch 50,000 records using orchestrator, but unable to fetch the records..
There is no problem with the SQL query because I can able to get 40,000 records..
I am using SCORCH DEV - SQL Integration Pack.
Regards,
Soundarajan.

Hi,
Thanks for your query.
I have also used timeout parameter but it is not working.. As you said I also tried with Query database Activity which is out of the box...
Now i can able to fetch more than 80,000 records but the output what i am getting is not in the format which we are looking for..
Attached the output...
How to edit this..?
I tried to write the output in excel but all the data sits in the first column itself..
Regards,
Soundarajan.

Similar Messages

  • Form Error 40507: unable to fetch next query record

    Hi there folks,
    I have a Form (10g) where I have a Master Block and a Detail block. However, the other day, there was an Error reported:
    ORACLE error: unable to fetch next query record
    When we do capture Errors, we also capture the Last Query run. From that, it says that the last record that was queried was in the Detail block (Which is multi-record block) in tabular form. I looked at the Error Message but there is not much information on this Error.
    So, it's just a base table block and it has a drop down list which has two values. Any ideas what could have happened?
    Thanks!

    The Block is based on a a table. As a mattr of fact, there are 3 blocks in the form and they are all based on tables. Now, it migth be wrong for me to assume that the detail block in the one that caused the problem just because the Last Query was based on the detail block.
    Block 1 is a single record block -- Master Block
    Block 2 is a tabular block -- Detail Block
    Block 3 is a tabular block -- Detail Block
    There are two relations:
    Block 1 and Block 2
    Block 1 and Block 3

  • FRM 40507 Unable to fetch next query record ??

    I am working on forms/oracle 10G
    there is this form which has a Combo Box list item.
    data in this list is fetched from a table 'A'.
    while saving data the value in the list item is saved in
    another table 'B'
    Now when i try to query the form using F11 and Ctrl + F11
    it gives me an error :
    FRM: frm 40507 UNABLE TO FETCH NEXT QUERY RECORD
    please guide what should i do ?? ...
    regards

    Details of the FORM :
    a) there is only one table
    b) we are using 2 datablocks . parent and child. This is because the child is
    displaying about 5 records. No parent child relation is set in the datablocks yet or in the table. can we do this in a single table ?
    c) now the user shall select a value from the activity list ( combo box ) . The date and time are auto populated in when new form instance. User then enters data for the child records and clicks save.
    d) data is save correctly.
    e) but while querying data that is saved it errors out saying that : FRM 40507 Unable to fetch next query record
    Will we have to define a parent child relation in the single table or in the datablocks ?
    i m really confused ??
    Regards

  • How to fetch all the records from ztable

    Hi 
    My program is outbound program.
    According to the requirement i have to fetch all the records from ztable which are not tranmitted before to the third party and once the records are extracted and written to output file they will be marked as 'X' in the "status" field of that ztable for the next days run.
    How to fetch the records.Please suggest me.
    Thanks,
    Neelima

    HI,
    Fetch all the records whose status is equal to 'X' as whatever data is sent to third party system is marked as 'X' in status field of table after sending.
    You need to first fetch the data into internal table using the select statement where status EQ space. You get the data which is not yet transmitted to third part. And later in the program after trasmitting the data to third party modify the Records in the DB table which are transmitted with Staus eq 'X'.

  • Extract records from file using RegEx

    Hi guys,
    I was wondering if there's a way to extract records from a text file using regular expressions matching groups in Endeca Integrator.
    I have several XML files and I have mapped and extracted records from them using XML Reader component, but I need to preserve the tags of mapped elements. For example, if I have the following XML:
    <Msg><Para>Some text. <Emphasis>More text</Emphasis><Para></Msg>
    mapping Msg element to an output cloverField will return "Some text. More text". I need to preserve tags, so I need an output like: "<Msg><Para>Some text. <Emphasis>More text</Emphasis><Para></Msg>",
    I don't know if there's a way to accomplish this by modifying the setting of the XML Reader component, but I was thinking of using regular expressions to solve this. Unfortunately, I can't find a way to do it by using the built-in components in Integrator.
    The final solution is do it programmatically without using Integrator, but I want to know if I'm missing something.
    Thanks in advance.

    This will get the name and extension in separate variables
    set vTheFile to (choose file) as text
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, ":"}
    set vPath to (vTheFile's text items 1 thru -2 as text)
    -- Add this for the file name
    set vFile to vTheFile's text item -1
    -- This will get the name and extension as  seperate items
    set AppleScript's text item delimiters to "."
    set {vFileName, VfileNameExtension} to {text item 1 of vFile, text item 2 of vFile}
    set AppleScript's text item delimiters to TempTID
    display dialog "Path is: " & vPath & return & return & "File is: " & vFile & return & "File name is: " & vFileName & return & "Extension is : " & VfileNameExtension
    (but I think I am done now)

  • Form does not show "new" records from SQL Database

    I have a PDF form that pulls data from a SQL Server.  The fields in
    the PDF are populated from the database after selecting a specific
    record from a drop down and then clicking on a button labeled "Fill".
    The problem is that the dropdown does not display new records that
    have been recently added to the database.  I have to open the form up
    in designer then save it, (*note - I change nothing at this point.)
    Then when the form is opened back up in Adobe the dropdown show all
    the records including the new ones.  I even put a manual refresh on
    form to try and fix this an it did not help. Seriously stumped.
    Any help is greatly appreciated.
    Here is my code for the dropdown.
    ++++++++++++++++++++++++++++
    topmostSubform.Page1.JobSelect::initialize - (JavaScript, client)
    var sDataConnectionName = "BBCC"; // example - var sDataConnectionName
    = "Test";
    var sColHiddenValue = "ContractAdmin_Key"; // example - var
    sColHiddenValue = "Dept_ID";
    var sColDisplayText = "JobDescription"; // example - var
    sColDisplayText = "Dept_ID"
    // Search for sourceSet node which matchs the DataConnection name
    var nIndex = 0;
    while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oDB = xfa.sourceSet.nodes.item(nIndex);
    oDB.open();
    oDB.first();
    // Search node with the class name "command"
    var nDBIndex = 0;
    while(oDB.nodes.item(nDBIndex).className != "command")
    nDBIndex++;
    // Backup the original settings before assigning BOF and EOF to stay
    var sBOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction");
    var sEOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF",
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF",
    "eofAction");
    // Clear the list
    this.clearItems();
    // Search for the record node with the matching Data Connection name
    nIndex = 0;
    while(xfa.record.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oRecord = xfa.record.nodes.item(nIndex);
    // Find the value node
    var oValueNode = null;
    var oTextNode = null;
    for(var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex++)
    { if(oRecord.nodes.item(nColIndex).name == sColHiddenValue)
    { oValueNode = oRecord.nodes.item(nColIndex); } else
    if(oRecord.nodes.item(nColIndex).name == sColDisplayText) { oTextNode
    = oRecord.nodes.item(nColIndex); } }
    while(!oDB.isEOF())
      this.addItem(oTextNode.value, oValueNode.value);
       oDB.next();
    // Restore the original settings
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup,
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup,
    "eofAction");
    // Close connection
    oDB.close();
    ++++++++++++++++++++++
    Here is code for the refresh button
    +++++++++++++++++++++
    topmostSubform.Page1.Button27::click - (JavaScript, client)
    sourceSet.BBCC.requery();
    +++++++++++++++++++++

    pguerett wrote:
    The other thing that might be happening is a refresh issue on the DropDownList. Try adding the command xfa.layout.relayout() after the database connection has been closed.
    Paul
    Good catch Paul!  Would you believe that I have been trying to get this resolved for almost two years! Works perfect now.
    Thank you,
      - Eric

  • Standby database unable to fetch missing archive sequence from primary

    Hi,
    My primary oracle db version is 10.2.0.5 which is n Windows 2003 server 32 bit in file system
    My standby database version is 10.2.0.5 which in wondows 2008 server in ASM instance.
    some of the archivelogs are not fetching by standby database from primary db.because of that recovery is not happening and it waits for missing archive logs but its not transfering on satndby database.
    I tried many time by doing manuall..manuall its hapening but again sometimes its stucks and waits for next missing archivelog.
    standby alert log mesage
    Sun Jul 08 21:33:13 Pacific Daylight Time 2012
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 128945-128945
    DBID 4176230406 branch 617106566
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Sun Jul 08 21:44:03 Pacific Daylight Time 2012
    db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    trace file of standby
    Dump file d:\oracle\admin\mks01p\bdump\mks01p_mrp0_6628.trc
    Sun Jul 08 21:30:23 2012
    ORACLE V10.2.0.5.0 - 64bit Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Oracle Label Security, OLAP, Data Mining and Real Application Testing options
    Windows NT Version V6.1 Service Pack 1
    CPU : 8 - type 8664, 4 Physical Cores
    Process Affinity : 0x0000000000000000
    Memory (Avail/Total): Ph:37019M/49108M, Ph+PgF:87277M/103214M
    Instance name: mks01p
    Redo thread mounted by this instance: 1
    Oracle process number: 19
    Windows thread id: 6628, image: ORACLE.EXE (MRP0)
    *** SERVICE NAME:() 2012-07-08 21:30:23.422
    *** SESSION ID:(95.1) 2012-07-08 21:30:23.422
    *** 2012-07-08 21:30:23.422 64949 kcrr.c
    MRP0: Background Managed Standby Recovery process started
    *** 2012-07-08 21:30:28.445 1170 krsm.c
    Managed Recovery: Initialization posted.
    *** 2012-07-08 21:30:28.445 64949 kcrr.c
    Managed Standby Recovery not using Real Time Apply
    *** 2012-07-08 21:30:39.833
    Recovery target incarnation = 1, activation ID = -118713082
    Influx buffer limit = 10000 min(50% x 191963, 10000)
    Successfully allocated 7 recovery slaves
    Using 158 overflow buffers per recovery slave
    Start recovery at thread 1 ckpt scn 7982577982885 logseq 128945 block 2
    *** 2012-07-08 21:30:40.784
    Media Recovery add redo thread 1
    *** 2012-07-08 21:30:40.784 1170 krsm.c
    Managed Recovery: Active posted.
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+ORAREDO3/mks01p/mks01p_redo01b.rdo'
    ORA-17503: ksfdopn:2 Failed to open file +ORAREDO3/mks01p/mks01p_redo01b.rdo
    ORA-15001: diskgroup "ORAREDO3" does not exist or is not mounted
    ORA-15001: diskgroup "ORAREDO3" does not exist or is not mounted
    ORA-00312: online log 1 thread 1: '+ORAREDO1/mks01p/mks01p_redo01a.rdo'
    ORA-17503: ksfdopn:2 Failed to open file +ORAREDO1/mks01p/mks01p_redo01a.rdo
    ORA-15001: diskgroup "ORAREDO1" does not exist or is not mounted
    ORA-15001: diskgroup "ORAREDO1" does not exist or is not mounted
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+ORAREDO3/mks01p/mks01p_redo01b.rdo'
    ORA-17503: ksfdopn:2 Failed to open file +ORAREDO3/mks01p/mks01p_redo01b.rdo
    ORA-15001: diskgroup "ORAREDO3" does not exist or is not mounted
    ORA-15001: diskgroup "ORAREDO3" does not exist or is not mounted
    ORA-00312: online log 1 thread 1: '+ORAREDO1/mks01p/mks01p_redo01a.rdo'
    ORA-17503: ksfdopn:2 Failed to open file +ORAREDO1/mks01p/mks01p_redo01a.rdo
    ORA-15001: diskgroup "ORAREDO1" does not exist or is not mounted
    ORA-15001: diskgroup "ORAREDO1" does not exist or is not mounted
    *** 2012-07-08 21:30:40.940 64949 kcrr.c
    Clearing online redo logfile 1 +ORAREDO1/mks01p/mks01p_redo01a.rdo
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+ORAREDO3/mks01p/mks01p_redo01b.rdo'
    ORA-17503: ksfdopn:2 Failed to open file +ORAREDO3/mks01p/mks01p_redo01b.rdo
    ORA-15001: diskgroup "ORAREDO3" does not exist or is not mounted
    ORA-15001: diskgroup "ORAREDO3" does not exist or is not mounted
    ORA-00312: online log 1 thread 1: '+ORAREDO1/mks01p/mks01p_redo01a.rdo'
    ORA-17503: ksfdopn:2 Failed to open file +ORAREDO1/mks01p/mks01p_redo01a.rdo
    ORA-15001: diskgroup "ORAREDO1" does not exist or is not mounted
    ORA-15001: diskgroup "ORAREDO1" does not exist or is not mounted
    ORA-00349: failure obtaining block size for '+ORAREDO1/mks01p/mks01p_redo01a.rdo'
    ORA-15001: diskgroup "ORAREDO1" does not exist or is not mounted
    Error 349 creating/clearing online redo logfile 1
    *** 2012-07-08 21:30:40.987 64949 kcrr.c
    Clearing online redo logfile 1 complete
    *** 2012-07-08 21:30:41.034 64949 kcrr.c
    Media Recovery Waiting for thread 1 sequence 128945
    *** 2012-07-08 21:30:41.050 64949 kcrr.c
    Fetching gap sequence in thread 1, gap sequence 128945-128945
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2012-07-08 21:30:41.533 64949 kcrr.c
    Error 1031 received logging on to the standby
    *** 2012-07-08 21:30:41.533 64949 kcrr.c
    FAL[client, MRP0]: Error 1031 connecting to MKS01P_PRD for fetching gap sequence
    ORA-01031: insufficient privileges
    *** 2012-07-08 21:31:11.610
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2012-07-08 21:31:12.094 64949 kcrr.c
    Error 1031 received logging on to the standby
    *** 2012-07-08 21:31:12.094 64949 kcrr.c
    FAL[client, MRP0]: Error 1031 connecting to MKS01P_PRD for fetching gap sequence
    ORA-01031: insufficient privileges
    *** 2012-07-08 21:31:42.186
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2012-07-08 21:31:42.654 64949 kcrr.c
    Error 1031 received logging on to the standby
    *** 2012-07-08 21:31:42.670 64949 kcrr.c
    FAL[client, MRP0]: Error 1031 connecting to MKS01P_PRD for fetching gap sequence
    ORA-01031: insufficient privileges
    *** 2012-07-08 21:32:12.747
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2012-07-08 21:32:13.215 64949 kcrr.c
    Error 1031 received logging on to the standby
    *** 2012-07-08 21:32:13.230 64949 kcrr.c
    FAL[client, MRP0]: Error 1031 connecting to MKS01P_PRD for fetching gap sequence
    ORA-01031: insufficient privileges
    *** 2012-07-08 21:32:43.276
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1031 and errmsg is 'ORA-01031: insufficient privileges
    *** 2012-07-08 21:32:43.759 64949 kcrr.c
    Error 1031 received logging on to the standby
    *** 2012-07-08 21:32:43.775 64949 kcrr.c
    FAL[client, MRP0]: Error 1031 connecting to MKS01P_PRD for fetching gap sequence
    ORA-01031: insufficient privileges
    *** 2012-07-08 21:33:13.821
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    i created new password fle on bith primary and standby database also.
    Please help me to resolve this issue.

    ORA-15001: diskgroup "ORAREDO3" does not exist or is not mounted
    ORA-15001: diskgroup "ORAREDO3" does not exist or is not mountedhave you mentioned parameter LOG_FILE_NAME_CONVERT in standby when online redo log locations are different?
    post from standby:-
    SQL> select name, state From v$asm_diskgroup;
    FAL[client, MRP0]: Error 1031 connecting to MKS01P_PRD for fetching gap sequence
    ORA-01031: insufficient privilegesPost from primary & standby
    SQL> select * from v$pwfile_users;
    User Profile for 919131
    919131     
    Handle:     919131  
    Status Level:     Newbie
    Registered:     Mar 6, 2012
    Total Posts:     16
    Total Questions:     8 (8 unresolved)
    OTN failed 100% to help you, then why you posted another question?
    First close all your old answered threads and then better continue your updates in your thread.
    Edited by: CKPT on Jul 9, 2012 11:45 AM

  • Fetching 3 laks records from the database

    Hi All,
    I have a requirement that if we are fetchin 3 lakks records from the database, can we fetch the records in a single span of time ,if yes then how?
    If no, then we have to fetch the recods multiple times but since for the first time it is fetching 1 lakh records and for the next time how the bpel engine know that it has to fetch 1000001 record.
    Can anybody came this type of scenario. Please guide me on this.
    Regards,
    Ch

    There are some options given here @ http://myexperienceswithsoa.blogspot.com/2010/06/db-adapter-polling-tricks.html
    Check them out.
    But if you reading so much of data at once, you better have the necessary infrastructure to handle the load like memory, jvm tuning, etc ...
    If there is a limitation, you will need to assess your polling record count to be may 10K or so to strike a balance on the performance.
    Hope this helps.
    Thanks,
    Patrick

  • How to fetch the distict records from xcelsius excel column

    i have brought the datas from database using webservice
    from this data i want to fetch the distinct records in another column
    how to do this without using third party tool like "Centigon filtered summary"
    plz help me.
    Regards
    Ram.G
    Edited by: g.ram84 on Dec 1, 2009 6:57 AM

    Hi Ram,
    This can be achieved using functionalities within excel of the Xcelsius.
    Please try the steps below:
    1) From the excel menu choose Data | Filter | advaced Filter.
    2) choose your entire range.
    3) choose location to copy.
    4) choose Unique records only
    and only unique records will be copied.
    Hope this helps...
    Regards,
    Ankeet

  • How to fetch first 4 records from database.

    hi experts.i am inexperience in this field.
    please tell me suppose i want to extract only 4 records from the database ,
    what is the select statement for this .
    best regards.
    subhasis.

    Hi
    use this program as example.
    u wil get solution.
    REPORT  ZSEN_ABAP_TABLE                         .
    Tables : mara.
    data : wa_mara type mara,
           it_mara type table of mara.
    SELECT * UP TO 4 ROWS FROM MARA INTO TABLE it_mara.
    loop at it_mara into wa_mara.
    Write : / wa_mara-MATNR,
             wa_mara-MTART,
             wa_mara-BISMT.
    endloop.
    Thanks
    Senthil

  • Download 800,000 records from table to Note pad.

    Hi
    I have to download 876,800 records from a Table to a Note pad. Can any one suggest me the best way to download.
    Satish.

    This is asked quite often here, remember there IS indeed a search function (and it works better nowadays)...
    Here is a recent thread: Re: Download table entries
    Cheers Michael

  • Error while retrieving data from sql using jdbc adapter

    hi all,
    i m working on one scenario where i m sending data using HTTP and receiver is jdbc adapter which is retrieving me data from sql server.
    i have checked the structure both for req and res.
    i m getting this error
    <SAP:Error>
    <SAP:Category>Application</SAP:Category>
    <SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P1>com/sap/xi/tf/_INF57285_DB_HR_RES_</SAP:P1>
    <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
    <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
    <SAP:Stack>During the application mapping com/sap/xi/tf/_INF57285_DB_HR_RES_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
    </SAP:Error>
    can somebody help me with this.
    Thanks & Regards
    Aruna

    thnks bhavesh i think i made it that way
    JDBC REQ  
      <ns:INF57285_DB_Request xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
      <Employee>
        <EmpDetails action="SELECT">
          <table>EmpDetails</table>
          <access>
            <Name />
            <EmpId />
            <Band />
            <Salary />
          </access>
          <Key>
            <EmpId>57285</EmpId>
          </Key>
        </EmpDetails>
      </Employee>
    </ns:INF57285_DB_Request>                        
      JDBC RES
    <ns:INF57285_DB_Request_response xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
      <Employee_response>
        <row>
          <Name>aruna</Name>
          <EmpId>57285</EmpId>
          <Band>A</Band>
          <Salary>4675776</Salary>
        </row>
      </Employee_response>
    </ns:INF57285_DB_Request_response>
    my hr req is which i mapped with DB req
    <ns:INF57285_HR_Req xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
      <REQUEST>
        <EmpNo>57285</EmpNo>
      </REQUEST>
    </ns:INF57285_HR_Req>
    my hr res is which i mapped with DB res
    <ns:INF57285_HR_Res xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
      <response>
        <row>
          <Name>aruna</Name>
          <Empld>57285</Empld>
          <Salary>4675776</Salary>
        </row>
      </response>
    </ns:INF57285_HR_Res>
    and interestingly i am not getting any error in sxmb_moni
    it's not showing any error
    plz suggest me something wht to do ....
    thnks & regards
    Aruna

  • Recording from DAT using SB Conn

    Long time ago I have recorded DAT tapes using my Denon DTR 2000. I used digital recording from CD for that.Now I am considering using SB Connect for burning CD's (DAT?is such an old stuff?don't want to loose my recordings). Anyone has tried anything like that? Any problem with SCMS?

    BES,
    Which input on the back of the card did you use? The Line-in is the stereo input. Ensure that you have the cable fully inserted on both ends. Also check with another source such as a CD player or personal radio. This will tell you if the tape player may be sending only the left, or if the input jack is failing.
    Daniel

  • Displaying the selected multiple records from node using onleadselect event

    Hi all,
    How to display the selected multiple records from node to node using onleadselect event.
    i came to know tht to fulfill this requirement i need to use the method get_selected_elements,
    how to use this method in my event??
    sree

    Hi Sree,
    Try below code..
    DATA : lo_nd_it_lips TYPE REF TO if_wd_context_node,             // This is first node
                 lo_el_it_lips TYPE REF TO if_wd_context_element,
                 ls_it_lips TYPE wd_this->Element_it_lips,
                 lt_it_lips TYPE wd_this->Elements_it_lips.
               DATA: wa_temp TYPE REF TO if_wd_context_element,
                lt_temp TYPE wdr_context_element_set.
    * navigate from <CONTEXT> to <IT_LIPS> via lead selection
          lo_nd_it_lips = wd_context->path_get_node( path = `ZRETURN_DEL_CHANGE.CHANGING_3.IT_LIPS` ).
          CALL METHOD lo_nd_it_lips->get_selected_elements
            EXPORTING
                INCLUDING_LEAD_SELECTION = ABAP_true
            RECEIVING
              set = lt_temp.
          DATA lo_nd_pack_mat TYPE REF TO if_wd_context_node.          //Second Node
          DATA lo_el_pack_mat TYPE REF TO if_wd_context_element.
          DATA ls_pack_mat TYPE wd_this->Element_pack_mat.
          DATA lt_pack_mat TYPE wd_this->Elements_pack_mat.
    * navigate from <CONTEXT> to <PACK_MAT> via lead selection
          lo_nd_pack_mat = wd_context->get_child_node( name = wd_this->wdctx_pack_mat ).
          lo_nd_pack_mat->get_static_attributes_table( importing table = lt_pack_mat ).
          LOOP AT lt_temp INTO wa_temp.
            CALL METHOD wa_temp->get_static_attributes
              IMPORTING
                static_attributes = ls_it_lips.
                  ls_pack_mat-vbeln = ls_it_lips-vbeln.
                  ls_pack_mat-material = ls_it_lips-matnr.
                  ls_pack_mat-vgbel = ls_it_lips-vgbel.
                    append ls_it_lips to lt_unpack.
                  CLEAR ls_pack_mat.
           ENDLOOP.
    Cheers,
    Kris.

  • Fetch only required fields from SQL Table

    Hi,
    We have a table like below which will get data thru a job.
    And I'm writing a Job/SP which will fetch 4 fields from that table and send  them in a Email to Admins informing how many new employee are added newly.
    How to loop thru these fields  and not only there might be a chance where we will have 100 records and I need to take only first 30 of them and send.
    EmpId
    Empname
    Deptname
    Designation
     Can any one has any solution on achieving this?
    Thanks

    Please refer the below link:
    http://beyondrelational.com/modules/2/blogs/77/posts/11386/sql-server-t-sql-different-ways-to-generate-a-comma-separated-string-from-a-table.aspx
    You need to use the Top30 query as your table in the script :
    select top 30 EmpID,EmpName,DeptName,Designation
    from tbl_name
    order by EmpID
    Eg: You may need to do for other columns:
    --WARNING: THIS SCRIPT IS PROVIDED AS-IS AND WITHOUT
    -- WARRANTY.
    -- FOR DEMONSTRATION PURPOSES ONLY
    --Step 01: Generate Temp table to store source data
    DECLARE @NamesTable TABLE (Id INT,
    Name NVARCHAR(50))
    --Step 02: Generate test data
    INSERT INTO @NamesTable VALUES (1,'A'),
    (2,'D'),
    (2,'C'),
    (3,'E'),
    (3,'H'),
    (3,'G')
    DECLARE @listIds VARCHAR(MAX) --DO NOT initialize this one!
    SELECT @listIds = COALESCE(@listIds + ',' ,'') + Cast(nt.Id as varchar(10))
    FROM @NamesTable nt Order by ID asc
    DECLARE @listNames VARCHAR(MAX) --DO NOT initialize this one!
    SELECT @listNames = COALESCE(@listNames + ',' ,'') + nt.Name
    FROM @NamesTable nt Order by ID asc
    SELECT 'EmpID: ' + @listIds+', EmpName: ' + @listNames

Maybe you are looking for

  • Safari doesn't even open..

    when i open safari and go to open a url on safari boswer, all the options are grayed out... what does that mean?

  • Error Code "-5002" While adding a Goods Issue Document

    Hi, While adding a goods issue document for only a specific combination of items I get "Internal Error (-5002) occured" message. The scenario is i am adding 5 rows with following specification Row1- Serial Managed Item Row2- Batch Managed Item Row3-

  • How to Raise alert in XI when a new file reaches application server

    Hey guys i have a requirement in which i need to trigger a piece of  ABAP code whenever a new file reaches a specific directory of Application server. i m using File adapter on receiver side and i want to raise a trigger so that the ABAP code is exec

  • Eclipse not showing the directory structure from CVS repository.

    On my eclipse, when I click on the CVS repository perspective. I don�t see names of the module under �HEAD�. I mean I don�t see the directories. I can�t see what modules are there. This functionality was always working and all of sudden it stopped wo

  • Syncing itunes to apple tv

    I have 61.39 gb of songs in itunes,only 60.9gb in my apple tv . there is 25 gb free.