Trigger an ABAP webdynpro from a  R/3 workflow?

Can we trigger a webdynpro (for ABAP) component from a step in a R/3 workflow?
Regards,
Gajendra.

Hi Raja,
I split the thread as you suggested.
Yes - this subject would make an interesting blog and I hope to get round to it soon if no-one beats me to it - that's a dare :-).
We offered this at the US Teched (BEM250) and it was very popular with good feedback. We're repeating it in Japan, Amsterdam and Bangalore.
I'm not realy sure what is meant by R/3 workflow. Workflow has always been part of the basis and since SAP NetWeaver it has been part of that. It's not a 'product' (the name SAP Business Workflow is a bit misleading in this respect) so there's no separate licensing involved. ABAP Web Dynpro came in SAP NetWeaver 2004s, which is after the R/3 era.
So Gajendra is asking about <i>either</i>
1. workflow  <i>and </i>WebDynpro executing in a NetWeaver 2004s system in tandem with an R/3 (say Release 4.6C) or 
2. workflow <i>embedded </i>in R/3 4.6C calling a NetWeaver 2004s Web Dynpro or
3. workflow and Web Dynpro <i>in </i>a Business Suite application which is build on NetWeaver 2004s (i.e. ERP 2005).
Phew...
Anyway composition 1 is best done using XI. Composition 2 and 3 are both recommended but 3 is the easiest.
The simplest solution:
a) Use the Universal Worklist (UWL) as the inbox.
b) Use table SWFVISU to generate a configuration for the UWL for an ABAP Web Dynpro application (described by Sandy).
c) The Web Dynpro application must expect a parameter called <i>WI_ID</i>. This is the work item ID and is the 'handle' to the process. Within the Web Dynpro you can use this handle to view the process/task context (workitem container) and even modify it. You can also use this to signal that the work item is completed. All of this is done using the SAP_WAPI function modules. (the answer to Raja's question).
I wrote an article which you can access online called 'New Workflow Paradigm ...' in SAP Insider (<a href="http://www.SAPinsideronline.com">www.SAPinsider.com</a>.)
Best regards,
Alan

Similar Messages

  • Call ABAP WebDynPro from norma ABAP

    Dear All,
    I have requirement where i have to call the ABAP Webdynpro application by passing the parameter from the ABAP ,
    Can this be achived.
    Please let me know your views.
    Help is higly appreciated.
    Regards
    Pravesh

    Hi Ajit,
    Appreciate your quick response.
    Well what exactly i am looking is that we have webdynpro application where we have to pass the parameter(s) and this application(WebDynPro) is called from the normal ABAP (on the click ).
    Can you please let me know/share on how to achieve this .
    If possible please share the what class method to use or pseudo program
    Regards
    Pravesh

  • How to trigger Outbound ABAP proxy from PI

    Hi Guru's,
    We have one scenario in which we want interface to be run at 5 minute interval in PI but it has to get data from R/3 via RFC or ABAP Proxy (No file interface). Is there any way to trigger PI interface to get data from R/3 and after mapping send it via AS2.
    Thanks in Advance.

    Hi Gyaneshwar,
    What Phani said is correct. Better you go with ABAP proxy, where you can validate the data with the condition, if fails you can raise an alert mail.
    The code something looks like:
    CALL FUNCTION 'Z_UTL_SENDMAIL'
            EXPORTING
              i_email       = gv_sender
              i_toemail     = ''
              i_subject     = gv_subject
            IMPORTING
              e_return_code = gv_subrc
            TABLES
              it_text       = git_text
              it_emails     = git_emails.
        ENDIF.
      ENDIF.
    There is no option to do it from PI.
    Thanks,
    Edited by: Hareenkumar on Feb 24, 2011 10:08 AM

  • Login pop-up when launching Webdynpro ABAP application from SAP Inbox

    Hello All,
    We have configured our workflow to trigger WD ABAP application from SAP Inbox.
    However when we launch the workitem from SAP Inbox, we are getting a login pop-up screen in IE which prompts us to enter SAP password.
    Can you please help how can we avoid getting that login screen and how the WD ABAP application can single sign on from SAP GUI to IE for that user-id.
    Appreciate all your help.
    Regards,
    Samta.

    Hi Samta,
    You can configure User(RFC) and password for your webdynpro appl'n using SICF tcode.
    Path : /default_host/sap/bc/webdynpro/sap/(your wdp appln)
    Thanks
    Katrice

  • Passing data from report to abap webdynpro

    Hello,
    I'm calling an abap webdynpro from an abap report through CALL_BROWSER MF.
    I need to pass data from a report to a webdynpro. It is a table that I want to pass. I've tried to user memory ids, but as I was suspecting, it doesn't work.
    Is there a way of doing it?
    Thanks and best regards,
    Vasco Brandã

    Hi,
    Please read this thread : Is it possible to pass a table as input parameter to a web dynpro app?
    Regards,
    Pierre

  • ABAP WEBDYNPRO - What is it all about ?

    Hi Guys & Gals,
    I am doing ABAP for last 5 years. Planning to learn ABAP WEBDYNPRO from any SAP education partner. But i don't know JAVA and Classes and Methods(Scared of these).
    1. Can i cope with ABAP WEBDYNPRO ?
    2. Is it more programming or layout design or configuration or what it is ?
    3. How is the scope ?
    Kindly provide as much info as you can. I should decide quickly will it fit for me or not.
    Thanks
    Raj

    Hi Raj kumar,
    Welcome to Web Dynpro for ABAP forum.
    As you said you have good knowledge of ABAP.That is enough to learn WDA.But you should aware of ABAP OO concepts prior learning WDA.No need to think about java classes.
    There are many threads,articles and sap documents to learn Web Dynpro for ABAP.You can easily learn through them.If you have any doubts you can post in this forum to get clarification.

  • How to Trigger a Workflow from ABAP Webdynpro

    Hi All Gurus,
    I have the following urgent requirement, my client is implementing HR and there is a requirement, where is a ABAP Webdynpro component in which we have integrated a Adobe Interactive Form. When the user calls this from through Portal and fills out the relevant data and submits it, a Workflow in the backend ECC system should lauch,
    I am not familiar with, this concept although I have worked in Workflow this is the first time I am interfacind with ABAP Webdynpro and Adobe Interactive From.
    Can you please let me know in steps what needs to be done to make the workflow trigger for my scenario and also the specific settings to be done in the bacckend.
    Regards,
    Pratima Jain

    Hi,
    If you are using HCM Processes and Forms, the Workflow and form are not directly related, thats true.
    But the method in the task calls the corresponding webdynpro application which responds to the action triggered by the user in turn to trigger the workflow and update the data in the HR Master Data.
    There are 3 layers  1. UI (webdynpro which launches Adobe Interactive form based on ISR Framework)
    2. Workflow
    3. Backend framework (used for retrieving F4 helps, default values, save data in the infotypes).
    for more documentation, please refer it on help.sap.com.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/82/b6b94278560c31e10000000a1550b0/content.htm
    hope this helps.
    Best Regards,
    Saujanya.

  • Trigger workflow from ABAP webdynpro and attach an Adobe interactive form

    I have a need to create an ABAP Webdynpro that will upload a completed Adobe interactive form and then route the form to multiple approvers thru workflow.  I am having trouble finding any documentation or examples of passing the Adobe form in the workflow.  Do I have to save the content of every field on the form to an internal table and then have every workitem call an ABAP webdynpro to render the form?  Any help or suggestions would be greatly appreciated.

    Hi Joyce,
    This can be done as follows :
    [pdf as an attachment|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60ff6ad3-729b-2b10-6582-fedc82680a29&overridelayout=true]
    Regards,
    Geet

  • Need to open an ABAP WebDynpro application from Portal UWL work item

    Hi All
    I need some suggessions on how to navigate to an ABAP WebDynpo application iview from a mail(Work Item) in portal UWL.
    Requirement in detail:
    Agreements will be created from portal( Agreement Creation Application is developed in ABAP webDynpro and iview has been created with in the portal for this WD application). as and when the agreement is created a mail (ECC Workitem) should trigger to the approver, who has access to portal and check the mail(Work Item) from the portal UWL.
    The mail body should consist the link to the Agreement created in portal ( Link to navigate to the Agreement Creation ivew).
    So, the main requirement is user should navigate to the Agreement creation iview when he open the mail from UWL.
    Mail can be sent from ECC by using ABAP Function modules or by creating a workflow
    Please advice me on how can we achieve this requirement.
    Thanks & regards
    Vijay Bedamsetty
    Edited by: VIJAY BEDAMSETTY on Apr 19, 2011 5:42 PM

    Hi,
    You can call the iView directly by using NavigationTarget..
    http://myServer:50000/irj/portal?
    NavigationTarget=ROLES://portal_content/myFolder/myRole/myIview
    Plz note that the iView you are calling should be part of a Role.
    And the PCD location of the iView in the Role must be given for Navigation Target.
    Check this URL
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
    Thanks
    Prashant

  • SOFM: Dsiplay method is not working when called from ABAP Webdynpro

    Hi All,
    I want to open an attachment from ABAP Webdynpro.
    I have approached in this fashion:
    1) Get the attachments as SOFM object key
    2) On Click of a link on Webdynpro, I am calling a function module within which I am creating an instance of the SOFM object
    3) Then I am calling the DISPLAY method
    It is not opening.
    But, if it opens when I driectly execute the function module. It open when I directly test the business object.
    Any Idea ?
    Thanks & Regards,
    Deb

    Display Method uses the Dialogue Module, You should not access such methods in web dynpro which are SAPGUI specific.
    Web Dynpro Applications are run in Browser environment which cannot understand Dialog, it can understand only HTML.
    Read the attachments and get the content and use FileDownload UI element to show it to user.
    Abhi

  • Deleting row from table in ABAP webdynpro

    Hi all,
    Can anyone help me regarding deletion of a row from a table in ABAP webdynpro.
    I have written a code like this :
        DATA:
          NODE_STUDINFOSYS                    TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_STUDINFOSYS                    TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_STUDINFOSYS                    TYPE IF_COMPONENTCONTROLLER=>ELEMENT_STUDINFOSYS .
      navigate from <CONTEXT> to <STUDINFOSYS> via lead selection
        NODE_STUDINFOSYS = WD_CONTEXT->GET_CHILD_NODE( NAME = IF_COMPONENTCONTROLLER=>WDCTX_STUDINFOSYS ).
      get element via lead selection
        ELEM_STUDINFOSYS = NODE_STUDINFOSYS->GET_ELEMENT(  ).
    deleting data selected via lead selection
        NODE_STUDINFOSYS->REMOVE_ELEMENT( ELEMENT = ELEM_STUDINFOSYS ).
    *But I am getting an error:*
    Error when processing your request
    What has happened?
    The URL http://hsdnt24s11.hclt.corp.hcl.in:8000/sap/bc/webdynpro/sap/znet310_add_del_sech/ was not called due to an error.
    Note
    The following error text was processed in the system HE6 : The lead selection has not been set. VIEW_ADD_DEL_01
    The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISEELEMENT_NOT_FOUND of program CL_WDR_CONTEXT_NODE===========CP
    Method: PATH_TABLE_GET_ELEMENT2 of program CL_WDR_CONTEXT_NODE===========CP
    Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system HE6 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server hsdnt24s11_HE6_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server hsdnt24s11_HE6_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: SUMANK -l: E -s: HE6 -i: hsdnt24s11_HE6_00 -w: 0 -d: 20081220 -t: 155832 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Can anyone help me???

    Hi Suman,
    this issue seems to be not specific to the FPM. I would like to suggest you to address this problem in the ABAP forum.
    Best regards,
    Thomas

  • How to call a RFC of a remote system from an ABAP webdynpro component

    Dear Experts,
    I am a newbie in ABAP Webdynpro.
    I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
    How do I do that ?? Please help.
    Regards,
    Mamai.

    Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
    And the regarding the method of calling it depends on your FM.
    if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
    if it is simple straight forward RFC you can directly call it.
    for creating RFC service call call use this method
    1. Starting the Wizard
    To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
    workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
    through the creation process.
    Press Continue.
    2. Choice of Controller
    On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
    controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
    global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
    embed service calls in view controllers.
    a. Select radio button Use Existent Controller
    b. Do not change the default entry for component: <CC name>
    c. Enter for controller COMPONENTCONTROLLER
    d. Press Continue.
    3. Service Type and Service Selection
    a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
    destination here. Press Continue.
    b. Select the service: for Function Module enter <RFC name>. Press Continue.
    4. The Required Methods and Context Elements
    On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
    required by the service call as well as to the required methods. The proposed names are based on the names of the
    embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
    box.
    a. Adapt Context: Select from Nodes/Attributes . Press Continue.
    b. Specify Method Name: leave all entries as provided: Component:  Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
    5. Completing the Choice
    When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
    and contexts at your disposal for using them within your Web Dynpro component.
    or if you want to call directly the use the call statement with destination

  • PR05 Transaction Iview from Abap Webdynpro

    Hi,
    From abap webdynpro, on action of one button, i'm calling PR05(Travel Expense Manager) screen by passing the parameters as follows and calling NAVIGATION_ABSOLUTE method:
    BUS_PARAMETER-KEY = 'PTP00-PERNR'.
      BUS_PARAMETER-VALUE = LS_EMPLOYEE_NODE-PERNR.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
      CLEAR BUS_PARAMETER.
      BUS_PARAMETER-KEY = 'PTP1000-REINR'.
      BUS_PARAMETER-VALUE = LS_HEADER_NODE-REINR.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
    It opens PR05 screen, with the correct employee list, but it does not populate the tripnumber and also it should skip the first screen.
    In the IView, i have already given OKCODE='MOD' for change of the trip and also PROCESS_FIRST_SCREEN=YES.
    In the business parameter i try to add for selecting the particular line in the table control of the PR05 screen, but that doesn't work.
      BUS_PARAMETER-KEY = 'PTP1000-MARKER(01)'.
      BUS_PARAMETER-VALUE = 'X'.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
      CLEAR BUS_PARAMETER.
      BUS_PARAMETER-KEY = 'TRIPCHANGEINTERACTIV'.
      BUS_PARAMETER-VALUE = 'X'.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
    So any inputs on how to auto select the line based on the trip number and go directly to particular change trip.

    Hi Alex,
    is there no possibility to open the transaction by calling a link? For example like this way:
    host, port, system, mandant, user, password, tcode (e.g.: 192.168.100.2:6000:xi?mand=300&user=xyz&passwd=xxx&tcode=se16).
    Do anybody other know if there is a possibility doing like this?
    Greetings, Alexander

  • Calling a PP03 BDC  from abap webdynpro throws an exception from the class

    Hi Experts,
    I am calling a BDC FM for PP03 TCPDE form abap webdynpro.
    When i run the standalone FM, it works fine and When called from Webdynpro its giving a dump saying an exception is raised in the class CL_GUI_SPLITTER_CONTAINER.
    Can you please let me know how to resolve the issue? Your siggestions will be of great help to me.
    Thanks,
    Shilpa

    >
    shilpa hv wrote:
    > Hi Experts,
    >
    > I am calling a BDC FM for PP03 TCPDE form abap webdynpro.
    > When i run the standalone FM, it works fine and When called from Webdynpro its giving a dump saying an exception is raised in the class CL_GUI_SPLITTER_CONTAINER.
    >
    >
    > Can you please let me know how to resolve the issue? Your siggestions will be of great help to me.
    >
    >
    > Thanks,
    > Shilpa
    Hi,
    The FM might be calling a dialog or bringing a GUI screen up. This would cause the Webdynpro session to disconnect abruptly.
    Any conversion exit, GUI screen,dialog popup, transaction handling..etc would cause the webdynpro to disconnect. So you cannot use all FM's as it is.

  • Calling an ABAP WebDynpro Popup from a BSP view

    I need to know if the following is possible.
    I have a requirement to call an ABAP WebDynpro Popup from a BSP view.
    When the Popup is triggered (eg via pushbutton) the BSP will pass data to the Popup, before the Popup is closed the Popup will pass data back to the BSP to be displayed in the BSP view.
    I do not want to rely on Portal Events as Portals may not be used, would really appreciate a clean simple solution.

    Hi,
    any webdynpro application has a URL behind it. Haven´t you tried to call that URL with Javascript code ??
    script language="Javascript"
          url = "test_page.htm" + "?field=" + param;
          window.open(url, "F4window", "width=400, height=400");
    /script
    You can pass data to the WD application using parameters as I show you after the "?".

Maybe you are looking for

  • The item contains one or more busy items that cannot be changed

    We have a Windows 2003 file server and we are having issues with Macs retrieving files/folders from it. There is a folder on the Windows share named "dropbin" that UserA has full permissions on. UserB has the following NTFS permissions on the dropbin

  • Error while changing CRM Sales Document in R/3

    Hi All, I have done the download of customizing, condition & business objects in CRM 4.0. Now when I create a sales order in CRM, it gets replicated in R/3. I can see the order in tcode VA03. But when I try changing the same sale order in R/3 using t

  • 10.3.1: System needs a lot of device memory

    Hi, after updating my Z30 from 10.2.something to 10.3.1 I recognized that the System blocks about 6.8 GB of internal memory (Apps: 2.8 GB, User Files: 535 MB taken from device monitor). Any idea why the System needs so much memory and how to reduce t

  • Trying to install Acrobat 9.5.2 update

    I'm trying to install Acrobat 9.5.2 update; when prompted to "choose the copy of AA Pro to update", the file is "grayed".  Any help would be sincerely appreciated!

  • Mapping of Multiple occurences of source field to target

    hi, my scenario is flat file to idoc. my flat file structure is as below: docheader product1 product description1 product2 product description2 in idoc,i need to map product to E1EDP01 and product description to E1EDP19 which occurs inside E1EDP01. n