Passing Value from a Driver Program

Hi,
How can i send a specific field's value alone to the form from driver program ?
we normally use write_form in Loop & end loop.
if i wanna send a value from one flied alone wat shud i do??
Pls help me...
Thank You.

Hi
See the sample code for Subroutines and do accordingly
How to call a subroutine form SAPscripts
The Form :
/:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
/:USING &EKKO-EBELN&
/:CHANGING &CDECENT&
/:ENDPERFORM
The report :
REPORT zkrpmm_perform_z1medruck .
DATA : BEGIN OF it_input_table OCCURS 10.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_input_table.
déclaration de la table output_table contenant les
variables exportées
DATA : BEGIN OF it_output_table OCCURS 0.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_output_table.
DATA : w_ebeln LIKE ekko-ebeln,
w_vbeln LIKE vbak-vbeln,
w_zcdffa LIKE vbak-zcdffa.
FORM CDE_CENT
FORM cde_cent TABLES input output.
it_input_table[] = input[].
it_output_table[] = output[].
READ TABLE it_input_table INDEX 1.
MOVE it_input_table-value TO w_ebeln.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = w_ebeln
IMPORTING
output = w_ebeln.
SELECT SINGLE zcdffa FROM ekko
INTO w_zcdffa
WHERE ebeln = w_ebeln.
it_output_table-name = 'CDECENT'.
MOVE w_zcdffa TO it_output_table-value.
MODIFY it_output_table INDEX 1.
output[] = it_output_table[].
ENDFORM.
REPORT ZMPO1 .
form get_freight tables in_par structure itcsy out_par structure itcsy.
tables: ekko,konv,t685t.
data: begin of itab occurs 0,
         ebeln like ekko-ebeln,
         knumv like ekko-knumv,
       end of itab.
data: begin of itab1 occurs 0,
         knumv like konv-knumv,
         kposn like konv-kposn,
         kschl like konv-kschl,
         kbetr like konv-kbetr,
         waers like konv-waers,
         kwert like konv-kwert,
       end of itab1.
data: begin of iout occurs 0,
         kschl like konv-kschl,
         vtext like t685t-vtext,
         kbetr like konv-kbetr,
         kwert like konv-kwert,
       end of iout.
data v_po like ekko-ebeln.
read table in_par with key 'EKKO-EBELN'.
if sy-subrc = 0.
   v_po = in_par-value.
   select
     ebeln
     knumv
  from ekko
  into table itab
  where ebeln = v_po.
  if sy-subrc = 0.
    loop at itab.
      select
        knumv
        kposn
        kschl
        kbetr
        waers
        kwert
      into table itab1
      from konv
      where knumv = itab-knumv and
            kappl = 'M'.
    endloop.
    loop at itab1.
      if itab1-kposn <> 0.
        select single * from t685t
                          where kschl = itab1-kschl
                            and kappl = 'M'
                            and spras = 'EN'.
        iout-vtext = t685t-vtext.
        iout-kschl = itab1-kschl.
        iout-kbetr = itab1-kbetr.
        iout-kwert = itab1-kwert.
        append iout.
        clear iout.
      endif.
    endloop.
    sort itab1 by kposn.
    loop at iout.
      sort iout by kschl.
      if ( iout-kschl eq 'GSDC' OR
           iout-kschl eq 'GSFR' OR
           iout-kschl eq 'GSIR' ).
        at end of kschl.
          read table iout index sy-tabix.
          sum.
         write:/ iout-kschl,iout-vtext,iout-kwert.
      out_par-name = 'A1'.
      out_par-value = iout-vtext.
      append out_par.
      out_par-name = 'A2'.
      out_par-value = iout-kwert.
      append out_par.
          endat.
        endif.
      endloop.
    endif.
  endif.
endform.
IN THE FORM I AM WRITING THIS CODE.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:ENDPERFORM
&A1&
&A2&
This Code is to be written in the PO form under ADDRESS window.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:DEFINE &A3& = ' '
/:DEFINE &A4& = ' '
/:DEFINE &A5& = ' '
/:DEFINE &A6& = ' '
/:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:CHANGING &A3&
/:CHANGING &A4&
/:CHANGING &A5&
/:CHANGING &A6&
/:ENDPERFORM
&A1&
&A2&
&A3&
&A4&
&A5&
&A6&
Reward points for useful Answers
Regards
Anji

Similar Messages

  • Passing value from Frame Driver to Form

    Hi,
    I have a frame driver which shows some (project Names) when submitted calls a form in the target area. I'am joining 2-3 tables and i cannot pass the Rowid but i'am passing another field value. My problem is when i select a Project Name and hit the submit button , unless i hit the query button it does the value on the form . It works good when i pass the rowid (some other form). Does anyone know how to make this work?
    Thank You.

    Hi,
    Here is an example which calls the employee form. After clicking on the submit in the driving frame after selecting the employee, the employee form shows up with that particular employee's details.
    sample....
    select ename,'SJAYARAM903_1B.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1060253649&p_arg_names=_sessionid&p_arg_values=&p_arg_names=_empno_cond&p_arg_values==&p_arg_names=show_header&p_arg_values=YES&p_arg_names=EMPNO&p_arg_values='||empno url from SJAYARAM903_1B_DEMO.EMP
    Thanks,
    Sharmila

  • Pass Value from Excel to custom program

    Hello,
    I want to pass value from Excel to Custom Program being called in the Custom Integrator and i am using the Import in the Importer section but it is not getting passed.
    Please advise and i am on R12.1.3.
    Thanks

    Pl do not post duplicates - Concurrent Program Parameter

  • Pass value from Java to Perl

    Anyone knows how to pass value from Java to Perl program?

    Did you write the perl program? Can you change it? Or are you trying to interface to something that already exists? This will limit your options, of course.
    Anyway the first option is simple. The java program does this:
    System.out.println("This is a line of input.");The perl program does this:
    while(<>)and in that block, $_ is assigned to each line of input.
    Then you can invoke both like this:
    $ java MyJavaProgram | perl MyPerlProgram.pl

  • How to get values from workflow to program

    Hello everybody,
    I am stuck with an issue in workflow. I want to know how can I get the values of workflow in Abap program.
    Scenario:
    The workflow is triggered when a user does the transaction MIGO.
    The user gets a workflow in his SAP inbox. He clicks on the link and is able to view details in MIGO.
    I want to get the material number and year in program ( as shown below)
    I am new to workflow, is there any kind of binding to do? And maybe a method or function module which will allow to get these values in program.
    Thanks a lot
    Regards

    Hello,
    With some help here and there, we have been able to set up the workflow. Special thanks to Modak Gupta.
    I'm sharing the steps below. I would be grateful if someone could explain the different binding, what are their purposes depending on the place they are done, etc. I am still not very at ease with the binding. Thanks.
    Requirement:
    Once MIGO is done, the client wishes to do another MIGO. For him to know that the first MIGO has been done, he needs to get it in his SAP Inbox (Workflow). From there, he can just execute the workflow and he will do the second MIGO.
    Steps:
    1. Create a BAPI in SE37 to get the purchase order (we need it because we will open the second MIGO with the purchase order of the first MIGO). We will also call the transaction MIGO in the BAPI (For our requirement, it is ZMIGO, but very similar to MIGO, just some different customizing).
    In the BAPI, use the function module BAPI_GOODSMVT_GETDETAIL to get the purchase order.
    A BDC is also done in the BAPI to open ZMIGO with the purchase order.
    Code:
    FUNCTION zbapi_call_transaction.
    *"*"Interface locale :
    *"  IMPORTING
    *"     VALUE(MATERIALDOCUMENT) TYPE  MBLNR
    *"     VALUE(MATDOCUMENTYEAR) TYPE  MJAHR
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRETURN
    DATA: gt_items TYPE STANDARD TABLE OF bapi2017_gm_item_show,
    gs_items TYPE bapi2017_gm_item_show,
    gt_return TYPE STANDARD TABLE OF bapiret2,
    gs_header TYPE bapi2017_gm_head_02,
    l_materialdocument  TYPE  bapi2017_gm_head_02-mat_doc,
    l_matdocumentyear TYPE  bapi2017_gm_head_02-doc_year.
    DATA: gs_bdcdata  TYPE bdcdata,
    gt_bdcdata  TYPE TABLE OF bdcdata,
    l_opt TYPE ctu_params.
    l_materialdocument       = materialdocument.
    l_matdocumentyear        = matdocumentyear.
    CALL FUNCTION 'BAPI_GOODSMVT_GETDETAIL'
    EXPORTING
    materialdocument = l_materialdocument
    matdocumentyear  = l_matdocumentyear
    IMPORTING
    goodsmvt_header  = gs_header
    TABLES
    goodsmvt_items   = gt_items
    return           = gt_return.
    READ TABLE gt_items INTO gs_items INDEX 1.
    IF sy-subrc EQ 0.
    CLEAR gs_bdcdata.
    gs_bdcdata-program  = 'SAPLMIGO'.
    gs_bdcdata-dynpro   = '0001'.
    gs_bdcdata-dynbegin = 'X'.
    APPEND gs_bdcdata TO gt_bdcdata.
    CLEAR gs_bdcdata.
    gs_bdcdata-fnam = 'BDC_CURSOR'.
    gs_bdcdata-fval = 'GODYNPRO-PO_NUMBER'.
    APPEND gs_bdcdata TO gt_bdcdata.
    CLEAR gs_bdcdata.
    gs_bdcdata-fnam = 'GODYNPRO-PO_NUMBER'.
    gs_bdcdata-fval = gs_items-po_number.
    APPEND gs_bdcdata TO gt_bdcdata.
    CLEAR gs_bdcdata.
    gs_bdcdata-fnam = 'BDC_CURSOR'.
    gs_bdcdata-fval = 'GODEFAULT_TV-BWART'.
    APPEND gs_bdcdata TO gt_bdcdata.
    CLEAR gs_bdcdata.
    gs_bdcdata-fnam = 'GODEFAULT_TV-BWART'.
    gs_bdcdata-fval = '101'.
    APPEND gs_bdcdata TO gt_bdcdata.
    CLEAR gs_bdcdata.
    gs_bdcdata-fnam = 'BDC_CURSOR'.
    gs_bdcdata-fval = 'GODYNPRO-PO_NUMBER'.
    APPEND gs_bdcdata TO gt_bdcdata.
    CLEAR gs_bdcdata.
    gs_bdcdata-fnam = 'BDC_OKCODE'.
    gs_bdcdata-fval = '=OK_GO'.
    APPEND gs_bdcdata TO gt_bdcdata.
    l_opt-dismode = 'E'.
    l_opt-defsize = 'X'.
    CALL TRANSACTION 'ZMIGO' USING gt_bdcdata OPTIONS FROM l_opt.
    ENDIF.
    ENDFUNCTION.
    2. Create a Business Object in SWO1.
    It is a copy of BUS2017, we have added our BAPI and an event. We also modified the program.
    Modify the program by clicking on Program above:
    Add the parameters in the new method (BAPI)
    Add the parameters in the new Event.
    3. Implement the BADI in SE18 / SE19
    BADI: MB_DOCUMENT_BADI -
    Method: MB_DOCUMENT_BEFORE_UPDATE
    Get the purchase order
    Use the function module SAP_WAPI_CREATE_EVENT to pass values from program to workflow.
    Code:
    method IF_EX_MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE.
    DATA : BEGIN OF key,
    mblnr TYPE mkpf-mblnr,
    mjahr TYPE mkpf-mjahr,
    END OF key.
    DATA : event_container TYPE TABLE OF swcont.
    DATA : objkey TYPE sweinstcou-objkey.
    DATA : s_xmkpf TYPE mkpf.
    DATA: l_RETURN_CODE TYPE sy-subrc,
    l_event_id TYPE SWR_STRUCT-EVENT_ID,
    lt_container TYPE STANDARD TABLE OF SWR_CONT,
    ls_container TYPE SWR_CONT.
    data :INPUT_CONTAINE type table of SWR_CONT ,
    x_cont type swr_cont.
    " numéro commande d'achat
    DATA ls_xmseg TYPE mseg.
    CLEAR ls_xmseg.
    READ TABLE xmseg INTO ls_xmseg INDEX 1.
    x_cont-ELEMENT = 'MATERIALDOCUMENT'.
    x_cont-VALUE = ls_xmseg-mblnr.
    APPEND x_cont to INPUT_CONTAINE.
    x_cont-ELEMENT = 'MATERIALDOCYEAR'.
    x_cont-VALUE = ls_xmseg-mjahr.
    APPEND x_cont to INPUT_CONTAINE.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
    EXPORTING
    object_type             = 'ZYBI'
    object_key              = objkey
    event                   = 'EVENT2'
    COMMIT_WORK             = space
    IMPORTING
    RETURN_CODE             = l_RETURN_CODE
    EVENT_ID                = l_event_id
    TABLES
    INPUT_CONTAINER         = INPUT_CONTAINE.
    endmethod.
    4. Create the workflow in SWDD
    Add the Business Object in the container and tick Import.
    Create a task with the following details.
    Click on Binding in the above screen:
    Create an Activity and attach the task to it.
    Affect Agents
    Add a starting event in Basic Data.
    Add a Process Control to end the workflow.
    Workflow Final should look like this:
    I hope it would be helpful to some of you. Sorry about the binding, there might be some issues not correct. But normally, if you follow the steps as they are, and for binding, you do Automatic Binding, it should be ok.
    Thanks

  • Java Thread - difficulty while passing value from parent to child thread

    Hi All,
    I am calling a java program from a unix script .
    My oblectives are
    1)to pass value from scripts to main java class
    2)main class should create a child thread and pass data to child and should return control back to script
    3)child thread should run independtly of parent
    The calling unix script is part of process and hence should return control back to its calling script immediately.
    Findings
    1)Without passing data thru setter getter /constructor method to child thread my objectives are met
    2)When I pass the data from parent thread to child thread calling unix scripts wait till child thread finishesh its working
    call.scr
    java Main <list of Arguments>
    Main.java
    public class Main
                 public static void main(String args[]) throws Exception
                 String data2="Z";
                 String data1=null;
                 for(int i=0;i<args.length;i++)
                      data2=data2+","+args;
    data1=data2;
    Child cu=new Child();
    cu.setData(data1);
    data2=null;
    data1=null;
    cu.start();
    Child.javaclass Child extends Thread
    public String data;
    void setData(String data)
    this.data=data;
    public void run()
    ----------> processing on data
    I think due to passing of data from parent thread to child thread (Inter thread data communication/Inter process communication)
      the threads are not working as desired.
    Plz anybody can suggest something.....
    Thanx.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    aschin,
    You seem to be confusing Java Threads with Operating System Processes.
    If you want you're java program to run in the unix background then you'll need to run it in the unix background. Java (being o/s agnostistic) doesn't provide process manipulation functionality (which would include the ability to throw itself into the background, as a C program can) in the standard API, and it's hard to imagine any third party producing anything as low level as a process controler... so yeah, just start the java program in the background... and you'll need to workout some interprocess communication protocol... named pipes have worked well for me in the past, as they doesn't suffer from the quit same performance issues as real disk files.
    Good luck. Keith.

  • Passing value from plsql back to UNIX

    I have a shell script which calls out to a plsql program using sqlplus command, but how do I return the values from the plsql program (a simple SELECT statement) back to the Unix script? Thanks.
    James

    Create one UNIX script
    eg :- C2_ATG_Insert.sh
    #!/usr/bin/ksh
    #Variables to store the values
    count=0
    Count_ILX_EXCH=0
    Count_ILX_CBOE_SERIES=0
    Count_ILX_UNDLY_INST=0
    Count_STOCK_TIPS=0
    Count_TIPSSUM=0
    # Block to check whether date is passed as a parameter
    if (($# != 1))
    then
    echo "Usage: C2_ATG_Insert.sh dd-mon-yy"
    exit 1
    fi
    # Assign the trade date to a variable
    Temp_Date=$1
    # Call the sql, Count_Temp.sql with date as parameter
    sqlplus usernam/password@Database_Name @Counts_Temp.sql $Temp_Date
    # remove the blank lines
    sed '/^$/d' Counts_Temp.lst > Counts_C2ATG.lst
    # Store variables from the spooled file which gets generated in Count_Temp.sql into variables defined
    while read myline
    do
    count=$(($count + 1))
    case $count in
    1) Count_ILX_EXCH=$myline ;;
    2) Count_ILX_CBOE_SERIES=$myline ;;
    3) Count_ILX_UNDLY_INST=$myline ;;
    4) Count_STOCK_TIPS=$myline ;;
    5) Count_TIPSSUM=$myline ;;
    esac
    done < Counts_C2ATG.lst
    echo "ILX_EXCH Count $Count_ILX_EXCH"
    echo "ILX_CBOE_SERIES Count $Count_ILX_CBOE_SERIES"
    echo "LX_UNDLY_INST Count $Count_ILX_UNDLY_INST"
    echo "STOCK_TIPS Count $Count_STOCK_TIPS"
    echo "TIPSSUM Count $Count_TIPSSUM"
    if [ $Count_ILX_EXCH -eq 0 ] || [ $Count_ILX_CBOE_SERIES -eq 0 ] || [ $Count_ILX_UNDLY_INST -eq 0 ] || [ $Count_STOCK_TIPS -eq 0 ] || [ $Count_TIPSSUM -eq 0 ]
    then
         echo "*********** Count in one of the tables is Zero *****************"
         exit 1
    fi
    Create the SQL File eg Count_Temp.sql
    SET heading off
    SET VERIFY OFF
    SET PAUSE OFF
    SET ECHO OFF
    SET TIMING OFF
    spool Counts_Temp.lst;
    select count(*) from ILX_EXCH where trade_date= '&&1'
    UNION ALL
    select count(*) from ILX_NONCBOE_SERIES where trade_date= '&&1'
    UNION ALL
    select count(*) from ILX_UNDLY_INST where trade_date = '&&1'
    UNION ALL
    select count(*) from STOCK_TIPS where trade_date = '&&1'
    UNION ALL
    select count(*) from TIPSSUM where trade_date ='&&1
    spool off;
    exit;
    Do reply in case you are unable to undertand any part of the scripts

  • Passing values from a FORM to another FORM

    Hi,
    I have to pass values from FORM "A" to FORM "B". What is the best way to do this?\
    Can I use a GLOBAL variable?
    Thanks,
    Marc.

    I think he meant the global namespace.
    You set a :global_your_name_here to a value and that value is available in your entire application. See the help file section on the global namespace for more information.
    Forms parameters are parameters that you form picks up from the outside when it starts. The calling entity must supply them in the URL or they will be set to null. You set them up in the object navigator in the Parameters node.

  • Script fails when passing values from pl/sql to unix variable

    Script fails when passing values from pl/sql to unix variable
    Dear All,
    I am Automating STATSPACK reporting by modifying the sprepins.sql script.
    Using DBMS_JOB I take the snap of the database and at the end of the day the cron job creates the statspack report and emails it to me.
    I am storing the snapshot ids in the database and when running the report picking up the recent ids(begin snap and end snap).
    From the sprepins.sql script
    variable bid number;
    variable eid number;
    begin
    select begin_snap into :bid from db_snap;
    select end_snap into :eid from db_snap;
    end;
    This fails with the following error:
    DB Name DB Id Instance Inst Num Release Cluster Host
    RDMDEVL 3576140228 RDMDEVL 1 9.2.0.4.0 NO ibm-rdm
    :ela := ;
    ERROR at line 4:
    ORA-06550: line 4, column 17:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    ( - + case mod new not null &lt;an identifier&gt;
    &lt;a double-quoted delimited-identifier&gt; &lt;a bind variable&gt; avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    &lt;a string literal with character set specification&gt;
    &lt;a number&gt; &lt;a single-quoted SQL string&gt; pipe
    The symbol "null" was substituted for ";" to continue.
    ORA-06550: line 6, column 16:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    ( - + case mod new not null &lt;an identifier&gt;
    &lt;a double-quoted delimited-identifier&gt; &lt;a bind variable&gt; avg
    count current exists max min prior sql stddev su
    But when I change the select statements below the report runs successfully.
    variable bid number;
    variable eid number;
    begin
    select '46' into :bid from db_snap;
    select '47' into :eid from db_snap;
    end;
    Even changing the select statements to:
    select TO_CHAR(begin_snap) into :bid from db_snap;
    select TO_CHAR(end_snap) into :eid from db_snap;
    Does not help.
    Please Help.
    TIA,
    Nischal

    Hi,
    could it be the begin_ and end_ Colums of your query?
    Seems SQL*PLUS hs parsing problems?
    try to fetch another column from that table
    and see if the error raises again.
    Karl

  • Passing values from javascript in pop up window to parent jsp

    Hi
    I am trying to pass values from a pop up window to the main window that popped this child window , with the idea to have the parent window refresh itself with value from pop up window.But the values are not going through.I do a request on the hidden variable but when the parent
    jsp refreshes , the variable is still null...
    The following is the code i have .
    Parent jsp:a.jsp
    <form name='summary'>
    <input type=hidden name=customerid value="">
    <input type="button" class="textButton" name="action" value="customerlist" onClick="javascript:openWin('b.jsp','800','350')">
    <script>
    function openWin(loc, w, h) {
    var newWin = window.openloc,"HTML",'dependent=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + w + ',height=' + h);
    newWin.window.focus();
    </SCRIPT>
    <%
    String optionVal = request.getParameter("customerid");%>
    var user = "<%= optionVal%>";
    </form>
    child jsp- b.jsp (pop up window)
    <script>
    function closer(){
    var val = document.formname.id.selected.value;
    window.opener.document.summary.customerid.value = val;
    window.opener.location.reload();
    </script>
    <form name = formname>
    <input type="text" name="id" value = ''>
    <input type="button" class="textButton" value="select"
    onClick="closer();window.close();">
    </form>
    Any ideas on what i am missing
    Thanks
    Arn

    use window.opener.document.forms[0].filedname.value = 'value u need to set'

  • Passing Value from Crystal Report (special function) to Business View parameter

    Friends,
                 Í have a scenario where i need to pass value from Crystal Report to a Business view's parameter.
    Eg : CurrentCEUsername (func in crystal report)-- gives login user  which i should pass to parameter in a Business view (used in the same report).
    Will be able to explain more if required.
    Thanks in Advance,
    Bharath

    I guess you got the picture wrong.  User_id is not a report_level parameter .
    In Data Foundation, below query is used..
    select Acc_Number, Account_Group,User_id  from Accounts where user_id={?User_id}
    where in {?User_id}  is the BV parameter...
    The Filter was a solution. But it takes long time to Query all the data from DB and then filter at BV level.
    How do i pass the CurrentCEUsername to {?User_id}
    Value should ve CurrentCEusername always. so that query will be
    select Acc_Number, Account_Group,User_id  from Accounts where user_id=CurrentCEusername
    It will restrict the data pulled from DB to BV .. right?

  • How can I pass values from one node to another

    Give a standard and efficient way to pass values from child to parent

    hai Prathap
    You can use the custom event  for passing values from child to parent

  • Re: Help needed in passing values from workflow to Approve Forms

    Dear Experts,
    how do I pass values from a workflow to a step (Form) - approve form?
    I am using a customized table structure as my data source (FORMCONTAINERELEMENT) but am stuck on how to access the data when i get to to the screen painter's flow logic... What am i missing? Can you give me a step by step example. the ones i see on the net are input fields that update the screen... nothing that shows value being passed from the outside.
    I need to pass an exisitng value in the workflow into the form for approval of the the assigned agent.
    Please help!!
    Thank you.

    Hello !
             Create a method just before the form step.This method should populate the values for the fields maintained in the form.
             Pass the values populated from this method to your customized table structure (data source).In other words, you have to pass all the values to the workflow container.
            To the step, pass this workflow container by binding.In the control tab of form step, you have to do the binding.
    Regards,
    S.Suresh

  • Passing value from Webdynpro ABAP to Adobe form..

    Hi experts,
            In first view of web dynpro, im getting employee id as input and after clicking the create new button, an adobe form is called
    to create the employee details ( in form i used the submit button and i stored the details ). so, in tat form i used the employee id as read only mode and it has to display the value which i given as input. But in tat form im not getting the value from web dynpro..
    can anyone plz help me out for this..
    Thanks in advance..

    Hi,
    Try to set your values in Method->"wddomodify" of the View in which Adobe Form is present. If you want to pass values from one view to another then check this link [Passing Local Parameters between views in an ABAP Web Dynpro Application|http://wiki.sdn.sap.com/wiki/display/stage/PassingLocalParametersbetweenviewsinanABAPWebDynproApplication] or use Context declared in Component Controller.
    Regards
    Pradeep Goli

  • Passing value from JSP to JApplet

    Hello,
    I am stuck up with a problem, can anyone please tell me how do i pass a value from a JSP page
    to a JApplet,
    and the parameter passed through JSP should be displaed in the JTextArea.
    It would be kindful if any of you could help.
    Thanks
    Sanam

    hello,
    thanks for reply.
    I know how to pass parameters from html,
    I want to pass values from jsp page,
    and i dono how to do it, may be we cann pass values through url connection but i dono how.
    if anone knows plz help me in solving this.
    i hvae posted my applet code.
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.JToolBar;
    import javax.swing.JButton;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    <applet code = "DocApplet" width = 500 height =5000>
    </applet>
    public class DocApplet extends JApplet
         private JPanel jp;
         private Container cp;
         private JTextArea jt;
         private JToolBar tb;     
         private JScrollPane sp;
         private String annotation;
         private String url;
         private Connection con;
         private Statement stmt;
         public void init()
              jp = new JPanel();
              cp = getContentPane();
              jt = new JTextArea();
              tb = new JToolBar();
              sp = new JScrollPane(jt);
              repaint();
         public void start()
              jp.setLayout(new BorderLayout());
              jp.add(tb, BorderLayout.NORTH);
              jp.add(sp, BorderLayout.CENTER);
              jt.setBackground(Color.BLACK);
              jt.setForeground(Color.WHITE);
              setContentPane(jp);
              addButtons(tb);
              repaint();
         public void run()
              repaint();
         public void paint()
         private void addButtons(JToolBar tb)
              JButton button = null;
              button = new JButton("Save");
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
              tb.add(button);
    }

Maybe you are looking for

  • How can I stop people on my wireless network using my HP Envy Printer, I'm using a Mac Book Pro.

    There are people on the same wifi network as me but I want my printer to only be connected to my products

  • BG image issues, help plz

    I am using Macromedia DW MX. I am having some issues with the background tiling and not centering behind the nav buttons. If you look behind the top row of nav buttons you can see the BG issue. The problem is bad with IE but worse with Firefox. Anyon

  • How do I seach a LONG datatype in a table?

    Using Oracle 9.2.0.6. I'm trying to search the TEXT column of the ALL_VIEWS DBA table for a view that contains a string. select view_name from all_views where upper(text) like '%FTBV_BOOK_SVC_ACTIVITY_ALL_V%';Throws up an error. I looked the object u

  • Rapidwiz does not start (Apps ver 11.5.4  on Win 2000)

    Hi Gurus, I have Windows 2000/ XP loaded on an 80GB Disk. I loaded MS VC++, MS SFU(Ver 3), Cygwin, ran the gnumake but the rapidwiz does not initialize Made evironment settings for the above as well In the pre-install setup, the weak link seems to be

  • Fm or bapi for requisition

    Hello! i have the fm me_read_req_ext_array that brings information on requisition if you give it the requisition number. I cant use this fm because i don't have the requisition number , i have only the matnr and werks. is there any bapi or fm that us