To set Initial value at run time

Hi all,
i am working in forms.There is a poplist with 3 elements.Forms will be open for two different user. 1st user able to see only one element from the list, So I used Delete_list_element. Now I want to set this value as a default value without select that value because there is a only one element. Is it possible if yes please help me.
Thanx in advance
Sanjit

I think, setting property required=Yes will do the job ...
It is also possible to directly initialize a list item with a value (which should be then content of the actual list).
:BLOCK.LIST_ITEM := VALUE;
or you try something like (after your delete_list, to keep it dynamic) :
:BLOCK.LIST_ITEM := GET_LIST_ELEMENT_VALUE('BLOCK.LIST_ITEM',1);
Message was edited by:
user434854

Similar Messages

  • Is it possible to set valid values at run time?

    Hi,
    I'am using a BPM Presentation and I want to know if it is possible to set the values of a combo box depending of the value of other field in the same presentation ando if so how to do it? I tried to do somethin like:
    var = fiedlValidValues()
    I tried to use refreshValidValues but it says that cannot execute the action in a presentation, I don´t know wath else to do
    but it doesn´t works, any idea??
    Thanks in advance
    Marig
    Edited by: user646988 on 05-feb-2009 19:30

    Hi, thanks Anup
    I followed your advise but i didn´t success. I have question, if I'm getting the default values of a field with a method using a query. The type field is String and I'm using it into a combo box so the method I'm using returns a String[], is something like this:
    for each row in SELECT column
    FROM DataBase.SYSBPM.TABLE
    where var1 = var2
    do
    clases[] = row.clase
    end
    return clases
    But if I use a method for the onChange property if the field how to set the default values?
    I tried with
    for each row in SELECT column
    FROM DataBase.SYSBPM.TABLE
    where var1 = field1
    do
    clases[] = row.clase
    end
    clases = claseValidValues()
    But this is not working, do you have any ideas??
    Thanks
    Edited by: user646988 on 15-feb-2009 19:36

  • Can you set an image at run time?  Does it really work?

    I have read that others have been able to set an image at run time, but I cannot seem to get it to work (the image I set does not load).
    What I do is have a page, call it page2, that has two image components on it. In the constructor for page2 I do this:
    // Additional user provided initialization code
    image1.setValue("bike1.JPG");
    image2.setValue("bike2.JPG");
    The jpg files are in the build directory:
    C:\Documents and Settings\Darrin\My Documents\Creator\Projects\ImageTest\build\images
    The odd thing is that for the first image component(image1), I set a default jpg file (nogo.JPG that is in the same directory as the other two), and that does load.
    In fact, when I I check the value of image1 in afterRenderResponse by calling image1.getValue() it still has the default image (nogo.JPG) instead of the one I set it to (bike1.JPG) in the constructor by calling image1.setValue("bike1.JPG");
    So, either the image1.setValue() has no effect, or something is overwriting it.
    What is the trick to getting an image to load at run time like this?
    THANKS!

    Well after several more hours of banging myh ead against the wall, I still cannot get this to work.<br><br>
    I read in the constructor comments that whatever is in the jsp file will override the backing bean's constructor, so that might be part of the problem, but others I thought got this to work using a similar method.<br><br>
    Here is what I tried last which still does not work, but mimics what others have said did work for them:<br><br>
    //See if the default jpg file can even be copied over
    <br> image3.setHeight(image1.getHeight());
    <br> image3.setUrl(image1.getUrl());
    <br> image3.setValue(image1.getValue());
    <br>
    <br> Integer aiw = new Integer("1");
    <br> float aar = 0;
    <br> float ar = 0;
    <br>
    <br> ImageIcon ii = new ImageIcon("C:/Documents and Settings/Darrin/My Documents/Creator/Projects/ImageTest/build/images/bike1.JPG");
    <br> ar = (float)ii.getIconHeight()/(float)ii.getIconWidth();
    <br> aiw = new Integer(ii.getIconHeight());
    <br> aar = ar*aiw.intValue();
    <br> image1.setHeight(""+(int)aar);
    <br> image1.setUrl("images/bike1.JPG");
    <br> image2.setValue("C:/Documents and Settings/Darrin/My Documents/Creator/Projects/ImageTest/build/images\\bike2.JPG");
    <br> image2.setUrl("C:/Documents and Settings/Darrin/My Documents/Creator/Projects/ImageTest/build/images\\bike2.JPG");
    <br><br>Note that when I run this and look at the log that I write out to in afterRenderRepsponse, it shows that image1 (which shows up as the default image I set at design time) and image3 (which does not show up which I set at run time using image1's value) both show the nogo.JPG image from the <b>resource</b> directory while image2 (that I set at run time to be bike2.JPG) is showing up as <b>empty</b>
    <br><br>
    This is really getting frustrating, and I would greatly appreciate a small tutorial from the JSC staff on just how you need to go about doing this. given that this is so common a need, a tutorial is warranted. Heck, just clue me in on how it is done and I will write one!
    <br><br>
    THANKS!

  • Query to set initial values

    Hi all,
    Is it possible to use queries to set initial values or change existing values?  For example, we are adding in a new sales employee that will be our sales rep for customers in a certain area.  Would it be possible to run a query that would set the Sales Employee field in the BP Master Data as this new sales rep if the customer is in that area?  If yes, what is the general process for using queries to set values in this manner (we have other things we would like to use this for as well, if its possible)?
    Thanks for the help

    Hi Todd,
    The best way to tackle this is probably to use a query to extract the business partners you wish to update and then use the Data Transfer Workbench to update the Business Partners in question.
    You could also add a Formatted Search to the Business Partner screen so all new Business Partners default to the correct Sales Person based upon territory/address or whatever criteria you like.
    Cheers,
    Sean

  • How can i set print mode at run time in smartforms???

    Hi expert,
    In smartforms how can I  set print mode at run time.
    I have one screen.In this screen one check box is there.If user select that check box then print should be come double side otherwise it is coming single side.
    If it is possible then plz give me answer asap.

    Hi,
    Set These settings
    While calling smartform, paas control_parameters and output_options as mentioned below and set
    user_settings = ' '.
    It will send the smartform output to spool.
    DATA: wa_output_options TYPE ssfcompop,
    wa_ctrl TYPE ssfctrlop.
    wa_output_options-tdimmed = 'X'.
    wa_output_options-tddelete = 'X'.
    wa_output_options-tdimmed = ' '.
    wa_output_options-tddest = 'LOCL'.
    wa_ctrl-no_dialog = 'X'.
    CALL FUNCTION lv_fm_name
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = wa_ctrl
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = wa_output_options
    user_settings = ' '
    x_adrp = x_adrp
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Kumar(Reward if helpful).

  • Problem setting initial value for LOV

    Hello, everyone. This seems like it should be simple, but it's giving me lots of problems. I am trying to create my first LOV. I have a messageLovInput item called PFedFilingStatus. From the Property Inspector, I can set an Initial Value of "02", which displays when I run the page, and lets me change it and validate it using the associated LOV.
    What I would rather do is set the initial value programmatically, but here are my problems:
    If I set the value like this:
    OAMessageLovInputBean lovText = (OAMessageLovInputBean)pageLayout.findIndexedChildRecursive("PFedFilingStatus");
    lovText.setText("02");
    then the field displays properly at run time, but can't be changed. The LOV runs, but any value I select flips back to "02"
    If I set the value like this:
    lovText.setDefaultValue("02");
    then nothing seems to happen at run time. The value is not displayed at all.
    Can anyone tell me what I am doing wrong? Thanks for your help.
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Yes, that helps a bunch. Now can you tell me where that is set?
    Thanks so much.
    --Dave                                                                                                                                                                                       

  • Setting initial values on structures

    I have written a middle-ware wrapper which allows me to call a SAP RFC from SQL Server stored procedures.  I am upgrading it from the DCOM to the .Net connector so I can run it on Windows 2003 Server.
    When I set a string value (SAP C type) to initial I get the error "Object reference not set to an instance of an object." raised in the proxy object.  This error does not happen for non-initial values, and also does not happen on my development workstation.  It happens if I set the string to "" or to " ". It occurs on two servers - Windows 2000 and Windows 2003.
    I can't figure out how to debug this, and can't find anything in this forum or on SAP Notes.  Has anyone else found this error?

    A clear head in the morning makes all the difference. There was no problem with the .Net Connector.
    The problem lay with SQL Server's sp_OAMethod procedure, or possibly in the .Net component's CCW.  If you pass an empty string in as an argument, your component gets a Nothing.  I therefore fixed it in the component with:
       If Value Is Nothing Then Value = ""
    Thanks,
    Derek

  • No value at run time

    hi friends
    I have created zattribute for business object and i have delegated. when i debug the zattribute(ZSUBTYPE) its getting the value.Am using the zsubtype in my mail step to get the subtype.. But at run time am not getting any value in zsubtype but business object(EMPLOYEET) is getting filled Only my zsubtype attribute is not getting filled . I found this from the log. .
    Regards
    vijay

    hi Arghadip
    I have created my custome virtual attribute namely zsubtype without any database refernce or object type. Inside the attribute i have written a code calculate the subtype of the applicant
    My logic is
    From these ptreq_header,ptreq_items,ptreq_attabsdata tables am calculating am getting the subtype of the leave and passing this as input to the function module which gives the output has text of the subtype. setting this text my container element. The statement is
    SWC_SET_ELEMENT CONTAINER 'TEXT' ITAB-TEXT.
    OBJECT-ZSUBTYPE  = ITAB-TEXT.
    SWC_SET_ELEMENT CONTAINER 'ZSUBTYPE' OBJECT-ZSUBTYPE.
    when i hard code the request id and pernr and debug its working fine. My text is filling the object-zsubtype. But at run time its not filling.
    am using zsubtype in my mail step only to get the subtype text. All the attribute at runtime its fills only my zsubtype attribute is not filling. I found it from log.
    What is the way to solve this
    Regards
    vijay

  • Setting FLVPlayback parameters at run time

    Hello,
    Is there a way to change the parameters on the FLVPlayback at
    run time? For example, I create a swf file to play the video
    "my_video", and I set the parameter "autoPlay" to false. I then
    embed the following code into a web page:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="my_video" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="my_video.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="my_video.swf" quality="high" bgcolor="#666666"
    width="326" height="266" name="my_video" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    The video is embedded in the page, and the user can click the
    controls to play the video.
    What I'm wondering is ... can I change the parameters at run
    time by using the above code somehow? For example, can I change the
    autoStart parameter to true, so now the video would start
    automatically when the page is loaded. Or, could I change the
    contentPath parameter so the code would now play a different flv
    file?
    Thanks for any help.
    Bob

    Hi,
    Thanks for the quick response. Your suggestion works almost
    perfectly. I can now change the flv to any flv I want, and it plays
    the video I want. However, even though I am specifying
    autoPlay=false, it still plays automatically when the page loads.
    Here is my actionscript:
    flvPlayback.playPauseButton = myplayPause;
    flvPlayback.seekBar = mySeek;
    flvPlayback.muteButton = myMute;
    flvPlayback.contentPath = newPath;
    flvPlayback.autoPlay = autoStart;
    and here is my html:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="xxx" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="pokflvplayer.swf">
    <param name="FlashVars"
    value="autoStart=false&newPath=holiday_message_2007.flv" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="pokflvplayer.swf"
    FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
    quality="high" bgcolor="#666666" width="326" height="266"
    name="medical_imaging" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    Any idea why it will not recognize the autoStart paramenter?
    By the way, I had to change your myFLV.autoStart - autoS to
    flvPlayback.autoPlay=autoStart. The actual name of the parmameter
    is autoPlay, not autoStart. My guess is that was just a typo on
    your part. Thanks again for your help.
    Bob

  • ORA-06502: PL/SQL: numeric or value error(Run Time Error)

    Hi,
    Intially the table structure goes something like this.
    CREATE TABLE CLARITY_RESPONSE_LOG
      REQUEST_CODE   NUMBER,
      RESPONSE_FILE  BLOB,
      DATE_CRATED    DATE                           NOT NULL,
      CREATED_BY     NUMBER                         NOT NULL,
      UPDATED_BY     NUMBER                         DEFAULT 1,
    )The content of the RESPONSE_FILE column which is a BLOB data type has some XML content(XML file).
    The compiled proc which uses the above table is as follows.
    CREATE OR REPLACE PROCEDURE "MWF_ONLINE_RESPONSE_XML"
    AS
       v_file            UTL_FILE.FILE_TYPE;
       v_text            VARCHAR2 (20);
       v_filename        VARCHAR2 (200);
       v_delimitedchar   CHAR (1);
    ----log
      v_process_name  VARCHAR2(100) := 'MWF_ONLINE_RESPONSE_XML';
      v_sqlerrorcd          VARCHAR2(10);
      v_sqlerrormsg         VARCHAR2(255);
      v_seq_auto_email_job  NUMBER;
      v_cnt                 NUMBER := 0;
      v_user_name    VARCHAR2(30);
    BEGIN
      --- for log use
      SELECT sys_context('USERENV','OS_USER') INTO  v_user_name  FROM dual;
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'STA',
                  SYSDATE,
                  v_user_name);
       v_delimitedchar := CHR (124);
       v_filename := 'online_response_xml.txt';
       v_file := UTL_FILE.FOPEN ('MWF_DATA_EXTRACTS', v_filename, 'W');
       UTL_FILE.PUT_LINE
         (v_file,
           'online_response_xml'
       FOR online_response IN
          (SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
          FROM CLARITY_RESPONSE_LOG
          WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)
          LOOP
          UTL_FILE.PUT_LINE (v_file, online_response.Online_Respone_xml);
        v_cnt := v_cnt + 1;
      END LOOP;
      UTL_FILE.FCLOSE(v_file);
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  cnt,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'COM',
                  SYSDATE,
                  v_cnt,
                  v_user_name);
      COMMIT;
    EXCEPTION
      WHEN OTHERS THEN
        v_sqlerrorcd := SQLCODE;
        v_sqlerrormsg := SUBSTR(SQLERRM,1,255);
        INSERT INTO PROCESS_ERROR_LOG
                   (seq_num,
                    process_name,
                    status,
                    process_date,
                    error_msg,
                    error_id,
                    user_name)
        VALUES     (seq_dataxprocesslog.NEXTVAL,
                    v_process_name,
                    'ERR',
                    SYSDATE,
                    v_sqlerrormsg,
                    v_sqlerrorcd,
                    v_user_name);
        COMMIT;
    END;The above code has been compiled without any compilation errors but at run time I am getting the error:
    ORA-06502: PL/SQL: numeric or value error.
    Is it because of below statement in the above proc:
    SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
          FROM CLARITY_RESPONSE_LOG
          WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)Please advice

    vine wrote:
    Is it because of below statement in the above proc:
    SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
    FROM CLARITY_RESPONSE_LOG
    WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)Please adviceto see where the line code that gets the error try using dbms_output.put_line() and before you run your procedure use the SQL*Plus command set serveroutput on. see this example below using the dbms_output.put_line().
    CREATE OR REPLACE PROCEDURE "MWF_ONLINE_RESPONSE_XML" AS
       v_file            UTL_FILE.FILE_TYPE;
       v_text            VARCHAR2 (20);
       v_filename        VARCHAR2 (200);
       v_delimitedchar   CHAR (1);
    ----log
      v_process_name  VARCHAR2(100) := 'MWF_ONLINE_RESPONSE_XML';
      v_sqlerrorcd          VARCHAR2(10);
      v_sqlerrormsg         VARCHAR2(255);
      v_seq_auto_email_job  NUMBER;
      v_cnt                 NUMBER := 0;
      v_user_name    VARCHAR2(30);
    BEGIN
      --- for log use
      SELECT sys_context('USERENV','OS_USER') INTO  v_user_name  FROM dual;
    dbms_output.put_line('1');
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'STA',
                  SYSDATE,
                  v_user_name);
    dbms_output.put_line('2');
       v_delimitedchar := CHR (124);
       v_filename := 'online_response_xml.txt';
       v_file := UTL_FILE.FOPEN ('MWF_DATA_EXTRACTS', v_filename, 'W');
       UTL_FILE.PUT_LINE(v_file,'online_response_xml');
    dbms_output.put_line('3');
       FOR online_response IN
          (SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
             FROM CLARITY_RESPONSE_LOG
            WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)) LOOP
          UTL_FILE.PUT_LINE (v_file, online_response.Online_Respone_xml);                                                  
          v_cnt := v_cnt + 1;
    dbms_output.put_line('4');
       END LOOP;
      UTL_FILE.FCLOSE(v_file);
    dbms_output.put_line('5');
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  cnt,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'COM',
                  SYSDATE,
                  v_cnt,
                  v_user_name);
      COMMIT;
    dbms_output.put_line('6');
    EXCEPTION
      WHEN OTHERS THEN
        v_sqlerrorcd := SQLCODE;
        v_sqlerrormsg := SUBSTR(SQLERRM,1,255);
        INSERT INTO PROCESS_ERROR_LOG
                   (seq_num,
                    process_name,
                    status,
                    process_date,
                    error_msg,
                    error_id,
                    user_name)
        VALUES     (seq_dataxprocesslog.NEXTVAL,
                    v_process_name,
                    'ERR',
                    SYSDATE,
                    v_sqlerrormsg,
                    v_sqlerrorcd,
                    v_user_name);
        COMMIT; 
    END;

  • IDOC CLFMAS set initial values

    Hi,
    I am using IDOC CLFMAS02 to update values in material classification. I do not have problems with modify a normal value. But I want to set a date classification value to initial. If I inform with ' ' the value is showed as '00.00.0000', but I need that this value become initial.
    I am trying to use field MSGFN = 003 (delete) on segment E1AUSPM but it does not running.
    The FM that we use to input idoc is IDOC_INPUT_CLFMAS.
    Any suggestion. Thanks¡¡¡¡

    Yes I try to remove date characteristic from E1AUSPM.
    Also I try to set blank value.
    Also I try with MSGFN value = 003.
    I think that your code is only to delete values from multiple-values characteristics.
    TEST 1 ( set blank)
    Current Material characteristic value: 01.01.2011
    Objective Material characteristic value: Blank
    E1OCLFM                     004MARA      00000XXXXXXXXXXXXX                           001OMARA
        E1KSSKM                     004ZCLAS                                 1
        E1AUSPM                     004Z_CHARACTERISTIC
        E1DATEM                     004
    Result Material characteristic value: 00.00.0000
    TEST 2 (MSGFN 003)
    E1OCLFM                     004MARA      00000XXXXXXXXXXXXX                           001OMARA
        E1KSSKM                     004ZCLAS                                 1
        E1AUSPM                     003Z_CHARACTERISTIC                        01.01.2011
        E1DATEM                     004
    OR
    E1OCLFM                     004MARA      00000XXXXXXXXXXXXX                           001OMARA
        E1KSSKM                     004ZCLAS                                 1
        E1AUSPM                     003Z_CHARACTERISTIC                         
        E1DATEM                     004
    OR
    E1OCLFM                     003MARA      00000XXXXXXXXXXXXX                           001OMARA
        E1KSSKM                     003ZCLAS                                 1
        E1AUSPM                     003Z_CHARACTERISTIC                         01.01.2011
        E1DATEM                     003
    OR others...
    The problem is that characteristic must be defined to DATE format and when I set blank value, inside code is converting to 00.00.0000

  • Setting bind references at run-time

    Hi,
    I am working on a dynamic form,which will instantiate questions based on some instructions specified in XML when the form loads up, much like John Brinkman's example
    http://blogs.adobe.com/formfeed/2009/03/a_form_to_design_a_form.html
    At design time, it is not know which node in the data dom the field should be bound to, so I would like to be able to simulate a match="dataRef" ref="$.myNode" statement at run-time.
    However, my recollection is that the binding reference can't be changed at run time. Does anyone know if it can be done, and how to do it?
    John

    Hi,
    Thanks for the quick response. Your suggestion works almost
    perfectly. I can now change the flv to any flv I want, and it plays
    the video I want. However, even though I am specifying
    autoPlay=false, it still plays automatically when the page loads.
    Here is my actionscript:
    flvPlayback.playPauseButton = myplayPause;
    flvPlayback.seekBar = mySeek;
    flvPlayback.muteButton = myMute;
    flvPlayback.contentPath = newPath;
    flvPlayback.autoPlay = autoStart;
    and here is my html:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="xxx" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="pokflvplayer.swf">
    <param name="FlashVars"
    value="autoStart=false&newPath=holiday_message_2007.flv" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="pokflvplayer.swf"
    FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
    quality="high" bgcolor="#666666" width="326" height="266"
    name="medical_imaging" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    Any idea why it will not recognize the autoStart paramenter?
    By the way, I had to change your myFLV.autoStart - autoS to
    flvPlayback.autoPlay=autoStart. The actual name of the parmameter
    is autoPlay, not autoStart. My guess is that was just a typo on
    your part. Thanks again for your help.
    Bob

  • Pass value at run time from one structure to diffrent structure

    hi  experts.
    i  m  workin on  crm domain  and faching problem to pass value  from one stucture to another . problem is that i want the output in xml file so i need all the values interm  of segment.
    initialy  i have  this structure.
    DATA: BEGIN OF struc1 occurs 0,
           ST_ORDERADM_H TYPE CRMT_ORDERADM_H_WRKT,
           ST_PRICING    TYPE CRMT_PRICING_WRKT,
           ST_ORGMAN     TYPE CRMT_ORGMAN_WRKT,
           ST_PARTNER    TYPE CRMT_PARTNER_EXTERNAL_WRKT,
          END OF struc1.
    and using fm CALL FUNCTION 'CRM_ORDER_READ' i got values  on this structure at run time.
    MOVE LT_ORDERADM_H  to STRUC1-ST_ORDERADM_H.
    MOVE LT_ORGMAN      to STRUC1-ST_ORGMAN.
    MOVE LT_PARTNER     to STRUC1-ST_PARTNER.
    MOVE LT_PRICING     to STRUC1-ST_PRICING.
    and after that using
    try.
      CALL TRANSFORMATION id
        SOURCE data_node = STRUC1
        RESULT XML xmlstring.
        CATCH cx_st_error.
    endtry.
    CLEAR:   tab_xstring,
             lv_filename,
             lv_path,
             lv_fullpath,
             lv_user_action.
    REFRESH: tab_xstring.
    lv_bytes = XSTRLEN( xmlstring ).
    IF lv_bytes > 0.
      lv_xstring = xmlstring.
      DO.
        APPEND lv_xstring TO tab_xstring.
        lv_xcnt = XSTRLEN( lv_xstring ).
        IF lv_xcnt > xsize.
          lv_xstring = lv_xstring+xsize.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
    now it  convert to xml file .
    problem is  it gives  me value of all field associated with  standared structure.
    but  client requirment is that  he want only selected values of given structure.
    so i think i make  a new structure for given value  but  i m not able  to get values in new structure.
    thanks

    Hi,
    create a structure in se11 with following fields
    ST_ORDERADM_H.
    ST_ORGMAN.
    ST_PARTNER.
    ST_PRICING.
    for example as STRUCT2.
    data : begin of i_struct2 occurs 0.
       include structure struct2.
    data : end of i_struct2.
    MOVE LT_ORDERADM_H to i_STRUCt2-ST_ORDERADM_H.
    MOVE LT_ORGMAN to i_STRUCt2-ST_ORGMAN.
    MOVE LT_PARTNER to i_STRUCt2-ST_PARTNER.
    MOVE LT_PRICING to i_STRUCt2_PRICING.
    then
    try.
    CALL TRANSFORMATION id
    SOURCE data_node = i_STRUCt2
    RESULT XML xmlstring.
    CATCH cx_st_error.
    endtry.

  • How to set vo query at run time

    Hi,
    Is it possible to bind the where clause of query at run time.
    N :)

    Hi,
    Yes its possible.
    To add new where clause to your query.
    vo.setWhereClause(null);//If you want to remove any existing programmatically added where clause.
    vo.setWhereClause("Your new query");
    To bind varibales (Say there are 2 bind variables),
    First way to achieve this.
    setWhereClauseParam(null); //Always reset it to remove existing bindings)
    setWhereClauseParam(0, "Your first paramter value"); // Second parameter "Your first paramter value" is of type object.
    setWhereClauseParam(1, "Your first paramter value");
    In case you use "?" styly type binding, this count in above method starts with 1 instead of 0.
    Second way is to put all bind variables in an object array and pass to above method.
    Vector params=new Vector(2);
    params.addElement("FirstParameter");
    params.addElement("SecondParameter");
    Now call vo.executeQuery() to fetch the results as per new query.
    Abdul Wahid

  • Variable to hold the value at run time

    Dear Friends,
         I have a requirement in customer ageing report to select a particluar record from the cube based on the record selected by the query. Is there any option for holding a value of the dimension selected by the query in to a variable at run time. kindly let me know if am not clear.
    Thanks
    Prem

    you want to :
    Exeute a query - this will select a particular record and this is to be used to select another reord from a cube. I assume that the seletion from the cube will also happen through a query - then try using a prequery - have a variable on the query on the cube which is filled using replacement path from the previous query..?

Maybe you are looking for