Where Web Dynpro Java version of Adobe Forms are used in ESS MSS

Hi, SDN Expert.
I am working on research the use of Adobe Interactive Forms in the current processes of HCM ESS MSS.
We are on ECC5.0, EP7.0, and ESS MSS SP21. We are in the midst of upgrading to ECC6.0.
Do you know where Web Dynpro  Java version of Adobe Forms are used in ESS MSS are used? OR are they all in Web DYnpro ABAP version in ECC6.0?
Thanks,
KC

Sergio,
FYI.
I am trying to see how the form I design/modify in TCode: SPF are working together to these piece of codes I found in NWDI WD4J pcui_gpisrsap.com --> VcISRShowForm DC --> ShowForm view:
public void wdDoInit()
    //@@begin wdDoInit()
          InteractiveForm form =
               (InteractiveForm) ((View) wdThis.wdGetAPI()).getElement("IsrForm");
          form.setDynamicPDF(true);
          form.bindPdfSource((IWDAttributeInfo) null);
    //@@end
public static void wdDoModifyView(IPrivateShowForm wdThis, IPrivateShowForm.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
    //@@begin wdDoModifyView
          logger.pathT("Entering: wdDoModifyView");
          // Dynamic context generation
          // Bind context
          if (wdContext.nodeNewGenericChildNodes().size() > 0) {
               if (wdContext.currentContextElement().getContextToBeReset())
                    wdContext.nodeData().getContext().reset();
               IWDNodeInfo genericNode = wdContext.nodeData().getNodeInfo();
               IWDNodeInfo origNode =
                    wdThis
                         .wdGetVcISRShowFormController()
                         .wdGetContext()
                         .nodeGenericNode()
                         .getNodeInfo();
               IWDNodeInfo childNode;
               IWDNodeInfo deepChildNode;
               for (int i = 0;
                    i < wdContext.nodeNewGenericChildNodes().size();
                    i++) {
                    childNode =
                         origNode.getChild(
                              wdContext
                                   .nodeNewGenericChildNodes()
                                   .getElementAt(i)
                                   .getAttributeValue("name")
                                   .toString());
                    deepChildNode = childNode.getChild("DATA");
                    genericNode.addMappedChild(
                         childNode.getName(),
                         null,
                         childNode.isSingleton(),
                         childNode.isMandatorySelection(),
                         childNode.isMultipleSelection(),
                         childNode.getPathDescription(),
                         false,
                         true);
                    genericNode.getChild(childNode.getName()).addMappedChild(
                         deepChildNode.getName(),
                         null,
                         deepChildNode.isSingleton(),
                         deepChildNode.isMandatorySelection(),
                         deepChildNode.isMultipleSelection(),
                         deepChildNode.getPathDescription(),
                         false,
                         true);
                    genericNode
                         .getChild(childNode.getName())
                         .getChild(deepChildNode.getName())
                         .addAttributesFromDataNode();
          // Avoid another context generation - all context have been generated
          wdContext.nodeNewGenericChildNodes().invalidate();
          InteractiveForm form = (InteractiveForm) view.getElement("IsrForm");
          //Set the template source of the form (if necessary)
          if (wdContext
               .currentIsrParamsElement()
               .getSetTemplateSourceNecessary()) {
               form.setTemplateSource(
                    wdContext.currentIsrParamsElement().getTemplateSource());
               wdContext.currentIsrParamsElement().setSetTemplateSourceNecessary(
                    false);
          logger.pathT("Exiting: wdDoModifyView");
    //@@end

Similar Messages

  • Logging in a custom file (Web Dynpro Java Version: 7.0.11)

    Hi all,
    Is it possible to redirect the logging (no matther by Category or Location) to be written in some custom log file, not to the one big general log?
    And if so, please hint me how to do it.
    I will be very grateful if you don't send me links but just some short, simple explanation! I have already read as many links as I can
    Thanks,
    Ogy

    Hi Ognyana,
    I have also come across such a scenario. Can you please provide the solution found by you for the same.
    Thanks in advance!
    Rgards,
    Manish

  • About Adobe Form and Web dynpro Java development

    Hello experts,
    We had  a requirement to display different Adboe Forms dynmaticlly in Web dynpro Java application.
    There is only one Web dynpro Java application, but 10 Adobe Forms . If user "a" access the application ,display form 1 ; if user "b" access the application , display form 2 ;  if user "c" access the application , display form 3.... just like this.
    There are about 30 fields in BAPI which Web dynpro Java application called . Form 1 mapping to field 1 to field 3, Form 2 mapping to field 4 to field 6, Form 3 mapping to field 7 to field 9 ....
    Is it possible ? If it is possible , could you please give me a solution ?
    Thank you in advance !
    Best Regards,
    Louis

    Siva,
    I referred to the website, but still having issues with generating tables in Adobe Form. I can get all the table rows in the adove form, but the pdf doee not add new pages to display all the table rows. It just createa one page with the table inside it, display few of the rows and truncates rest of the table data.
    Here is the heirarchy of the page with the properties set
    Master Pages ---
            ||--> Page 1
                     ||--> content area
                     ||--> subfrom (properties:: Content - Flowed / Flow direction - top to bottom...pagination tab is greayed out completly)
                                ||--> Table
                                          ||--> HeaderRows (Object: Row - Type: Header Row)
                                          ||--> Row1 (Object Tab/Binding: Repeat Row for each data item - checked)
    Can't make it wor, not sure what's wrong here
    I am using NDS 7.0 SP18 and Adobe LiveCycle 8.0. Does that could be a problem.
    Appreciate your help
    John

  • Use loadrunner to test Web Dynpro Java Application

    Hi Gurus,
             I'm using Loadrunner 11.0 to do load test to Web Dynpro Java Application. At first, I used web(http/html) protocel script, and I could record the whole business process successfully.  But the script seems very hard to understand. For example, the following script is so complex.
    After this, I tried 'SAP Click and Script'. At this time, loadrunner only record my logon action, while my business operation was not recorded in the script.
    "Body=sap-ext-sid=nYCksrUa3nHq2NIwTPpTKg--LpNoVBU_d2sS7nCHLaG*qQ--&sap-wd-cltwndid=WID1411644055966&sap-wd-norefresh=X&sap-wd-secure-id=kNh-egwklSanOHIGRb7-eA%3D%3D&SAPEVENTQUEUE="
      "ComboBox_Select%EE%80%82Id%EE%80%84aaaa.App_Property_FormCompView.ANLKL%EE%80%85Key%EE%80%84FA040%EE%80%85ByEnter%EE%80%84false%EE%80%83%EE%80%82ClientAction%EE%80%84submit%EE%80%83%EE%80%82urEventName%EE%80%84COMBOBOXSELECTIONCHANGE%EE%80%83%EE%80%81Form_Request%EE%80%82Id%EE%80%84...form%EE%80%85Async%EE%80%84false%EE%80%85FocusInfo%EE%80%84%40%7B%22sFocussedId%22%3A%20%22aaaa.App_Property_FormCompView.ANLKL%22%7D%EE%80%85Hash%EE%80%84%EE%80%85DomChanged%EE%80%84false%EE%80%85IsDirty%EE%80%84fal"
      "se%EE%80%83%EE%80%82EnqueueCardinality%EE%80%84single%EE%80%83%EE%80%82%EE%80%83",
    Could anyone give me the clue or materials about WDJ load test using loadrunner? Thanks very much
    regards.
    zhihua

    Hi Zhihua,
    First delete all the cookies from your browser.
    Close all the internet sessions which are opened in your system. During your script recording
    Open only 1 session which you will be recording for java script.
    The above mention log is the cookies from the internet explorer.
    its of no use for the script you can even delete from the script.
    Regards
    Mohammed

  • Problems with Adobe PDF forms in Web Dynpro Java

    As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
    1.Text getting wrapped and repeated from the first line :
    Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
    For eg:
    If I have 4 lines in a text field that is at the end of the page
    1111111111111111111111
    2222222222222222222222
    3333333333333333333333
    4444444444444444444444
    and the page holds space for only two lines it prints the lines
    1111111111111111111111
    2222222222222222222222
    in the first page and then proceeds to the next page and prints
    1111111111111111111111
    2222222222222222222222
    rather than printing
    3333333333333333333333
    4444444444444444444444
    2.No way to hide a page at runtime:
    It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
    Any pointers on this????????
    Helpful answers will be suitably rewarded with points!!!!

    Yes,I am using the versions that you mentioned.
    I have a node called <b>MasterData</b> which is the root node for my PDF Form.I have a node called <b>GenData</b> inside this node whose <b>ctx_Appraisal_Type_Num</b> attribute is bound to a hidden TextField in my form.In the <b>docReady</b> event of this TextField, I am writing the following FormCalc script to hide my SubForm whose Id is <b>MngrCmptnc</b>
    if(MasterData.GenData.ctx_Appraisal_Type_Num == "2")
    then
    MasterData.MngrCmptnc.presence = "visible"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "visible"
    MasterData.StrImp.presence = "visible"
    else
    MasterData.MngrCmptnc.presence = "hidden"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "hidden"
    MasterData.StrImp.presence = "hidden"
    endif

  • SUBMIT(to SAP) Button in Adobe Interactive Forms (Web Dynpro Java)

    Hi ,
    I m using Adobe Interactive Forms with Web Dynpro Java
    But submit to SAP button is not working
    i m using NWDS 7.2 with adobe lifecycledesigner 6.0
    with adobe reader 9.0
    when i click submit to SAP button in interactive form nothing happens and
    data is not transfered into web dynpro Context
    Can anybody help me out................

    Hi Adi,
    The evniorment and versions you posted seems to be quite scattered, make sure all are of compatible and to the lates.
    Anyways this was not the reason for your problem.
    Can you tace if the button click event is triggered ....?
    1) when the PDF is published can you see any of the fields editable...? reason behind is generally when you create a form in ADLC it comes up in static PDF format if its so you need to make it dynamic.
    I dont know if adding the webdynpro script to your form might fix.
    Regards,
    Sai

  • Adobe forms in web dynpro java

    hi
    I am working in adobe interactive forms in web dynpro java .I want to use File upload and Download option in adobe interactive form .Can anyone please help me out.
    The submit button is also not working.Can anyone tell me the right code or pdf's related to above two problems.

    Hi,
    Please have a look at this blog,
    /people/amit.rai4/blog/2008/02/01/demystifying-attachments-with-sap-interactive-forms
    Regards
    Saravanan K

  • Adobe interactive forms in web Dynpro java

    Hi Everyone,
    I am new to webDynpro development and as I am working on Interactive forms, I need pdf's and related materials for the same.
    I mean pdf's for how to create Adobe interactive forms in web Dynpro java.
    Thanks in advance.

    Go Through the following document.
    It will give you good overview.
    Interactive Forms-->Functionality
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
    Cheers
    Satya

  • Web Dynpro Java and Adobe Interactive forms Which Tool Should I Use?

    Hello Experts,
    Can anyone help me with deciding the right technology to use among WDJ and Interactive form by adobe. I want to prepare a presentation to showcase the strong and weak points in order to decide the final technology.
    Thanks in advance for the help.

    I personally prefer Web Dynpro Java without Interactive forms in most cases.
        Interactive forms are developed on top of Web Dynpro, so you are including an extra tier with the complexity it adds.
        PDF files tend to go big and performance tends to go down. In average, my forms weight between 1 - 5 Mb so network traffic is a bottleneck.
        The scripting environment is very poor.
        On the other hand PDFs interfaces are nicer than WDJ, but I think navigation is worst in part because of the performance issues. Considering this, reporting could be a good use of Interactive Forms.
        The best scenario for using Interactive Forms is for off-line applications, which can't be done with WDJ. For example, if you want your customer to fill an order list, you can send automatically an offline pdf file wich he can fill and submit to your company, initiating a bpm.
    Best regards, Aldo.

  • Display sapscript form in Web Dynpro Java

    Hi,
    Is it possible to print an existing sapscript form i.e. PO from ECC to my Web Dynpro application? I have successfully created a Web Dynpro Java application to create POs but now have a requirement to display or print the PO?
    Can someone provide me with a sample code? I'm hoping to be able to do this without using Adobe.
    Again, thanks for all your help.
    Best regards,
    Jaypee

    Hi mark,
    Without Adobe also u can display PO order.
    Below is the code to open a HTML window from WDJava, with data from WDJava...
    Inside DoInit()
    IWDAttributeInfo attr1 =
    wdContext.getNodeInfo().getAttribute("htmlfile");
    ISimpleTypeModifiable mtype1 = attr1.getModifiableSimpleType();
    IWDModifiableBinaryType btype1 = (IWDModifiableBinaryType) mtype1;
    btype.setFileName(attr.getName() + ".html");
    btype.setMimeType(WDWebResourceType.HTML);
    _contentType = mtype;
    Where htmlfile is a context attribute of type binary... and do a global declaration like this
    ISimpleTypeModifiable _contentType = null; (This declaration can be done at the end of your view's coding between Begin Others and End Others)
    Now,
    inside on action print
    public void onActionPrintData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String videoName )
    //@@begin onActiondisplayVideo(ServerEvent)
    byte[] content = new byte4028;
    try {
    content = this.displayPrint().getBytes("UTF-8");
    wdContext.currentContextElement().setHtmlfile(content);
    wdContext.currentPrintElement().setAttrUrl(
    _contentType.format(content));
    //Where content is loaded with data from displayPrint() method, which is holding the HTML *page to be displayed to the user *
    IWDWindow win =
    wdThis
    .wdGetAPI()
    .getComponent()
    .getWindowManager()
    .createNonModalExternalWindow(WDWebResource
    .getWebResource(content, WDWebResourceType.HTML)
    .getURL(),"ShowVideo");
    win.setWindowSize(445,460);
    win.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
    win.removeWindowFeature(WDWindowFeature.TOOL_BAR);
    win.removeWindowFeature(WDWindowFeature.MENU_BAR);
    //win.open();
    win.show();
    // wdComponentAPI.getMessageManager().reportSuccess("444444444444");
    } catch (Exception e) {
    wdComponentAPI.getMessageManager().reportException ("Unable to open window"+e,false);
    //@@end
    Now finally, design your HTML Page inside the method displayPrint() like this
    public java.lang.String displayPrint( java.lang.String strVideoName )
    //@@begin displayPrint()
    String htmlcontent=null;
    htmlcontent="content what you want to show in print window";
    use script inside the html content to do a print... like window.print();
    return htmlcontent;
    //@@end
    Regards,
    Sunaina Reddy T

  • InteractiveForm UI Element in Web Dynpro Java - Image not displayed on form

    Hello Experts,
    Using: NetWeaver Developer Studio 7.0.1_06; Adobe Livecycle Designer 8.1.
    I have an image "image.png" in my src/mimes/components/com.mm.InteractiveFormComp folder within my web dynpro java project.
    I load the image into my context in wdDoInit method in the comp controller:
    wdContext.currentContextElement().setImage("image.png");
    In the interactiveform I have an ImageField on the form and have set its properties as follows:
    Field - URL = http:[host]:[port]/webdynpro/dispatcher/InteractiveFormComp/src/mimes/components/com.mm.InteractiveFormComp/image.png
    Field - Embed Image Data = "checked"
    Binding - Default Binding = Image
    However, no image ever shows up on the form. I have also been through many threads in the forums but havent found a solution. Can anyone please assist me?
    Regards,
    MM.

    Hello,
    I tried using jpg and bmp. Didn't work.
    Any other suggestions?
    Regards,
    MM
    Solved it!
    Edited by: Marshall Mathers on Mar 9, 2011 9:53 PM

  • Problem when generating an non-interactive form in Web Dynpro java.

    Hi,
    I'm trying to create a PDFDocument using a creation context in java. Everything works fine when the Interactive property of the creation context is set to true. When I change it to false however, the Web dynpro application hangs and eventually throws the following exception:
    java.net.SocketTimeoutException: Read timed out
       at java.net.SocketInputStream.socketRead0(Native Method)
       at java.net.SocketInputStream.read(SocketInputStream.java:129)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
       at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
    I'm wondering why this exception occurs when i'm generating a non interactive form and never appears when i'm generating a form with the Interactive property set to true.
    Any ideas?
    Edited by: Arjan Nieuwenhuizen on Feb 25, 2008 3:24 PM

    Yeah I know changing the form properties will solve my problem, but since i'm developing a training for Interactive Forms in Web Dynpro Java, I wanted to figure out why the (static / non-interactive) combination didn't work, turned out to be a template problem, which i still didn't figure out, except the fact that having flowed content on your template is not the problem.
    My ideas about your question:
    When we have the layout of an Interactive Form, its clear if it's meant to be static or dynamic, we don't know however, if it's interactive or non-interactive.
    I don't think we can judge a layout to have an Interactive or non-interactive purpose, can depend on the situation in which the same form is shown/used:
    - One moment it can be interactive, e.g. user is filling in the form, can enter data etc.
    - Next moment it can be non-interactive, e.g. form is shown to another user.
    So it's more the scenario/situation that determines if the form is interactive or non-interactive.

  • Adobe Flash Islands + Web Dynpro Java - CE 7.1 EHP1

    Hi All,
             I am currently working on flash islands in web dynpro java(CE 7.1 EHP1  Trail version). i have done some sample projects in Flex Builder and using the complied(Flex Complier 2.0) SWF file, i was able to do data transfer between web dynpro java and Flex component. every thing works fine till this but if i complie the flex project using Flex Complier 3.0, i am able to see the Flex component rendered in web dynpro java, but data transfer dosent work.
    i have checked few thread in SDN and came to know to use WDFlashIsland30.SWC library to complie using FLex Builder 3.0.
    i got this library and complie the Flex Component using Flex Complier 3.0 and placed this WDFlashIsland30.SWC in server also but the problem exists .... the complied Flex Component is getting reddered in web dynpro java but the data transfer is not happening ???
    what could be problem ???
    1.  Is it enough to place the WDIslandLibrary30.swc libraby in CE 7.1 EHP1 version for data communication between Flex and Web Dynpro Java if so what could be the problem ?
    2. Or do i need update the Server ???
    Thanks and Regards,

    HI,
    your issue is completely independent from the server, it's a pure client problem. In general Web Dynpro Java does not care which Flex version you used to compile, as long as you used the right library.
    If you did not change anything else it should work. Are you sure you replaced the used library and changed the source-code-compliance before recompiling?
    Kind Regards,
    Carl Heckmann

  • Adobe Flash Islands for Web Dynpro Java

    Hi,
    How to create Adobe flash island component.
    How to integrate Adobe flash Island Component into Web Dynpro Java ?
    Regards,
    Krishna Balaji T
    Edited by: krishna balaji on Nov 13, 2008 8:00 AM

    hi,
    Check out this link. It will give you an idea how to integrate Aobe island comp with web dynpro.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480
    Thanx.

  • HTTP form post from Web Dynpro Java Application without opening new window

    Hi Experts,
    We are trying to submit form data to an external URL from Web Dynpro Java application. We are achieving this with the following piece of code.
      try
       strPrintContent="<html>"+
         "<head>"+
         "<script type=\"text/javascript\">"+   
         "function myfunc () "+
         "{"+
         "var frm = document.getElementById(\"paymentForm\");"+
         "frm.submit();"+
         "}"+
         "</script>"+
         "</head>"+
         "<body onLoad=myfunc()>"+
         "<form id=paymentForm  method=post action=\""+merchantURLPart+"\">"+
         "<INPUT type=hidden name=username value="+userName+">"+
         "<INPUT type=hidden name=pass value="+passWord+">"+
         "<INPUT type=hidden name=senderid value="+senderID+">"+    
         "<INPUT type=hidden name=dest_mobileno value="+mobile+">"+
         "<INPUT type=hidden name=message value='"+msg+"'>"+
         "<INPUT type=hidden name=response value="+response+">"+
         "</form>"+
         "</body>"+
         "</html>";    
      IWDWebResource webResource = WDWebResource.getWebResource(strPrintContent.getBytes(),WDWebResourceType.HTML);
      IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(webResource.getAbsoluteURL(),"WBSEDCL");
      window.show();
      catch(Exception e)
      wdComponentAPI.getMessageManager().reportException("Error : "+e.toString(),false);
    But it opens another window. We dont need that. We have to stay on the same window.  Please suggest what can be done.

    Hi,
    You can create a HTML file with the request post parameters and the external URL something like this:
    public java.lang.String GetRedirecturl( )
    // External URL
    String html = "<html><head></head><body onload=\"load()\"> " +
    "<form id=\"form1\" action=\"https://www.abc.com/xyz.jsp\" method=\"POST\">" +
    // Post Parameters
    "<INPUT TYPE=\"HIDDEN\" NAME=\"Param1\"VALUE=\""+Param1Value+"\">"+
    "<input name=\"sap-wd-resumeurl\" type=\"hidden\"/>" +
    "</form> " +
    "" +
    "<script>" +
    "function load(){" +
    "var loc = window.location.search.substring(1);" +
    "var queryString = loc.split(\"sap-wd-resumeurl=\");" +
    "if(queryString.length > 0)" +
    "{" +
    "var resumeURL = queryString[1].split(\"&\");" +
    "if(resumeURL.length >= 0)" +
    "{" +
    " document.forms['form1'].elements['sap-wd-resumeurl'].value= unescape(resumeURL[0])" +
    "}" +
    "}" +
    "document.getElementById('form1').submit();" +
    "}" +
    "</script>" +
    "</body> </html>";
    String redirectUrl = "";
    byte[] byteArrayHtmlData = null;
    try {
      byteArrayHtmlData = html.getBytes("UTF-8");
    } catch (UnsupportedEncodingException e) {
      wdComponentAPI.getMessageManager().reportException("Internal error occurred. Please try after some time",true);
    IWDResource htmlResource = WDResourceFactory.createCachedResource(new ByteArrayInputStream(byteArrayHtmlData), "Redirect.html", WDWebResourceType.HTML, true);
    redirectUrl = htmlResource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());
    return redirectUrl;
    Hope this will be helpful.
    Regards,
    Anurag

Maybe you are looking for

  • AddWatermarkFromFile in  livecycle

    In "Converting Acrobat® JavaScript for Use in LiveCycle Designer Forms" it says that doc.addWatermarkFromFile() Works in Livecycle designer Does NOT have a livecycle designer equivalent Has a ---- for LiveCycle designer javascript Does this mean I ca

  • Apple Remote Desktop-client mac issue

         Dear all,                I have using Apple Remote Desktop 3.7.2 on maverick,in that some of the client machine also visible offline, but i can take remote. i don't no why.plz help me Regards, Venki   

  • Interpret items in watch folder

    Is is possible to interpret the footage of items in a watch folder - for example, I have a lot of Avid DNxHD120 exported at 1080i but I'd like the output .mp4 files to encode properly to progressive. If I don't interpret the footage manually as upper

  • Demonstrating lost update problem

    Hi I would like to know if it's possible to demonstrate the 'lost update' problem in oracle without using simulation. If so how would I go about doing this? I assume I will need to establish multiple sessions within a single transaction in order to h

  • Reading response headers on HttpService response

    I'm trying to figure out if there is a way to read response headers on a response from a request to an HTTPService.  I've been scouring the internet for any indication that it might be possible to read them without any luck so I'm guessing its not po