XML Forms on the Portal posting to an IDOC

Scenario
Goals
1. Portal Based XML form being used by users to enter information
2. Posting to an IDOC in R3
Current Solution
1. The XML form outputs a file to local file system through the EP
2. XI then takes this file transforms
3. XI Posts IDOC
Question .
Is there more elegant solution, making use of the file system to transfer files between system strikes me as "ugly". How would I configure the XML form to post directly to XI via a webservice call etc..., I understand how to make the service available in XI, Im just not sure how to make the EP post the XML XI so It can then post the IDOC ?
Notes.
1. The XML form has been developed using the Form builder in the Portal
2. Both the Portal and XI are on NW6 at this stage.
thanks

Since researching a little I have discovered the idea of posting an XML form to an IDOC is flawed. So the desired archiecture is now, a form of some sort that can be visually appealing like an XML form that can post directly to an RFC in ECC.
Enterprise Portal Form -
> ECC (RFC)
I have protyped this interaction with Guided Procedures in NW7 and it seems to work but the form presentation is still a mystery.
How can I have complete control over the presentation of a form in GP to send the data into SAP, or is the visual composer a better solution ?

Similar Messages

  • Generate or import xml form content into portal

    Hi, we have a content repository type "fsdb" in wich we have created a xml form to publish content.
    Now we need to develope a program or process that read information from a database and generate the xml content in the repository,
    How can we generate the xml form content?
    I have tried coping and existing element of the repository from the file system and changing the data but something more is needed, I think that is necesary to update the database.
    Any suggestion is welcomed.
    Thanks in advanced.
    Regards.

    Hi,
    I differred my theme, cause I also had to use and transport the xml-forms into another portal. For this reason I have to use xml-forms. I've found out how to modify the the content/text of an subscription-mail.
    Is there any way to define different layouts for subscription-mails? (Maybe depending on the folder.)
    Is there any way to send an e-Mail to a specified address (including the content) when saving the xml-form?
    Greets
    Janko

  • Form Authenticating the portal or jsp page

    Before accessing a jsp page, I want the user to authenticate using login.jsp using the user role I created in console.
    But when I hit the page, its not going to login.jsp. Instead its going directly to it. Please find the web.xml and weblogic.xml that I changed below,
    --web.xml
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>webtest</web-resource-name>
    <url-pattern>/portlets/tools/wnxinterface/wnxInterface.jsp</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>wnuser</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <!--turn on identity assertion-->
    <login-config>
    <auth-method>CLIENT-CERT,FORM</auth-method>
              <realm-name>myrealm</realm-name>
    <form-login-config>
    <form-login-page>login.jsp</form-login-page>
    <form-error-page>error.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
              <role-name>AuthenticatedUserRole</role-name>
    </security-role>
    <security-role>
              <role-name>wnuser</role-name>
    </security-role>
    --weblogic.xml
    <wls:security-role-assignment>
    <wls:role-name>AuthenticatedUserRole</wls:role-name>
    <wls:principal-name>AuthenticatedUsers</wls:principal-name>
    </wls:security-role-assignment>
    <wls:security-role-assignment>
         <wls:role-name>wnuser</wls:role-name>
         <wls:principal-name>wngroup</wls:principal-name>
    </wls:security-role-assignment>
    I created the wnuser in myrealm in my console. So I am trying to password protect the wnxInterface.jsp page.
    Actually I have this wnxInterface.jsp as a portlet inside my portal. Is it similarly possible to authenticate the portal itself?
    Thanks in advance

    1. yes: URL u = new URL(this.getCodeBase(),"../relativeFolder/file.whatever");
    http://javaalmanac.com/cgi-bin/search/find.pl?words=URL
    2. yes: using JSObject you can call javaScript methods that can do it for you or retreive the
    componenet directly.
    http://forum.java.sun.com/thread.jspa?threadID=598123&messageID=3180053

  • How can I open XML form in the Adobe reader, but not through the browser extention

    I am saving the document as Adobe Dynamic XML Form (useing Adobe LiveCycle Designer), When I open the document I get this error and I do have a Adobe reader installer.
    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF
    viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
    visiting http://www.adobe.com/go/reader_download.
    For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader.
    Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark
    of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other
    countries

    Open the form in Adobe Reader.

  • Problem with a form in the portal.

    Hi Masters,
    I'm getting this error in the portal when I'm executing a form. I'm the basis here but I need a hand because I can't find the solution to this. Thanks for the help!
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation. Request start time: Tue Jul 24 11:12:58 VET 2007 com.adobe.ProcessingError: Invalid XDP error while configuring the XMLForm module. Please validate the form template and try again: com.adobe.document.xmlform.InvalidXDPException: IDL:com/adobe/document/xmlform/InvalidXDPException:1.0 Exception Stack Trace: com.adobe.ProcessingError: Invalid XDP error while configuring the XMLForm module. Please validate the form template and try again: com.adobe.document.xmlform.InvalidXDPException: IDL:com/adobe/document/xmlform/InvalidXDPException:1.0 at com.adobe.Render.execute(Unknown Source) at com.adobe.BaseADSRequest.doWork(Unknown Source) at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at

    Sounds like a problem with the privileges.
    Try creating a new user, say user_temp, and grant the user Manage privilege to All Portal DB Providers and Manage to All Schemas.
    Try creating a form after logging in as user_temp.
    The minimum privileges required to create a Portal DB provider component is Create privilege on the Portal DB Providers and Manage on the Portal DB Provider schema.

  • XML form: associate the file extension with an image

    Hello!
    I am creating some XML forms and i have to ulpoad a file.This isn´t a problem, but in RenderListItem I have to associate the file extension with an image(For example .doc with Word icon).Is it possible to do this? Thanks

    Hello ,
    I'm sorry, but this is not covered within the standart. You have the opportunity to do so in normal LayoutSets but not within a link in XML Forms. Maybe it's a workaround for you to provide a image selection for the author in the edit form, to select such an image manualy.
    hope this helps,
    Axel
    Please consider rewarding points to helpful answers on SDN

  • XML Forms and the Lifetime timestamp format

    Hello all,
    I have an XML form we use to create News.  When the content manager creates the News item, they provide Valid From and Valid Until timestamps for the News item's lifetime.  For the time, they must use military time format (00:00:00 - 23:00:00) because if they input 03:00:00 PM, in the system it will display 03:00:00 AM.
    We are fine using military time... the content managers have now been trained to do this.  However, when they edit an existing News item, the edit form will not display the time in military time anymore.  So, for example, if the content manager originally set the Valid Until time to 15:00:00, when they edit the News item, 03:00:00 PM will display instead, and then will save it with the incorrect time (03:00:00 military time) after the change.
    Has anyone else experienced this problem?  I'm not sure where the trouble lies... on the XML form side?  In the configuration of the KM metadata?  On the server?  Any help would be greatly appreciated.
    Thanks in advance,
    Fallon

    Hi Fallow, did you resolve the problem?
    Can you reply the solution?
    Thanks,
    Jesú

  • How to reduce the version of a pdf 1.7 to 1.5 & how to remove all the embedded xml form ?

    Hi Team,
        I am using adobe acrobat x pro. I have a pdf file of version 1.7 which showing embedded xml forms. I tried to remove all the 'embedded xml form' by  using Adobe Live cycle Designer ES2.  Then i tried to reduce the version by using Adobe acrobat x pro but it's still showing that there are some 'embedded xml form' for which it's not allowing me to reduce the vesion of pdf file in Adobe Acrobat x pro and also i want reduce the version of the pdf 1.7 to 1.5. Can you please guide me the step to reduce the pdf file version and how to remove the embedded xml form from the pdf file ?

    If the PDF is the same one from the link in your post here:
    http://forums.adobe.com/thread/1174643
    That PDF being protected may have something to do with why you cannot do what you'd like to.
    Be well...

  • How to create custom forms in the xml form builder

    Hi all ,
    can anyone give the brief on
    when we creat a project we get defaulty edit ,show and renderlist forms . what are list edit and listshow forms . what is the use of those forms.
    how can we create out own customised forms ? and how can we call the customized and listedit and list show form in the Portal.
    thanks
    Rajeev

    Hi,
    Edit form
    You use this form to create or change individual documents (for example, single news items). Typically, this form contains input fields in which you can create content (for example, the title or text for a news item).
    Show form
    You use this form to display a single document. Typically, the Show form displays all elements of a document (for example, the title, author, and all the text contained in a news item). Do not use entry controls on the Show form.
    RenderListItem form
    You use this form to define the layout of a list entry in a folder in the flexible user interface. Typically, you display some of the elements of a document, such as the title and summary of a news item, on this form. You call up the Show form if you want to display the entire document.
    You do not create pushbuttons or links for creating, changing, or deleting XML documents in the RenderListItem form. You define which commands are to be displayed using command groups of the flexible user interface. You can create several iViews for displaying the same XML documents with different command groups.
    ListEdit form
    You use this form to change a list of documents. Typically, this form contains pushbuttons for creating, changing, and deleting entries. You call up the Edit form if you want to change or create content. You call up the Show form if you want to display all entries.
      ListShow form
    You use this form to display a list of documents. Typically, this form only displays part of a document element (for example, the title of a news item). You call up the Show form if you want to display the entire document.
    Refer this documents
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    Regards,
    Kumar

  • I want  to design a News like the *LInklist* by XML Form Builder

    Hello:
       Everyone!
       Now I have another problem about XML Form Builder
       I want  to design a News like the LInklist by XML Form Builder
       I want the result,For Example
    SAP News
           1news1
           2news2
           3news3
    who can give me some adviseon about how to disign the Edit, Show and Renderlistitem in XML
    Thanks a lot
    Hope your help!

    Hi,
    In XML Form
    1) Edit form is used for designing the user interface.
    2) Show form is used for displaying the xml form to the end user
    3) RenderListItem is used for  rendering the xml form into a small description like 1News1, 2news2  etc..
        Here you need to display only the heading of the xml form
    After you create the xml form
    Create Layout set  where you need to give the proerties like xml renderer form , no of items to display etc...
    Thanks&Regards,
    Raghu

  • Issue in Java Scipt in XML form

    Hello Experts,
    I have one issue in our client portal, which is really giving me hard time to resolve.
    So I have come to you experts for helping me to resolve this issue.
    So below are the details of the issue.
    Actually it goes like that, we are using B.Texx in our Portal Environment and most of the work is done by the users in the portal, who has author rights. Please note that Authors have the right to Edit and save the content.
    Most of the things are made on XML forms, with the help of Java Scripts.
    Now there is one XML form(Add General Content), through which users add the general contents and there is one template provided to the user for that content. The XML forms are integrated here with the Tiny MCE editor.
    Now, there is one link (Insert/edit link) in the Tiny MCE editor, when we write some text in the body and select the text, the link in the editor gets activated and when we click on the link, a pop up comes up, in which there is a browse button, through which we select the Navigation Element Link , which takes us in the navigation of the portal content(the way it is viewed by user in the portal according to the roles ), showing us different content and we select an content and press finished. Now the selected text becomes as a link in the body of xml form, then we fill up the title and there is one preview button. When we click on the preview button, the link is displayed to us.But when we click on that link nothing happens.
    Please note that if we save that form, the links appears on portal and we are able to navigate through the link.
    For this I have checked the js file(xmlformpreview_redirect.js)  responsible.I am sharing the code of the js file below.
    // @author llaegner
    // Get current URL of XML Forms Preview
    // This Javascript should be included in the ShowForm Formular (old XSL Style)
    // in xml forms builder in a label-field in the attribute caption
    // this javascript file is then called by the Preview Button on an Edit Form, because the ShowForm is launched automatically always
    // @changes by ekaraca
    // Add a if-Control so a redirect will work by clicking the xml file as well
    var currentURL=top.location.href;
    var redirectURL="";
    var startOfParameters=currentURL.indexOf("?");
    if (startOfParameters < 0) startOfParameters=currentURL.indexOf("%3F");
    if (startOfParameters > 0) {
         // Provide all parameters for SAP original preview iview to our new iview
        redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview"+currentURL.substring(startOfParameters);
    if(currentURL.substring(currentURL.length-4)==".xml") {     
         var xmluri = currentURL.substring(currentURL.indexOf("/irj")+15, currentURL.length); /* /irj/go/km/docs <---- 15 letters */
         redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview?show/test="+xmluri;     
         top.location.href=redirectURL;
    else {
         // If we have found something to redirect
         if (redirectURL.length > 1) {
              // Change current location and switch immediately to new iview
              top.location.href=redirectURL;
    I would really appreciate if any of you experts help me resolve this issue.
    So I am eagerly waiting for the response from all of you.

    Experts...still waiting for your comments.

  • Issue in Preview through XML forms having TinyMCE editor

    Hello Experts,
    I have one issue in our client portal, which is really giving me hard time to resolve.
    So I have come to you experts for helping me to resolve this issue.
    So below are the details of the issue.
    Actually it goes like that, we are using B.Texx Framework in our Client Portal Environment and most of the work is done by the users in the portal, who has author rights. Please note that Authors have the right to Edit and save the content.
    Most of the things are made on XML forms, with the help of Java Scripts.
    Now there is one XML form(Add General Content), through which users add the general contents and there is one template provided to the user for that content. The XML forms are integrated here with the Tiny MCE editor.
    Now, there is one link (Insert/edit link) in the Tiny MCE editor, when we write some text in the body and select the text, the link in the editor gets activated and when we click on the link, a pop up comes up, in which there is a browse button, through which we select the Navigation Element Link , which takes us in the navigation of the portal content(the way it is viewed by user in the portal according to the roles ), showing us different content and we select an content and press finished. Now the selected text becomes as a link in the body of xml form, then we fill up the title and there is one preview button. When we click on the preview button, the link is displayed to us.But when we click on that link nothing happens.
    Please note that if we save that form, the links appears on portal and we are able to navigate through the link.
    For this I have checked the js file(xmlformpreview_redirect.js)  responsible.I am sharing the code of the js file below.
    // author llaegner
    // Get current URL of XML Forms Preview
    // This Javascript should be included in the ShowForm Formular (old XSL Style)
    // in xml forms builder in a label-field in the attribute caption
    // this javascript file is then called by the Preview Button on an Edit Form, because the ShowForm is launched automatically always
    // changes by ekaraca
    // Add a if-Control so a redirect will work by clicking the xml file as well
    var currentURL=top.location.href;
    var redirectURL="";
    var startOfParameters=currentURL.indexOf("?");
    if (startOfParameters < 0) startOfParameters=currentURL.indexOf("%3F");
    if (startOfParameters > 0) {
         // Provide all parameters for SAP original preview iview to our new iview
        redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview"+currentURL.substring(startOfParameters);
    if(currentURL.substring(currentURL.length-4)==".xml") {     
         var xmluri = currentURL.substring(currentURL.indexOf("/irj")+15, currentURL.length); /* /irj/go/km/docs <---- 15 letters */
         redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview?show/test="+xmluri;     
         top.location.href=redirectURL;
    else {
         // If we have found something to redirect
         if (redirectURL.length > 1) {
              // Change current location and switch immediately to new iview
              top.location.href=redirectURL;
    I would really appreciate if any of you experts help me resolve this issue.
    So I am eagerly waiting for the response from all of you experts present here.

    guys i m still waiting for some expert comments here...plz help me out.

  • Problem in xml form

    Hi,
    i have created one xml form using form builder...there are three views..edit, renderer list and show....then in portal, i created one iview using newsexplorer layout set for edit form and newsbrowser layout set for show form . My problem is...wich layout set i have to choose for getting rendererlist form? one more thing, before creating iviews, should i have to create any folder in km repository ? i am using ep 6 sp2.
    regards
    ram

    Hi ram singh,
    There are some steps that you could follow :
    1. Create the XML FORMS using the XML FORMS Builder
        a) On Edit panel create your form that will be visible on NewsExplorer Layouset.
        b) On RenderList create how your form wil be visible on NewsBrowser Layouset.
    2. Create first Iview for Admin:
       a) Set the layouset to "NewsExplorer"
       b) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
       c) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
    3. Create second Iview for users:
       a) Set the layouset to "NewsBrowser"
       b) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
       c) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
    That's all! Now you can create new items using the Admin iView, which will be storage on KM path that you had set on steps 2 and 3. When you open your User Iview will be show all xml files that exists on your  "/MyFolderForXMLFORM".
    <b>There are some helpful links above:</b>
    How to create XML FORMS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    Creanting XML FORMS
    http://help.sap.com/saphelp_nw04s/helpdata/en/fd/bd016254946048a4d7a17c2aad7600/frameset.htm
    Cheers,
    Alcides Flach

  • Transport of XML Forms

    Hi,
    We need to transport XML Forms from our sandbox to the Test system. Here is the configuration for our sandbox and test system:
    J2EE Engine 6.40
    Portal 6.0.12.0.0
    KnowledgeManagementCollaboration 6.0.12.1.0
    TREX 6.1
    Can anyone please tell me how this can be done? Thanks for all your valuable time and help.
    Sincerely,
    Sri

    Hi Patricio,
    Thanks a lot for your prompt reply. Now, if I want to move the XML forms from the Test system to my local instance of the portal, which is NW04 SPS 12, is it possible for me to do so? Is moving the XML forms more like a copy and paste operation or is it something different? Thanks again for your valuable time and effort.
    Sincerely,
    Sri
    P.S. I just awarded points

  • Issue in XML Form Builder

    Dear Experts,
    i am new to XML Form Builders in Portal, so i have started with this document as my first form:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a?QuickLink=index&overridelayout=true
    but i have come across two issues can you please guide me to troubleshoot this issue's:
    Issue 1:
    I have made changes as per the document but as per the document (refer page: 17, 2. point)
    refer this image from document: http://imageshack.us/photo/my-images/825/xmlerror1.png/
    New> Form>?,   here my created News is not displayed
    But it show like below:
    http://imageshack.us/photo/my-images/839/xmlerror2.png/
    As shown in the image no News form that I have created?
    Did I miss anything?
    Issue 2:
    As per page 18 from same document:
    Path to Initially Displayed Folder:      /documents/myNews
    Path to Root Folder for Navigation:    /documents/myNews
    I have created Iviews with the same pathu2019s and when I Preview I am getting the error  as below:
    Item not found
    /documents/myNews
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible.
    It seems that I am completely in wrong track can someone guide me in right direction to solve this both the issues.
    Full points will be awarded for sure!
    Regards,
    Mahesh

    Hi,
    Please read and try to understand the concept; give yourself some time. Try to understand what an XMLForms project is and how this differs from content based on such a project.
    > Path to initially displayed folder : /documents/myNews
    > Path to root folder for Navigation: /documents/myNews
    These are just two settings for the KM navigation iView; you can read the (different) meanings on help.sap.com. But in short words: You just configure to which folder the KM navigation iView points to. That's all.
    > so here it pointing to both newly created folder for saving the form created by the end users
    If you have the iView, it is a KM nav iView pointing to this folder. Now an "end user" - it is: an author - can call this iView and can create content based on the XMLForms you have created before (Folder - New - Forms - ...). That's all. That works. End of story. Afterwards, XMLForms content objects based on your project are to be found in this folder.
    > but this folder "myNews" does not contain the form which i have created
    You have created an XMLForms project. Period. You can ("author" iView!!!) create content based on your project in that folder.
    > so how do the end users see my form in first case.
    ??? Really, you have to be much more precise if you want to survive in IT... What is your "end user"? We are talking of an author iView. In that cas it is an author. And under "Folder - New - Forms - ..." there is the possibility to create new XMLForms content based on the project you have created. (That you have said by yourself - issue 1 was gone!!!)
    There is nothing more to explain. That it everything. I really don't see your or any problem any more.
    Detlev

Maybe you are looking for

  • MM Flow

    Hi All,, can u give me instructions how to do the below mentioned steps..m i suppose to do this in development server?when i search for goods receipt -101 in migo t-code am nt getting any po numberswith respect to it.. also can u breif me about mm fl

  • ITunes is not the active window

    Can anyone tell me why when I open iTunes, it is not the active window - this does not seem to be happening with any other application? If there is another window open, it also opens behind this window and is still not the active window?

  • Xautolock command help [solved]

    I am running Arch with LXDE on desktop. I want the system to shutdown (poweroff) after 30 minutes of inactivity. I was searching for options and found following on pm-utils page of the wiki ( https://wiki.archlinux.org/index.php/Pm-utils ): Suspend o

  • Authorisation check in ABAP Query..

    Hi Gurus   Can we put Authorization check in ABAP Query ? Your help is appreciated. Regards, Gajanan

  • Streaming issues: iTunes content suddenly not showing up???

    AppleTV is showing up in the devices list in iTunes, but it suddenly won't display any of my non-synced content. Everything was working perfectly and without any changes being made to anything, the next time i fired up the AppleTV later the same day