Call a Webdynpro ABAP from a workflow step

Hi,
I have to develop a workflow where we have a step for decision,  this decision have to open a webdynpro and retrieve info to workflow again.
This is possible ?
Thank you in advance.
Miguel Silva

Hi Miguel Silva,
This is possible, the T code SWFVISU is used to integrate the Workflow decision task with Webdynpro.
In Webdynpro you will receive the WorkitemID  as parameter. Then based on Workitem id you need to fetch the data.
Use the below function modules to fetch the data in webdynpro based on workitem ID.
  1)  'SAP_WAPI_READ_CONTAINER'
  2)  'SAP_WAPI_GET_OBJECTS'
Regards,
Chandra,

Similar Messages

  • Calling a WebDynpro application from a SRM Badi

    Hi - I will like to call a WebDynpro Abap application from Badi/method IF_EX_BBP_SC_MODIFY_UI~SC_MODIFY_SCREEN in SRM. The purpose is to force certain users to put in som "standard" values to be used in the following steps in the purchase procedure. As it not possible to use ordinary Abap POPUP functions modules I have made a small WebDynpro program to do the wanted function. But when I start the url with CALL FUNCTION 'CALL_BROWSER' or CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE the return code indicates a frontend error from ITS.
    Is there any way that I can get over this error and start my WebDynpro from a Badi in SRM?
    Or is there maybe another way to send a POPUP for information to the internet user?
    Thank you in advance:
    Bg Steen Pedersen

    Hi Radhika
    Have used fm WDY_EXECUTE_IN_PLACE to start my application. Bu I still get errors as shown below. Do you have any idea of the problem?  
    Følgende fejltekst blev behandlet i systemet SRD : Template interpretation failed. Template does not exist.
    Fejlen forekom på applikationsserver SAPSRMUDV01_SRD_00 og i arbejdsproces 0 .
    Afbrydelsesart var: RABAX_STATE
    ABAP-kaldhierarki var:
    SYSTEM-EXIT of program SAPLWDY_PRGN_NODES
    Function: WDY_EXECUTE_IN_PLACE of program SAPLWDY_PRGN_NODES
    Method: IF_EX_BBP_SC_MODIFY_UI~SC_MODIFY_SCREEN of program ZCL_IM_BBP_SC_MODIFY_UI=======CP
    Method: IF_EX_BBP_SC_MODIFY_UI~SC_MODIFY_SCREEN of program CL_EX_BBP_SC_MODIFY_UI========CP
    Form: SC_UI_MODIFY of program SAPLBBP_SC_UI_ITS
    Function: BBP_SC_UI_ITMCHOICE_SCENARIO of program SAPLBBP_SC_UI_ITS
    Form: LINKS_DEF_SCREEN_SET of program SAPLBBP_SC_UI_ITS
    Form: UI_SCENARIO_SET of program SAPLBBP_SC_UI_ITS
    Form: APP_INIT of program SAPLBBP_SC_UI_ITS
    Form: WIZARD_INIT of program SAPLBBP_SC_UI_ITS

  • How to call a Webdynpro view from BSP page (MVC) in a new window?

    Dear Experts,
    kindly advise how to call a webdynpro view from BSP application after performing an event (through button or hyper link).
    Regards,
    Sarat.

    Hi,
    This has been discussed many times in several forums.
    Please check the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL, to create a runtime url for your WD Application and call this URL.
    Refer thread: Call Webdynpro Application from BSP Application
    Hope this will be useful!
    Regards,
    Meganadhan S

  • How to call a function module from a workflow ? ?

    hi all,
    i have to call a function module from an workflow, i got a hint from someone that i have to enhance an object and then write and methode, in this methode i can call that function module. I dont know even how to go for it.
    Can anyone suggest that how to go for it ?
    thanks.
    raman khurana.

    Hi Raman Khurana,
    Please  go through the links it might be helpful , notsure
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4af8b453d11d189430000e829fbbd/content.htm
    http://www.abapcode.info/2007/07/standard-function-module-text.html
    http://it.toolbox.com/wiki/index.php/SAP_Workflow
    Regards,
    Sreekar.Kadiri.

  • Calling A Webdynpro Application From Another Webdynpro Application

    Hi,
    i want to call a webdynpro application from another webdynpro application with sending parameters.
    i used this method,
    CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = lv_webapp
        IMPORTING
          out_absolute_url = lv_url.
    CONCATENATE lv_url '?param1=' lv_param INTO lv_url.
    data lo_window_manager type ref to if_wd_window_manager.
    data lo_api_component  type ref to if_wd_component.
    data lo_window         type ref to if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->CREATE_EXTERNAL_WINDOW(
        URL = LV_URL
    lo_window->open( ).
    but this method shows the parameters on the address bar.
    is there a method to send the parameters to another webdynpro application without show the parameters on the address bar?
    Can somebody help me pls?
    Thanks.

    I've used a server cookie before. This was built for BSP, but it is really usable anywhere.  It just writes the data temporary into the database.  This way you can just pass one meaningless URL parameter - like a GUID and use this key to read the data (the server cookie) upon initialization of the new application.  I generally serialize all the data that I want into one server cookie by serializing a class. I can then restore whatever attributes of the class that I want on the receiving side.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/4cd23a09313b37e10000000a11405a/frameset.htm

  • Call a Shell Script from a workflow

    Hi,
    I need to call a shell script from a workflow. How can I do this.
    If the script takes any input, How can I pass that input to the script
    and call the script in the workflow.
    Suggestions are needed.
    Thanks,
    Pandu

    Hi ,
    I am executing the following java code :-
    import java.io.BufferedWriter;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    public class SetPermissions {
         * @param args
         public void runCmd()
              System.out.println("inside runCmd()");
         Runtime r = Runtime.getRuntime(); //get runtime information
         try
         Process Child = r.exec("/bin/sh") ; //execute command
         System.out.println("child process created..");
         BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
         outCommand.write("test.sh");
         System.out.println("command executed..");
         outCommand.flush();
         Child.waitFor(); //wait for command to complete
         System.exit(Child.exitValue());
         catch(InterruptedException e)
         { //handle waitFor failure
         System.out.println("ERROR: waitFor failure");
         System.exit(10); //exit application with exit code 10
         catch(IOException e)
         { //handle exec failure
         System.out.println("ERROR: exec failure"+e);
         System.exit(11); //exit application with exit code 11
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              SetPermissions setPer=new SetPermissions();
              setPer.runCmd();
    The shell script test.sh is changing the access permissions for a particular folder on Unix server. The code is not exiting , and the acces permissions on the folder are also not changing.
    If I execute the shell script directly , the access permissions gets changed on the folder. Please let me know the possible cause for this.

  • Hyperlink to launch webdynpro abap from workflow

    Hi Guys,
    We have developed WORKFLOW where we need to send HYPERLINK along with WORKITEM to the AGENTS.
    When ever the user(AGENT) clicks on the HYPERLINK we need to launch our WEBDYNPRO ABAP APPLIOCATION.
    Please guide me to achieve this scenario.
    Thanks&regards,
    Harsha P

    Hi
    I think you have to check the below points  as Karri has suggested you some good points, and still if you face some issues then
    1. Make sure you have made the workitem ID as URL parameters.
    2. You should be able to access the URL parameters from Default method of the Window.
    3. Make sure the URL that you are generating is correct , by looking at URL I felt like some thing is missing, like if you have observed the url of any webdynpro applicaiotn it may be some thing like
    https://<domain>.50000/sap/bc/webdynpro/....   and this is purely my guess so make sure th URL you are populating is correct.
    @Rick
    Why do you keep saying "kemp" when the sign-off is "Karri"?
    May be you should concentrate on suggesting some thing useful regarding thread issue, rather than how the others signature is or suggesting something how to call or address the other forum participants.  Its just a suggestion....
    Don't mind its just a friendly advise.
    Regards
    Pavan

  • How to call Webdynpro ABAP from Widget

    Hello guys,
    I want to add an icon to my widget with a link to a webdynpro ABAP application.
    However, the link is dependent on the system the user is accessing.
    So, I'd like to know if it's possible and what's the best method to do it.
    1. is it possible to call a Transcation or a RFC that calls a WebDynpro from the Widget?
    or
    2. is it possible to retrieve the Widget's default system parameters and assemble the Webdynpro URL dynamically?
    Any more ideas?
    Thank you and best regards,
    Henrique.

    up.
    Henrique.

  • Calling JAVA webdynpro applications from SAP Business workflow

    Experts,
    Is it possible to call JAVA webdynpro application as a task from SAP Business workflow? If yes, please pass on any links to relevant documents.
    Thanks,
    Deepak

    Hello,
    You would probably want to use UWL in the portal. From UWL you can launch tasks from portal, and with proper configuration (for example with the help of transaction SWFVISU) you can easily start web dynpro applications from UWL.
    I suggest you go trough the SAP documentation about UWL. Start for example here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/39/a1bb5c4c0d4ab4a417e87ef35f1efa/frameset.htm
    Regards,
    Karri

  • CALL A WEBDYNPRO JAVA FROM ABAP

    From the abap code of the transaction BBP_BID_INV i want to call a webdynpro java that shows a table´s content, that is the main problem , anyone has any experience with this?
    Can i use portal eventing with epfc?, or bapis? maybe badis? object navigation though the pcd?
    Whatis the best option?
    Cheers.
    R.Cabrera.

    Hi,
    And as you said it Java Webdynpro application, it should be possible to generate the URL for the Application at runtime.
    I also haven't tried, but it should work. Please let me know if LinkTOURL doesnt suffice, we can try and check if it works.
    Thanks,
    Anand

  • Calling a webdynpro ABAP component from a BSP...

    We have a BSP application. On which we have a tab strip control. Upon clicking on one of the tabstrips, is there a way I can launch and display an output from a webdynpro ABAP component?
    Any ideas will be appreciated.
    Thanks
    - Sekhar

    Raja,
    I tried get the iframe tag
    <IFRAME NAME="Frame1" SRC="your_web_dynpro_link.htm" >
    </IFRAME>
    with the SRC = "<the URL from the web dynpro application>"
    Did not work. I am sure I am doing something wrong. In fact it did not work even for a BSP application.
    Any ideas anyone?
    Thanks
    - Sekhar

  • How to call web dynpro ABAp application into workflow

    Hello All,
    How to call webdynpro application into workflow .Is it possible ?
    Scenario is : A web dynpro application should flow into 3 levels of approvals .
    Please share your knowledge .
    Thanks
    Sonal

    >
    Saurav Mago wrote:
    > hi,
    > I dont think from workflow , you can call WD application. 
    >
    > Thanx.
    Actually you can configure a workitem to launch WDA via UWL ( http://help.sap.com/saphelp_nw70ehp1/helpdata/en/59/d516690e854c7090ae15bf492a869f/frameset.htm ) or in the NetWeaver Business Client using the Business Workflow Workplace (WDA Application SWF_WORKPLACE).
    There is also a chapter in the upcomming SAP Press 2nd edtion workflow book on different aspects of Web Dynpro ABAP integration into Workflow:
    http://www.sappress.com/product.cfm?account=&product=H3057

  • Webdynpro abap from outside

    Hi Folks,
    I have created a webdynpro abap and it works very well, when I call ist from the application server or inside the network.
    Now I want to call it from outside and I get error " can not display the page".
    The url from inside  is http://server.sap.com:8002/sap/bc/webdynpro/sap/wdt_master_detail?sap-language=DE
    and from outside http://server.sap.com:8002/sap/public/myssocntl?sap-client=001
    I have started all the services.
    Do I have still to configure something?
    Thanks for help.
    RG. Jimbob

    Hi.
    Im new to this Forum but i have the same Problem.
    I cannot open the ABAP WEBDYNPRO from Outside of my network.
    Configuration
    - Apache reverse proxy in DMZ (running well)
    - EP 7.01 in DMZ
    - ABAP SOLMAN in local Network
    I can access the Portal from Outside (http://service.myportal.de/irj) and use it. But if I open a iView with ABAP Webdyndpro i receive the Error "Page cannot be found".  Looks like that the iView try to open the internal URL from SOLMAN.
    What can I do to solve this problem.
    Thanks for any Idea.
    Regards
    Sven

  • Call enhancement class method from Bus. workflow task

    Hi all,
    I recently enhanced a global class from SAP (add a new method). Now I would like to call it from a workflow task (ABAP Class object used in the task). So it seems that only "native" methods from the class itself can be selected for the object method of the task.
    Same issue if I try to call it via secondary methods options...
    Last idea I have before the repair is: retrieve the instance saved into the WF container via a custom class interfacing IF_IFS_SWF_CONTAINER_EXIT (program exit) and call the enhanced method from the method proposed in this interface.
    Maybe someone had the same issue? Anyone could help or propose solution?
    Many thanks in advance for your help,
    KR,
    Olivier

    I think it might qualify for an OSS message.
    There was simmilar note for BADIs which was corrected: https://service.sap.com/sap/support/notes/1156392
    CL_SWF_UTL_DEF_SERVICES which is used in PFTC to determine callable methods doesn't include enhancements when calling  function SEO_CLASS_TYPEINFO_GET (parameter WITH_ENHANCEMENTS is default FALSE)

  • Create BRF object and call in Webdynpro ABAP

    Hi,
    can you please let me know how can i create BRF obejects and call them in webdynpro ABAP in WDC.
    Thanks,
    Mahesh.Gattu

    Hi Sachin,
    I am new to BRF,and i went through the BRF documents which are provided in Help.sap.Now my requirement is ,I have an webdynpro screen to create a policy number.When i click on Save all the fields should be validated through BRF.Being new to this environment,i need a start up help to achieve this.Please let me know the steps to validate the fields in webdynpro.
    Thanks
    Naresh Bammidi

Maybe you are looking for

  • Search on the custom field in Product doesn't work

    Hello everyone! Lately I was configuring additional custom field for product header and succeed. Then I wanted to add this field as a search criteria for product search and I followed help on help.sap.com and note 1026956. Here are the steps I did: 1

  • CMS SCA imports fail & CBS error while activating

    Hello!!! I am trying to setup the JDI process for scenario 2+ or 3. The JDI is running on the DEV system and SLD is altogether on a different system(Here the installation and configuration of JDI & SLD was carried out by an admin). So I started imple

  • NoDefException: Definition CostProfile of type Attribute is not found

    Hi All, I have a StdCostVO based on StdCostEO and I'm getting this error suddenly in my AM tester (was running fine earlier today): oracle.jbo.NoDefException: JBO-25058: Definition CostProfile of type Attribute is not found in __LOCAL_VIEW_USAGE_orac

  • Installation of adobe cs 6

    I am trying to download adobe cs6 to my new computer.

  • EPrint registration NOT WORKING in HP Laserjet 200 M276 PCL6

    I bought this printer and its only to be able to print on the move, but the ePrint Web service or better enabling the same does not want to work. The printer is the HP LaserJet 200 colorMFP M276nw PCL6, the serial number is CNF8G6S398, the computer s