Problem in Events (Create and Change)

Hi all,
I have developed a worlflow for transaction FV50. Now the problem is that when i create a parking document a mali is sent to approver for approval.
Now suppose if approver doesn't do any action on the workitem which he had in his inbox and initiator changes the same document then the previous mail has to be removed and new mail has to be present in the approver inbox.
I tried using fork with two branches.
In one branch i kept entire flow and in one branch i have created a WAIT for event. It worked i.e. when i create a doc approver is receiving mail..but when i change the same doc then old mail is deleting from his inbox but he is not getting new mail for the changes he made for the document.
So please help me how to achieve the same.
Regards,
Sagar.

Hi Raj,
Thaks for ur reply.
And it helped me a lot.
One more thing i need to know is regarding FORK. For the first i am using the same in WF.
As i said In one branch i have whole logic and in other branch i have wait for event.
Do i need to do have the same process which is done for create in change branch also.
Please explain how FORK works.
Thanks.
Sagar

Similar Messages

  • Created and changed columns strategy in HtmlDb?

    I have two date columns on all my tables created and changed. Created is not null. The columns are maintained by database triggers. I would like for these two columns to be displayed but not changed in a form.
    I have tried different ways to do this:
    1) Text Field (Disabled, does not save state)
    Create works fine but updating gives an error because the created column can not be null.
    2) Text Field (Disabled, saves state)
    Create works fine but updating gives ORA-01821: date format not recognized. I use a format mask like this: DD.MM.YYYY HH24:MI:SS
    3) Date Picker (use application format mask)
    Works fine but it ignores my format mask and the user can now change the dates.
    Has anybody done this with success? Also it would be nice with a solution that does not involve a lot of code sine I have to do this lots of places :-)

    I got pretty much the same as you can se below. It's not a problem with the triggers. But I got it working now with the :new = :old and it don't want to waste more time on this. But thanks a lot for your help!
    create or replace trigger tilbud_under_kategori_b_ins_r
    before insert on tilbud_under_kategori
    for each row
    begin
    if :new.id is null then
    :new.id := util.getSeqNextVal;
    end if;
    if :new.oprettet_af is null then
    :new.oprettet_af := util.getUserName;
    end if;
    if :new.oprettet_tidspunkt is null then
    :new.oprettet_tidspunkt := sysdate;
    end if;
    end;
    create or replace trigger tilbud_under_kategori_b_upd_r
    before update on tilbud_under_kategori
    for each row
    begin
    :new.oprettet_af := :old.oprettet_af;
    :new.oprettet_tidspunkt := :old.oprettet_tidspunkt;
    if :new.opdateret_af is null then
    :new.opdateret_af := util.getUserName;
    end if;
    if :new.opdateret_tidspunkt is null then
    :new.opdateret_tidspunkt := sysdate;
    end if;
    end;
    /

  • User Exit For PR Create and Change

    Hi,
       Please help me for finding User Exit while creating Purchase Requisiton(Me51/Me51n)  and aslo changing Purchase Requisiton(Me52/Me52n).
    Mainly i want to exit for validating Plant and material code while creating and changing PR.
    Thanks,
    Sunil sahoo

    Hi,
    Use the exists
    M06B0001  Role determination for purchase requisition release
    M06B0002  Changes to comm. structure for purchase requisition release
    Regards,
    Nandha

  • How to give authorization for create and change particular Condition Type

    Hi...
       In my requirement is , Only one user can be authorized to create and change a particular condition type 'ZABC' in vk11 and vk12 .
    For remaining condition type can be used as in normal .
    How to do this ? How to give authorization for a particular user for particular condition type ?
    Plz guide me ..
    Thanks in advance .
    Deepa .

    Hi Deepa ,
    u can check A.Object V_KOND_VEA, in user profile u can assign condition type or tables.
    have a word with ur basis guy , so he can help u in better way.
    aand also ref FM SD_COND_AUTH_CHECK
    Regards
    Prabhu

  • Create and change hierarchies via ABAP

    Hi,
    I'm searching for a function module or class which allows me to create and change hierarchies from a abap report.
    regards,
    Karen

    There a number of Standard Function Modules in SE37 :
    BUPA_HIERARCHY_BW_CATALOG      Transfer of Hierarchy Directory
    BUPA_HIERARCHY_BW_CONSTRUCT    Transfer of BP Group Hierarchy to BW Adapter (Full Upload)
    BUPA_HIERARCHY_BW_GET_DETAIL   Delivers Program Names of Exit Routines
    BUPA_HIERARCHY_BW_GET_INTRVALS Validity Intervals for Hierarchies That Can Be Loaded
    BUPA_HIERARCHY_BW_READ         Read Partner Hierarchy
    BUPA_HIERARCHY_BW_TRANSFER     Transfer of BP Group Hierarchy to BW
    Do a seach on HIER in se37

  • How can create and change PCA line items.

    How can create and change PCA line items.
    Please tell me the process and t.codes.

    If you are in version < 4.7 ee then use 9KE0 tcode for passing profict center entries or trasnafer of balances from one profit center to another.
    If you are in new GL regular FI entry like FB50 will hold good for account types "S"

  • Is there a Business Object for Sales Order Create and Change VA01 and VA02

    Hi experts -
    I am looking for a business object for Sales order create and change VA01 and VA02 respectively?
    Thanks,
    Mark

    Hi Mark,
    I think this question is best answered in [SAP Solutions|/community [original link is broken]; Forums.
    - Subhodeep
    Edited by: Subhodeep on Aug 29, 2009 11:14 AM

  • Function module which uses both BAPI's for sales order create and change

    Please name the function module which uses both BAPI's for sales order create and change.
    BAPI_SALESORDER_CREATEFORMDAT2
    BAPI_SALESORDERCHANGE

    Yup.
    you must write a piece of code for this.
    with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
    logic somethig like this.
    Amit.

  • How to give authorisation to create and change request?

    How to give authorisation to create and change request? Which T Code is needed to create request and change request?
    Rajkumar.

    Hi,
    For creating/changing/displaying change requests, you need to give access for SE01, SE09/SE10.
    You needn't give access to transaction SE03 to all users, only super users should have that access from security point of view.
    Regards,
    Sarita

  • Function module to create and change delivery

    Hi,
    I need to create a function module to create and change delivery using the same function module.
    For this I want to call the bapi's BAPI_OUTB_DELIVERY_CREATE_SLS
    and BAPI_OUTB_DELIVERY_CHANGE.
    So what are the variables I need to declare in source code of my function module.
    Can anybody please suggest me.
    thanks,
    Sudheer

    Hi Sudheer,
                      Check this out
    In the BAPI BAPI_OUTB_DELIVERY_CREATE_SLS
    You need to provide
    SHIP_POINT - Goods receiving point for the returned goods.
    DUE_DATE - Delivery creation date selected as december 12
               9999 unless specified.
    DEBUG_FLAG makes analysis of the process earlier .
    call function 'BAPI_OUTB_DELIVERY_CREATE_SLS'
    DESTINATION logsys
    EXPORTING
    SHIP_POINT = 'MD01'
    DUE_DATE = sy-datum
    DEBUG_FLG = 'X'
    importing
    *delivery = lf_vbeln
    *num_deliveries = lf_num
    *tables
    *sales_order_items = lt_order
    *extension_in = lt_extin
    *deliveries = lt_deli
    *created_items = lt_itm
    *extension_out = lt_extout
    *return = lt_return
    For the BAPI_OUTB_DELIVERY_CHANGE.
    Please read the documentation of the function provided there.
    A Wiki To support your need.
    Link: [Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP/Changeoutbounddelivery+%28VL02%29]
    hope your query resolves soon.
    Have a best day ahead.

  • Problem accessing child object and changing its appearance (color)

    For a program, I need to be able to access a child object (in this case a box) after adding it to a transform group and change its appearance, for example the color of its top face. I have included a small code example to show my problem. The box is the only child I have added to the TransformGroup, but when I call getChild(), it returns a node, and thus I can't then call getShape() to get the top face and change its appearance. What am I doing wrong?
    public BranchGroup createSceneGraph() {
         BranchGroup objRoot = new BranchGroup();
         Transform3D rotate = new Transform3D();
         Transform3D tempRotate = new Transform3D();
    rotate.rotX(Math.PI/4.0d);
         tempRotate.rotY(Math.PI/4.0d);
    rotate.mul(tempRotate);
         TransformGroup objRotate = new TransformGroup(rotate);
         objRoot.addChild(objRotate);
         Appearance ap = new Appearance();
         Appearance app = new Appearance();
         Appearance apr = new Appearance();
         ColoringAttributes colr = new ColoringAttributes();
         ColoringAttributes colg = new ColoringAttributes();
         colr.setColor((float)1, (float)0, (float)0);
         ap.setColoringAttributes(colr);
    colg.setColor((float)0,(float)1, 0);
         apr.setColoringAttributes(colg);
         Box box = new Box((float)0.4, (float)0.4, (float)0.4, app);
         box.getShape(4).setAppearance(ap);
         objRotate.addChild(box);
         objRotate.getChild(0).getShape(4).setAppearance(ap);
    objRoot.compile();
         return objRoot;
    }

    It would help if you gave us the following System information:
    Operating System/version
    Photoshop version number
    Amount of RAM installed
    Hard drive(s) capacity
    Make and model number of video card
    Also try resetting your preferences as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.

  • How can we create and change RSS XML?

    1. What tools can we use to create RSS XML pages?
    2. The pages should use data of the other XML pages generated by the XML-forms (e.g. News XML pages)?
    3. How can we setup and change RSS XML templates (e.g. add new tags, change properties and values)?

    Hi
    Is  there any way to create Rss for personal blogs and add it into our portal. That means we can add it newly by clicking button.
    Thank You
    Regards
    Krishnamurthy

  • Table for Created and Changed Requests...

    Dear all,
    I need a program to fetch the created date and changed date for given
    1. Tcodes
    2. tables
    3. structures
    4. domains
    5. bapi
    6. badi
    7. smartforms
    8. scripts
    etc.
    Can you plz suggest me from which table i could get all these details.
    I tried TRDIR and i have got the dates for reports.
    Regards
    Sivaprasad...
    best suggestions will be rewarded with points.
    Edited by: Sivaprasad ML on Aug 4, 2008 2:20 PM

    Hi,
    Check this out
    RSRREPDIR                Directory of all reports
    TADIR                          Directory of Repository Objects
    TCDIR                          Control Directory
    TDDIR                          Active field exits for data elements
    TFDIR                          Function Module
    Thanks,
    Muthu

  • Can we use IDOC_INPUT_ Message type for creating and changing the document

    Hi,
    I have a requirement to create or change the requisition data.
    Can I use IDOC_INPUT_PREQCR01 function module for both the purpose.
    OR shall I go for custom function module by using BAPI function modules to create or change the data.
    Please help me in this regarding.
    Answers will be rewarded.
    Thank you.
    Eswar

    Hello Eswar
    You could use the IDoc processing function module if you had the data already available in the IDoc specific format (which is unlikely). This would mean you are receiving the IDoc data from another SAP system.
    Instead, check the BAPI explorer (transaction BAPI) if you can find an appropriate BAPI.
    Regards,
      Uwe

  • Create and change BP of type Person but only display BP of type Orgnization

    Hi,
        I would like to build a role which enables creation of BP of type person but only dispaly Bp's of type org unit. using B_BUPA_RLT auth obj we can only control whether we can dispaly or maintain BP's but we cannot control what kind of  BP can be created and what can be displayed.
    Is there any way to achieve this.
    Thanks.

    Hi Neha,
    To be able to restrict acces by business partner type the process needs to be defined in customizing. after the following authorization objects should be maintained:
    B_BUPA_FDG Business Partner Relationships: Field Groups
    B_BUPR_BZT Business Partner Relationships: Relationship Categories
    B_BUPA_GRP Business Partner: Authorization Groups
    <b>B_BUPA_ATT Business Partner: Authorization Types</b>
    B_BUPA_RLT Business Partner: BP Roles
    B_BUPA_FDG Business Partner: Field Groups
    Hope this helps.
    Cheers,
    Damien

Maybe you are looking for

  • How I do a clean install of Win 8.1

    Since my initial post        "Why is option to create striped volume grayed out in disk management?" I have seen numerous threads re doing a clean install of Win 8.1. So I'm re-posting the info I got from Puget Systems  http://www.pugetsystems.com/ w

  • Web Dynpro-layout preview-Error-IE cannot display-service in SICF activated

    Hello, By starting a view in web dynpro framework, i have the error in tab layout "page cannot be displayed" from IE. Before i make the change in the DNS and system32/../etc, the layout was displayed, but the web dynpro application cannot be started.

  • Rt click, Delete doesn't work for Bookmarks. v-4.0.1

    If I choose Bookmarks from the top menu, then rt click on a Bookmark and choose Delete, nothing happens. v-4.0.1

  • Reloading a portlets jsf file?

    I am displaying a weblogic portal. Portal is having a portlet which is jsp content file. This is degisned using jsf. After clicking submit button in the page, it displays some results in a textbox. I need to reload the page again by clicking another

  • Neospeech for Captivate 7

    I am not able to download neospeech from teh below link for Captivate 7: http://www.adobe.com/go/captivate_voices_installer_win64 Is there any other location where i can download this?