SWFXST_STRING  block or local work flow

I found that when they use block step type or local work flow they r creating a container with reference type <b>SWFXST_STRING</b> and binding it to block or local work flow. Can anyone explain me in detail y this is being done.

Hi Hari,
The local workflow has the same container as the main workflow. The local workflow is started with a local event which normally is triggered within the main workflow. Apparently a container element of this kind is needed in the local workflow which is of this type and will be filled from the local event.
For more info you can check the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/c8/bfc39b0fc57a49a0291378f8be0cd6/frameset.htm">SAPHelp</a>.
SWFXST_STRING seems to be a string for xml data (as far as I can see from the datatype). Why it used in your case I couldn't say. Maybe it is in the documentation of this workflow.
Regards,
Martin

Similar Messages

  • Local Work flow

    Hi experts,
    What is Local work flow.  When it will triggred like when ever the main work flow triggered or it trigger when the local event triggered?
    Thanks,
    Points will be rewarded.

    hi
    local workflow will get trigger when the local event get raised .
    for futher ref
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c6456e89-0a01-0010-0189-a7961fe42034

  • Work flow block in credit memo request

    Hi Friends,
    I want to create a credit memo. I am creating the credit memo like: Sales order>Invoice>Credit memo request-->credit memo. Now my credit memo request is got created but is assigned with Workflow block at header level, now when I am going back in VA02 and saving it after removing the block at header level, but when I am again checking in VA02/VA03 work flow block is there. Now when I checked that in my workflow , it is in outbox and but I am not able to approve it becoz it is in outbox.
    Where it is going for approval , it is only created by me and I don't see any approver field in credit memo request screen.
    In the wrokflow outbox am getting that block CMR --as completed and get CMR approver as Error.
    How can I remove the workflow block ? Any pointers.
    Regards
    Ashu
    Edited by: ashutosh p on May 20, 2010 1:39 PM

    Please check the Workflow log. By default whenever you create or act on any workflow workitem it will appear by default in your SAP Outbox.
    Thnaks
    Arghadip

  • Regarding work flow for credit block release in sales order

    Dear Experts,
    Kindly help me with work flow-
    my scenario is if customers credit limit of 5000$ exceeds in sales order it should be blocked and notification should go to authorize person through simple mail to release this block.
    for this i have done settings in out control i have used output type krml and determined partner as employee responsible to release block in customer master but mail is not triggered to authorized person for credit block and how i can create work flow for this so that authorized person should get notify for credit block as well he releases block also.
    Regards
    Supriya

    Dear supriyaparimal,
    Please find the below points to fix your issue.
    1. Configure the out put determination by using the condition type KRML.(Hope oyu have done it already).
    2.Maintain the condition records in VV11 for condition type "KRML"
    3.Then select the condition record and click the communication tab .
    4. If you want to give any information you can use "Note for recipient".
    5. If the information has to be sent to relevant person you recipient name in the recipient column.
    Save the documnet.
    If you raise the sales order and if it is blocked then system automatically send the information to respective person.
    You can get this in formation in ""SBWP" transaction code.
    Check the in box, the information what you have mentioned in the condition records will be appeared.
    Please let me know if you have any clarifications
    Thanks&Regards
    raghu.k

  • Work- flow blocked sales order

    Good evening to u all.
    I wanna know whether there is any standard work flow in SD for the blocked sales orders (For any sort of reason) ? So that the authorised users will receive an email once the sales order is blocked due to certain reasons.
    <removed by moderator>
    regards,
    satish
    Edited by: Mike Pokraka on Aug 4, 2008 10:45 AM

    Hi,
    I dont think that there would be any Standard workflow
    available that matches your requirement but surely you can
    create one workflow according to your requirement
    check the object 'SalesOrder' otherwise you could take a copy
    of that and create a method which fetches all the blocked
    sales order from the table and triggers a mail according to your
    requirement.
    Kind Regards
    Hari Sankar M

  • Triggering a sub work flow for multiple users at same time.

    I have a scenario in which I have created sub workflow as an activity for approval process. This sub work flow should be triggered for multiple users at the same time and their decison is independent of each other.
    This is like creating multipe instance of the same sub work flow and then the sub work flow runs indepedently as a new work flow for each of the approver and the process is completeded for approver independently.
    How can this be achieved?

    Tyr to do like this,
    1. First include the subworkflow in the main workflow template.
    2. Now include standard Block Step in the main workflow template.
    3. In the block select the block type as ParForEach.
    4. Before doing the 3rd point make sure that all the agents for whom you want whom you want to initiate the workflow, populate them in a Multiline conatiner element.
    5. Once completing 3rd and 4th points open the block step under the tab ParallelProcessing  assign the multiline container element name in the   for e;g if the multi line container element name is COSTCENTER then do the binding like below. the conatiner element COSTCENTERLINE is created by default once you include the multi line conatiner element under parller processing tab.
    &COSTCENTER[&_WF_PARFOREACH_INDEX&]&   -------->     &_COSTCENTER_LINE&
    Now assign the agent of the subworkflow as COSTCENTERLINE , imean if suppose you have 3 entries in the internal table then three separate and for three different agents the workflow is instantiated.

  • Optimizing work flow in FCP on new iMac? (dropped frames)

    Hello-
    I've recently purchased a new iMac, first in about 6 years. I'm looking for some advice about optimizing my work flow in FCP. I am largely self-taught, using FCP for hobbyist/amateur video.
    Until this new computer, I have been using FCP on other people's Macs (schools, arts institutions, etc), only resorting to my old Powerbook when absolutely necessary. So I have not had to worry about performance issues until now.
    I am shooting on a Kodak Zi8 pocket cam in 1080p HD .MOV files, 1920x1080 H.264, AAC audio.
    In my first attempts at editing the footage, I find that I am getting dropped frames on playback at every edit point - any time I cut between shots, add titles, etc.
    (I also tried editing some much smaller, compressed files (QT 854x480, H.264, AAC audio) in the timeline and had the frame drop problem.)
    Also, when I add titles, they do not preview render - I have to render them completely to be able to playback.
    When I allow FCP to change the sequence settings to match the clip, I get the following:
    1920 x 1080
    Aspect: HDTV 1080i (16:9)
    Pixel Aspect: Square
    Field Dominance: Upper (Odd)
    Editing Timebase: 29.97
    In this instance I am editing footage that is stored on the local HD, but I have also tried editing footage from a USB 2.0 external drive, and got the same dropped frame problem.
    ...its a little frustrating to get these performance issues on this new computer, so I hope that someone here can help me resolve some of my problems. Hopefully this is a work flow issue, but if its a lack of hardware, well, shame on me for not looking into it enough.
    thanks in advance.

    Hi -
    H.264 is a recording and delivery format, but as you have discovered, it is very difficult to edit. Its qualities of recording a high quality image in a small file size, which make it attractive for use in Flash based camcorders, makes it very difficult for FCP to work with. Attempting to work in H.264 makes FCP drop frames, require constant rendering, etc.
    The best solution is to convert your footage to an edit friendly file format, such a ProRes LT or AIC. There will be minimal impact on the quality of the image. This conversion will result in files that are much larger than your original files, but will work easily in FCP.
    You don't say if you have FCS or just FCP, but if you do have FCS then you can use Compressor to do the conversion.
    Hope this helps.

  • Work flow in iLife

    Hey kids,
    I have A BUNCH of video that I need to boil down in to multiple DVDs with multiple chapters per DVD (about 8 hours). Is there a description of a good work flow from iMove to iDVD described anywhere,....Do i need to export each "chapter" as a movie and then import them into iDVD in order to maintain a chapter structure?. If so what is the best way to do this,...HELP , PLEASE!!

    That's a lot of video! In general, the workflow I prefer is doing editing in iMovie, quitting, then open iDVD and import the video. iDVD has 3 options for converting video into the correct format for DVDs, and you set this in Preferences (up to 60 min=Best Performance; up to 120 min=Best Quality; the Pro setting takes longer, but does a better job with the more highly compressed 2hr video). With so much video, it might make sense to divide your footage by 110 minute blocks (there needs to be room for a few other files so you can't fit a full 120 minutes of video on a single layer DVD).
    That's a high level overview; Klaus' links will give you more details; the "Missing Manual" and other books will provide lots more detail; and the forum here is good for questions.
    John

  • Work flow - sales order

    Good evening to u all.
    I wanna know whether there is any standard work flow in SD for the blocked sales orders (For any sort of reason) ? So that the authorised users will receive an email once the sales order is blocked due to certain reasons.
    If u have so would u please give me the documentation or any urls please.
    Assured reward points.
    regards,
    satish

    Hi Avinash thanks for ur time. You would say that there is no standard SAP work flow for this sinario and it is not complicated to create one. Right? thanks once again.
    Regards,
    satish

  • Work Flow of  a Support Project

    Hi Gurus,
                 Could Anyone mail the work flow of solving tickets by introducing new configuration in a support project and its authorizations to [email protected]
    Regards,
    Sarosh

    Any AE project requires some planning. The more elements that are involved, the greater the level of planning. I just recently completed a project that involved 3D modeling, client supplied video to be used as a texture, and AE for final composite. We didn't draw any storyboards, but we did look at a bunch of similar animations and make a fist full of notes. If I were to attempt a James Bond style open I'd be sketching out storyboards, looking at every James Bond open that I could find, looking at every similar movie or TV show open that I could find, and brainstorming with colleagues, and working out a production timeline and budget. There's nothing worse than shooting some footage without a plan then trying to bend it into an concept that just doesn't fit.
    I suspect you wanted a to do list. Well here it is.
    1. Write a script for your open including all the elements that must be there
    2. Turn the script into a storyboard
    3. Block out the required shots so that they will work with your concept (IOW shoot your greenscreen footage with the same lens angle of view that you're going to use for the 3D camera in AE so that the perspectives match)
    4. Do some tests in AE using at least shape layers for the elements
    5. Make sure that you have all the tools you need (IOW plug-ins, cameras, lights, skills, music, sound effects)
    6. Shoot what you've put on the storyboard
    7. Shoot some extra footage
    8. Start laying out the elements
    9. Render out some motion tests
    10. Refine, Refine, Refine
    11. Wait a day or two
    12. Final polish and render
    Hope this helps.

  • Work Flow Process in OWB 9.0.3.0.1

    I would like to generate a work flow process to execute the mappings with condition as if a mapping success continues with de execution of the other mapping. In this version of OWB there is not implemented any process flow and I would like to Know how can i do this process flow.

    Hi,
    I guess there are a lot of OWB project people that have similar needs as you.
    My needs have two main reasons:
    Managing incremental loading - I need to know last time a specific mapping ran (start-, end time and status). This might be tricky however, as clocks on different instances might be out of sync - use NTP (network time protocol sync) or maintain source system mapping time in supporting tables.
    Modularizing workflows with lots of mappings - current workflow operators force you to implement everything in a single process to maximize parallellism - because you cannot wait for events outside of your subprocess. Modularizing is achieveable with a workflow event publish/subscripe scheme or a function that blocks until a specific process with the same top_level_execution_audit_id finishes. If I settle for a little less parallellism, just querying the status of the process will do.
    Such functions can be implemented around the public view ALL_RT_AUDIT_EXECUTIONS, but it would have been really nice if they were a part of the OWB library.
    Regards, Hans Henrik

  • Populate dialogue processing box when raised work flow manually

    Dear all,
    Wish to seek your expertise on this. When users raise work flow manually using t-code OAWD, they have to fill in the dialogue processing box. In the dialog box, user need to fill in company code, division of the company and country of the company.
    As this is prone to error, it is suggested that to enter the company code only, then the division and country will be auto populate. To do this, a customized table will be maintained for the company code, division and country.
    The given function module to bring out the above dialogue is Z_POPUP_GET_REQ_VALUES as shown in the coding below.
    Do you know how modify the function module to import back the country and division from the customized table and populate the fields? Is there a need to use User Exit or Screen Exit for the dialogue processing box so that when user press "Enter" the company code and division will be filled in automatically? 
    Thanks in advance for your help.
    FUNCTION Z_POPUP_GET_REQ_VALUES .
    *"*"Local Interface:
    *"  EXPORTING
    *"     VALUE(EV_BUKRS) TYPE  BUKRS
    *"     VALUE(EV_LAND1) TYPE  LAND1
    *"     VALUE(EV_SPART) TYPE  ZELE_SPART
    *"  EXCEPTIONS
    *"      USER_CANCELLED
      DATA LT_FIELDS TYPE TABLE OF SVAL.
      DATA LS_FIELDS TYPE SVAL.
      DATA LV_REPID TYPE SY-REPID.
      DATA LV_RETURNCODE TYPE C.
      LS_FIELDS-FIELD_OBL = 'X'.
      LS_FIELDS-TABNAME = 'ZTBL_WF_DOCINFO'.
      LS_FIELDS-FIELDNAME = 'BUKRS'.
      APPEND LS_FIELDS TO LT_FIELDS.
      LS_FIELDS-TABNAME = 'ZTBL_WF_DOCINFO'.
      LS_FIELDS-FIELDNAME = 'ZLOC'.
      APPEND LS_FIELDS TO LT_FIELDS.
      LS_FIELDS-TABNAME = 'ZTBL_WF_DOCINFO'.
      LS_FIELDS-FIELDNAME = 'SPART'.
      APPEND LS_FIELDS TO LT_FIELDS.
    *  LS_FIELDS-TABNAME = 'ZTBL_WF_DOCINFO'.  "Doc type is no longer required
    *  LS_FIELDS-FIELDNAME = 'AR_OBJECT'.
    *  APPEND LS_FIELDS TO LT_FIELDS.
      LV_REPID = SY-REPID.
      CALL FUNCTION 'POPUP_GET_VALUES_USER_CHECKED'
        EXPORTING
          FORMNAME                        = 'VALIDATE_VALUE'
          POPUP_TITLE                     = 'DWM - Manual Workflow Entry'(001)
          PROGRAMNAME                     = LV_REPID
    *     START_COLUMN                    = '5'
    *     START_ROW                       = '5'
    *     NO_CHECK_FOR_FIXED_VALUES       = ' '
        IMPORTING
          RETURNCODE                      = LV_RETURNCODE
        TABLES
          FIELDS                          = LT_FIELDS
        EXCEPTIONS
          ERROR_IN_FIELDS                 = 1
          OTHERS                          = 2
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF LV_RETURNCODE = 'A'.
        MESSAGE E000(K#) WITH 'User cancelled'(e01) RAISING USER_CANCELLED.
      ELSE.
        READ TABLE LT_FIELDS INTO LS_FIELDS INDEX 1.
        EV_BUKRS = LS_FIELDS-VALUE.
        READ TABLE LT_FIELDS INTO LS_FIELDS INDEX 2.
        EV_LAND1 = LS_FIELDS-VALUE.
        READ TABLE LT_FIELDS INTO LS_FIELDS INDEX 3.
        EV_SPART = LS_FIELDS-VALUE.
    *    READ TABLE LT_FIELDS INTO LS_FIELDS INDEX 4. Doc type is no longer required
    *    EV_AR_OBJECT = LS_FIELDS-VALUE.
      ENDIF.
    ENDFUNCTION.
    FORM VALIDATE_VALUE TABLES   fields STRUCTURE sval
                        CHANGING error  STRUCTURE svale.
      TABLES ZTBL_WF_DOCINFO.
    * Validate Company Code
      READ TABLE fields INDEX 1.
      ZTBL_WF_DOCINFO-BUKRS = fields-value.
      SELECT SINGLE BUKRS INTO ZTBL_WF_DOCINFO-BUKRS FROM T001 WHERE BUKRS = ZTBL_WF_DOCINFO-BUKRS .
      IF sy-subrc <> 0.
        CLEAR error.
        error-errortab   = 'ZTBL_WF_DOCINFO'.
        error-errorfield = 'BUKRS' .
        error-msgty      = 'E'.
        error-msgid      = 'GJ'.
        error-msgno      = '450'.
        error-msgv1      = ZTBL_WF_DOCINFO-BUKRS .
        exit.
      ENDIF.
    * Validate Country
      READ TABLE fields INDEX 2.
      ZTBL_WF_DOCINFO-ZLOC = fields-value.
      SELECT SINGLE LAND1 INTO ZTBL_WF_DOCINFO-ZLOC FROM T005 WHERE LAND1 = ZTBL_WF_DOCINFO-ZLOC.
      IF sy-subrc <> 0.
        CLEAR error.
        error-errortab   = 'ZTBL_WF_DOCINFO'.
        error-errorfield = 'ZLOC' .
        error-msgty      = 'E'.
        error-msgid      = '63'.
        error-msgno      = '721'.
        error-msgv1      = ZTBL_WF_DOCINFO-ZLOC .
        exit.
      ENDIF.
    * Validate Division
      READ TABLE fields INDEX 3.
      ZTBL_WF_DOCINFO-SPART = fields-value.
    * Validate Document Type - No longer required
    *  READ TABLE fields INDEX 4.
    *  ZTBL_WF_DOCINFO-AR_OBJECT = fields-value.
    *  SELECT SINGLE AR_OBJECT INTO ZTBL_WF_DOCINFO-AR_OBJECT FROM TOADV WHERE AR_OBJECT = ZTBL_WF_DOCINFO-AR_OBJECT.
    *  IF sy-subrc <> 0.
    *    CLEAR error.
    *    error-errortab   = 'ZTBL_WF_DOCINFO'.
    *    error-errorfield = 'AR_OBJECT' .
    *    error-msgty      = 'E'.
    *    error-msgid      = '00'.
    *    error-msgno      = '058'.
    *    error-msgv1      = ZTBL_WF_DOCINFO-AR_OBJECT.
    *    error-msgv2      = SPACE.
    *    error-msgv3      = SPACE.
    *    error-msgv4      = 'TOADV'.
    *    exit.
    *  ENDIF.
    ENDFORM.
    Edited by: wanderer5 on Jul 12, 2010 5:00 PM

    Hi Wanderer5 (is that your real name?)
    I have no direct experience with starting workflows from OAWD, so I may be way off the mark...
    So this is a workflow started by the creation of a stored document?  What type?  Can you tell if there are any normal events raised with the stored document? For example, if you are using invoice images, is the event BUS2081 CREATED raised? I ask because you could probably populate certain system fields from there. 
    You may also be able to make use of user parameters for certain fields.
    Hope this helps,
    Sue

  • Work flow for Sales Order

    Dear All,
    How a Work flow in SD to be configured .
    I need is to create  a workflow  in SD .whenever a Sales Order is created by some user.First the workflow will check if the sales order value is greater than Rs.50,000 or not.If yes it will go for the first level of approval to authority1
    By logging into the workflow the authority1 should know he has to approve that sales order.
    if not it simply sales order should be ready for Delivery otherwise itshould be blocked.
    If the sales order value is between Rs.50000 & Rs.100000  the approval has to go to authority2 approval in the workflow.
    Can anyone worked on the similar lines.
    I am waiting for the reply on this
    Regards
    AK

    Hi,
    Create a new "Z" table for storing the values with the below fields.
    Process Code
    Credit control area
    Customer Credit Group
    Customer Credit Group
    Credit Levels
    Net Value of the Sales Order in Document Currency(From)
    Net Value of the Sales Order in Document Currency(To)
    Position
    Position
    Position
    E-Mail Address
    E-Mail Address
    Credit Levels
    Billing block has to be assigned automatically once the order has been generated.
    The positions will be created by HR team.If the Sales order values falls with in this range,then a workflow will be triggered to three approvers whose values will be maintained in the table.A workflow will be triggered for these members.
    You can create value range for the credit levels.
    A Z program will be required for this requirement.
    Regards,
    Krishna.

  • Work flow for Product

    Hello All,
    I have created some local products in CRM using commpr01.
    Now I want to have work flow associated with it.
    Means:I want to trigger WF for the Products before it can be used in Contracts.
    Please provide me input how to actiavte WF for this.
    Do we have any standard WF's associated with Products?
    any suggestions appreciated and rewarded with points.
    Thanks
    Arshad

    Hi Arshad,
    Check in below path.
    ==> Spro
    ==> Customer Relationship Management
    ==> Basic Functions
    ==> SAP Business Workflow
    ==> Perform Task-Specific Customizing
    Execute and check.
    Regards
    Narayana

  • Hi all ,i need a good documentation for a beginner in WORK FLOW ?

    hi all ,
    i need a good documentation for a beginner in WORK FLOW ?
    please,try to send the attached documents as much as u can apart from giving the weblinks ?
    hope you will send it soon ....
    thanks & regards
    vishnuvardhan k.v.

    Hi
    Developing a simple application using steps "User Decision" and "Mail"
    Basic terminology used in the workflow:
    The workflow definition is the set of rules that determine the path that the process takes. For example, how a purchase requisition is processed, from the initial request to the creation of the purchase order
    A Workflow Instance, which is often simply referred to as the workflow, is a single workflow run. For example, the processing of a single purchase requisition for computers.
    The Tasks are the steps in the process, which have to be performed either by people or automatically by the software. For example, to check for the availability of the spare computers in the company.
    A Work item is the task instance that is performed as a single workflow step. For example, check that there are no spare computers available in the company.
    Agents are the people who process the tasks (via the work items). For example, requisitioner and a member of the purchasing department.
    Container is the place where all the data used in the workflow is collected.
    Binding is the set of rules that define which data is passed to which part of the process.
    Building a simple workflow application
    The central tool for creating, displaying and processing a workflow is the workflow builder (Transaction SWDD). Within the workflow builder you can create all components of a workflow, including all the containers you need for getting the data from one step to another.
    Generally, most of the workflows are started by an event (for example, when a material is created or when a new purchase requisition arrives). You define which data from this event needs to be passed to the workflow via binding.
    However you can also start any workflow directly. Let us create a simple workflow and start the workflow directly, using the testing tools.
    Call transaction SWDD. When the workflow builder is called for the first time, a newly created initial workflow definition appears or else last created workflow appears. In such cases you can opt to create a new workflow by pressing “Create New Workflow”(ctrl + shft + F5). The following screen appears.
    The initial workflow screen has the following parts:
    a. The start of the workflow definition, indicated by .
    b. The end of the workflow definition, indicated by .
    c. The area in which you insert the new workflow definition is indicated by .
    Now select the undefined step and select Create step or double click the undefined step. Now among the different steps chose the User Decision by double clicking on it.
    Developing a simple application using steps "User Decision" and "Mail"
    Previous
    Now enter the title for the user decision “ Please make a decision”. Also enter the decision texts as Approve and Reject. On pressing enter, the outcome values default to the Decision texts but you can specify your own names, if desired. Now we need to select the agent. Agent is the person to whom the work item needs to be sent.. Since this is just a beginning, we would hardcode the user name. Select the User from the drop down list and enter the user name to whom the work item needs to be sent. In general, this type of agent assignment is not done. Agents are generally assigned using the expression, agent assignment rule or organization object (job, position etc.).
    Now select Transfer and to graphic button. Following screen appears:
    Now we need to include a mail step to be sent to the requestor. Now select the line “Approve” and do a right click. Different options on shown on the context menu. Select Create.
    Now select the step “Send Mail” from the list.
    Developing a simple application using steps "User Decision" and "Mail"
    ...Previous
    Now enter the subject and the body of the message for the mail to be sent.
    Do not change the recipients. Our mail is intended for the persons who triggered this workflow. &_WF_INITIATOR& contains the value who executed the workflow. Since this is a test object, we are using &_WF_INITIATOR&. But we wouldn’t be using this variable in real time scenarios. We would discuss about this in the coming documents.
    Now select Transfer and to graphic button.
    A popup appears requesting for the abbreviation and the name for this task. Enter the same and press enter.
    Now enter the package as local object and press enter.
    Follow the steps 5 through 9 for the step “Reject”. The following screen appears:
    Press SAVE to save the workflow application. You need to enter an abbreviation and name for your workflow as shown below. You can change any of these at any later point. After saving, a number is assigned to your workflow starting with WS, as shown below.
    Developing a simple application using steps "User Decision" and "Mail"
    ...Previous
    To execute the workflow, activate it by choosing the activate button.
    Test the workflow by choosing Test. The following screen appears.
    Now choose Execute to start the workflow.
    Now the recipient would receive a work item in his SAP® inbox (Transaction SBWP).
    Now execute the work item by pressing “Execute”. The following screen appears:
    Choose one among Approve or Reject as part of the user decision. He can select the third option to retain the work item in his inbox and make the decision later. Now suppose that the recipient has chosen one of the first options. Now a mail would be sent to the requestor with the status of his request.
    Creating a Container element
    This document details about creation of a container element in workflow and using it in the step "Mail".
    Pre-requisites:
    It is assumed that the reader of this Tutorial is aware of creating a workflow definition with the step “Mail”. If not, please go through the document on creating the same available, by clicking here.
    Steps:
    1. Create a workflow definition using the transaction SWDD.
    2. Let’s create a container element for Carrier id. Click on the “Workflow Container” on the left side of the screen (as shown in the screenshot below):
    3. Now double-click on “Double-Click to Create”
    4. Enter the details pertaining to CARRID here.
    5. Click on tab “Properties” and select “Import”.
    6. Click on “Confirm (Enter)”.
    7. Now the element created could be seen on the left side, below the “Workflow Container”.
    Creating a Container element
    Previous
    1. Create a “Mail” step by double-clicking on “Undefined” step in the workflow.
    2. Enter the recipient details in the “Recipients” box.
    3. In the subject line, enter “Carrid value entered is:” and click on “Insert Expression”.
    4. Select the element “Carrid” from the list.
    5. Similarly enter the content in the “Body” area.
    6. Save and activate the application.
    Testing the Workflow application:
    7. Test the workflow by clicking F8.
    8. Enter the value of the Carrid as shown above and press execute.
    9. A mail would be sent to the recipient mentioned earlier with the carrid value entered.
    Condition Step
    Agenda:
    This document details about the steps “Condition”.
    Pre-requisites: It is assumed that the reader of this document has a preliminary understanding of workflow and has worked with the container elements earlier. If not, please go through the first two Tutorials of workflow available in this site. (More details)
    Procedure:
    1. Create a new workflow definition.
    2. Create a container element, CARRID (as demonstrated in tutorial 2).
    3. Now click on undefined step and create the step “Condition”.
    4. Enter the step name of your choice.
    5. We would have the following condition here:
    If carrid = ‘AA’.
    Do this.
    Else.
    Do this.
    Click on “Click here to create a new condition”. Following screen appears.
    Double click on “Carrid”. Next click on “=” and enter the value “AA” in the constant field and press ENTER.
    Enter the outcome names of your choice as shown above.
    Click on “Transfer and go to graphic”.
    As shown above, there are two branches here. One navigates to true, if CARRID = ‘AA’ else the control takes the branch “False”.
    Test the above scenario by inserting mail steps in the above 2 branches and by passing different CARRID values.
    Condition Step
    Agenda:
    This document details about the steps “Multiple Condition”.
    Pre-requisites: It is assumed that the reader of this document has a preliminary understanding of workflow and has worked with the container elements earlier. If not, please go through the first two Tutorials of workflow available in this site. (More details)
    Procedure:
    1. Create a new workflow definition.
    2. Create a container element, CARRID (as demonstrated in tutorial 2).
    3. Now click on undefined step and create the step “Multiple Condition”.
    4. Enter the step name of your choice.
    5. We would have the following condition here:
    If carrid = ‘AA’.
    Do this.
    Elseif carrid = ‘AH’
    DO this.
    Elseif carrid = ‘SQ’
    Do this.
    Else.
    Do this.
    Select the “CARRID” using the F4 help for the comparison basis field.
    Enter the values of the carrid under the Comparison values with the corresponding outcome name (of your choice)
    Double click on “Carrid”. Next click on “=” and enter the value “AA” in the constant field and press ENTER.
    Click on “Transfer and go to graphic”.
    As observed above, there are different branches for each value of CARRID mentioned above.
    Test the above scenario by inserting mail steps in all the branches and by passing different CARRID values.
    Using "Container Operation" step
    Agenda: Usage of step “Container Operation”.
    Pre-requisites: It is assumed that the reader of this tutorial has worked in the concepts that are dealt in earlier tutorials. (click here for more details)
    Scenario: In this tutorial, we would deal about how to work with the step “Container Operation” with an example of calculating the available seats by subtracting occupied seats from the maximum seats at the workflow level.
    Procedure:
    1. Create a new workflow definition using the transaction SWDD.
    2. Create two container elements MaxSeats, Occ_Seats with the “import” property set. You can use the reference fields sflight-seatsmax, sflight-seatsocc for this.
    3. Create another container element AvailableSeats without setting either import or export property as this is calculated within the workflow and used within the workflow. You might use any of the above reference fields as data types.
    4. Define a new step “Container Operation” in the workflow definition by double-clicking on the “Undefined step”.
    5. In this step, we would calculate the available seats from the max seats and seats occupied.
    I would recommend entering all the container elements from the F4 help instead of typing them manually.
    6. Return to the main screen.
    7. Create a mail step after this to send the available seats information.
    8. Test the above functionality by passing some values to the maximum and the seats occupied.
    9. Result would be as follows:
    Triggering Events Programmatically
    Purpose: This document details the procedure in triggering the business object events programmatically.
    Pre-requisites: It is assumed that the reader of this document is aware of the business object concepts and good in ABAP.
    Procedure:
    In this document, we would take an example of the business object BUS1001006 (Material) and the event CREATED. In general, this event is triggered whenever a material is created using a standard procedure like MM01 or any others. Now we would trigger this event from our own programs.
    Following are the screenshots of the business object BUS1001006 and the event CREATED. Go to transaction SWO1 for more information of the business object.
    Double-clicking on the key field parameter gives you technical information of the field.
    In order to trigger an event programmatically, we would use the function module SWE_EVENT_CREATE.
    Following is the sample code to trigger the events programmatically:
    REPORT ZDEMO_TRIGGER_EVENT.
    DATA: KEY LIKE SWEINSTCOU-OBJKEY.
    KEY = '1163'. “ Material Number (hard-coded)
    CALL FUNCTION 'SWE_EVENT_CREATE'
    EXPORTING
    objtype = 'BUS1001006'
    objkey = KEY
    event = 'CREATED'
    CREATOR = ' '
    TAKE_WORKITEM_REQUESTER = ' '
    START_WITH_DELAY = ' '
    START_RECFB_SYNCHRON = ' '
    NO_COMMIT_FOR_QUEUE = ' '
    DEBUG_FLAG = ' '
    NO_LOGGING = ' '
    IDENT =
    IMPORTING
    EVENT_ID =
    TABLES
    EVENT_CONTAINER =
    EXCEPTIONS
    OBJTYPE_NOT_FOUND = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
    WRITE 'Event Triggered'.
    ENDIF.
    COMMIT WORK.
    In order to test whether the event is getting triggered or not, we can make use of Event Trace. Switch on the event trace using the transaction SWELS.
    Press ‘Switch On”.
    Now execute the program developed earlier. Now switch-off the event trace using the same transaction SWELS.
    Now go to transaction SWEL. Here you can list out the events triggered in the particular period of time. Here is the event-trace list:
    Deadline Monitoring in SAP Workflow
    A major advantage of workflow is the ability to monitor the workflow steps according to a predefined schedule. Following are different deadlines that can be monitored against each workflow step:
    • Requested Start
    • Latest Start
    • Requested End
    • Latest End
    In this example, we will define a deadline to the User Decision example created earlier (click here). Following is the screenshot of the application developed using the User Decision example:
    We would extend this example to the deadline monitoring.
    In the User Decision step, click on the “latest end” tab.
    By default, No deadline monitoring is active (as seen in the above screenshot).
    Choose the “Work Item Creation” from the list box.
    After selecting “Work Item Creation”, chose an offset of 5 minutes. This means that the work item must be executed within 5 minutes of the creation, if not this would trigger.
    Deadline Monitoring in SAP Workflow
    Enter recipient details to whom the message to be escalated, if the work item is not executed with in 5 minutes after work item creation.
    Save and activate the workflow definition.
    Testing the workflow application:
    • Execute your workflow.
    • Check for the work item in the SAP Inbox. This time do NOT execute the work item.
    • Wait for the deadline to be triggered. After that, a deadline message is delivered to the recipient mentioned in the “Latest End” tab. See the screenshot below.
    Don’t worry if the deadline message doesn’t appear immediately after 5 minutes. This depends on various factors including how the deadline monitoring program is scheduled and also on the availability of the background processors.
    Use SWWA to check how the deadline monitoring program is scheduled in program.
    For example, assume that our work item has been created at 09:10 hrs and the deadline message is expected to trigger at 09:15 hrs. From the above screenshot, it is understood that the background program is scheduled to execute for every 3 minutes. Assume that the last run of the program is at 09:14hrs and the next run is expected at 09:17hrs. So even our deadline expires at 09:15, the deadline message would appear only at 09:17hrs after execution of the background program.
    Some more points
    In our above example, we have used the deadline on the “Work Item” creation time. i.e., 5 minutes after creation time, the deadline message would be sent. Now we would check the other option “Expression”. Here we can mention the date and time, when the deadline message should appear irrespective of the work item creation date/time.
    As seen in the above screenshot, we can provide the target date and time by which the task should be finished. Container elements could be used in this case. Please refer to our example on creation of container elements (click here).
    Personal Substitute in Workflow
    Requirement: Need to have at least one substitute who can act upon work items in your absence.
    Important: The appointed substitute would be able to see all your work items. A substitute cannot be assigned for only particular area of organization or any other item. So need to ensure that the substitute have the necessary authorizations to act upon the work items.
    Procedure:
    1. Go to SAP Business Work Place (TCode: SBWP)
    2. Now from the menu bar, select Settings à Workflow settings à Maintain Substitute
    3. Highlight/Select the name on the window, in this case SAPDEV02 and click on “Create Substitute”.
    4. List of users available in the system are displayed.
    5. Select the required substitute user name. Following screen appears.
    Validity field describes about the period in which the setting would be active. Note that the dates on the screen would range from the current date to 31st Dec 9999.
    Regarding the checkbox “Substitution active”, it is advised to leave this checkbox unchecked for system performance reasons. A check in this box indicates that the substitution is “permanent” and if left unchecked it is treated as “as-needed”. A permanent substitute will automatically receive the primary users work items in their own box. In the case of “as-needed”, substitute must manually adopt the work items from the primary user’s inbox.
    6. Save the entries
    7. Click Enter to leave the screen.
    Adopting a Substitute in Workflow
    If you have been designated as an “as-needed” substitute, you must manually adopt the substitution. If you are designated as a “permanent” substitute, the work items would automatically appear in the inbox.
    Before adopting a substitution, there are 19 work items in the inbox. See the screenshot below:
    To adopt a substitution, select Settings à Workflow settings à adopt substitution.
    Select the corresponding User-id (if you have been assigned as a substitute for multiple people, then this option would allow you to select the user name of whom you would to check the work items)
    The corresponding user’s work items would appear in our inbox now.
    You can end the substitution, by selecting settings à Workflow settings à End substitution.
    Note: Substitutes can only adopt work items that are directly routed to the person for whom they are a substitute. If you are a substitute for a user (SAPDEV02) who has been made a substitute for another user (SAPDEV01), you will only see work items for user SAPDEV02 and not of the user SAPDEV01.
    Notification of Work Items via e-Mail
    SAP provides us with a facility of notifying the user via the email address of your choice when there are any pending work items in the SAP Inbox..
    1. Go to Transaction SO13.
    2. Click on Automatic Forwarding tab.
    3. Click on Create icon .
    4. Enter the details in the above screen.
    5. Click ENTER to complete the entries.
    6. Now the notification would be received at the provided email address if there are any pending work items in the inbox.
    Filtering the Work Items in the SAP Inbox using BADI
    This document details about the procedure in filtering some of the work items from the SAP inbox using a BADi.
    Following is the screenshot of the SAP inbox, before implementing BADi:
    The BADi that is used in filtering the work items is WF_BWP_SELECT_FILTER. To implement the BADi, go to transaction SE18. From the menu, select Implementation à Create. (See the screenshot below)
    Enter the implementation name and press ENTER
    Enter any meaningful short text for the implementation and click on the tab “Interface”
    The implementing class, ZCL_IM_BWP_SELECT_FILTER, is automatically proposed. Double click on the implementing class name.
    You are now navigated to the class builder. Now double-click on the method name shown on the screen (see the snapshot below)
    Now let us filter out the work items belonging to the task TS2000066. See the code below:
    Activate the method and also the implementation. In the state of active, you wouldn’t be able to make any changes. To make any changes, we need to deactivate it and then make the changes.
    Now check the inbox and would notice that the work items related to that task are no more appearing.
    To notice the differences, try activating and deactivating the BADi implementation.
    Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c14a9b55103116e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    http://www.sapgenie.com/workflow/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    debug a workflow.
    This has a step by step procedure :
    http://fuller.mit.edu/workflow/debugging.pdf
    www.erpgenie.com/sap/workflow/debugging.htm
    http://www.erpgenie.com/workflow/debugging.htm?2b5de440

Maybe you are looking for

  • Forms 11 New Features and release date

    Hy, I think Ronald Grant is who can answer my question: when date release is for Forms 11, and what'are major improvements for Forms 11? Thnks

  • Can I turn off built in screen??

    I have a MacBook Pro 17", and I routinely connect it to an additional Apple 20" screen when at home. However, I have 1 program that does not like dual screens. In fact, it is a known problem with the program that it will not work correctly with more

  • TS1567 Apple mobile device service not started Why?

    Message 'Apple Mobile Device Service not working', appears on the screen. How is it solved. I have tried suggestions on Google

  • Sivakrishna

    dear expects, please solve this issue. Complete allocation structure A1 Message no. KD503 Diagnosis During settlement, the system puts the sender debits into groups (assignments), which are settled using the same settlement cost element. The settleme

  • Dynamic logo's

    I am having problems to show dynamic logo's. It seems that XMLP doesn't pick up the value of my fieldname. If i use the the following syntax. It works fine..... url:{contact ('${OA_MEDIA}','/','LOGO_243.gif')} However when i use : url:{contact ('${OA