Portal web dynpro form link as email .

Dear All
The requirement goes like this:
We are developing a form in web dynpro and integerating into portal as an iview.
Whenever the user submits a new form we should send a link of the form in portal to the user as email (with some parameters like form id for the webdynpro to open the correct form)
How can build this link to the portal form dynamically and send it?
As this web dynpro application will be accessed form different portal .I do not prefer hardcoding the host or url etc.
Any help will be greatly appreciated.
PS : Portal and web bynpro are on different system..

I think this should be possible by passing the parameters via URL. You will have a URL created for your webdynpro application. Now add the URL parameters as name-value pairs separated by "&". Send this URL as the email. For example the URL might look like
http://<Static URL to the webdynpro application>&FORMID=1234
Insert the appropriate code in your webdynpro application to read the parameters values from URL. I am not giving the code here as i am not sure if it is WDJ or WDA application but in either case u have separate classes which reads the URL parameters.
As this web dynpro application will be accessed form different portal .I do not prefer hardcoding the host or url etc.
Can you please clarify more on this. Irrespective of your application (WDA or WDJ) i believe there shud be a static URL to access your webdynpro application (atleast a blank application without data).
Thanks,
Prasath N

Similar Messages

  • Submit Web Dynpro form to external URL

    Is there a way to submit a Web Dynpro form to an external url using the POST method?
    I am able to use the onExit plug to pass a URL and submit query string parameters to the external url.  My concern with this solution though is that the query string has length limits in different browsers (IE 2048 chars, etc.).
    Any help/direction would be great.

    Hi
    You can create a html page as a web resource and write an active script in it so that it submits itself.
    I am not sure if it will work. But give it a try.
         StringBuffer sb = new StringBuffer();
         sb.append("<html>");
         sb.append("<head>");
         sb.append("<SCRIPT LANGUAGE="JavaScript">");
         sb.append("function submitForm(){");
         sb.append("document.form.submit();");
         sb.append("}");
         sb.append("</script>");
         sb.append("</head>");
         sb.append("<body onload="submitForm()">");
         sb.append("<form method=post action="Your_Active_Script" name="form">");
          Similarly append body of the form
             Which might include hidden parameters
         sb.append("</form>");
         sb.append("</html>");
         IWDCachedWebResource webResource = WDWebResource.getWebResource(sb.toString().getBytes(),WDWebResourceType.HTML);
         try {
              wdComponentAPI.getWindowManager().createExternalWindow(webResource.getURL(),"Some Title",false).open();
         } catch (WDURLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    Regards
    KK

  • Reg Printing Web Dynpro form

    Hi All,
    I have a View which has Tabstrip UI. The TabStrip contains 4 tabs and each tab has a view in it.
    I want to print the View.
    I was going through a few threads on Web Dynpro form printing. One of options available is using createExternalWindow method. Can anyone tell me what can be the URL of View 1 which is embedded in Window1.
    Regards
    Nikhil Bansal

    Hi Nikhil,
                 If it is default View, then the URL is your apllication URL [what you get in the browser after <i>deployment and run</i>].
    regards,
    Siva

  • Dynamic navigation, on HCM Process and Forms "Web Dynpro FORM"

    Hi,
    I'm trying to solve an issue regarding dynamic navigation, on a enhacement done at the Web Dynpro ABAP QISR_UI component for HCM Process and Forms.
    I'm hiding the Adobe Form, and doing "do_dynamic_navigation" for a dynamic generated view container present at the VIEWSHOWFORM on the QISR_UI component.
    The code works great, i.e.: the Adobe Form remains hidden and the custom form, using Web Dynpro appears.
    I'm also using the HRASR00_PROCESS_EXECUTE_1 component to execute a Portal IView (Floorplan based component).
    When the process is started, and the folowing actions are executed:
    1- Select Employee
    2- Select Process
    3- Edit form
    4- Press back (for example if the wrong process is selected)
    5- Select the Process
    6- Edit form again
    There is a NULL exception, the "embedding_vca" (below) is NULL
    SAPLWDR_RUNTIME_REPOSITORY
    METHOD: IF_WD_RR_VIEW_USAGE~GET_EMB_VIEW_CNT_ASSIGNMENT (LCL_VIEW_USA
    * method IF_WD_RR_VIEW_USAGE~GET_EMB_VIEW_CNT_ASSIGNMENT
      method if_wd_rr_view_usage~get_emb_view_cnt_assignment.
        result = me->view_usage->embedding_vca->get_api( ).
      endmethod.
    "IF_WD_RR_VIEW_USAGE~GET_VIEW_CONTAINER_ASSIGNMENT
    Can you guys give me an hand?
    Regards

    Hello,
    Basically what I did was replacing the Adobe Form, by a Web Dynpro component that contains its own form, and associated logic.
    Tecnically the steps to acomplish the task were:
    1º Development of a component for showing a form. ( I suggest you to start with just a "hello world" or something very basic )
    2º Enhance the QISR_UI component (VIEWSHOWFORM view, on the modify view method), something like
    if form scenario = XXXXX then
    hide the adobe form;
    create a custom view container (the problem I had above), and create an instance of the component created on step 1
    end if
    3º Access the context that the original form returns (you can check the context debugging the VIEWSHORFORM view )
    4º Pass the context to the component created..
    I can't provide further details on this, I'm sorry...
    I do not suggest doing this, this was a requirement so I had to do it... But this requires a lot of workarrounds, and lots of small changes in standard code related with process and forms... It's not, also, a "clean" solution
    Regards,
    Joã

  • Connecting to R/3 System through Java Web Dynpro forms.

    Hi,
    I have a requirement in which I have to send data to R/3
    from Java Web Dynpro screens.
    I will design the Java Web Dynpro screens and write a RFC Model.
    I will write a RFC in se37 which will connect to the RFC Model.
    Before creating the RFC in se37, I will create ztables in se11.
    I will write a ABAP Report to see that all data enters the ztables.
    I need some guidance with regard to this.
    Do, the RFC Model have the access of the ECC(R/3) System.
    What are tasks to be told the Basis guy so, that RFC being called from through Java Web Dynpro?
    Please provide me some documents with regards to this scenario.
    Regards
    Neha Singh

    Hi Neha,
    The steps you provided is clear enough to connect to a R/3 system through the WD forms.
    On creating the model you need to give two inputs such as
    logical system name for model instance
    logical system name for RFC metadata
    there will be 2 default values, also you can create your own JCOs in the <servername>:<port>/devinf of the server or u can ask your basis team also.
    Before creating the JCO , the SLD (System Landscape Directory) needs to be configures, that your basis team will know.
    other than that once you create the functional module in se37 make it RFC enabled , and once you import the RFC model , you can give your ECC system user name and password and search for RFC you have created from the list of RFC.
    Regards,
    Sam Charles J.

  • Problems with Web Dynpro Tutorial "Creating an Email Client Using ..."

    Hello,
    I have a problem with the Web Dynpro Tutorial Number 6 ("Creating an Email Client using Web Dynpro and Web Services"):
    On page 20 of the PDF description of the Tutorial, Step 6 reads:
    "In the view layout, select the UI element EmailFormGroup and then choose the entry Apply Template in the context menu"
    Yet the context menu of the UI element EmailFormGroup does not show an entry "Apply Template".
    Do you have any hints?
    Kind regards,
    Franz-Josef Krämer

    Hello,
    the solution was: it should have said "in the outline view" and not "in the view layout".
    In the outline view, the context menu included "Apply Template".
    So no further responses are necessary.
    Kind regards,
    Franz-Josef Krämer

  • Sending Web Dynpro table contents via Email

    Hi,
    I have a requirement where in I need to send an email from the Web Dynpro Application.
    I am using JavaMail for this purpose. And I am able to send text messages to the required Email Id.
    But my requirement is that I need to send the contents of one of the Web Dynpro table along with the text message.
    Is it possible to send the table contents via mail?
    Kindly let me know if there is any other approach.
    Regards,
    Shilpa B.V

    Hi,
    I don't think there are any methods in IWDTable or the IWDNode which can dump entire data on to something which we can pickup.
    The only way is to iterate through the elements in the node and construct a big string buffer with HTML Table code and include the other part of the mail also in the same string buffer as html. Then set the MIME type of your mail to HTML and send the mail.
    Check sending HTML content via email
    http://java.sun.com/developer/onlineTraining/JavaMail/contents.html#ProcessingHTMLMessages
    Regards
    Srini

  • Problem while navigating the different portal Web Dynpro application

    Hi .
    while navigating from one application to another.
    my IE browser stuck with the error.
    Can't execute the code from the freed script.
    it occurs:
    when i navigate from tree structure 's child to another web dynpro application.
    what to do ...
    Regards

    Hi John,
    How have you added the required jar files. For DC projects you cannot use project properties and add the jar files to the build path (In case you have followed this method).
    You will have to add the public part (i believe it is ejbclient.jar and is generated automatically when you create an EJB DC) of the EJB DC as used dc.
    Regards
    Sidharth

  • Can't connect to a SAP backend system via portal/web dynpro/JCo destination

    Scenario:
         Can't successfully set the JCo destination.. Always got a Java exception..
    Solution:
         Use the router string "/H/sapserv3/S/3296/H/", instead of
    "/H/sapserv3.wdf.sap.corp/S/3296/H/".
         This looks like a bug in portal NW2004s SP9.

    Sorry for the delay, but I was not able to get access to this system until this afternoon.  I ran the ARP command you suggested on the server, and it did return the correct IP and MAC address values for the problem workstation.
    I then ran IPCONFIG/displaydns on the server.  There was a record there for the problem workstation.  The "record name" matched the machine name correctly.  However, the "A <Host> Record" value was for the wrong IP address (192.168.1.4
    rather than the actual workstation IP of 192.168.1.7).  This could certainly explain why I am not able to RWA/RDP to the machine by name, although I can make an internal RDP connection via IP address.
    Could you please tell me what I need to do to repair this problem?  Should I run IPCONFIG/flushdns on the server?
    Thanks again for your assistance.
    John

  • Web Dynpro to link workflow

    Hi,
      I have created webdynpro application for employee cliams. if employee clicks 'SUBMIT' button than a mail should trigger to respective superviosr, The mail triggering should be done with workflow process.
    can anybody please help me what are the steps i need to flow from webdynpro to wrokflow for triggering mail.
    Regards,
    Raj

    DESIGN LIKE THIS
    1. First under the SUBMIT button action call the FM SAP_WAPI_START_WORKFLOW
    2. and Design the workflow  for sending a mail.
    3. Before step 2 make sure you have done all the SCOT configuration settings which are necessary for sending a mail to outlook (if you want to sent to outlook)
    4. if you wan to send  a mail to out look step 3 is necessary else if you want to send a mail to SAP inbox then all you have to insert a mail step in the workflow. and after desiging the workflow copy the workflow ID and pass this ID to the FM in the step1.

  • Why can I not open the web form link in ms outlook

    I copied a link to my web form to ms outlook recipients.  They cannot open the link.

    Are all the recipients using Outlook?  Which version?  Can they open any other web links from Outlook?   Could you send me a copy of the form link to [email protected]?

  • Web dynpro abap beginner

    Hi guys,
    I want to learn WEB DYNPRO ABAP. I have knowledge of ABAP and ABAP OBJECTS. SO please help me out by sending good documents (self teaching) regarding web dynpro abap.
    My email id is [email protected]
    good documents will be rewarded for sure.
    thanks & regards,
    Prasanna

    hi Prasana,
    I have mailed you one pdf. its good for beginers.
    Get screen shot pdf from this page.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9 [original link is broken]
    All the best,
    J.Joe

  • Accessing a R/3 Workflow workitem directly using Web Dynpro Java/ABAP

    Hi,
    I have a requirement for which I am not sure what will be the correct forum to post. But I guess it involves Portal / Web Dynpro so I started from here.
    You can guide me to correct path as we move forward.
    Current Scenario:-
    There is a work-flow prepared in SAP R/3 system which triggers a mail to user with a link to Portal UWL. In UWL, user may select the task and click on it to execute.
    Scenario to be developed:-
    Instead of link in email to UWL, link should directly navigate to work-item in Work-flow.
    Any idea how this can be done?
    Thanks and regards,
    Amey Mogare

    I could make use of a standard SAP Transaction iView.
    Location in portal catalogue:-
    Content Provided by sap --> End User Content --> Standard Portal Users --> iviews --> com.sap.nw.bc.uwl.iviews --> uwl launch sap transaction
    Here is the example:-
    http://<ServerHostPort>/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fevery_user!2fgeneral!2fiViews!2fcom.sap.netweaver.bc.uwl.iviews!2fcom.sap.netweaver.bc.uwl.uwlSapLaunch?System=<system>&TCode=SWNWIEX&AutoStart=true&DynamicParameter=p_action%3DEXECUTE%26p_wi_id%3D<workitemID>

  • Web dynpro beginner

    Hi guys,
                    I want to learn WEB DYNPRO ABAP. I have knowledge of ABAP and ABAP OBJECTS. SO please help me out by sending good documents (self teaching)  regarding web dynpro abap.
                 My email id is [email protected]
    good documents will be rewarded for sure.
    thanks & regards,
    Prasanna

    hi Prasana,
    I have mailed you one pdf. its good for beginers.
    Get screen shot pdf from this page.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9 [original link is broken]
    All the best,
    J.Joe

  • Sitemap Web Dynpro issue

    Hi Experts,,
    As I created an sitemap (I used *navigationMethod="byURL"*) for our client portal. It has both portal pages & web dynpro pages under 4 roles.
    In MasterHead i gave the link to sitemap(I will open in PCD Area.)
    When I click any portal page link in the site map, Its  opening in PCD Area.
    But When I click any Web Dynpro Pages  link an erro is comming as
    " An error occured while starting the iview Application /webdynpro/dispatcher/sap.com/pb/PageBuilder;jsessionid=(J2EE94581)ID035........) will run with a wrong client window ID
    Do not continue: please report this problem to your Administartor" 
    Its comming in an alert box.when i click ok ,
    The page is opeing correctily. But I dont know why the alert message is comming.
    *Note:  Portal Server Version is  7.01 SP6*
    Please help me to resolve the problem.
    Thanks
    Rabin
    Edited by: RabinDhas on Jun 20, 2011 1:17 PM

    If the user is using link from favourites of browser, Ask him to delete it and manually enter the url and Try.
    In my case, The user just deleted the saved link from Favorites and tried entering the url manually,
    though it is weird it worked.
    or else try these  Notes 1450543, 1171930 .

Maybe you are looking for

  • IPod Nano WONT sync audiobooks

    I am using a iPod Nano 5th generation and it wont sync audiobooks. I have restored my iPod twice and still the problems remain. Podcasts and everythign else syncs but audiobooks. Does anyone have any ideas? The audiobooks were downloaded from the app

  • Best way to apply a new ACL to an interface that has a ACL already applied

    Hello All: I am in the process of cleaning up an ASA 5510 that I have inherited and have a question about applying a new ACL to an interface that is working correctly now with another ACL. The main purpose is I want to change the name of the ACL an c

  • Multiple Tell Target Solution ?

    Ok, here's the lowdown. I've got level 20 loaded with a swf that contains about 50 instances of "bola" mc in the Library. I have things loading onto level25 and I would like all the instances on level 20 to "freeze" or their actions to stop running a

  • Help!  Suddenly Getting Static Recording Voiceovers

    Hi All, I just invested in a Presonus Inspire 1394 Firewire Preamp and a Rode NT 1-A microphone for voiceovers, and have been recording voiceover video soundtracks in GB3 for several hours without incident, when suddenly I'm getting heavy static on a

  • Since IOS 7 downloaded the location services option is frozen

    Since the processor upgraded from IOS 5 to IOS 7, the location services option button is frozen. How can I unfreeze this?