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

Similar Messages

  • Passing value from JavaScript window to form

    Hi,
    Coul'd You help me?
    I have a test form. I open new JavaScript window from this form. I generate list of authors in this window by the procedure show_list. I want to pass value from JavaScript window back to test form, but
    the command "window.opener.document.forms[idx_form].elements[idx_fld].value = val;"
    don't pass value to test form. Where is mistake?
    Thanks Vaclav
    -------------- test form --------------
    <HTML>
    <HEAD>
    <META http-equiv="Content-Type" content="text/html; charset=windows-1250">
    <TITLE>Edit</TITLE>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Comment out script for old browsers
    function get_list(frm, fld)
    var idx_form, idx_fld;
    idx_form = get_idx_form(frm);
    idx_fld = get_idx_field(idx_form, fld);
    var w = open ("http://vasekora/pls/portal309/ahs.RD_CISEL.SHOW_LIST" + "?startPg=1" + "&master_fld=" + "ID_AUTHOR" + "&slave_fld=" + "NAME" + "&ownr=" + "REDAKCE" + "&tbl_name=" + "AUTHORS" + "&cmd_qry=" +"" + "&idx_form=" + idx_form + "&idx_fld=" + idx_fld,"wn_Authors","width=500,height=600,resizable=yes,menubar=yes, location=yes");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    function get_idx_form(p_form_name)
    var v_index, v_full_name, v_return;
    for(v_index=0; v_index < document.forms.length; v_index++)
    v_return = -1;
         v_full_name = document.forms[v_index].name.split(".");
    if (v_full_name == p_form_name)
         v_return = v_index;
              break;
    return v_return;
    function get_idx_field(idx_form, field_name)
    var v_index, v_full_name, v_return;
    for(v_index=0; v_index < document.forms[idx_form].length; v_index++)
    v_return = -1;
         v_full_name = document.forms[idx_form].elements[v_index].name.split(".");
    if (v_full_name == field_name)
         v_return = v_index;
              break;
    return v_return;
    //-->
    </SCRIPT>
    </HEAD>
    <BODY>
    <FORM NAME="f_aut_new" ACTION="javascript:testclose()" METHOD=POST TARGET="_blank">
    <INPUT TYPE="text" NAME="id_aut">
    <IMG SRC="images/list.gif" alt="Seznam" border="0" align=bottom><BR><BR>
    <INPUT TYPE="submit" VALUE="Save">
    <INPUT TYPE="reset" VALUE="Cancel">
    </FORM>
    </BODY>
    </HTML>
    -------------------- end test form --------------
    procedure show_list
    startPg integer,
    master_fld varchar2,
    show_fld varchar2,
    ownr varchar2,
    tbl_name varchar2,
    cmd_qry varchar2,
    idx_form integer,
    idx_fld integer
    is
    TYPE cur_typ IS REF CURSOR;
    c cur_typ;
    c_cnt cur_typ;
    i integer;
         pg rd_types.pages_t;
    odkaz varchar2(4000);
    bk_url varchar2(4000);
         s1 varchar2(4000);
         var_mfld integer;
         var_sfld varchar2(8000);
         bl boolean;
         var_cmd varchar2(2000);
    begin
    htp.HTMLOPEN;
    htp.HEADOPEN;
    htp.p('<SCRIPT LANGUAGE="JavaScript">');
    htp.p('<!-- Comment out script for old browsers');
    htp.p('function Close_List(val, idx_form, idx_fld)');
    htp.p('{');
    htp.p('window.opener.document.forms[idx_form].elements[idx_fld].value = val;');
    htp.p('self.close();');
    htp.p('}');
    htp.p('//-->');
    htp.p('</SCRIPT>');
    htp.HEADCLOSE;
    htp.BODYOPEN;
    if cmd_qry is null then
    s1 := 'SELECT a.'||master_fld||', a.'||show_fld||' FROM '||ownr||'.'||tbl_Name||
    ' a ORDER BY a.'||show_fld;
    else
    var_cmd := UPPER(cmd_qry);
    s1 := 'SELECT a.'||master_fld||', a.'||show_fld||' FROM '||ownr||'.'||tbl_Name||
    ' a WHERE UPPER(a.'||show_fld||') LIKE ''%'||var_cmd||'%'' ORDER BY a.'||show_fld;
    end if;
    i := 1;
    OPEN c FOR s1;
    LOOP
    FETCH c INTO var_mfld, var_sfld;
    IF c%FOUND THEN
    IF i >= pg.StartRec AND i <= pg.EndRec THEN
    odkaz :=''||var_sfld||'';
    htp.p(i||': '||odkaz||' ('||var_mfld||')<BR>');
    ELSE
         IF i > pg.EndRec THEN
         EXIT;
         END IF;          
    END IF;
    ELSE
    EXIT;
    END IF;
    i := i + 1;
    END LOOP;
    htp.p('<BR><B><INPUT TYPE=BUTTON ONCLICK="javascript:self.close();" VALUE="Close"></B><BR><BR>');
    CLOSE c;
    htp.BODYCLOSE;
    htp.HTMLCLOSE;
    end;

    If this makes any difference: Instead of using "var w = open..." try "var w = window.open..."

  • Passing value from dynamic page to form.....

    I have a portal page that has a dynamic page where I've created an html form. Also on this same page in different regions are three other forms which were created by the form wizard. From the dynamic page form I want to pass a session value to the other forms on the same page. Is this possible? I know it's possible from form to form using session apis. I've search the forum and have not found what I'm looking for. Can anyone be of any help on this topic?

    Melissa,
    It seems we have the same type issue.
    Session variable how to's are what I need also.
    There is a site with more information on it...a continuation of the Portal Handbook by Vandivier and Cox at home.covad.net/~idbexperts called an "Unpublished Case Study" - I don't know if it'll hit your needs on the head, but it may help to see it.
    I believe I am trying to hold session variables over til users complete a 4 part form across several pages (may be a space problem we have). Do you know how I start this?
    I don't know how to put p_session variables together, when or where the parameters are necessary and whether a procedure is necessary or not!!!
    If you would like to correspond offline, I am at [email protected] and would appreciate your insights.
    Mary

  • Need to pass value from check box to the pl/sql function in process

    My requirement is to use single value check box and pass the flag value to the pl/sql function.
    The function need to interpret the flag and execute accordingly.
    In this case checkbox name is P1_DELETE and it returns Delete, if checked.
    Anonymous block with in the process looks as follows:
    declare
    l_result VARCHAR2(1024);
    begin
    l_result := test_function(:P1_DELETE);
    end;

    Hi Visu,
    checkboxes in APEX are handled as arrays, namely APEX_APPLICATION_GLOBAL.VC_ARR2. To pass and process the checked values of checkboxes in a pl/sql function or procedure you could use the following way, assuming you have a checkbox named P1_DELETE with a single return value of "Delete"
    DECLARE
        l_checkbox_values apex_application_global.vc_arr2;
    BEGIN
        l_checkbox := :P1_DELETE;
        -- calling function test_function processing the value
        test_function(NVL(l_checkbox(1), 'SOME_OTHER_VALUE'));
    END;If the checkbox is not checked then the array at position 1 is null and you have to process that as you like.
    If your checkbox would be a group than the array would be colon separated such as 1:2:3:4 etc. and you would have to loop the array like:
        FOR idx IN 1..l_checkbox.COUNT LOOP
            test_function(l_checkbox(idx));
        END LOOP;Hope that helps.
    Andreas

  • Help needed to merge values from two tables -

    We have these three test tables shown, which have a common ID; And amount fields; I want the -------
    test1.val = test2.val + test3.val
    when they have common ids in them;
    I have shown the test data below: And the expected output;
    NOTE: In database with real table values - each of them have millions of rows in them. So effeciency is very important here;
    SQL> desc test1;
    Name Null? Type
    ID NUMBER
    VAL NUMBER
    SQL> desc test2;
    Name Null? Type
    ID NUMBER
    VAL NUMBER
    SQL> desc test3;
    Name Null? Type
    ID NUMBER
    VAL NUMBER
    SQL> select * from test1;
    ID VAL
    1 50
    2 50
    3 55
    4 60
    5 20
    5 rows selected.
    SQL> select * from test2;
    ID VAL
    1 25
    1 25
    2 5
    2 5
    4 75
    5 rows selected.
    SQL> select * from test3;
    ID VAL
    1 25
    1 25
    2 5
    2 25
    2 25
    5 10
    6 rows selected.
    I EXPECT the output to be:
    SQL> select * from test1;
    ID VAL
    1 100
    2 65
    3 20
    4 75
    3 20
    5 10
    6 rows selected.

    Need help with the update queries - joining three tables -

  • Help needed in passing values

    Hi all,
    I'm new to jsp. So if possible pls help me. I have a page(say first.jsp) which has a link to another jsp(say sec.jsp). In sec.jsp i'm setting a value in session. When i'm clicking a use/done button in sec.jsp...I want to come back to first.jsp and use the values in session. How to do this?

    Hi,
    I'm doing what u've said. Now I don't have problem in retrieving the value which i set in sec.jsp.. The problem i'm facing is that.. I'm having a screen which has a label displaying the value i retrieved.. which is not showing the correct value even though it is set in session.. So when i'm coming back..I want first.jsp to be refreshed automatically.. Thanks a lot for both of you guys for helping me out..
    Could u give me a solution for this new problem? i.e how to refresh first.jsp automatically when i come back from sec.jsp...or is there any way to refresh the parent window..

  • Help needed in extracting values from XML

    SAMPLE XML:
    - <Form1>
    - <Name>
    <Ttl>MR</Ttl>
    <Fore>ABC1</Fore>
    <Sur>XYZ2</Sur>
    </Name>
    - <Address>
    <Line>ADD_LINE_1</Line>
    <Line>ADD_LINE_2</Line>
    <PostCode>PST CDE</PostCode>
    </Address>
    <BirthDate>0001-01-01</BirthDate>
    - <Details>
    <TotalEarnings>1234567.00</TotalEarnings>
    <TotalDeduction>12345.00</TotalDeduction>
    </Details>
    </Form1>
    - <Form1>
    - <Name>
    <Ttl>MR</Ttl>
    <Fore>ABC2</Fore>
    <Sur>XYZ2</Sur>
    </Name>
    - <Address>
    <Line>ADD_LINE_3</Line>
    <Line>ADD_LINE_4</Line>
    <PostCode>PST CDE</PostCode>
    </Address>
    <BirthDate>0002-02-02</BirthDate>
    <Gender>female</Gender>
    - <Details>
    <TotalEarnings>12345.00</TotalEarnings>
    <TotalDeduction>123.00</TotalDeduction>
    </Details>
    </Form1>
    There can be any 'n' number of <Form1>'s in one XML.But I want to get only the details of the person whose TotalEarnings>1million. Details include
    Name->Ttl,Fore,Sur
    which in this case would be MR,ABC1,XYZ1
    Address->Line,Line,Postcode
    which in this case would be ADD_LINE_1,ADD_LINE_2,PST CDE
    Birthdate
    which in this case would be 0001-01-01
    Gender
    which in this case would be "null" as there is no Gender tag present
    Details->TotalEarnings,TotalDeduction
    which in this case would be 1234567.00,12345.00
    The technique I was using is,
    1. Convert to clob
    2. User dbms_instr find the location of <Form1> in a loop
    3. For every occurence of <Form1> I find <TotalEarnings> value and check if this is greater than 1 million.
    4. If true, I use dbms_instr to get the values of all the tags inside <Form1>
    5. The drawback of using dbms_instr is that it gets the value of first occurence of whatever sting we supply.In this case dbms_instr(xml,'<Gender>',position of Form1) will not return null whereas it will return "Female" from the next form. This is wrong as it doesnt belong to the person who earns more than a million.
    Can anyone suggest a way to fetch the values that only belong to the form of the person who earns more than a million?

    There can be any 'n' number of <Form1>'s in one
    XML.Not if you want the XML to be valid there can't. You would need a root element around all the <Form1>'s to make it valid.
    The technique I was using is,
    1. Convert to clob
    2. User dbms_instr find the location of <Form1> in a
    loop
    3. For every occurence of <Form1> I find
    <TotalEarnings> value and check if this is greater
    than 1 million.
    4. If true, I use dbms_instr to get the values of all
    the tags inside <Form1>
    5. The drawback of using dbms_instr is that it gets
    the value of first occurence of whatever sting we
    supply.In this case
    dbms_instr(xml,'<Gender>',position of Form1) will not
    return null whereas it will return "Female" from the
    next form. This is wrong as it doesnt belong to the
    person who earns more than a million.
    Can anyone suggest a way to fetch the values that
    only belong to the form of the person who earns more
    than a million?Why on earth are you using dbms_instr for this? Oracle has built in XML functionality for use against XMLTYPE data, such as the ExtractValue method and the use of XPATH expressions.
    I'd suggest you start reading some of the manuals regarding XML functionality in Oracle rather than trying to manually parse it all.

  • Help needed in getting values from the dynamically created text boxes

    Hello,
    I am developing one jsp page using struts. In the page i m
    dynamically adding some rows with two text boxes in each row. and after entering data into
    those textboxes , user clicks on save button and page is submitted.
    I want to capture all this data of dynamically added
    rows so that i can enter those rows into DB.
    how can i acheive this using struts?.
    Have anyone had tried doing it?. Please help.
    Thanx in advance
    Deepali Naik

    Hi,
    1. If you give these textBoxes the same name, then in your action you can call request.getParameterValues(paramName) - it returns String[ ] of values.
    2. You can give form textBox names like "name"+index or something like this in <logic:iterate> tag
    Good luck!

  • Returning attribute values from Workflow to a Form

    Hi,
    I have a workflow action that returns an object. I would like to pass this object a form, via a manual action, and get the values for the object. My form has a base context of variables.user. I have attempted to get the object from the workflow by using the :, semi colon however this isn't working.
    Any help will be appreciated.
    CK

    Solved this by using a rule to call the required methods on the object and set the user.xxxx attribute accordingly.
    It's easy when you know how!
    CK

  • Passing value from one view to form

    Hi Friends,
    This may be easy for you. I did 2-3 times but some how I am stuck this time.
    I am accepting user ID from one form and geting user information. I am trying to modify some information and then printing it in second form. SOme how value is not passing to my second for. While debugging I can see that value is there.
    For first name printing I am using
    $(global.firstname)
    But getting null as output.
    Please help me
    Thx

    Can u post your form ?? I need to see an example quite like yours.
    Thanks ,
    Victor

  • 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

  • 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?

  • Pass values from one Taskflow to another

    JDev 11.1.1.5.0 ADF BC
    Use case: Need to pass values between two bounded taskflows. There are two different pages on two different taskflows and I need to pass values from one to another.

    Hi sahar
    you can set the value you want to pass to another taskflow in pageFlowScope
    and create input params in the another taskflow and set this pageFlowScope valu into that
    Params of TaskFlow
    you can refer the following link
    http://opreview.blogspot.in/2011/07/adf-how-to-pass-parameters-between.html
    Regards

  • How to Pass values from XML to JSP??? Urgent Please Help me

    Hi guys,
    I am new to XML, I want to pass values from XML to JSP. I have a xml file with attributes, I should send this values to a JSP file. How is it??? Please Help guys.... its very urgent. Please send me how to do it with an example or atleast any urls related that....
    Looking for ur favourable reply.
    Thanks in advance,
    Sridhar

    in a servlet :
    parse your xml file (see how at the end of the post) and
    put the values you want in the request attributes
    request.setAttribute("value1", value1);
    ...redirect to the jsp
    in the JSP:
    get the wanted attributes:
    String value1=(String)request.getAttribute("value1");To learn how to parse a xml file, pay a look at this page, it explains how to read the XML document to build an object representation, and then how to navigate through this object to get the data
    http://labe.felk.cvut.cz/~xfaigl/mep/xml/java-xml.htm

  • 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

Maybe you are looking for

  • Quad only one core in Vista.

    Hello, I just set my new system up: P35 Platinum (v1.0 BIOS) Q6600 2gig Gskill 8800GTS X-Fi Vista Home Premium I upgraded from a an Opteron 165 system that had shown both cores. Do I need a BIOS update? I've actually been trying for the past hour to

  • User Specific Screen Layout in FB50

    Dear Friends, We are trying to change the sequence of fields in FB50 for a specific user. Earlier there was an option in to change the screen layout, it was a variant sign on the right hand top side of screen but It is not there in the FB50 screen. S

  • Run multiple statement at a time in a procedure without scheduler

    Dear, I create a procedure that have many select, insert, update statement. How can I execute all the sql statement at a time without using scheduler. Please help me.

  • Locale swc packages other than provided in Fb4.6

    Hi all, Since this is our first contribution to the forum, I'll introduce me: my name is Nacho and I work for LiteSolutions (which is the owner of the account). We use Fb4.6 to develop mobile apps. Since we have to develop this apps focusing in the i

  • Nokia N8 unable to play videos.

    I've recently been having problems playing any type of video on my N8, including videos recorded from the phone's camera. Basically all it plays is the sound from the video and displays a black screen with the video title and a small picture of broke