Adobe - Triggering workflow in ABAP

Hi,
From the Adobe offline form - submission I want to trigger a workflow in R/3 system.
I also want the same adobe form to be sent as an attachment. so that after checking the workflow the key user can edit the form and resubmit it again which will update the backend.
I hope many of us might have worked with same kind scenario.
Helpful answer will be rewarded.
Thanks
Satya

Hi Satya,
I dont understand, how will you trigger something from R/3 if it does not have access.
The webservice access it through the URL. This is what i have done with my limited knowledge.. Would like to see more brainstorming on this :).
Thanks and Rgards,
Anto.

Similar Messages

  • Call purchase requisition approval workflow in abap program

    Hello,
    I copied the standard workflow for the approvaI of a purchase requisition WS00000038 and i tested it. I create a purchase requisition in me51n. This is triggering the event releasestepcreated which starts my workflow. Everything goes ok.
    Now, i want to call this workflow in ABAP. I do not know exactly how to do it. Here is the code I tried.
    data: ls_objkey type SWR_STRUCT-OBJECT_KEY,
    lt_mesage type table of SWR_MESSAG,
    gt_container type table of swr_cont,
    gs_container type swr_cont.
    gs_container-element = 'ReleaseCode'.
    gs_container-value = '01'.
    append gs_container to gt_container.
    gs_container-element = 'requisition'.
    gs_container-value = '0010000362'.
    append gs_container to gt_container.
    gs_container-element = 'RequisitionHeader '.
    gs_container-value = '0010000362'.
    append gs_container to gt_container.
    ls_objkey = '0010000362'.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
    EXPORTING
    object_type = 'BUS2009'
    object_key = ls_objkey
    event = 'RELEASESTEPCREATED'
    TABLES
    input_container = gt_container
    MESSAGE_LINES = lt_mesage.
    As you can see i filled he RequisitionHeader, requisition and release code. I saw in the workflow that i copied, that these are import parameters. Requisition and release code are mandatory. 0010000362 is a purchase requisition that i created.
    After i run the program i receive a work item in SBWP but it has the status error.
    Can you help me?Perhaps anyone has done this. I think that i am not filling the correct data or something like that. Maybe you can look in the standard workflow WS00000038 and tell me what I should pass and how.
    Thank you,
    Efren

    Hi Efren,
    The Problem is, for the purchase requisition there is two key fields.
    So when you pass the keyfiled to workflow it should be the concatenation of Purchanse requisition number and the item number.
    You have to pass the object key as below.
    ls_objkey = '00100003620010'.
    Then only your business object will getting insatanciated.
    Thanks,
    Viji.

  • FM or include that triggers Workflow in sap SRM 5.0.

    Hi All,
    Can anyone tell me the FM, for triggering a workflow in SAP SRM 5.0. I mean the name of the program or Include or an FM which finally triggers workflow while saving?
    Thanks,
    Edited by: Manoj Singh on Oct 6, 2011 6:51 PM

    Hi Gaurav,
    Thanks for responding. Yes, all the backend config are in place since I am able to successfully run an equivalent RFC (BBP_PD_SC_GETLIST) and another RFC named BBP_PD_SC_GETDETAIL from SE37. The problem seems to be something very specific to the ES. May I request you to run this ES at your end (if possible) and let me know the result possibly with the input and output message similar to the one I pasted in the origincal question.
    Thanks in advance,
    Nilay

  • To integrate the Adobe form in webdynpro ABAP

    Hi Experts,
                    How to use the adobe form in Webdynpro ABAP?
    Thanks & regads
        Vino

    That is quite the general question and I think if you search SCN you will find many resources - such as videos, tutorials, how-to guides, documentation - on the subject.  Perhaps just starting with the online Help and the associated links form the help article will get you started:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0f/128841e8231709e10000000a155106/frameset.htm

  • How to update agent list after triggering workflow?

    Hi Guys,
               Is there any function module to update the agent list after triggering the workflow? i mean after triggering workflow, the user is maintaining some approving officers in their table and they are expecting the workflow should route the workitem to  those newly maintained approving officers. So can any one help me to solve this issue.
    Regards,
    Safiq

    if any agent maintained in the customized table, how can I update
    those agent with existing available agent list.
    It sounds like updating the existing workitem container with the new updated values. right? You mean to say initially workflow is triggered and the agent list is populated in the workflow container. But after the workflow is triggered if the table is updated with some new entries, then these new entries must alos be included in the agent list container element in the workflow container.
    If this is the case the you have to modify the multiline container element of the workitem container. You can make use of the standard function module SAP_WAPI_WRITE_CONTAINER but this function module needs to be called each time when evenr a new entry is created and you have to check what are all the workitems that you want to update ,
    I think its a bit difficult to update all the workitems which are with reagrd to this scenario.. so you have to check out some other simple way. But on a whole what I can say is you can update an existing workitem container by using the FM mentioned above...

  • Call workflow from ABAP program

    created a zbusiness object (ZPRODH)with
    one key field product hierarchy,
    one attribute level number and
    one method display.
    I tested that zobject and using this object created workflow to display product hierarchy ,it is displaying it. now I have to call it from one abap program.
    In the abap program I am calling the funcion module, I
    CALL FUNCTION 'SWW_WI_START_SIMPLE'
    EXPORTING
    TASK = TASK
    IMPORTING
    WI_ID = WI_ID
    TABLES
    AGENTS = AGENTS
    WI_CONTAINER = WI_CONTAINER.
    It is calling the workflow and subrc is 0, but not passing the value to the workflow. Because of that the method is not working, any idea?
    Thanks in advance

    ttpa,
    Please check this thread:
    Re: Workflow from abap program
    Also check that your Fm do requires any explicit commit or not?
    Hope it will help u
    Cheers
    Jai

  • Workflow and ABAP OO

    Hi,
    I have read the excellent blogs on Workflow and ABAP OO by Joycelyn Dart (/people/jocelyn.dart/blog/2007/07/16/referencing-bor-objects-in-abap-oo-classes). I have sucessfully created a  BO (of type SIBFLPORB) in my class. However, I cannot figure out how to retrieve the workitem container that holds the BO. I have used macros before in workflow programming exists, but there I get the container from a workitem context. I can't find the workitem context in my class. Please provide me with some code samples of how I can retrieve the workitem container that holds the BO.
    I am considering passing the workitem id to the method and reading the container via SAP_WAPI_READ_CONTAINER. If this is a good solution, then I see no point in having the BO as an attribute of the classe. Is it a good solution?
    Thanks!
    Elvez

    I am probably missing something obvious here (or we are not even speaking about a same thing), but I still try to clarify my point.
    >I could of course just pass the necessary data as parameters to the class
    This is the part that I don't really understand. If you already have an instance of a class existing (=there is an object instantiated), which has the BO as an attribute, there shouldn't be any need to change a signature of any method(?). The only thing you need to enhance is the constructor of your class.
    Currently you create the BO instance as an attribute in your constructor method (isn't this correct?). Just create the attributes you need from the BO into your class, and "populate" them in your constructor. Or if it is an method that you need, just create a similar method (=you can copy the code) into your class.
    This all might be much easier than using the WF macros, which shouldn't be that difficult either - as Jocelyn says:
    "You will still need to use BOR macros in your ABAP OO classes if and only if you want to call BOR attributes and methods in your ABAP OO methods.
    If you need to do this then make sure you include the BOR macro definitions in your class by putting the special include program <cntn02> in the "Macros" section of your ABAP OO class."
    Regards,
    Karri

  • Interactive Adobe Forms using WebDynpro ABAP

    Hi,
    I could able to design and execute my interactive adobe form using webdynpro ABAP. Here what i am doing is i am creating context with my structures and table types  and pdfobject of type xstring  and passing the proper inputs in interactive form properties, in template sources i am provinding the interface and form name of my own choice and it is getting created automatically by the system, every thing works fine here and i could able to execute my form from web dynpro application.
    Here my requirement is i have already created structures and table types after that i went to transaction SFP and created an interace and by using that interface i have created form and i have designed the layout. Now what i want to do is i want to integrate this form in my webdynpro appliction and i want to execute it from webdynpro applicaton. When i try to do i am getting short dump, is my approach feasible or not . kindly suggest. If we can achieve this what is the way to achieve.
    Please do send your suggestions.
    Regards,
    Venkat

    Hi
    When u click on button..u will have to get the data from node which is existing on the Intereactive form and pass it to other view via writing logic in button event handler.
    The data can be displayed in other view as result.
    I hope u got it.
    Provide REWARD points..:-)

  • How to add new attribute for triggering workflow?

    Dear Expert,
    I want to create condition for triggering workflow.
    I am working on travel request workflow, using BUS2089.
    my requirement is to differentiate or make condition of triggering workflow based on trip activity type,
    but I can't find any attribute about trip activity type.
    how to add activity type to be available for create condition?
    thanks

    Hi,
      If am not wrong you are trying to raise event when ever there is a new travel request raised, so the BOR would be availbel in the workflow container to be more preciese it would be available in the event container, so you need to find out the right attribute in the BOR where the trip type is assigned and validate this in the start conditions i mean in the basic data of the workflow where you activate the event linkage.
    Regards
    Pavan

  • Adobe LiveCycle Workflow Tips

    We created a bunch of new tips last month for users of LiveCycle Workflow. Here's a partial list of them... If you'd like to contribute content to our developer centers, we'd love to host it! Contact me via email at [email protected] and we'll work out a content publishing schedule. Our new developer centers will allow us to better feature content from 3rd parties, so this is a great opportunity for you to highlight your company and the work that you've done!
    Pre-populating forms - Follow this tip to pre-populate a form using Adobe LiveCycle Workflow.
    Accessing workflows from email notifications - Follow this tip to allow LiveCycle Workflow users to access workflow items from email notifications.
    Preserving digital signatures - Follow this tip for alternate solutions for preserving digital signatures while exchanging forms using Adobe LiveCycle Workflow.
    Initiating a workflow process via an email - Follow this tip to initiate a LiveCycle Workflow process via an email.
    Integrating HTML forms with workflows - Adobe LiveCycle Workflow allows users to participate in workflows with forms presented in either HTML or PDF format. Follow this tip to ensure that HTML form users can participate in workflows.
    Submitting forms with digital signatures - Use this tip to help with submitting forms with digital signatures.
    LiveCycle Workflow Technical Overview - Get a technical overview of Adobe LiveCycle Workflow.

    <[email protected]> ha scritto nel messaggio <br />news:[email protected]..<br /><br />> We created a bunch of new tips last month for users of LiveCycle Workflow. <br />> Here's a partial list of them... If you'd like to contribute content to <br />> our developer centers, we'd love to host it! Contact me via email at <br />> [email protected] and we'll work out a content publishing schedule. <br />> Our new developer centers will allow us to better feature content from 3rd <br />> parties, so this is a great opportunity for you to highlight your company <br />> and the work that you've done!<br /><br />Thanks Mike, that is very useful :)<br /><br />Ciao,<br />Alessio

  • How to trigger GP workflow through ABAP Program.

    Hi All.
    i have one scnerio , i want to create BOM through Custom Ztransaction that will be developed in ABAP Modulepool.
    User will create BOM  from this ztransaction through  Transactional Iview in PORTAL,Once the user save transaction , i want to trigger a GP(Guided Procedure ) workflow,from ABAP Program.
    is it possible to trigger GP workflow?
    if yes how  to  do it , please suggest the way out.
    Regards,
    Shyam.

    Hi lingana,
    As u see in my requriment that, Workflow is not designed within SAP , But the Workflow will be designing
    in SAP Netweaver, its a GP Workflow. And Ztransaction(Developed by ABAP) will  be seen by user through portal  and
    he save transaction on PORTAL, In backend  ABAP program will run , and after meeting certain condition, it should create
    or(Initiate) GP workflow(process).
    So my question is , how ABAP Program will call GP workflow, How the connection will be made in between ABAP Code and GP workflow framework.
    If any doubt regarding requriment let me know,
    Regards,
    Shyam.

  • Custom Library 'Adobe LiveCycle Workflow Fields'

    Hello,
    I'm just reading through the document 'creating_workflows.pdf' of Workflow 7.0. In the chapter about designing forms for workflow it says that the custom library is available with the SDK, however I was not able to locate the library. There are also some workflow fields in Adobe Designer 7.0, but I think they are for older workflow versions, because the field names don't match the ones in the documentation ('creating_workflows.pdf'). Can somebody help me locate the library or tell me which fields to use for my forms?
    Thanks!
    Regards, Karin Garreis

    Hi Karin
    The library is actually in a file called Adobe LiveCycle Workflow Field.xfo which is part of the Workflow SDK. You will find it in:
    \LiveCycleWorkflow7_SDK\Misc
    See:
    Mike J. Potter, "Adobe LiveCycle Workflow 7.0 SDK (38.3 M file)" #5, 20 Sep 2005 12:48 pm for info on how to get the SDK.
    In order to install this library, you need to create a new Group in the library palette, and then add this file to the directory that gets automatically created to hold this group. The usual location for new groups is:
    C:\Program Files\Adobe\Acrobat 7.0\Designer 7.0\EN\objects\[grpname]
    I hope this helps...
    Howard
    Howard Treisman
    Avoka Technologies
    Specializing in LiveCycle Components and Solutions
    http://www.avoka.com/avoka/qpac_library.shtml

  • Adobe interactive form with ABAP workbench

    Hi Experts,
    Need to know, can we run Online Adobe interactive form using ABAP ( Not webdynpro ABAP or Java) workbench? If so how? and if possible please provide the driver program which run the form & after filling it, it updates SAP data online.
    Regards,
    Nik

    That is possible by using FLM tool. You need to buy it separately. Its an ARCH product. Or if its HR forms then you can use HCM proceess & forms.

  • How to integrate adobe forms using webdynpro-abap

    Hi All,
    How to integarte adobe forms with webdynpro -abap(se80).
    Thanks & Regards
    Suman

    Hi suman,
       First you have insert a element interactive form in the view.
    In the properties of the interactive form you have properties called datasource and pdfsource.
    You have to give the data which you want to display in the datasource throught binding.
    These data you have to get it from the context. For pdfsource it should be xstring.
    There is one more property called templatesource, when you give a name and double click. It automatically goes to SFP and you can create the form of your purpose. While creating it will ask for context. That context will be the same which you have declared in the view or component controller.
    Regards,
    Arun.

  • Validating Input fields in Interactive Adobe Forms with Webdynpro ABAP

    Dear Friends,
    Am new to Interactive Adobe forms with Webdynpro Abap,
    My scenario is, I have few Input fields, i need to handle the Messages when am not entering values in any of the Input Field,
    and raise the message when i click on Save Button.
    I have tried with setting the field as Required in Form itself, but i can't set the Field as Mandatory.
    I don't know how to do, Please give some needed points, as well needed some Script/Formcalc code.
    Thanks,
    Pradeep.

    Hi Pradeep,
    You can validate the fields by using javascript/formcalc logic in onclick event of button.
    Please refer the below links
    Adobe Form -How to make an Input Field Mandatory
    Validate Intercive Adobe Form
    Hope it helps you.
    Regards,
    Rama

Maybe you are looking for

  • Final Cut Pro X crashes on start

    I've been having an issue this morning.  Final Cut crashes as soon as it starts. I was going to delete it and install fresh, however, it won't let me.  Keeps saying the file is locked, even though it isn't.  I've tried a few apps that are supposed to

  • Can you set up Remote app to Apple TV without original Apple TV remote?

    I lost my Apple TV remote, so I tried looking up other ways to control my Apple TV. I found the Apple Remote app, but I can't get it to work. The setup information I found indicates that you have to turn on home sharing on the Apple TV, but that can'

  • How can i remove the yahoo toolbar on the new firefox

    I downloaded firefox 4.0.1 and it automatically installed a yahoo searchengine icon in my toolbar. How can I remove it?

  • AR : How to display Price breakup of Items?

    Hi, Our client wants to capture price breakup of items in the Customer Invoices. Has anyone done this before? How do we do it?

  • Ref cusror

    Hi All What is the difference if i declare rc1 sys_refcursor ; or type rc1 is ref cursor ; When both are weak type cursor(not having return type). Regards, Satya