Workflow process

Hi Experts,
                 I have a doubt regarding workflow. I have created a template in SWDD, and I have to use the template in my report. My report is a modulepool report, in that I'll have a check box for workflow. If I check that box workflow has to trigger.
                    How can I do this. How to link my workflow template with report.
                  The second requirement is I have one more check box, If I check that box I have to send external mail to gmail or yahoo like that.
                    Please help me out from these two issues.
Regards
G.s.naidu

Hi G.s.naidu,
For your first requirement - On click of that button you can call the FM SAP_WAPI_START_WORKFLOW to trigger a workflow.
You can pass the workflow ID to it to specify the workflow to be triggered.
For your second requirement - On click of mail button you can call FM SO_NEW_DOCUMENT_SEND_API1 to send mails to external IDs.
Hope this helps!
Regards,
Saumya

Similar Messages

  • Mass Maintenance will recognize any customer record in workflow process

    Hi gurus,
    Please help me on the Workflow process, how to handle below workflow  scenario,  is there any logic be hand this.
    please see in BOLD workflow issue.
    1.2     As-Is Business Process
    Currently Data Maintenance teams use standard SAP transaction XD07 to change Customer Account Groups. The standard transaction XD07 allows only one Customer Account Group to be changed at a time. The process is to be manually repeated for every customer. After the Account Group is changes in the request client (X07(10)), an RFC call is made to the BOR client (X07(20)) and then to the transaction client  (X08(10)) to change the Customer Account Group as the SAP ALE process does not support Account Group Changesu2026
    1.3     To-Be Business Process
    From time to time, bulk customer data updates will be needed. This can be the result of business situations that cause multiple updates to be performed for given customer fields such as Customer Account Group field. A new program must be developed to let the user mass update the Customer Account Group field (KNA1-KTOKD). The Program should be accessed on demand using a new T.Code (YMDM_ACCTGRP_CHG).
    Business users will submit a spreadsheet in the appropriate upload format to CDM along with written approval from the Food Service data owner to execute the upload in P07. CDM will execute the upload, record all documentation for the audit change log and notify the submitter when complete
    1.4     To-Be Business Process Flow Diagram
    1.5     Enhancement Functionality
    The following are the requirements:
    u2022     This tool will enable a user to perform bulk update to the customer account group field.
    u2022     The utility should let the user upload a u201CTab delimitedu201D file to mass update the Account Group field.
    u2022     The Load File will have 3 columns, Customer Number (KNA1-KUNNR), Current Account Group (KNA1-KTOKD) and New Account Group (KNA1-KTOKD).
    u2022     The Program must utilize the process behind the standard SAP transaction XD07 to change customer Account Groups in X07(10).
    u2022     The standard customer ALE (DEBMAS) process does not support Customer Account Group changes, so the mass change program must use the RFC functionality to change he Account Groups in the BOR (X07(20)) and Transaction system (X08(10)).
    u2022     Workflows for all updates performed using this T.Code are automatically approved.  No manual approval steps will be needed after data load.
    u2022     Mass Maintenance will recognize any customer record that has an open workflow. If a customer record is already in the request queue, it is u201Coff limitsu201D for any bulk update. That update request to that particular customer record must be rejected.
    u2022     Provide the option to run the process in validation mode and update mode.
    u2022     Report all hard and soft legacy field errors on a validation report.  All u201Chardu201D legacy field validations should be passed before allowing update mode to run.
    u2022     The upload process will produce an error log for all records not loaded into the system.

    see newer message. Problem appears to be related to gmail

  • Interrupt workflow process in process controlled workflow

    Hello experts,
    In a custom requirement, we need to interrupt the workflow process.
    For example, if we have 4 levels of approval. After the 2nd approver has approved the shopping cart, then the workflow process should be kept on hold. Based on a custom interface result, if the condition from another interface is satisfied, then the shopping cart should appear in 3rd approver's UWL.
    I tried with triggering interrupt method of class /SAPSRM/cl_wf_apv_facade in save BADI of shopping cart. But it did not work.
    Please let me know how can i interrupt the workflow process till some custom condition is satisfied.
    Regards,
    Yayati Ekbote

    Quite often this kind of requirements can be fulfilled by using wait steps in the workflow. One example could be that you put a "wait for event" step in your workflow template. Then you could trigger this event from your interface (or whatever) with function module SAP_WAPI_CREATE_EVENT.
    Maybe I should ask that how do you know that the condition has been fulfilled? Is it a field in a certain table, or? If yes, instead of the "wait for event" step, you could also wait that your condition is fulfilled (a field in your table gets value X). Just take a look into the workflow template and its step types. Wait step is the way to go.
    Of course it might be possible that in the SRM/shopping cart workflows, there is already something built-in, which can be then utilized by using some of the BADIs, but if you cannot find anything from the documentation, then choose one of the above-mentioned approaches.
    Regards,
    Karri

  • Using Javascript to email a form in a workflow process

    I've created an Acroform which will be routed around in a workflow process.  The user will open the form, add information and hit a button which is coded in javascript usng the mailDoc function.
    It works perfectly EXCEPT that each time the document is forwarded, "Adobe Acrobat Pro.pdf" gets appended to the name of the file in the email.  It doesn't actually rename the file, so the file does open properly, but the email looks pretty goofy.
    Example.  The filename is Form14.pdf. 
    When the third person signs off and clicks the email button, the email is created, with the address, subject line and body of the email completed, and the document attached has the little icon and then
    - Form 14.pdf - Adobe Acrobat Pro.pdf - Adobe Acrobat Pro.pdf - Adobe Acrobat Pro.pdf
    Is there some way to prevent it from concatenating like this every time the document is emailed?
    Thanks!!!

    Maybe you could try it like this... I saw this question answered not too long ago.
    Submit Portal Form Values to Portal Report

  • FTP error in oracle workflow process

    Hi All,
    I have written a workflow process which deletes a file on FTP. The process is deleting the file but is showing a warning message. Does anybody have a idea regarding this. One more thing even if file is not found the process completion status is successful. Its status should be error.
    The ftp site is on the same machine as owb server.
    The following values have been passed
    Command: ftp
    Parameter List: /-A/localhost/
    Success Threshold: 0
    Script: delete filename
    Output Message Received:
    Starting Execution ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE:FTP
    Completing Task ETN_DELETE_FILE
    Anonymous login succeeded for [email protected]
    WARNING: Log file truncated - see RAB for further information.
    Completing Execution ETN_DELETE_FILE
    Please let me know about this.
    Thanks & Regards
    Bang.

    I am not saying your method is not correct, but if you give a shot to go with User Defined Activity. Yep that's correct , just write line in a shell script and call that script in user defined activity.
    Property values
    command ksh
    script     pathname with that script file name (/tst/usr/script/filename.ksh)
    or
    command     mv
    parameter_list     pathname with that filename
    I feel this is very simple and easy to manage too.

  • Adding a record in a table from a workflow process

    Hi all,
    I need to add a recod in a table using a workflow. Here the scenario:
    A user add a record into table A, when done MDM trigger the workflow in Visio. The workflow has to add a record in table B coping some values of table A.
    Thank in advance for your help.
    Vito

    Hi Vito,
    I am really doubt that MDM has the feature of adding a record to an table thru workflow process, rather workflow process can be triggered as you said while creating a record.
    thanks
    Alexander

  • How to get the Asset's current step under a specific workflow process via API?

    Everyone,
    Is there a way to get the asset's current step for a specific workflow process by the WebCenter Sites API? We are showing out the asset created within the WebCenter Sites in another application via its API. We would like some actions get to be done once determined assets went into a specific step of a workflow process. Any suggestions are welcomed.
    Regards!

    Here is some information from the FDK Programmer's guide page 115:
    IMPORTANT: A valid text range can span multiple paragraphs, subcolumns, or text frames.
    It cant span multiple flows, footnotes, table cells, or text lines.
    It is possible for a document to have no text selection or insertion point at all. This can occur in
    the following circumstances:
    ● One or more graphic objects in the document are selected
    ● One or more entire table cells in the document are selected
    ● There is no selection of any type in the document
    So, I did select one or more entire table cells in the document in my first test. It's logical that the result was not like expected.
    But selecting one or more entire table cells is a crucial requirement for my plugin, is there anyway to get things straight?
    Simply put, I want to enable users to select one or more table cells in the document, and I want to get the object handles of the first cell and the last cell through Framemaker API calls. How?
    Many thanks in advance!
    Best Regards,
    Ellen N. Zhao

  • Own workflow process step (java) not listed in the generic Process step component

    Based on the description Extending Workflow Funtionality I have used this sample to create a bundle with the CRXDE Development Environment. Almost just copying the code from the page (had to make some adjustments to correct program errors in this sample) an then build bundle. According to Note 2 this program should be seen in the list supplied by Process step Component when editing a workflow. But it is not there.
    @Component
    @Service
    public class MyWorkflowProcess implements WorkflowProcess {
        @Property(value = "An example workflow process implementation.")
        static final String DESCRIPTION = Constants.SERVICE_DESCRIPTION;
        @Property(value = "Adobe")
        static final String VENDOR = Constants.SERVICE_VENDOR;
        @Property(value = "My Sample Workflow Process")
        static final String LABEL="process.label";
    What do I need to do else?
    Thanks,
    Ulrich

    Ulrich,
    CRXDE does not support the Java annotations which are listed in the documentations. When you want to leverage CRXDE (which is for development ... discouraged), you need to migrate to JavaDoc style annotations.
    For documentation how you can setup a development workflow based on a Java IDE and maven please see [0].
    kind regards,
    Jörg
    [0] http://dev.day.com/docs/en/cq/aem-how-tos/development/how-to-build-aem-projects-using-apac he-maven.html

  • FIM 2010 Workflow Processing Issue

    Hi All,
    We are having a problem with FIM 2010 (Update Rollup 2) workflow processing.
    Background is:
                Set: Object State 2 set (criteria based membership, criteria includes AUX_Attr1 ‘NOT Equal’ 3)
                Set Object State 3 Set (Manually managed membership)
    WF1: set AUX_Attr1 to 3
    WF2 : Set AUX_Attr1 to 2
    MPR 1: Transition in MPR (Transition set = Object State 2 set), fires WF2
    MPR 2: Transition in MPR (Transition Set = Object State 3 Set), fires WF1
    What we are seeing is the following:
                We add a user to “Object State 3 Set”
    From the request history we can see that:
    The successful request for the set membership change (transition in Object State 3 Set)
    The successful request by the Forefront Identity Manager Service Account to set AUX_Attr1 to 3
    and FIM correctly fires MPR 2, this sets AUX_Attr1 to 3 and this has been verified by looking through the request history
                A couple of seconds later FIM fires WF2 which sets AUX_Attr1 back to 2.
                The request history shows no signs of the object transitioning back into “Object State 2 set” so I am unsure why this
    workflow would trigger again.

    Best thing to do with this problem is look at the request that caused this to happen and look for parent requests and for the applied policies
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • Hi There, Any one Know How To Call Workflow Process From Special Menu.

    Hi There,
    Any one Know How To Call Oracle Workflow Process From Special Menu.
    I mean Tool -> Special Menu 1-45
    Or How to call Oracle Workflow Process From Command Button.
    Thanks
    Bachan.

    Can u give me some examples.
    Second thing we can add special action (special Menus) from Form Personaliztion.
    But how to add launch wft through Personalization
    Please Give me a breaf detail.
    Thanks
    Bachan

  • Error has occurred in workflow processing

    Hi All,
    The email notification sent back to employees to notify them that the timecard was submitted successfully is erroring. I looked in the workflow administrator resp and noticed the employee notifications were failing.
    Please see the below error:
    Failed Activity Notifications to Employee (FYI)
    Activity Type Notice
    Error Name WF_ERROR
    Error Message 9004: An error has occurred in workflow processing: 3835: Error '-20002 - ORA-20002: 2018: Unable to generate the notification XML. Caused by: 2323: Message template 'NOTE_EMP' in item type 'WFMAIL' can not be found WF_MAIL.getTemplateName(nid => 882116, n_status => OPEN, n_mstatus => MAIL, t_type => WFMAIL, t_name => NOTE_EMP) WF_MAIL.getTemplateName(882116, OPEN, MAIL, WFMAIL, NOTE_EMP) WF_MAIL.ProcessSignaturePolicy(882116)' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'.. The stack trace of the error is: WF_MAIL.GetLOBMessage3(882116, WFMAIL, 2323: Message template 'NOTE_EMP' in item type 'WFMAIL' can not be found WF_MAIL.getTemplateName(nid => 882116, n_status => OPEN, n_mstatus => MAIL, t_type => WFMAIL, t_name => NOTE_EMP) WF_MAIL.getTemplateName(882116, OPEN, MAIL, WFMAIL, NOTE_EMP) WF_MAIL.ProcessSignaturePolicy(882116), Step -> Getting Signature policy) WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 882116) WF_XML.Generate(oracle.apps.wf.notification.send, 882116) WF_XML.Generate(oracle.apps.wf.notification.send, 882116) Wf_Event.setMessage(oracle.apps.wf.notification.send, 882116, WF_XML.Generate) Wf_Event.dispatch_internal()
    Can any one help me how to fix this issue?
    Thanks & regards,
    Raju

    Hi,
    You can reset the template in the frontend System Administrator -> OAM -> Workflow -> View Details -> Edit.
    OR
    You can override the template as i mentioned in the prevoius post by including a attribute in the respective message(Refer Workflow Developer's guide for more details).

  • Using in the workflow process the element of Scenario dimension which conta

    Good day All
    In the Scenario dimension has been created element which include as children the some store elements of the Scenario dimension (Plan, Fact ...).
    This element has been assigned as scenario element for Planning Unit Hierarchy.
    When we start the workflow process the children of its elements (Plan, Fact ...) still available for edit on work form for all users.
    Question. Work form contains several elements of Scenario. As in the workflow process close all of these elements, creating only one Planning Unit Hierarchy and run the process only once (in fact, one Scenario).
    thanks

    The total video bit rate is determined by audio & video. Depending on what rate your video file was encoded at will determine how much room is left for audio. PCM(aiff/wav) audio requires a bigger piece of the pie. Video bit rate too high means your overall(video+audio) rate is going above 9Mbps which the format won't allow. The only way to use aiff would be to lower your video file's data rate. The length of your program is also a factor in all of this.
    I had some problems in the past with using aiff instead ac3. Although there shouldn't be any issue I experienced playback issues on some players that couldn't be explained but were cleared up by ac3.  I have been using the same specs as Dave's suggestion for almost nine years and have not had any issues with mix, quality, or levels.

  • Using in workflow process the element of Account dimension with subordinate

    Good day All
    In the dimension Account has been created element, which contains several shared elements. This element has been added as a Parent member when creating a Planning Unit Hierarchy. When we run the workflow process the child shared elements still open for editing for all users.
    May be we can’t using shared members in this case?
    Thanks

    Are you the one who commented out the code you're looking for ?//String desc = StringFactory.getString(attributes.getValue("desc"));You just have to modify you AttributeObject class to hold a new field : String description. And then, it's up to you to create a new constructor or a new setter method.
    Btw, this is not a Swing related question.

  • Recommandable Profile Option PO:Workflow Processing MODE (Background/Online

    Hi
    We are using oracle11i 11.5.10.2 on windows 2000 server
    which Value is Recommendable for Profile Option PO:WORK FLOW PROCESSING MODE (BACKGROUND or ONLINE)?
    for PO Approval
    Thanks
    With Regards
    A-Z

    Hi,
    It is advisable to Set "PO:Workflow Processing Mode" profile option to "Background" which is a default value
    If you set it as Online, it completes an entire approval workflow process before letting you proceed to the next activity, but provides you with an updated Status (for purchase orders) as soon as it finishes.
    When this profile option is set to Background, you must start the Workflow Background Engine, which you access through the System/application Administrator responsibility. It is recommended that you set this process to run frequently (Schedule), if you are using it for Background mode approvals.
    /S.P DASH

  • Looking for screen to change Supplier User Registr.. workflow process name

    Hi,
    The question relates to Supplier User Management.
    Does anybody know if there is a page where you can pickup the workflow (the shipped one has internal name POS_REG) process name for supplier registration?
    Thank you.
    Anatoliy

    Hi Bala
    What enhancements were you adding to the Workflow Reassign/Delegate feature, which included being able to add comments? A good idea is to look for any differences between how workflow implements the reassign feature, and your customization.
    Also, make sure you only use the Public documented PL/SQL APIs and do not update the tables directly to ensure no Support or Upgrade Issues.
    Cheers
    Mark
    I am using Stand alone Workflow 2.6, In my workflow process
    which is an Issue tracking system which is working fine. On Enhancement I would like to create my own RE-ASSIGN function which will, Change the ownership of an issue totally to other user.
    For this I Created a package(CHANGE_OWNER.CREATE)which will show list of Users and Comment field(Just like Re-Assign).
    Here user can pick other user, and add comment,
    once submit for that Item key I am updating the workflow notification table so that paritcular issue ownership will be changed.
    In my workflow process I created a lookup code called "Change Owner". On click of Change Owner it will call the Function
    in workflow process which will call CHANGE_OWNER.CREATE, here
    the workflow process supposed to wait and get the User to be
    changed. BUT THE PROCESS IS NOT WAITING, IT JUST DISPLAYED THE
    SCREEN AND CONTINUED THE WORKFLOW PROCESS. I WANT THE MY
    WORKFLOW PROCESS TO BE ACT AS RE-ASSINGN BUTTON WHICH WILL WAIT
    FOR THE USER INPUT.
    HOW TO DO IT.
    Thanks
    Bala.

  • Query on Planning WorkFlow Process

    Hi Guys,
    I have a query on Planning WorkFlow Process i.e Two Business Units are willing to do their Budgeting & Forecasting Process in different periods.
    I would like to bring first one process for this and I would like to grant access for these two business units accordingly.
    Will it be any problem doing like this? If not please suggest me what is the best approach for this.
    Thanks,
    Suresh.

    Hello Suvin,
    You can try to check the value for your return sales order with T-code MB51
    Go to MB51  Enter Movement type 651 execute..
    Next screen Press Ctrl + Shift + F12 . It will take you to next screen..
    In this screen use Ctrl + F8, you will get field Column selection Popup..
    in that Choose " Amount in LC" & Sales Value.
    With this you will get the value. If the value is Zero then it means that the return stock from customer is non valuated.
    Note:
    T.Code MB52 : Display Warehouse stock of Material in Hand.
    App:lication
    You use this report to display the total stock of a material (quantity and value) at plant and storage location level. If transit stocks or stock transfer stocks exist at plant level, the system totals these stocks and displays them in the column In Stock Transfer in a stock line without a storage location.
    Note that in this report, the stock value of the warehouse stock is calculated using the following simplified formula:
    Stock value = quantity x value/valuated stock
    Therefore the stock value specified here only has informal characters and does not represent the actual stock value.
    Br,
    Tushar
    Edited by: Tushar Patankar on Jan 11, 2011 6:28 PM

Maybe you are looking for

  • How do I set Finder windows to fit

    in Finder I prefer to use Column view.  Previously I could auto-size the columns by double-clicking the two small verticle lines at the bottom of the column separators.  Now in v10.7.3, this action only reduces the column width to a predetermined siz

  • Error Saving Face Data

    Whenever I click "find faces for tagging" The box comes up Then all the faces start to appear When i try and tag any of them, it says Error Saving Face Data Please Help!

  • Updating checkboxes in an Access Database

    I have an edit form that requires checkboxes. I select a record to edit and check the checkboxes, enter the text data and submit the data. When I select the same record from the edit list I see where the text data is available in the form, but the ch

  • Mails whenevr an inbound idoc fails

    Hi Experts, Is there any way I can trigger mails whenevr an inbound idoc fails to update in r3.With reference to workflow etc Regards, Arnab

  • Airport dropped after awoken from sleep mode

    i just started using it in sleep mode instaed of full shut down, when ever i come back i get an error saying the airport network cant be found orsomething, and it takes like 5 minutes to get it to find it even w/ the airport 2 feet away...