How to execute the second data block in master child form using lov

Hi All,
i am developed a new custom master child form using stacked canvas.Here i am taking two frames with diffrent data blocks.my point is i am enter the value from the lov in first frame automatically execute the second frame data block without button.
example:
fisrtdatablock:dept no(dept table).
second datablock:employee information(emp table).
select the dept value from lov automatically execute the second data block emp information.
can help me any one.
Regards,
sekhar.
Edited by: 994418 on 17 Mar, 2013 10:40 PM

994418 wrote:
Hi All,
i am developed a new custom master child form using stacked canvas.Here i am taking two frames with diffrent data blocks.my point is i am enter the value from the lov in first frame automatically execute the second frame data block without button.
example:
fisrtdatablock:dept no(dept table).
second datablock:employee information(emp table).
select the dept value from lov automatically execute the second data block emp information.
can help me any one.
Hi, sekhar.
Welcome to the Oracle Forums. Please take a few minutes to review the following:
<ul>
<li>Oracle Forums FAQ
<li>Before posting on this forum please read
<li>10 Commandments for the OTN Forums Member
<li>How to ask questions the smart way
</ul>
Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
>
Your forms mode isn't clear. Is it in enter-query mode or insert mode.
what can you do ?
use a timer in post-change or when-validate-item trigger at deptno item at first data block. because go_block isn't supported by p-c or w-v-t trigger.
and at when timer expire, write your code to go second block and insert/query the associate date from emp table.
Hope you understand.
Hamid
If someone's response is helpful or correct, please mark it accordingly.*

Similar Messages

  • How to implement the Tax Data for Material Master IN MDM

    Hello  Experts,
    The MDM 7.1 standard business content does not ship the content required for TAX data implementation. We need to include this however for Material/Vendor/Customer.
    We have alraedy tried the approach of a multivalued lookup table for TAX fileds (Plant,Country,Tax Type, Tax Category, Tax Classfn) and linked it to the Sales DAta Qualified Table.
    but this does not satisfy the interdependencies of SAP ERP  i.e Sales Org-> Distribution Channel-> Plant-> Departure Country-> Tax Type-> Tax classification. We intend to implement this same relation in MDM.
    Kindly guide as to what would be the right approach. Can a qulalified lookup for Tax data be helpful for this scenario?
    Also can anyone secify the correct table or T-Code where we can find this entire dependency in ECC?
    Thanks in advance,
    Elizabeth.

    Hi Elizabeth, hi Shiv,
    as long as you're using MDM for consolidation and harmonization only, you could add the tax information. As for customers (for example), you maintain tax indicators as a child of the sales area. This means for MDM that you need to include the tax indicators in the sales data tuple. As tax indicators are repeatable records, you need to create a nested tuple for that.
    But as Shiv has correctly mentioned, the tax information itself is quite complex in regards to which tax information must be maintained depending on e.g. the country and/or sales area. In MDM it is hardly possible to predefine any mandatory values like it is possible in ERP. So if you plan a central creation of data, you'll most probably have to invest a lot into the correct validations to ensure that you create correct data. Still it needs to be closely investigated if you can do this with the MDM functionality or if you need some external API programming to do the job.
    Best regards
    Michael

  • How to retrieve the xml data into datagrid in vb6.0 using dom method

    <?xml version="1.0" standalone="yes"?>
    <Student_Details>
      <Student>
        <Name>sandeep</Name>
        <Age>12</Age>
        <Mobile>123456789</Mobile>
      </Student>
      <Student>
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student>
        <Name>Sandeep Pr</Name>
        <Age>12</Age>
        <Mobile>9865231870</Mobile>
      </Student>
      <Student>
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student>
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>
      <Student>
        <Name>ololjk</Name>
        <Age>kjlokmo</Age>
        <Mobile>njonojniohuj</Mobile>
      </Student>

    this forum is for vb.net, for vb6 you could try
    http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
    http://forums.codeguru.com/forumdisplay.php?4-Visual-Basic-6-0-Programming
    PS. vb6 is ancient software you might want to consider a language from this century

  • How to execute the logical database.

    how to execute the logical database.

    There are two ways of using a logical database - either by linking it with the executable program(specify the LDB name in the program attributes) or by using the function module LDB_PROCESS.
    1.Data read by the logical database is passed back to the program using the interface work areas.Use GET statements in the report.
    GET events are implemented internally as FORM routines.
    2.If you call the logical database using the above function module, the selection screen of LDB is not displayed.It uses special subroutines called callback routines, which are called by the function module and filled with the required data.
    Please refer the following link for more details.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm

  • How to execute the data in the form when the data is already avaliable

    Hi,
    I am working with forms 6i. I have a problem while executing the data in the form
    Actually, the data is already present in the form. But when i run the form, the data is not displayed.
    can anyone please help me how to execute the data. below is the code
    Set_Alert_Property(alert_id,ALERT_MESSAGE_TEXT,'Do you want to refresh new Data for that Year and Field ? (it will take a time).') ;
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON1, LABEL, 'Yes');
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON2, LABEL, 'No');
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON3, LABEL, 'Cancel');
                   button_number :=Show_Alert(alert_id) ;
                   synchronize;
                   if button_number != ALERT_BUTTON3 then
                        if button_number = ALERT_BUTTON1 then
                             :param.field := :control.f_cd;
                             :param.year := :control.year;
                             build_tables;
                             fields;
    -- areas(:param.field);
                             PUT_PARAM;
                             COMMIT_FORM;
                        go_block('wet_criterias');
                        end if;
                        if button_number = ALERT_BUTTON2 then
                             :exhibits.field_display := :control.f_name || ' - Exhibits';
                             go_block('RESERVOIR');
                             execute_query;
                        end if;
                   end if;
              end if;
    else
         message('Fields must be entered...');
    end if;
    else
    message('Fields must be entered...');
    end if;

    It's hard to know what logic you are trying to implement.
    However, by looking at your code, it seems that if the user select 'Yes' to the question "Do you want to refresh", nothing is done except the go_block('wet_criterias'). Should there be an 'Execute_Query' ?
    No idea...

  • How to execute the packaged procedure(having out param) in TOAD for Oracle

    Hi.
    Could you help me
    How to execute the packaged procedure having out parameters in TOAD for Oralce..
    Thanks..

    Use anonymous PL/SQL block to execute it.
    Example.
    DECLARE
      <out variable name> <out variable data type>;
    BEGIN
      <package name>.<procedure name>(<out variable name>);
    END;

  • How to View the Loaded Data

    Hi,
    I have loaded the data into an ODS from an External Flat file and executed the job. Can anyone guide me how to view the loaded data in the ODS ?
    Thanks

    Hi Madhu,
    You can simply Goto Transaction LISTCUBE and give the ODS name -> Execute.
    Regards
    Hemant

  • Oracle Forms - How can I create a Data Block with query

    Dear friends I have a question, I couldn't do this..
    I have a sql query, I want to show the datas of the query.. How can I do this. ?
    Data Block Wizard wants a table, view or stored procedure, but I have a query, how can I create a data block with my query.. I m waiting your helps..? Please...
    Semih

    Hi,
    You have two options
    1. create a view and base the block on the view
    2. create a block with a query Data Source Type of 'FROM clause query'
    Hope this helps
    Neil

  • How to delete the Hierarchy data from Infoobjects.

    How to delete the Hierarchy data from Infoobjects. In my case I had 300 records in the corresponding table of info object.
    When i was trying to delete the hierarchy data, I am getting error message. "Some master data not deleted". Can any one tell me to delete all these records by using a program.

    Hi
    Go to SE11 and enter the hierarchy table name.
    /BIC/H....(infoobject name)...and execute the table and select table entry and delete all....
    Thanks
    TG

  • How to download the script data into pdf file

    how to download the script data into pdf file
    i have one option to download the script data to pdf file --->rstxpdft4 program.
    i have one doubt how to use this proogram.or any function module to download the script data to pdf file.
    Thanks and regards,
    Sri.

    Hi      Sri Sai,
    I know one method to convert the sapscript to pdf file :
    first generate a Spool Request for the required Sapscript
    then goto transaction SP01 and copy the generated Spool Request number
    now execute the SAP report RSTXPDFT4
    here enter the copied Spool request number and the target directory into the parameters
    execute the report
    required pdf file will be generated into the target directory
    i hope it will help you out
    Please refer this simple program:
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    Reward points if found helpful....
    Cheers,
    Eshwar.

  • How to execute the parametered stored procedure in sql *plus ?

    how to execute the parametered stored procedure in sql *plus ?
    my storedprocedure format
    CREATE OR REPLACE PROCEDURE SMS_SELECTMPLOYEE
    (empDOB out date, empEmpName out varchar2)
    thanks & regards
    mk_mur

    Oh, sorry... making many reading-too-fast mistakes today...
    You can't declare date variables in SQL*Plus (seel help var), but you can cast to varchar2:
    TEST> CREATE OR REPLACE PROCEDURE SMS_SELECTMPLOYEE (empDOB out date, empEmpName out varchar2) IS
      2  d date := sysdate;
      3  e varchar2(10) := 'bob';
      4  begin
      5  empdob := d;
      6  empempname := e;
      7  end;
      8  /
    Procedure created.
    TEST> var d varchar2(30)
    TEST> var n varchar2(30)
    TEST> call  SMS_SELECTMPLOYEE(:d,:n);
    Call completed.
    TEST> print d n
    D
    11/07/06
    N
    bobYoann.

  • How to execute the content of varchar as query

    Hi everyone!
    I did a PL/SQL region in apex, in this region I did the query which is storaged in a variable; it was did it concatenate several times,
    in the procedure I have several sentences.
    I thought that the command 'execute immediate' would get a good result but it do not print the result.
    declare
    variable varchar2(1000);
    begin
    --sentences
    --execute inmmediate( variable );
    --return variable
    end;
    I only want to how to execute the content of varchar variable.
    For example, suppose that the result of this procedure is
    'SELECT SYSDATE FROM DUAL'
    How and what do I must do for this query execute like a normal query that is in apex?
    I expect your prompt reply.
    Thank you for your help.
    Best regards

    Erik,
    Try dropping this into a PL/SQL region
    DECLARE
      v_result VARCHAR2(500);
    BEGIN
      SELECT SYSDATE
        INTO v_result
        FROM DUAL;
      htp.prn(v_result);
    END;
    {code}
    use the htp.prn command to write html you want to display. In this case we are just writing the date to the screen.
    Good luck,
    Tyson                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to Execute the row by row sql syntax

    Hello,
    when I execute the below I get the result as attached, how to execute the syntax in each row, Thanks for your help!
    select 'select * into TestSSRS.'+ Table_Name + ' from AdventureWorksDW2008R2.'+ Table_Name FROM [dbo].[Tables_To_Copy]

    Maybe you could store the value of that field in a string variable using a cursor, i expect you dont need to execute this query very often, because using cursor is not always the best option in data sets.
    Regards!
    Sergio Sánchez Arias
    Oaxaca,México
    AYÚDANOS A AYUDARTE

  • How to execute the FM K_COSTS_PLAN_INTERFACE_TOTAL with ranges

    Hi All,
    can anybody suggest me, how to execute the Function module K_COSTS_PLAN_INTERFACE_TOTAL with  range of Cost element(KSTAR)
    and what is the field for Cost Element TO
    The fm is for tcode KP06
    Edited by: Kachi Reddy on Feb 17, 2012 2:26 PM

    Hi, Kachi.
    Try this example:
    REPORT rkkipl1t.
    * The parameters are used to fill the internal table and describe the
    * planning object.
    PARAMETERS: p_kokrs LIKE tka01-kokrs  MEMORY ID cac  OBLIGATORY,
                p_perab LIKE cobk-perab   DEFAULT '001'  OBLIGATORY,
                p_perbi LIKE cobk-perbi   DEFAULT '012'  OBLIGATORY,
                p_gjahr LIKE cobk-gjahr   MEMORY ID gjr  OBLIGATORY,
                p_versn LIKE cobk-versn   MEMORY ID kvt  OBLIGATORY,
                p_kostl LIKE cssl-kostl                  OBLIGATORY,
                p_kstar LIKE cskb-kstar                  OBLIGATORY,
                p_vrgng LIKE cobk-vrgng   DEFAULT 'RKP1' OBLIGATORY,
                p_kwaer RADIOBUTTON GROUP ein DEFAULT 'X',
                p_owaer RADIOBUTTON GROUP ein,
                p_twaer RADIOBUTTON GROUP ein,
                p_waers LIKE coss-twaer.
    DATA: i_rku01_cur LIKE rku01_cur.
    * internal table for function
    DATA: itrku01g TYPE TABLE OF rku01g WITH HEADER LINE.
    REFRESH itrku01g.
    PERFORM fill_itrku01g.
    * Which currency is to be used?
    IF p_twaer = 'X'.
    *   planning in transaction currency
      i_rku01_cur-wtg_man = p_twaer.
      i_rku01_cur-wtf_man = p_twaer.
    ELSEIF p_owaer = 'X'.
    *   planning in object currency
      i_rku01_cur-wog_man = p_owaer.
      i_rku01_cur-wof_man = p_owaer.
    ELSE.
    *   planning in controlling area currency
      i_rku01_cur-wkg_man = 'X'.
      i_rku01_cur-wkf_man = 'X'.
    ENDIF.
    CALL FUNCTION 'K_COSTS_PLAN_INTERFACE_TOTAL'
      EXPORTING
    *    BLTXT                  = ' '
    *    COMMIT                 = 'X'
    *    DELTA                  = ' '
        gjahr                  = p_gjahr
        kokrs                  = p_kokrs
        messages_show          = 'X'
        perab                  = p_perab
        perbi                  = p_perbi
        update_values          = 'X'
        versn                  = p_versn
        vrgng                  = p_vrgng
    *    ONLINE_VB              = ' '
        irku01_cur             = i_rku01_cur
    *    TESTMODE               = ' '
    *    KEEP_TWAER             = ' '
      TABLES
        irku01g                = itrku01g
    EXCEPTIONS
       messages_occured       = 1
       OTHERS                 = 2
    IF sy-subrc = 0.
      MESSAGE s000(15).
    *   Verbuchung wurde erfolgreich durchgeführt
    ENDIF.
    *  FORM FILL_ITRKU01G
    FORM fill_itrku01g.
    * fill internal table for function
      CLEAR itrku01g.
      itrku01g-kostl    = p_kostl.              "for CCA planning
      itrku01g-kstar    = p_kstar.              "must be filled
      itrku01g-wtgbtr   = 12000.                "value when planning
      itrku01g-wkgbtr   = 12000.                "value when planning
      itrku01g-wogbtr   = 12000.                "value when planning
      itrku01g-twaer    = p_waers.              "transaction currency
      itrku01g-fcwkg    = '1'.           "distribution key must be filled
      itrku01g-fcwkf    = '1'.                  "must be filled
      itrku01g-fcwkv    = '1'.                  "must be filled
      itrku01g-fcmeg    = '1'.                  "must be filled
      itrku01g-fcmef    = '1'.                  "must be filled
      itrku01g-fcmev    = '1'.                  "must be filled
      APPEND itrku01g.
    ENDFORM. "FILL_ITRKU01G.
    Best regards,
    George Shlyahov.

  • How to execute the transaction SCI

    Hi All,
    How to execute the transaction SCI
    Thank you,
    Sridhar.

    Hai ,
    there are two ways to use SCI , one is you open you code in se38 -->display mode --> Program >check>code inspector. here your program is executed with a dafault variant provided in SCI.
    Second method is go to SCI , create a inspection  an choose a variant , here system provide you with a wide range of program checks (security/syntax etc)
    For any further help.
    Do reply.
    Regards
    Jase

Maybe you are looking for

  • Messages from the Inbox and Sent folders are being transfered to the Outbox

    Why are the messages from my Inbox and Sent folders being transfered to my Outbox?

  • 808 Belle FP2 gallery missing features

    Nokia 808 Belle FP2's gallery is still crippled. There is no way to organize photos into folders or tag them in any useful manner. And there no possibility to select multiple items for sharing etc. Gallery cannot zoom images that are downloaded to th

  • Secure Copy and Paste in Sandboxed mode

    Hi, while working on copy-and-paste of mathematical formulae for our ActivMath learning environment, a web-based one, I, of course, chopped to the problem that sandboxes (be them in Java applets, JNLP, JavaScript, Flash, ...) refuse the access to the

  • To "control/select" a group of emails and delete takes forever

    when using 'select/control' to group a number of emails for deletion it takes forever to select (7-8 seconds) and to delete takes just as much time. It makes cleaning up email data very troublesome. I have to go to my provider, Windstream, and delete

  • DPM Agent Communication Error

    We get the following error sporadically, and it seems to always deal with an Exchange Server service stealing the DPMRA port. Is there any way to get this to stop. We have to put the mailbox server in 2010 into DAG maintenance and restart services. T