How To Use OSB's XQuery to do this example?

Hi All Friends:
My WSDL Service document is :
<taij:DownloadBusinessNO xmlns:taij="http://www.taiji.com.cn/">
<!--Optional:-->
<taij:condition>
<!--Optional:-->
<taij:StartDate>string</taij:StartDate>
<!--Optional:-->
<taij:EndDate>string</taij:EndDate>
<!--Optional:-->
<taij:DataType>string</taij:DataType>
<!--Optional:-->
<taij:PaperType>string</taij:PaperType>
<!--Optional:-->
<taij:AcceptOrg>string</taij:AcceptOrg>
<!--Optional:-->
<taij:IsContain>string</taij:IsContain>
</taij:condition>
</taij:DownloadBusinessNO>
I want Use the JAVA Callout Function Return variable is StartDate (type String) to the XQuery Text
so what should i write the XQuery Text?
thanks all friend!

I Use U function
but in test Model,Have error message is : type error.
In the Invocation Trace the code is :
<taij:DownloadBusinessNO xmlns:taij="http://www.taiji.com.cn/">
<!--Optional:-->
<taij:condition>
<!--Optional:-->
<taij:StartDate>data($StartDate)</taij:StartDate>
<!--Optional:-->
<taij:EndDate>data($EndDate)</taij:EndDate>
<!--Optional:-->
<taij:DataType>2</taij:DataType>
<!--Optional:-->
<taij:PaperType></taij:PaperType>
<!--Optional:-->
<taij:AcceptOrg></taij:AcceptOrg>
<!--Optional:-->
<taij:IsContain></taij:IsContain>
</taij:condition>
</taij:DownloadBusinessNO>
The System should not Translation the Code!
I Don't Know why!

Similar Messages

  • How To Use OSB's For Each to do this example?

    Hi All Friend:
    My XML From Assign . it SOAP Response Body variable is : RequestBussiNo. The Document is :
    <soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <DownloadBusinessNOResponse xmlns="http://www.taiji.com.cn/">
    <DownloadBusinessNOResult>
    <BusinessNO>
    <string>150100110262188</string>
    <string>150100110280225</string>
    <string>150100110284768</string>
    </BusinessNO>
    <ArraySize>3</ArraySize>
    <Result>true</Result>
    <ReturnCode>0000-Interface execute successed!</ReturnCode>
    </DownloadBusinessNOResult>
    </DownloadBusinessNOResponse>
    </soap:Body>
    I Don't Know How to Use For Each Function to each this Document Get the "string" tag text;
    my friend Please help me. thanks.

    Check the below thread and let us know if it helps
    Re: OSB:for-each action working procedure with a sample.
    Re: Assign activity erros with XPath query string returns multiple nodes.
    Regards,
    Ramesh

  • How to use decode or case function in this?

    Hi,
    I want to implement this condition in a query without using any user defined functions
    1.if (T_fees = 'ABC' then if (p_fees>0) then nvl(p_fees,0) else (p_fees + a_fees) else 0)
    2. if(g_fees <> (if t_fees = 'ABC' then if (p_fees>0) then nvl(p_fees,0) else (p_fees)
    else 0
    Is it possible to use any nested 'CASE' statement ?
    This is very urgent...
    Regards,
    Shilpa

    Hi,
    Is it possible to use any nested 'CASE' statement ?Yes it it possible.
    "afiedt.buf" 7 lines, 89 characters
      1  SELECT sysdate FROM DUAL
      2  WHERE 1 = (CASE WHEN 1=1  AND 2=2 THEN
      3             1
      4       ELSE
      5             2
      6*     END)
    SQL>/
    SYSDATE
    07-AUG-06
    1 row selected.
    "afiedt.buf" 11 lines, 139 characters
      1  SELECT sysdate FROM DUAL
      2  WHERE 1 = (CASE WHEN 1=1  AND 2=2 THEN
      3             CASE WHEN 3=3 AND 4=4 THEN
      4                     1
      5             ELSE
      6                     0
      7             END
      8       ELSE
      9             0
    10*     END)
    SQL>/
    SYSDATE
    07-AUG-06
    1 row selected.
    You can implement your logic.
    Regards

  • How to use lookup in xquery(OSB)

    Hi
    In xquery , I have hardcoded the value and compare the hard coded value against input payload and fetch the corresponding value for hard coded value .
    In this way, I have hardcoded around 35 values in Xquery .
    But the client wants to use lookup or xref, some what like name value pair and not to use hard coding in xquery .
    Please let me know, how to implement in Xquery .

    Additionally you may refer this one also..
    http://guidoschmutz.wordpress.com/2009/12/25/implement-domain-value-maps-dvm-with-oracle-service-bus-osb-10r3/
    With custom Xpaths.
    http://beatechnologies.wordpress.com/tag/lookup-shared-dvm-in-osb/

  • How to use Foreach in Xquery

    This is my Biz service Output:
    <OutputParameters xmlns="http://=XYZ/pcbpel/adapter/db/WT/WT_IN_CS5_PKG/WT_IN_PROM_OSB/" xmlns:xsi="XYZ/XMLSchema-instance">
    <P_REC_TYPE>
    <P_REC_TYPE_ITEM>
    <ATTRIBUTE_NAME>
    Free MMS to newly activated subscribers Balance
    </ATTRIBUTE_NAME>
    <ATTRIBUTE_VALUE>5.000</ATTRIBUTE_VALUE>
    </P_REC_TYPE_ITEM>
    <P_REC_TYPE_ITEM>
    <ATTRIBUTE_NAME>
    Free MMS to newly activated subscribers Expiry Date
    </ATTRIBUTE_NAME>
    <ATTRIBUTE_VALUE>03-10-2012</ATTRIBUTE_VALUE>
    </P_REC_TYPE_ITEM>
    <P_REC_TYPE_ITEM>
    <ATTRIBUTE_NAME>Monetary bonus for all contracts Balance</ATTRIBUTE_NAME>
    <ATTRIBUTE_VALUE>1.118</ATTRIBUTE_VALUE>
    </P_REC_TYPE_ITEM>
    <P_REC_TYPE_ITEM>
    <ATTRIBUTE_NAME>
    Monetary bonus for all contracts Expiry Date
    </ATTRIBUTE_NAME>
    <ATTRIBUTE_VALUE>03-10-2012</ATTRIBUTE_VALUE>
    </P_REC_TYPE_ITEM>
    </P_REC_TYPE>
    <P_ERR_MSG xsi:nil="true"/>
    <P_ERR_STATUS xsi:nil="true"/>
    </OutputParameters>
    THis is my Current Xquery.Want to Iterate for P_REC_TYPE_ITEM above.
    How to write the Xquery Source,plz suggest
    (:: pragma bea:global-element-parameter parameter="$outputParameters1" element="ns1:OutputParameters" location="../../OraCRMServices_SB/XSD/WT_WT_IN_CS5_PKG_WT_IN_PROM_OSB.xsd" ::)
    (:: pragma bea:global-element-return element="ns0:PrepaidPromotionDtlsResponse" location="../XSD/ShowPrepaidPromotionDtlsResponse.xsd" ::)
    declare namespace ns1 = XYX/db/WT/WT_IN_CS5_PKG/WT_IN_PROM_OSB/";
    declare namespace ns0 = "http:///xml/ShowPrepaidPromotionDtlsResponse";
    declare namespace xf = "http:///ShowPrepaidDtls_SB/Transformations/InPromotionReadToSiebel/";
    declare function xf:InPromotionReadToSiebel($outputParameters1 as element(ns1:OutputParameters))
    as element(ns0:PrepaidPromotionDtlsResponse) {
    <ns0:PrepaidPromotionDtlsResponse>
    <ns0:ListOfPrepaidPromotions>
    <ns0:PrepaidPromotionDtls Name = "{ data($outputParameters1/ns1:P_REC_TYPE/ns1:P_REC_TYPE_ITEM[1]/ns1:ATTRIBUTE_NAME) }"
    Value = "{ data($outputParameters1/ns1:P_REC_TYPE/ns1:P_REC_TYPE_ITEM[1]/ns1:ATTRIBUTE_VALUE) }"/>
    for $P_ERR_MSG in $outputParameters1/ns1:P_ERR_MSG
    return
    <ns0:ErrorMessage>{ data($P_ERR_MSG) }</ns0:ErrorMessage>
    for $P_ERR_STATUS in $outputParameters1/ns1:P_ERR_STATUS
    return
    <ns0:ErrorCode>{ data($P_ERR_STATUS) }</ns0:ErrorCode>
    </ns0:ListOfPrepaidPromotions>
    </ns0:PrepaidPromotionDtlsResponse>
    declare variable $outputParameters1 as element(ns1:OutputParameters) external;
    xf:InPromotionReadToSiebel($outputParameters1)
    Regards
    Shona

    http://www.java2s.com/Code/XML/XQuery/Nestedforloop.htm
    http://www.w3schools.com/xquery/xquery_select.asp
    Thanks,
    Vijay

  • How to use another java program to stop this running prpgram???

    Dear Sir:
    I have following code and I run it success,
    import java.util.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.*;
    public class CertainAndRepeatTime{
      public static void main(String[] args) throws IOException{
        int delay = 1;
        Timer timer = new Timer();
        ActionListener actionListener = new ActionListener() {
            public void actionPerformed(ActionEvent actionEvent) {
              System.out.println("Hello World Timer");
        System.out.println("What do you want (Certain time or Repeat time)?");
        System.out.print("Please enter \'C\' or \'R\' for that: ");
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String ans = in.readLine();
        System.out.print("Please enter  ans=" + ans  + " IsTrue=  " + (ans.equals("R") || ans.equals("r")) +"\n");
        if (ans.equals("C") || ans.equals("c")){
          //System.out.println("This line is printed only once start...");
          timer.schedule(new TimerTask(){
            public void run(){
              System.out.println("This line is printed only once.");
          },delay,1);
        else if(ans.equals("r") || ans.equals("R")){
            timer.scheduleAtFixedRate(new TimerTask(){
              public void run(){
                System.out.println("This line is printed repeatedly.");
            },delay, 1000);
          while(true){
               //System.out.println("Charles print This line is printed repeatedly.");          
          } //This will make your main thread hang.
        else{
          System.out.println("Invalid Entry.");
          System.exit(0);
        System.exit(0);
    }But I hope to use another java program to stop it when it is running instead of pressing CRTL + C to stop it.
    How to do it??
    Any example??
    Thanks a lot!!

    Sorry, I think i did not express cearly. It is my fault.
    I re-write my requirements again:
    I have
    Class AAA1.java,
    Class AAA2.java,
    Class AAA3.java,
    Class AAA20.java...
    etc
    they all look like the program I posted first time,, once executed, they will run for ever, and they will be stopped until I press CRTL + C;
    Now I hope to use another java class StopProgram.java to stop them 1 by 1 or at once instead of pressing CRTL + C;
    In this case, how to code this StopProgram.java ??
    Thanks

  • How to use logical operators with the fields, this feature is avaliable?

    Hi, I need in a form to compare the content of two fields, i.e.  email and confirmation email, is this possible in Forms Central?, how I can do it?
    Thanks you

    Not Supported
    Hi,
    This is not something we currently support but you can add or vote on feature ideas:
    http://forums.adobe.com/community/formscentral?view=idea
    If you need to add a new idea click "Create an idea" under "Actions" in the top right.
    Thanks,
    Jeff

  • How to use CONNECT BY LEVEL to get this result?

    Hi all,
    my DB version is 10gR2.
    here is the table and the data:
    create table t (from_dt date, to_dt date, eno varchar2(2), deptno varchar2(10));
    insert into T values (TO_DATE('2010-01-01','yyyy-mm-dd'),TO_DATE('2010-04-30','yyyy-mm-dd'),'A','DEPTA');
    insert into T valueS (TO_DATE('2010-05-01','yyyy-mm-dd'),TO_DATE('2010-12-31','yyyy-mm-dd'),'A','DEPTB');
    insert into T values (TO_DATE('2010-01-01','yyyy-mm-dd'),TO_DATE('2010-06-30','yyyy-mm-dd'),'B','DEPTA');
    insert into T valueS (TO_DATE('2010-07-01','yyyy-mm-dd'),TO_DATE('2010-12-31','yyyy-mm-dd'),'B','DEPTB');
    from_dt       to_dt           ENO   DEPTNO
    2010-01-01 2010-04-30  A     DEPTA
    2010-05-01 2010-12-31  A     DEPTB
    2010-01-01 2010-06-30  B     DEPTA
    2010-07-01 2010-12-31  B     DEPTBHere is the result I want:
    MONTH    ENO   DEPTNO
    2010-01    A      DEPTA
    2010-02    A      DEPTA
    2010-03    A      DEPTA
    2010-04    A      DEPTA
    2010-05    A      DEPTB
    ...............Here is what I came up with:
    select distinct ADD_MONTHS(TRUNC(FROM_DT,'MON'),level-1) as MONTHS,
           ENO,
           DEPTNO
    from (
        select FROM_DT, TO_DT, ENO, DEPTNO, ROUND(MONTHS_BETWEEN(TO_DT, FROM_DT)) as BET from T
    ) connect by level<=BET
    order by eno, deptno,months ;the problem with this is that, many duplicate rows are generated if I remove DISTINCT from the sql.
    and I don`t know how that happens? How CONNECT BY LEVEL, returns me so many duplicate rows?
    Anyone have any idea about this?
    And is there any other way to do this as well?
    Thanks

    In this case,model clause is one way :-)
    with t(from_dt,to_dt,eno,deptno) as(
    select date '2010-01-01',date '2010-04-30','A','DEPTA' from dual union
    select date '2010-05-01',date '2010-12-31','A','DEPTB' from dual union
    select date '2010-01-01',date '2010-06-30','B','DEPTA' from dual union
    select date '2010-07-01',date '2010-12-31','B','DEPTB' from dual)
    select *
      from t
    model
    partition by(RowNum as PID)
    dimension by(0 as soeji)
    measures(from_dt,to_dt,eno,deptno)
    rules iterate(100)
    UNTIL (add_months(from_dt[0],ITERATION_NUMBER+1) > to_dt[0])
    (from_dt[ITERATION_NUMBER]=add_months(from_dt[0],ITERATION_NUMBER),
    eno[ITERATION_NUMBER]=eno[0],
    deptno[ITERATION_NUMBER]=deptno[0])
    order by eno,from_dt;
    PID  SOEJI  FROM_DT   TO_DT     E  DEPTN
      1      0  10-01-01  10-04-30  A  DEPTA
      1      1  10-02-01  null      A  DEPTA
      1      2  10-03-01  null      A  DEPTA
      1      3  10-04-01  null      A  DEPTA
      3      0  10-05-01  10-12-31  A  DEPTB
      3      1  10-06-01  null      A  DEPTB
      3      2  10-07-01  null      A  DEPTB
      3      3  10-08-01  null      A  DEPTB
      3      4  10-09-01  null      A  DEPTB
      3      5  10-10-01  null      A  DEPTB
      3      6  10-11-01  null      A  DEPTB
      3      7  10-12-01  null      A  DEPTB
      2      0  10-01-01  10-06-30  B  DEPTA
      2      1  10-02-01  null      B  DEPTA
      2      2  10-03-01  null      B  DEPTA
      2      3  10-04-01  null      B  DEPTA
      2      4  10-05-01  null      B  DEPTA
      2      5  10-06-01  null      B  DEPTA
      4      0  10-07-01  10-12-31  B  DEPTB
      4      1  10-08-01  null      B  DEPTB
      4      2  10-09-01  null      B  DEPTB
      4      3  10-10-01  null      B  DEPTB
      4      4  10-11-01  null      B  DEPTB
      4      5  10-12-01  null      B  DEPTB

  • How can I do a Background image like this (example inside)

    Check this out:
    Click Here
    Notice if you view the background image by itself, its much bigger than what is appearing on the website in the browser.  Is it set to automatically adjust to your monitor size?  How can I achieve this through CSS?
    Also, how can I setup a transparent background (like in the middle of the page?)
    Thanks

    "Is it set to automatically adjust to your monitor size?  How can I achieve this through CSS?"
    It's an illusion.  The body background image is defined with a fixed position, so the image is actually floating off to the left when viewport width is decreased.  Another example of this can be seen here along with the CSS code used to create it.
    http://alt-web.com/DEMOS/fixed-background.shtml. 
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    HTML Validator -  http://validator.w3.org
    CSS Validator - http://jigsaw.w3.org/css-validator/
    Tutorials - http://w3schools.com/

  • How to use Microsoft Word's Find and Replace with HTML tags?

    Hello to all!
    I'm trying to figure out how to use the find and replace function in Word to replace html tags. I'd like to be able to change something like this:
    <span class="B01-K-ITAL">random text</span>
    To something like this:
    <em>random text</em>
    I want to replace the open and close tags without changing or interfering with the text between the tags. I'm pretty sure I should use wildcards, but I can't figure out how to use them properly.
    Anyone able to lend a hand?

    Here is my latest regular expression with Perl.   I think it matches the spirit of the request in the original post.
    Note, this isn't as easy as you think.  You need to code up the complete set of html rules in you implementation. You need to allow for a certain amount of mal-formed html.
    perl -0660pe 's^<[sS][pP][aA][nN]\s+class="B01-K-ITAL"\s*>(.*?)</[sS][pP][aA][nN]>^<em>$1</em>^gs' i.html >|o.html
    input text
     <html> <head>...</head> <body>I'd like to be able to change something like this: <span class="B01-K-ITAL">#1 one line</span> I want to replace the open and close tags without changing or interfering with the text between the tags. I'm pretty sure I should use wildcards, but I can't figure out how to use them properly. <p>note, this isn't as easy as you think.  You need to code up the complete set of html rules in you implementation. You need to allow for a certain amount of mal-formed html.</p> <span class="B01-K-ITAL">#2 don't be greedy</span> <span class="B01-K-ITAL">$3 multiline text</span> <span class="B01-K-ITAL">#4 multiline tag. I believe html allow a carriage return in white space of tags</span> <span class="B01-K-ITAL">#5 split after the class tag. optional white space</span> <sPan class="B01-K-ITAL">#6 mixed case tag</Span> <p>no text #7</p><span class="B01-K-ITAL"></span> <!-- Apparently, this is valid     http://www.positioniseverything.net/articles/cc-plus.html --> <!--[if IE]> <div id="IEroot"> <![endif]--> <p id="IE">This browser is IE.</p> <p id="notIE">This browser is not IE.</p><!--[if IE]> </div> <![endif]--></body> </html>
    output text
     <html> <head>...</head> <body>I'd like to be able to change something like this: <em>#1 one line</em> I want to replace the open and close tags without changing or interfering with the text between the tags. I'm pretty sure I should use wildcards, but I can't figure out how to use them properly. <p>note, this isn't as easy as you think.  You need to code up the complete set of html rules in you implementation. You need to allow for a certain amount of mal-formed html.</p> <em>#2 don't be greedy</em> <em>$3 multiline text</em> <em>#4 multiline tag. I believe html allow a carriage return in white space of tags</em> <em>#5 split after the class tag. optional white space</em> <em>#6 mixed case tag</em> <p>no text #7</p><em></em> <!-- Apparently, this is valid     http://www.positioniseverything.net/articles/cc-plus.html --> <!--[if IE]> <div id="IEroot"> <![endif]--> <p id="IE">This browser is IE.</p> <p id="notIE">This browser is not IE.</p><!--[if IE]> </div> <![endif]--></body> </html>

  • How to use images from ADFLib

    Hello OTN,
    My application is devided into several ADFLibs, one of them is CommonUI. It includes common skin and it is imported into every application part.
    There are some images which should be available in different parts, so I decided to put them in CommonUI.
    After deploying adflibCommonUI adn refreshing Resource Palette, somehow I expected to see this image there, but it isn't.
    Could someone, please, explain me, how to use images contained in imported ADFLib, for example, as imageLink icon?
    Thanks.
    ADF 11.1.2.1

    Hi,
    images need to be saved in a specific file structure in the JAR file to be accessible. See:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/86-images-from-jar-427953.pdf
    Frank

  • How to use sqlldr for loading data in Oracle 10g xe.

    I want to load data using SQL*LOADER in Oracle DB from a .csv file but it doesn't seems to be working can anyony please help me.I am not get getting how to use sqlldr.
    in CMD in giving this command
    sqlldr hr/hr control='c:/data/record.ctr'
    record.ctr>>load data
    infile 'c:\data\record.csv'
              into table record
    fields terminated by "," optionally enclosed by '"'          
    ( Name,uday, hemant )
    sql table in data base>>CREATE TABLE "RECORD"
    (     "NAME" VARCHAR2(50),
         "UDAY" VARCHAR2(50),
         "HEMANT" VARCHAR2(50)
    record.csv>>name,uday,hemant
    c1,45454,84894
    c2,489654,21322
    can you please tell me how can i get this simple example run.

    C:\>sqlldr scott/tiger
    control = data.ctl
    SQL*Loader: Release 10.1.0.2.0 - Production on Thu Sep 14 17:06:46 2006
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Commit point reached - logical record count 3
    SQL> conn scott/tiger
    Connected.
    SQL> create table data (col1 varchar2(40),col2 varchar2(40),col3 varchar2(40));
    Table created.
    SQL> select * from data;
    COL1                 COL2                 COL3
    name                 uday                 hemant
    c1                   45454                84894
    c2                   489654               21322
    SQL>
    data.csv
    name,uday,hemant
    c1,45454,84894
    c2,489654,21322data.ctl
    load data
    infile 'c:\data.csv'
    append
    into table data
    fields terminated by ','
    optionally enclosed by '"'
    (col1,col2,col3)i hope it will solve ur problem

  • How to use outside Class in packed library plugins

    I have found the very useful article from Michael Lacasse (https://decibel.ni.com/content/docs/DOC-19176) on how to use packed library as plugins. This approach makes the most sense when you try to distribute additional code after your executable has already been installed.
    My problem is that when I try to use a class from the main code in a plugin, the plugins won't work anymore. Ideally, I would have liked the parent plugin-interface to inherit from a class used in the main code, or using the class as an input parameter of the plugin would be the next best thing.
    I got several errors, some at execution time (#1448) or at edit time ("This VI does not match other VIs in the method: connector pane terminal(s)"). I have settled to use clusters to pass data to the plugins.
    My question is: Is it possible to use a class defined in the main code in a packed-project-library, either inherited or as a parameter? If yes, do you have any example?
    Marc Dubois
    HaroTek LLC
    www.harotek.com
    Solved!
    Go to Solution.

    I should point out that it's important to use the copy THAT'S IN THE PPL, *-NOT-* the copy from your source.
    It will compile if you mix them together, but they aren't the same object, and won't share data.
    You should never refer to your source code for the class, except to build the PPL.
    (Consider using a separate project, to avoid temptation).
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • How does the URL of DataSocket constitute?And how to use it in LabWindows/CVI ?

    Hi !
    There's a problem puzzled me some days.How does the URL of DataSocket constitute ? And how to use it in LabWindow/CVI ?
    For example.I have downloaded a code in http://zone.ni.com/devzone/cda/epd/p/id/3787.I want to make it work properly.So I configure my DataSocket Server Manger according to the URL of this statement.
    DS_Open ("dstp://weather.natinst.com/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
     My DateSockket Server Manger is configured as:
    However,it could not work properly when I debug it.
    There's a introduction at the top of the code."You may need to replace the references to weather.natinst.com to 130.164.140.10 if the DNS isn't working properly."So,I modified the statement into
    DS_Open ("dstp://130.164.140.10/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
    but,it did work properly.
    We want to communicate with other computers via the URL of  DataSocket in LabWindows/CVI.Whereas,how could we make it ia the URL ?
    If anyone could help me solve this problem,I would appreciate it very much !
    Best regards.
                     xiepei
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

    Hi !
    Thank you very much for your reply! I will accept your advice.
    Besides,I have another question.If I want to visit other computers or other websites,how does the URL of DataSocket  I constitute ? Does the URL has any relation with the DataSocket Server Manger ?If does,how to configure the DataSocket Server Manager to let them connected.If they have no relation,how to use the DataSocket Server Manger ?
    After all,I want to know how to use it in LabWinows/CVI ?
    Thank you very much !
    Best regards!
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

  • How to use intractive list in Alv REPORT

    how to use intractive list in Alv REPORT with example.
    thangs
    venki.......

    Hi
    using the USER_COMMAND we can move to the Secondary(interactive) list in the ALV
    see the sample code
    report yh645_secndry_alv.
    type-pools: slis.
    data: fieldcat type slis_t_fieldcat_alv,
    fieldcat_ln like line of fieldcat,
    fs_layout type slis_layout_alv,
    t_layoout like standard table
    of fs_layout.
    data: begin of fs_spfli,
    carrid type spfli-carrid,
    connid type spfli-connid,
    countryfr type spfli-countryfr,
    cityfrom type spfli-cityfrom,
    airpfrom type spfli-airpfrom,
    countryto type spfli-countryto,
    cityto type spfli-cityto,
    airpto type spfli-airpto,
    fltime type spfli-fltime,
    deptime type spfli-deptime,
    arrtime type spfli-arrtime,
    distance type spfli-distance,
    distid type spfli-distid,
    fltype type spfli-fltype,
    period type spfli-period,
    checkbox,
    color(3),
    end of fs_spfli.
    data:
    begin of fs_table,
    carrid type spfli-carrid,
    connid type spfli-connid,
    end of fs_table.
    data: begin of fs_sflight,
    check,
    color(3).
    include type sflight.
    data:end of fs_sflight.
    data:
    begin of fs_table1,
    carrid type sflight-carrid,
    connid type sflight-connid,
    fldate type sflight-fldate,
    end of fs_table1.
    data:
    t_spfli like standard table
    of fs_spfli.
    data:
    t_table like standard table
    of fs_table.
    data:
    t_table1 like standard table
    of fs_table1.
    data:
    t_sflight like standard table
    of fs_sflight.
    data:
    t_sbook like standard table
    of sbook.
    data t_layout type slis_layout_alv.
    select *
    into corresponding fields of table t_spfli
    from spfli.
    perform start_list_viewer.
    perform get_spfli_details.
    *& Form SUB1
    text
    -->RT_EXTAB text
    form sub1 using rt_extab type slis_t_extab.
    data: flight type slis_extab.
    flight-fcode = 'SFLIGHT'.
    append flight to rt_extab.
    set pf-status 'SFLIGHT'. " EXCLUDING RT_EXTAB.
    endform. "SUB1
    *& Form START_LIST_VIEWER
    text
    --> p1 text
    <-- p2 text
    form start_list_viewer .
    data: pgm like sy-repid.
    pgm = sy-repid.
    fs_layout-box_fieldname = 'CHECKBOX'.
    fs_layout-info_fieldname = 'COLOR'.
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
    i_callback_program = pgm
    i_callback_pf_status_set = 'SUB1'
    i_callback_user_command = 'USER_COMMAND'
    i_structure_name = 'SPFLI'
    is_layout = fs_layout
    tables
    t_outtab = t_spfli
    exceptions
    program_error = 1
    others = 2.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endform. " START_LIST_VIEWER
    *******Process Call Back Events (Begin)**************************
    form user_command using ucomm like sy-ucomm
    selfield type slis_selfield.
    case ucomm.
    when 'SFLIGHT'.
    selfield-refresh = 'X'.
    perform get_spfli_details.
    select *
    from sflight
    into corresponding fields of table t_sflight
    for all entries in t_table
    where carrid eq t_table-carrid
    and connid eq t_table-connid.
    perform display_sflight.
    when 'SBOOK'.
    selfield-refresh = 'X'.
    perform get_sflight_details.
    select *
    from sbook
    into corresponding fields of table t_sbook
    for all entries in t_table1
    where carrid eq t_table1-carrid
    and connid eq t_table1-connid
    and fldate eq t_table1-fldate.
    perform display_sbook.
    endcase.
    endform. "USER_COMMAND
    *& Form SUB2
    text
    -->RT_EXTAB text
    form sub2 using rt_extab type slis_t_extab.
    data: flight type slis_extab.
    flight-fcode = 'SBOOK'.
    append flight to rt_extab.
    set pf-status 'SBOOK'. " EXCLUDING RT_EXTAB.
    endform. "SUB2
    *& Form DISPLAY_SFLIGHT
    text
    --> p1 text
    <-- p2 text
    form display_sflight .
    data: pgm like sy-repid.
    pgm = sy-repid.
    clear t_layout.
    fs_layout-box_fieldname = 'CHECK'.
    fs_layout-info_fieldname = 'COLOR'.
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
    i_callback_program = pgm
    i_callback_pf_status_set = 'SUB2'
    i_callback_user_command = 'USER_COMMAND'
    i_structure_name = 'SFLIGHT'
    is_layout = fs_layout
    tables
    t_outtab = t_sflight
    exceptions
    program_error = 1
    others = 2.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endform. " DISPLAY_SFLIGHT
    *& Form GET_SPFLI_DETAILS
    text
    --> p1 text
    <-- p2 text
    form get_spfli_details .
    loop at t_spfli into fs_spfli.
    if fs_spfli-checkbox = 'X'.
    fs_spfli-color = 'C51'.
    fs_spfli-checkbox = '1'.
    fs_table-carrid = fs_spfli-carrid.
    fs_table-connid = fs_spfli-connid.
    append fs_table to t_table.
    modify t_spfli from fs_spfli.
    endif.
    endloop.
    endform. " GET_SFLIGHT_DETAILS
    *& Form GET_SFLIGHT_DETAILS
    text
    --> p1 text
    <-- p2 text
    form get_sflight_details .
    loop at t_sflight into fs_sflight.
    if fs_sflight-check = 'X'.
    fs_sflight-color = 'C71'.
    fs_sflight-check = '1'.
    fs_table1-carrid = fs_sflight-carrid.
    fs_table1-connid = fs_sflight-connid.
    fs_table1-fldate = fs_sflight-fldate.
    append fs_table1 to t_table1.
    modify t_sflight from fs_sflight.
    endif.
    endloop.
    endform. " GET_SFLIGHT_DETAILS
    *& Form DISPLAY_SBOOK
    text
    --> p1 text
    <-- p2 text
    form display_sbook .
    data: pgm like sy-repid.
    pgm = sy-repid.
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
    i_callback_program = pgm
    i_structure_name = 'SBOOK'
    tables
    t_outtab = t_sbook
    exceptions
    program_error = 1
    others = 2.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endform. " DISPLAY_SBOOK
    Reward points for useful Answers
    Regards
    Anji

Maybe you are looking for

  • How to schedule a workflow for recurring executions: The solution

    Scheduling a workflow for recurring execution has been long awaited in WFA, perhaps from 2.0 time. The following document shows how to get it done. I've also explained the logic behind it. It’s very simple to use, meets every requirement which one ca

  • Creative suite web standard and vista 32 bit

    Since purchasing a new computer with Vista my old web software which ran fine on XP is now obsolete and I need to purchase new. What is the lowest version of the Adobe Creative Suite Web Standard that will work on Vista Home Basic SP1 with media 32 E

  • Need Ur Help about installation of Mac OSX

    Hello ! I'm trying to install MAC on my PC, but i can't I've been booting from a DVD, but when the apple with grey background appears my PC halted and need to restart. I'm using this DVD file "SnowOSX_Universal_10.6(432)GM_v3.5"... I would like to as

  • Canon PIXMA MX722 vs MX922

    This is like a hidden deal because I missed the staples 59 dollar deal on MX922 this weeked it was very short I guess anyway if you look at the specs the MX722 is the same as MX922 except for the lcd screen is 2.5 and doesn't come with cd/dvd tray. 

  • Drawing an image in excel sheet using HSSF API

    Hi All, Can any one please help me. I am facing an issue with excel sheet while drawing image using HSSF API. I am doing autofit for all the cells i have added. But the image is stretching along with the expanded cells. I want the autofit option to w