Doubts in workflow steps

Hai,
I want to use a local workflow in exsisting scenario with minor modification.
My doubt is In one step(change basic material data field in basic data2 in material master material) i send it one user(user1) with previous step results and he should change the data in specified field and it has deadline monitor.
if the work item has reached deadline i again send it to new user(user2), at the same time i should get who missed deadline detail and should deativate the unexecuted workitem(user1's inbox)
and send mail to the new user(user2) with details of previous step results.
workflow like this:
               previous step
               send mail to responsible agent
               send change material work item
               the change is not finished again
                start with sendmail to responisble user
                step and execution continue        
how to do this.
please suggest me.
thanks,
Elamaran.

Hi,
For your scenario the workflow design should look something like this,
Note:
In the workflow container create a variable with length 1.
Make sure that you pass this variable to all the activities in the workflow. That is from Workflow -->Task.
Step 1: send mail to responsible agent
Step 2: send change material work item
Step 3: The change is not finished again and if changes are successfully done set the variable created in the workflow container as "X" otherwise "SPACE".
Step 4: Here create a loop until operation step, this activity should check the value of variable created in the container. If it is X come out or send the mail again.
Design:
======
ACTIVITY LOOP OPERATION
   Step/Activity 1
   Step/Activity 2
   Step/Activity 3
CHECK the variabl value set in step 3.
Depending up on the variable teh control is transferred to Step/Activity 1.
Mail me if you are not clear. Because some parts of Workflow cannot be explained without the screen shots.
You give your mail ID will send a document on Workflow.
Regs,
Venkat Ramanan N

Similar Messages

  • Some doubts in Workflow

    HI Gurus ,
    I have some  doubt in workflow basically I know how to use them but i don't know what is functionality ,
    could you plz explain me , else suggest me
    1. why we have to do delegation , what happens at run time if we don't do delegation
    2. What is the diff between task and workitem
    Thanks
    Prasad

    Hello,
    I would suggest searching for "sap workflow" on the internet, buying a SAP workflow book and/or taking a SAP workflow course.
    regards
    Rick Bakker
    Hanabi Technology

  • Workflow step not executed...

    Hi,
    In my workflow requirement (for VA01), I want to record the status in a custom table as follows;
    Approver id     date   time    status
    ABC                                     Submitted for approval
    ABC                                     Approved (or) Rejected
    So I have created a step called 'update custom status' after the step that sends email to the approver agent whose details stored in another custom table. Then I associated a task with this step which is bound to a custom class / method which has the logic to write the status to the custom table.
    The issue is I do not see this step excuted. I checked in the log.
    What can be wrong ?
    Workflow steps are as follows;
    1. Read the document's net value and store in a variable.
    2. Read the custom table for agents list to whom the doc has to be sent for approval.
    3. Send email for approval.
    4. update custom status.
    In the graphical view, I can see the update custom status step being called (Green link from previous step to this step) but after that no progress.
    Am I missing passing some values ? Or is this step not giving any results ? Whats happening ?
    Details on this update custom status step are as follows;
    A custom task with terminating event set as _WORKITEM defined. (not synchronous)
    A step of type activity defined and bound to the above task with binding done.. (what values should I pass to record the above needed details.)
    In other words, how can I record the status in my custom table ?
    thnks

    Hi
    I think its a background step. If yes, then make it foreground and debug and see what is the problem. Also check for short dumps and turn on the event trace and see the terminating event is getting triggered.
    Vinoth

  • Ucm: displaying some fields on a profile based on a workflow step

    Hi,
    Is it possible to hide/display some standard/custom metadata fields on a profile based on a workflow step/
    e.g. I am having a workflow with 3 steps
    1. manager step
    2. specialist step
    3. reviewer step
    On the 3 step, a reviewer can decide calling an adhoc workflow if he updates some custom metadata fields(adhoc rev1, adhoc rev2). My requirement: Is it possible to show the custom metadata fields only to reviewer on updating the content item. It should not get displayed while checkin the content item or any other step users update the content item.
    thanks

    I had a similar question some times ago - see this thread: Value of dpAction
    Yes, you can do it, but you will have to define rule activation conditions properly - using dpAction and dWfCurrentStepID.

  • Calling Adobe form in a Workflow Step for approval

    Hello,
       There are some ISR forms and workflows in MSS which use Workflow tasks configured as JavaWebDynpro to call Adobe form from the Workflow Step.
    Is it possible to achieve the same using ABAP Web Dynpro and creating a new task and configuring to use it as an ABAP Web Dynpro (which can in turn call the Adobe form from the WD)?
    Thanks.

    Hi Anjali,
    1)You can develop an<b> RFC</b> that collects required basic data from R/3 and display them in <i>ABAP WD - Adobe Form</i>. The End user can change/fill the remaining contents of the Adobe Form and submits it for approval. The <b>RFC</b> again handles the triggering part of the <b>Workflow</b> and passes the form data to the workflow containers.And for approvals, you can use the <i><b>SWFVISU</b></i> to call a <b>ABAP WD</b> application from Workflow. And in turn the control again goes back to RFC and so...
    2)I dont have much idea in ECC 60 if there is a similar ABAP WD application like Standard Java WD <b>IsrFormApprove</b>.
    3)No idea.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Doubt in Workflows using Programming Exits on OO ABAP

    I have a doubt on workflows:-
    Let me brief you about my requirement:
    I am trying to update some Master data using ABAP Methods through Programming Exits in a Workflow.
    I managed to find an OO method that can fetch the workflow container values directly into the structure.
    While testing the workflow:-
    The OO ABAP method executes and successfully updates the master tables.
    However, a calling method (that triggers this method indirectly), raises an exception called SWF_RUN_WIM_EXEC_INTERRUPTED.  
    The exception is caught within the caller method and the workflow errors saying that “the method ABC… cannot be executed.”
    The caller method is:-
    CL_SWF_RUN_WORKFLOW_START
    The exception is raised on execution of the following statement:-
    CALL METHOD me->start_workitem( lh_wi_handle ).
    One reason for this is that the workflow is still not completed and still in “READY” state.
    Alternative method
    Once the Master data is updated successfully,
    I tried to use the FM SAP_WAPI_WORKITEM_COMPLETE to end the work item or tried another FM to suspend the workflow.
    Now it gives an error saying that these FMs are restricted from use during run-time execution.
    Query
    Do you have an idea why the exception is raised and how to track/prevent the same?
    Can you suggest any other alternative?  Your valuable advice is urgently needed.
    Thanks a million in advance,
    Best Regards,
    Vinod

    Check the code
          CLASS zcl_event_handler IMPLEMENTATION
    CLASS zcl_event_handler IMPLEMENTATION.
    Top-of-page event
      METHOD top_of_page.
        PERFORM event_top_of_page
                USING z_dyndoc_id.
      ENDMETHOD.   "METHOD top_of_page
    Change Status Button
      METHOD handle_toolbar.
        IF NOT pa_prodr IS INITIAL.
          DATA: lz_toolbar  TYPE stb_button.
          CLEAR lz_toolbar.
          MOVE    'CHANGE_STATUS'  TO lz_toolbar-function.
          MOVE    text-001         TO lz_toolbar-text.
          APPEND  lz_toolbar       TO e_object->mt_toolbar.
        ENDIF.          "IF NOT pa_prodr IS INITIAL
      ENDMETHOD.   "METHOD handle_toolbar
    Handle User Command
      METHOD handle_user_command.
        CASE e_ucomm.
          WHEN 'CHANGE_STATUS'.
            LOOP AT    it_output
                 INTO  wa_output.
              IF wa_output-chk_box EQ kc_x.
                z_flag = 1.
                EXIT.
              ENDIF.          "IF wa_output-chk_box EQ kc_x
            ENDLOOP.      "LOOP AT it_output INTO  wa_output
            IF z_flag EQ 1.
              PERFORM display_selected_data.
            ELSE.
              MESSAGE i001(zzrefn01)
                      WITH text-023.
            ENDIF.       "IF z_flag EQ 1
        ENDCASE.      "CASE e_ucomm
      ENDMETHOD.   "METHOD handle_user_command
    ENDCLASS.   "zcl_event_handler IMPLEMENTATION

  • Url link in User Decision workflow step

    Hi Experts,
    I had created a workflow for "Employee transfer" process using SWDD tcode.
    I had a created a workflow step with type as "User Decision".I had included "Approve" & "Reject" decision options.
    Now i want to include URL link along with "Approve" & "Reject" in the user decision workflow step (i.e) The manager needs to see the URL link along with "Approve" & "Reject" in his SAP workflow inbox.
    Can anyone guide me...
    Regards,
    Krishna Balaji T

    Hi Krishna,
    I understand your issue. I have faced a similar issue in my project.
    Here is the solution!
    To add link of a URL you need to have the binding with the BO of the transaction your are refering to. To do this, you need to bind your BO event (triggering event) to the workflow container and then the workflow container to task container. This BO value should flow from event-> workflow -> task container to get the link in the User Decision.
    To do the binding you need to follow the following steps:
    1. Go to t-code SWDD and open your workflow template.
    2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
    3. Go to Start Events tab.
    4. In the Object type enter your BO name (BO for the transaction you need to add as link), in Event of object enter the BO event. This would serve as the triggering event for your workflow.
    5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement. This binding would ensure that the URL comes under 'objects and attachments' section.
    6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Check the condition before saving (recommended).
    6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
    7. Save the changes made and activate your workflow.
    8. Do the binding between the workflow and the user decision step. Select automatic binding (recommended).
    You can also refer to the similar thread that I had provided solution to. This would help you resolve the issue!
    Re: URL of site has to be attached along with the mail
    Hope this helps!
    Regards,
    Saumya

  • Workflow Step 'In Process'- Send mail with PDF attachment

    Hi,
    have to send mail with PDF attachment.
    I have written a function module with following steps,
    1. Convert SPOOL number to PDF using Function Module 'CONVERT_OTFSPOOLJOB_2_PDF'.
    2. Send mail with PDF attachment using Function Module 'SO_DOCUMENT_SEND_API1'.
    The Function Module is giving required output when tested and called in the report(Background Job).
    When I call this Function Module from Method-> Workflow Task the Workflow steps status is 'In Process' and not ending.
    Could you please help me on this??

    Hi shafath,
    When you try to send mail,  You need to call the function FP_JOB_OPEN before calling the function module to generate the pdf. ( /1B****)  . Is it missing in your code?

  • Workflow Step : Insert Outbox

    Hi,
    I want to know how we can make use of the Workflow Step : Insert Outbox.
    Would be nice if i can get some example for the same. Thanks.

    Hi,
    I think this step can't be used. If you try to use it you will get the below error message from the system.
    No maintenance interface exists for your chosen step type. This means that not all step types can be configured in the workflow configuration for example.
    System Response
    This is confirmed by the system with this message.
    Regards,
    Surjith

  • Workflow step approval via e-mail

    Hi Experts,
    I have a question related SAP BI workflow,
    Is there any possibility to approve a workflow step via e-mail?
    I mean I have a specific step what needs approval, can I prepare this approval step via e-mail? (not the built-in SAP mailbox)
    Thank you in advance
    Peter

    Hi,
    as far as I remember there was once a tool called MAPI or MAPI-Interface. The workflow guys used this to display workflow items in outlook. When you started the workitem in outlook the system did log you in and you could execute the workitem. Please consult the workflow guys for more details.
    Regards Matthias

  • Workflow step - Add record to mask

    Hi,
    Is there a workflow step that can add a record to a mask? Any ideas on how we can achieve that?
    Thanks.

    TS is correct,
    this may be another solution, but a quite complex and I'm not sure that it works fine for your requirements. Besides, probabily enrichment is not in your MDM package because needs another license. In any case this solution required java customizing.
    Regards,
    Vito

  • Workflow Step stays "In Process"

    Hi Experts,
    I have a workflow step which refers to a standard task. The step type indicates "Processing completion by event"
    The related standard BO event is already completed,  but this step is still 'In Process'. Probably the terminating event is not captured in the WF step.
    Please suggest how to set this workflow step to completed status so that it moves on. (Is it advisable to re-create the BO event manually through SWUE)
    Thanks in advance!
    Ali

    Thanks Paul.
    -Checked in SWEL, the terminating event is not issued
    - No dump found in ST22
    Please suggest how to set this workflow step to completed status so that it moves on. (Is it advisable to re-create the BO event manually through SWUE)
    Thanks in advance!
    ~Ali~

  • Checking Payload of WorkFlow Step in BPM

    Hello All,
                    I was trying the scenario MessageSplit Using BPM
    I am stuck at send Step after receiver determination ,I want to know what is the payload (input output)
    after each workflow step in the BPM ,but i am unable to check .
    Is there any way to check this. Basically i want to know how to check the i/o and o/p of the each workflow step.
    Thanks in Advance
    Rajesh

    Hello Experts,
                            Could somebody guide me in this scenario as i am not able to carry on
    I want to see the payload for BPM workFlow steps ,first of all is this possible ,if yes i am at step
    container (list technical details) where the option payload is display but no data is found .
    If no how can we check or monitor the BPM workflow step by step. I hope some body might have faced this problem ,could some BPM experts throw light on this.
    Thanks in Advance
    Rajesh

  • Dynamic text in MDM notify workflow step

    Hallo MDM Gurus,
    Do you know how to create a dynamic text in the MDM notify workflow step?
    I would like to insert some record informations in the text of this step.
    Any suggestion is helpful.
    Thank you.
    SB

    Try the following parameters in Subject and Description of Notify stuff....
    pelase feel free to revert to me.
    %RepositoryName%            --> The repository name.
    %TableName%                    --> The table name.
    %JobId%                             --> The job id.
    %JobName%                       --> The job name.
    %StepId%                           --> The step id.
    %StepName%                     --> The step name.
    %Records%                        --> The record id and display fields of the job records.

  • Call / trigger an ECC workflow step from PI ?

    Hi,
    For a flow "ext (file) -> PI -> ECC (workflow)", from PI, I need to run / execute / trigger () a workflow step in ECC, which already exist. I think that I can acheive this by creating an abap proxy in ECC in which I will call a Bapi or Method to run / execute / trigger () this workflow step. I don't know exactly how for the moment (in parallel I'm doing search about it), but that's not the matter.
    before to waste time by searching in this way, what's the best solution to call an ECC workflow step from PI ?
    Many thanks.
    Mickael
    (*) maybe I don't use the good terminology. Sorry.

    hi Shabarish,
    I'm confortable with web service, IDoc, RFC/bapi and abap proxy (and ...), but here, I prefer to use abap proxy (asynch + sxmb_moni in ecc) except if there is another better approach
    else as in PI we have ccBPM, so a workflow , as in ECC we have also workflow , does my approach (abap proxy & call method) is the good one ? or is there a better way between these two workflow tools: PI + ECC ? like a standard "workflow module" or a workflow "connexion" ? (I fear I know the answer but I would prefer to be sure),
    Note: I'm in PI 7.11 SP06 and ECC 6.0.
    Regards.
    Mickael

Maybe you are looking for

  • Pension fund contribution and FPF Bais amount...

    Hi Team, I have a issue with PF at my client place. As you know Pension contribution conditon is that employee whose basic is less then 6500 then the pension contribution ( /3F4) will be 8.33% of actual basic and if the basic salary of employee is >=

  • How to get the system time in a Swing application ?

    I know how to do it in JavaScript, but not java. Please help me, and also how to get the system time in an Applet. Thanks !!!

  • IPhoto 9.4.3 crashes on open

    I have tried to open using command-option and it still crashes.  I have tried rebuilding the library file using iPhoto Library Manger.  Still crashes.  I downloaded an earlier version of the library from Time Machine, and it still crashes.  I even tr

  • AGP vs PCI for 2nd display

    I am considering upgrading my set-up to include a 2nd 17" LCD display. Can anyone tell me how bad of a performance hit I'll get by getting my 2nd ADC port through a PCI card? Will I actually see a lag between the PCI-fed and the AGP-fed displays? Is

  • After I downloaded the update, iWeb won't open.

    Everytime I cllick on iweb in by dashboard, the only thing that comes up is a window saying the application quit unexpectedly. I've hit reopen and I've hit report, but nothing works. I reallly need help to find out what's wrong.