Need help in Dynamic Actions

Hi Experts,
I have a requirement to create Additional Payments for two wage types 591 and 691 for a particular Employee subgroup and for three personnel areas whenever a person is hired. I have written the code like this
400           *BEK047.01 RECURRING PAYM 591 / 691
401     P     PSPAR-MASSN='01'
402     P     P0001-PERSK='AA'
403     P     P0001-WERKS='037'
404               P                    P0001-Werks='039'/X
405               P                   P0001-WERKs='041'/X
406     I     INS,0014/D
407     W     P0014-LGART='0591'
408     W     P0014-BETRG='109'
409     W     P0014-ZANZL='1'
410     W     P0014-ZEINZ='012'
411     W     P0014-ZDATE=P0001-BEGDA
412     W     P0014-BEGDA=P0001-BEGDA
414     W     P0014-ENDDA=P0001-ENDDA
Apparently above code doenst work . I removed the OR condition and write the code three times for diff personnel area and that works. So i wanted to know what is wrong in above code. Also when records are created they should be defaulted with the amount mentioned in the code i.e. 109 .....but somehow some other value is coming which i havent entered.
Please help
Regards,
Navneet.

Dear Navneet
           your dynamic action shows that you want to default the valued in the Recurring Payment and Deductions but not the Additional Payments. Usually the Indicator /X is used with the condition is endup with Logical OR.
Try out the following values and test
IT            FC     Num     Indi     Variable Function Part
0001     04     101     P     T001P-MOLGA='40'
0001     04     102     P     P0000-MASSN='01'
0001     04     103     P     P0001-PERSK='AA'
0001     04     104     P     P0001-WERKS='037'
0001     04     105     P     P0001-WERKS='039'
0001     04     106     P     P0001-WERKS='041'
0001     04     107     I     INS,0014,,,(P0001-BEGDA),(P0001-ENDDA)/D
0001     04     108     W     P0014-LGART='0591'
0001     04     109     W     Q0014-BETRG='109'
0001     04     110     W     P0014-ZDATE=P0001-BEGDA
0001     04     111     W     Q0014-ZANZL='1'
0001     04     112     W     Q0014-ZEITX='Months'
If the above coding is not working, Tryout individually for every condition seperately starting from 3rd line and followed by I like followes.
0001     04     101     P     T001P-MOLGA='40'
0001     04     102     P     P0000-MASSN='01'
0001     04     103     P     P0001-PERSK='AA'
0001     04     107     I     INS,0014,,,(P0001-BEGDA),(P0001-ENDDA)/D
0001     04     108     W     P0014-LGART='0591'
0001     04     109     W     Q0014-BETRG='109'
0001     04     110     W     P0014-ZDATE=P0001-BEGDA
0001     04     111     W     Q0014-ZANZL='1'
0001     04     112     W     Q0014-ZEITX='Months'

Similar Messages

  • Need Help calling Dynamic Action from Link in Interactive Report

    Hello I have an Interactive Report. I would like to have a Dynamic Action called when the user selects a row (Clicks a Link).
    I am running Application Express 4.0.2.00.07 on Oracle 11gR1.
    Any help would be great.

    Hi VANJ,
    Sorry for the poorly written original post. I will be much more specific.
    I have a Interactive Report on page 40. That report has a column named X_UID that is a link back to page 40 and sets a text item named P40_X_UID in a Region we will call "Form X" with the value of the column. That page refresh also then calls a Automated Row Fetch process to fetch all the values needed for the rest of the page items in the "Form X" region. Also "Form X" region has a conditional display on to only display when P40_X_UID is not null.
    What I would like to do:
    When the user clicks on link in the IR for X_UID instead of the "Form X" region becoming visible I would like to become modal. I am trying to use a Plug-In named "ClariFit Simple Modal - Show". I have it working with a Dynamic Action when you click a Page Item. But I would like to to work when the link is clicked and the data populated.
    I hope that helps some.

  • Need help in dynamic report for a range of year and period

    Dear all,
    I need help in creating an ALV report with dynamic columns based on the Year and period entered on the selection screen. for example if in the year we enter 2002 and period range from 10 to 12 then we should get the 3 columns display for cost(example) for period 10/2002, 11/2002 and 12/2002.
    Can anyone help me in achieving this dynamically since the user can enter the year also in intervals along with the period and data also needs to be populated in the corresponding columns.
    An example code would be of great help.
    Thanks,
    Amit

    Hi,
    Use field symbols as follows.
    TYPE-POOLS : SLIS.
    TABLES : MARC,T001W.
    DATA : BEGIN OF ITAB OCCURS 0,
           MATNR LIKE MARC-MATNR,
           END OF ITAB.
    DATA : FIELDSTAB TYPE LVC_T_FCAT,
           STAB      TYPE LVC_S_FCAT,
           T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           S_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
           NEW_LINE TYPE REF TO DATA,
           NEW_TABLE TYPE REF TO DATA,
           INDEX(3) TYPE C,
           STR(70),
           TEXT(6),
           CNT(1),
           TEXT1(16),
           REPID LIKE SY-REPID.
    FIELD-SYMBOLS : <FS> TYPE STANDARD TABLE,
                    <WA> TYPE ANY.
    SELECT-OPTIONS : S_WERKS FOR MARC-WERKS NO INTERVALS,
                     S_MATNR FOR MARC-MATNR NO INTERVALS.
    INITIALIZATION.
      REPID = SY-REPID.
    START-OF-SELECTION.
      SELECT * FROM MARC
               INTO CORRESPONDING FIELDS OF TABLE ITAB
               WHERE MATNR IN S_MATNR
               AND   WERKS IN S_WERKS.
      SORT ITAB BY MATNR.
      DELETE ADJACENT DUPLICATES FROM ITAB COMPARING MATNR.
      STAB-FIELDNAME = 'MATNR'.
      STAB-DATATYPE  = 'CHAR'.
      STAB-INTLEN    = '18'.
      APPEND STAB TO FIELDSTAB.
      CLEAR CNT.
      LOOP AT S_WERKS.
        CLEAR TEXT.
        CNT = CNT + 1.
        CONCATENATE  'EISLO' CNT INTO TEXT.
        STAB-FIELDNAME = TEXT.
        STAB-DATATYPE  = 'CHAR'.
        STAB-INTLEN    = '16'.
        APPEND STAB TO FIELDSTAB.
        CLEAR S_WERKS.
      ENDLOOP.
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = FIELDSTAB
        IMPORTING
          EP_TABLE        = NEW_TABLE.
      ASSIGN NEW_TABLE->* TO <FS>.
      CREATE DATA NEW_LINE LIKE LINE OF <FS>.
      ASSIGN NEW_LINE->* TO <WA>.
      PERFORM MOVE_DATA.
      CLEAR S_FIELDCAT.
      S_FIELDCAT-FIELDNAME = 'MATNR'.
      S_FIELDCAT-TABNAME = ITAB.
      S_FIELDCAT-SELTEXT_M = 'Part Number'.
      S_FIELDCAT-NO_ZERO = 'X'.
      S_FIELDCAT-DDICTXT   = 'M'.
      APPEND S_FIELDCAT TO T_FIELDCAT.
      CLEAR CNT.
      LOOP AT S_WERKS.
        CLEAR T001W.
        CNT = CNT + 1.
        SELECT SINGLE * FROM T001W WHERE WERKS = S_WERKS-LOW AND SPRAS = SY-LANGU.
        CLEAR TEXT.
        CONCATENATE 'EISLO' CNT INTO TEXT.
        S_FIELDCAT-FIELDNAME = TEXT.
        S_FIELDCAT-SELTEXT_M = T001W-NAME2.
    S_FIELDCAT-NO_ZERO = 'X'.
        S_FIELDCAT-DDICTXT   = 'M'.
        APPEND S_FIELDCAT TO T_FIELDCAT.
        CLEAR S_WERKS.
      ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          IT_FIELDCAT = T_FIELDCAT[]
        TABLES
          T_OUTTAB    = <FS>.
    *&      Form  MOVE_DATA
          text
    FORM MOVE_DATA.
      LOOP AT ITAB.
        CLEAR STR.
        CONCATENATE ITAB-MATNR ' ' INTO STR SEPARATED BY SPACE.
        LOOP AT S_WERKS.
          CLEAR MARC.
          SELECT SINGLE * FROM MARC WHERE MATNR = ITAB-MATNR AND WERKS = S_WERKS-LOW.
          IF SY-SUBRC EQ 0.
            CLEAR TEXT1.
            TEXT1 = MARC-EISLO.
            CONCATENATE STR TEXT1 INTO STR SEPARATED BY SPACE.
          ELSE.
            CONCATENATE STR '0' INTO STR SEPARATED BY SPACE.
          ENDIF.
        ENDLOOP.
        <WA> = STR.
        APPEND <WA> TO <FS>.
        CLEAR ITAB.
      ENDLOOP.
    ENDFORM.                    "MOVE_DATA
    Reward points if helpful.
    Regards,
    Sankar..

  • Need Help Regarding Dynamic Partner Link

    Hi all
    I am new to this Oracle BPEL.
    I need to configure dynamic partner link.
    need help with this.........
    any useful links.. pls.

    Hi',
    Check this
    http://blogs.oracle.com/dasoa/entry/11g_dynamic_partnerlink_example
    there are plenty like this.
    -Yatan

  • Help with Dynamic Action Construction

    I want to create a dynamic action that will disable a field called P1_TBRN when any of the following conditions in the form are true:
    :P1_TRIAL_STATUS in ('Off-Trial','Unknown') or
    :P1_DIAGNOSIS_MAJOR ='UNKNOWN' or
    :P1_INSTITUTION ='Unknown' or
    :P1_CONSENT_EXISTS <> 'Y';
    I assume I use a "Change" event but I can't work out how to enter the 4 condtions so that they are all checked each time. If I create 4 separate dynamic actions, when I change one of the fields, it does not take into consideration the other field values.
    An alternative I've tried is to set up a Read Only condition on P1_TRIAL with the above condition. The only problem is that I have to submit the page each time there is a change in one of the 4 fields above. It would be better if I didn't have to submit the page each time so I'd like to use a Dynamic Action.
    thanks in advance
    Paul P

    Hi Paul.
    If you want to evaluate 4 variables in 1 dynamic action you have to post the value of these 4 items on each change of one of these items as far as I know.
    I had a form with multiple checks of this kind and ended up having serieus performance issues.
    My way around was to evaluate in javascript. You creat a dynamic action on change of any of these 4 fields and set the condition to a javascript expression. The expression looks something like (quick edit so there might be some typos):
    $v('P1_TRIAL_STATUS')=='Off-Trial'||
    $v('P1_TRIAL_STATUS')=='Unknown')||
    $v('P1_DIAGNOSIS_MAJOR')=='UNKNOWN'||
    $v('P1_INSTITUTION') =='Unknown'||
    $v('P1_CONSENT_EXISTS') == 'Y'
    If this evaluates to true the true action of the dynamic action is executed, otherwise the false action.
    Cheers
    Bas

  • Need help on Dynamic SQL Cursor in Forms

    Hi All,
    I am trying to execute Dynamic SQL Cursor in forms using EXEC_SQL built in.
    I have a cursor for example:
    'select * from supplier where supplier = '||p_supplier||' and processing_order = '||p_order
    My code is
    cur_num := Exec_SQL.Open_cursor;
    sql_order := 'select * from supplier where supplier = '||p_supplier||' and processing_order = '||p_order;
    EXEC_SQL.PARSE(cursor_number, sql_order);
      EXEC_SQL.DEFINE_COLUMN(cur_num ,1,ln_Supp_Id);
      EXEC_SQL.DEFINE_COLUMN(cur_num ,2,ls_Suppl_Name,30);
    EXEC_SQL.DEFINE_COLUMN(cur_num ,24,ls_exchange,20);
      sql_count := EXEC_SQL.EXECUTE(cur_num );
      While EXEC_SQL.FETCH_ROWS(cur_num ) > 0 Loop
            EXEC_SQL.COLUMN_VALUE(cur_num ,1,ln_Supp_Id);
            EXEC_SQL.COLUMN_VALUE(cur_num ,2,ls_Suppl_Name);
            EXEC_SQL.COLUMN_VALUE(cur_num ,24,ls_exchange);
    End Loop;
    EXEC_SQL.CLOSE_CURSOR(cur_num );
    In this case I have to write 24 Define Columns and 24 Column value. Is there any way to assign them to %rowtype at one time as I need all coulmn of the table.
    I had similar case on multiple tables.
    Please help me
    Thanks,
    Maddy

    I need this dynamic sql because p_supplier and p_order values changes at run time
    I do not understand. Is this a simplified sample or the real thing? You do know that you can pass variables to cursors:
    cursor test is
    select * from supplier where supplier = p_supplier and processing_order = p_order;
    or does e.g. p_supplier hold other parts of the query?
    cheers

  • Newb needs help with dynamic text

    Hi Everyone,
    I don't like being a newb - but that's how it is...
    I'm trying to create a multipage registration form that
    allows uses to register products.
    The first page asks for name etc, and on the second page I
    want it to say "Welcome "+username "!" - that sort of thing...
    The problem is I can't get it to keep the dynamic text values
    accross the pages.
    I can get it to repeat the input on the first page with this
    code:
    _root.firstname_txt.onChanged = function() {
    _root.firstname_repeat.text="Hello
    "+_root.firstname_txt.text;
    However when I call it on the second page it is undefined:
    second_repeat.text="hello "+_root.firstnamt_txt.text;
    trace (_root.second_repeat.text);
    I'm sure this is something simple and I'm just a programming
    dunce...
    Any help is appreciated.
    ta

    if your textfield (_root.firstname_repeat) doesn't exist on
    the 2nd frame, its text property will be undefined.
    to remedy, either extend your textfield's existance into the
    frames needed or use a variable to store its text property (in your
    onChanged handler) and use that variable to retrieve the value you
    need.

  • Need help populating dynamically-created fields

    I have a form which uses Javascript to create table rows on
    the fly so as to add items to a list dynamically. The table
    consists of two fields -- an ID and let's call the other one
    Attribute A. The user clicks "Add another one" and another row of
    data entry fields pops up. My action page works fine to get the
    value of these rows using the evaluate() function (I always
    wondered what that did), but I want it to go back to the calling
    page, have the calling page create the correct number of rows, and
    populate them with the changed or inserted data that was just saved
    -- the same way that an ordinary action page might save data and
    then return you to the calling page.
    The first row of this table is created through HTML and only
    additional rows are created dynamically.
    I have it all working up to and including the creation of the
    correct number of fields as an "onload=(loadTheData)" in the
    <body> tag, but how the heck and where do I populate them
    with the data returned from the query?
    Below is the Javascript and how it's called. I changed some
    variable names to protect the innocent, but that's basically how it
    works. So the Javascript is creating the fields -- one for each
    record returned by the query -- but how can I assign the record
    values in turn? Do I need WDDX? If so, how would that be
    written?

    If you are going to use JavaScript to dynamically create the
    list, then
    look into the <cfwddx...> tag that is very useful for
    translating
    ColdFusion data structures into JavaScript data structures.
    You can
    then use the JavaScript data to populate your table.
    But I would think it would be simplier to use the ColdFusion
    data to
    build the default table with existing data. Instead of just
    creating
    one row with ColdFusion create rows for the existing data
    then just use
    the JavaScript to add more rows on the client, just as you
    are doing now.
    P.S. evaluate() is usually an awkward choice to access
    dynamical form
    variables. I presume you are using something like
    <cfset something = evaluate("form.aField_#aVar#")>
    This can be easier with the use of array notation.
    <cfset something = form['aField_' & aVar]>
    OR
    <cfset something = form['aField_#aVar#']>
    To each his own, but knowing array notation is a very
    powerful technique.

  • Need help with Dynamic Excel File Name please.

    I am try to output an excel file with dynamic date. 
    Here what I done.
    I am using SQL 2012.
    Create Execute SQL Task Connect Type: Excel
    Create Data Flow Task set to DelayValidation: True
    Create OLE DB Sourc
    Create Data Converstion
    Excel Destination
    Excel Connection, Expression, select ExcelFilePath
    @[User::sXLFilePath] +  @[User::sFileName] + RIGHT("0" + (DT_WSTR, 2) DATEPART("DD", GETDATE()), 2)+ RIGHT("0" + (DT_WSTR, 2) DATEPART("MM", GETDATE()), 2) + RIGHT((DT_WSTR,
    4) DATEPART("YYYY", GETDATE()), 2) +".csv"
    C:\ExcelOutPut\SOX_CAM_SQL_Report_010215.xls
    What I try to accomplish is output the file with each day append to it, date must be DDMMYY.
    I google it and found many samples, tested it, and none of them is work for me. 
    Any suggestions or some examples to share is greatly appreciate. 
    I am new to SSIS.  I found one poster have similar issue and inside the posted below, there was one suggestion to create variable and connection string but how do I bind that variable to Excel Connection manger.
    Please help.
    Thank you so much in advance.
    Ex: SOX_CAM_SQL_Report _020215.csv
           SOX_CAM_SQL_Report _030215.csv
    --Similar issue:
    https://social.msdn.microsoft.com/Forums/en-US/bda433aa-c8f8-47c9-9e56-efd20b8354ac/creating-a-dynamic-excel-file?forum=sqlintegrationservices
    Suggestion in the above posted but where can bind this to Excel Connection Manger. 
    Please help provide step by step.  Thanks.
    "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\temp\\" + "ExcelTarget" + (DT_WSTR,4)DATEPART("yyyy",GETDATE())  +
    ".xls" + ";Extended Properties=\"EXCEL 8.0;HDR=YES\";"
    And yes, as you were intimating, the delay validation on the dataflow should be set.

    Hi NguyenBL,
    According to your description, you created ssis package to export data from database to excel, when the package runs, you want to create new excel and name the file with time stamp. If that is the case, we can achieve the goal by following steps:
    Create a script task used to create excel files.
    Create a data flow task to export data from database to excel.
    Add OLE DB source to data flow task.
    Add Excel Destination to data flow task.
    Create connection manager for OLE DB and Excel.
    Click Excel Connection Manager, in Properties window, click (…) button next to Expressions, then set ExcelFilePath with expression like below:
    "C:\\ETL Lab\\CreateNewExcel\\ExportData_"+REPLACE((DT_STR, 20, 1252)(DT_DBTIMESTAMP)@[System::StartTime], ":", "")+".xls"
    For detail information, please refer to the document:
    https://sqljourney.wordpress.com/2013/01/12/ssis-create-new-excel-file-dynamically-to-export-data/
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Need help scrolling dynamic content from XML

    I am trying to make a photo gallery and I have succeed in
    importing the pictures from XML into Flash. There are still two
    problems:
    1. The content is loading into a movieclip and I tried to
    place a scroll pane on the stage to adding scrolling capabilities.
    I set the parameters to control the movieclip that holds the
    thumbnails but it is not making a scroll bar. I can see the
    pictures inside of the scroll pane but it will not scroll to show
    the rest of the pictures.
    2. I can not figure out how to space the thumbnails evenly. I
    made a variable and multiplied the x position of each picture by it
    but there are large differences between landscape and portrait
    pictures.
    Thanks for the help

    You need to switch from using loadMovie to using the
    MovieClipLoader object. This object has a listener called
    "onLoadInit" that allows you to get the size of your photo when it
    comes in, but before it appears on stage, so that you can adjust
    its placement. Check out the help docs for info on usage.
    WL

  • Need help with dynamic code generation

    Hi Folks,
    I am trying to dynamically create and execute the following query
    Environment: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    DECLARE
    A NUMBER;
    stmt VARCHAR2(200);
         4
         5  CURSOR C1 IS
         6  SELECT TABLE_NAME
         7  FROM DB_MGMT.CTRL_TAB_RETENTION
         8  WHERE RETENTION_PERIOD_IN_MONTHS = 11
         9  AND rownum < 2;
        10
        11  BEGIN
        12  FOR i IN C1
        13  LOOP
        14
        15  -- dbms_output.put_line('Table Name: ' || i.TABLE_NAME);
        16
        17  -- dbms_output.put_line('SELECT min(DT_SKEY), max(DT_SKEY) FROM '||i.TABLE_NAME||' ;');
        18
        19  stmt :='SELECT min(DT_SKEY), max(DT_SKEY) FROM DWH_RSRC_PERF.'||i.TABLE_NAME||';';
        20
        21  dbms_output.put_line(stmt);
        22
        23  execute immediate stmt;
        24  END LOOP;
        25  END;
        26  /I get the following error message
    SQL> @sanity_check
    SELECT min(DT_SKEY), max(DT_SKEY) FROM DWH_RSRC_PERF.FACT_NOK_CELL_SERVICE2_HH;
    DECLARE
    ERROR at line 1:
    ORA-00911: invalid character
    ORA-06512: at line 23Can anybody spot any obvious syntax errors in the above code?
    Thanks in advance
    rogers42

    rogers42 wrote:
    Hi,
    Thanks for the suggestion.
    While getting rid of the ";" helps, but the output of the select statement is not displayed?When you do a SELECT statement in PL/SQL, you have to select the results into variables or arrays.
    Try something like this:
    DECLARE
         CURSOR C1 IS
                       SELECT  TABLE_NAME
                FROM    DB_MGMT.CTRL_TAB_RETENTION
                WHERE   RETENTION_PERIOD_IN_MONTHS = 11
                AND     rownum                  < 2;
         min_dt_skey    NUMBER;
         max_dt_skey    NUMBER;
         stmt            VARCHAR2 (100);
    BEGIN
        FOR i IN C1
         LOOP
            -- dbms_output.put_line('Table Name: ' || i.TABLE_NAME);
            stmt :='SELECT min(DT_SKEY), max(DT_SKEY) FROM DWH_RSRC_PERF.' || i.TABLE_NAME;
            dbms_output.put_line(stmt);
            EXECUTE IMMEDIATE stmt
             INTO min_dt_skey, max_dt_skey;
         dbms_output.put_line (  min_dt_skey   || ' = MIN (dt_skey), '
                        || max_dt_skey   || ' = MAX (dt_skey) for table '
                        || i.table_name
        END LOOP;
    END;

  • Need help regarding Dynamic Read Table statement

    Hello
    I know that the syntax for dymanic read table statement is
    READ TABLE  <ITAB> WITH KEY (KEY1) = VALUE1  (KEY2) = VALUE2 .....(KEYN) = VALUEN
    Here is my problem..
    I am dynamically creating an internal table based on parameter table entered by user.
    The key for this table can be determined only at runtime.
    The table entered might have by one field as key field or 10 key fields..
    How can I use the dynamic read in this situation ?
    Thanks for your help in advance,
    Santosh
    Edited by: Santosh Kulkarni on Jan 3, 2010 6:58 AM
    Edited by: Santosh Kulkarni on Jan 3, 2010 7:01 AM

    Hello Santosh,
    please check out the following solution. The program demonstrates how to use the dynamic read statement with three key field conditions. Additional key fields can be added in the same way.
    REPORT z_dynamic_read.
    DATA: gt_itab TYPE REF TO data,
          ge_key_field1 TYPE char30,
          ge_key_field2 TYPE char30,
          ge_key_field3 TYPE char30,
          go_descr_ref TYPE REF TO cl_abap_tabledescr.
    FIELD-SYMBOLS: <gt_itab> TYPE STANDARD TABLE,
                   <gs_key_comp> TYPE abap_keydescr,
                   <gs_result> TYPE ANY.
    PARAMETERS: pa_table TYPE tabname16 DEFAULT 'SPFLI',
                pa_cond1 TYPE string DEFAULT sy-mandt,
                pa_cond2 TYPE string DEFAULT 'LH',
                pa_cond3 TYPE string DEFAULT '0123'.
    START-OF-SELECTION.
    * Create and populate internal table
      CREATE DATA gt_itab TYPE STANDARD TABLE OF (pa_table).
      ASSIGN gt_itab->* TO <gt_itab>.
      SELECT * FROM (pa_table) INTO TABLE <gt_itab>.
    * Get the key components into the fields ge_key_field1, ...
      go_descr_ref ?= cl_abap_typedescr=>describe_by_data_ref( gt_itab ).
      LOOP AT go_descr_ref->key ASSIGNING <gs_key_comp>.
        CASE sy-tabix.
          WHEN 1.
            ge_key_field1 = <gs_key_comp>-name.
          WHEN 2.
            ge_key_field2 = <gs_key_comp>-name.
          WHEN 3.
            ge_key_field3 = <gs_key_comp>-name.
        ENDCASE.
      ENDLOOP.
    * Finally, perform the search
      READ TABLE <gt_itab> ASSIGNING <gs_result>
              WITH KEY (ge_key_field1) = pa_cond1
                       (ge_key_field2) = pa_cond2
                       (ge_key_field3) = pa_cond3.
      IF sy-subrc = 0.
        WRITE / 'Record found.'.
      ELSE.
        WRITE / 'No record found.'.
      ENDIF.
    One note: When an internal table is created dynamically like in my program above, the table key is not the key defined in the DDIC structure -- instead, the default key for the standard table is used (i.e. all non-numeric fields).
    Hope this helps,
    David

  • Need help for button actions

    Hi, can someone help me please? I like to put a invisable
    button over a picture (movie) with two actions. 1. rollover will
    show a title, 2. release will get new URL. I succeed in one or the
    other action but not on both of them combined. What can I do? I use
    action script 2. Thanks. Sarosa

    You could achieve the same result putting code in the
    button...
    1 - Open example.fla
    2 - Save it as example2.fla
    3 - Layer Actions --> frame 1, delete all the code leaving
    only:
    testing._visible = false;
    stop();
    4 - Layer button: select the bt button instance
    5 - in the Actions Panel (by the way, attached to the
    button), put this code:
    on (rollOver) {
    testing._visible = true;
    on (rollOut) {
    testing._visible = false;
    on (release) {
    getURL("
    http://www.google.com", _blank);
    6 - Test your movie: it works too!
    If you are totally new to Flash, always remember to name
    things in an appropriate way using the "official" names.
    (read again the beginner's tutorials)
    For example, it's wrong to say "I put the action script on
    the button not on a separate layer".
    This is completely ununderstandable...
    More: I didn't "convert" a graphic symbol to a button but I
    changed the behavior of a graphic symbol into the behavior of a
    button.
    Doing so, the graphic symbol is recognized as a button with
    all the properties attached to a button.
    The main difference between a graphic symbol acting as a
    button and a real Button is that the Button has four frames (Up,
    Over, Down and Hit) and the graphic symbol has not.

  • Need help with dynamic html

    I am a Microsoft J++ developer, but am switching to Sun technologies. The first application that I need to work on is an application that does a great deal of dynamic HTML. I originally wrote this application under J++ but I need to convert it to Sun Java. The methodology J++ used for dynamic HTML (extending DhDocument) appears to be duplicated (somewhat) with Swing. I need a little push start here, I seem to have a mental block. My application must run in the client browser, so I believe an applet is the way to go, but I can't figure out how to manipulate HTML from an applet through Swing. Can someone point me to a simple Applet that, say for example, changes the value of a text box that is predefined in the HTML, I would greatly appreciate it. That should get me past this mental block so I can go on with the conversion. I have successfully added textboxes with Swing through my Applet, but I need to manipulate HTML elements that already exist. That's where I'm stuck.

    Here's the code I come up with. It doesn't work. I get a javascript exception on getWindow. I have never used the JSObject before. Can you give me any advice on what I am doing wrong?
    import javax.swing.*;
    import netscape.javascript.*;
    public class Search extends JApplet
    public void init()
         JSObject obj = JSObject.getWindow(this);
         JSObject doc = (JSObject) obj.getMember("document");
         String[] element = new String[1];
         element[0] = "UserID";
         JSObject form = (JSObject) doc.call("getElementById", element);
    }

  • Need help on XI Action object.

    I am new to XI...
    Following the blog of Sarvya talanki...
    working on this blog n getting some message while trying to connect the action. I am not getting the option what is displayed in the blog.
    /people/venkat.donela/blog/2006/02/17/companion-guide-to-integration-scenario
    while trying to connect the action the message is.
    To open or create a connection, select the second action and call the context menu
    can anyone help how to proceed further...

    hi Syed,
    You have to select both the actions:
    it can be done in two ways:
    1. select first -> press shift and select second and now right click on any one.
    2. selct both of them with mouse .. strat from top left corner and click now drag down to select the actions:
    Regards,
    Sachin

Maybe you are looking for

  • Direct rendering not working after upgrade to Xorg 7.0

    I have aATI radeon 9200 card and although its supposed to be supported in the new xorg, direct rendering doesnt work. I have made the neccesary changes in xorg.conf. I deleted the ati drivers load "dri" and "glx" installed all the needed modules. Doe

  • Auto GR for excisable material

    Hi friends,   I want to do auto GR for excisable materials with reference to Delivery ( created through [VL04] )  using transaction MIGO. Now as an abaper I know i cannot perform BDC on this Enjoy transaction, I need to do it other way around. I want

  • VUESCAN & V550 EPSON SCANNER

    I need some help from the experts here. I recently bought Vuescan in order to get the best out of my new Epson 550V. But the Vuescan does not see that scanner. I also have a Canon all in one printer that scans & Vuescan does see & scan from it. The E

  • How can we call WinAPI's from java... any idea... its urgent

    Hi all, I am facing a problem, I want to call Win API's form Java. any idea.. Any win API.. like GetUserNameA.... (it fetches current user logged in). Its bit urgent guys... i have always counted on u guys... Thx & Regards @mit

  • Convert SIF files to TXT or LVM

    Has anyone written a VI that can read, and/or convert, SoMat Infromation files (*.SIF) to a TXT or LVM file format?