Generation of Interactive file dynamically based on a XML document.

Hi Experts,
I got a new requirement for a dynamic interactive PDF form, can somebody help me if its possible to do so and is fo how ..?
I will have a dynamic XML file generated and placed in a location with list of fields, attributes, events and webservices information.
Now I need to read this XML (from a J2EE APP or any other technology would do) based on the fields and properties spedified, need to generate a PDF document, based on events specified generate buttons and bind the web service.
At runtime when a visibile button is clicked send data to this web service.
Does anybody cameacross such a requirement ...?
Thanks in Advance,
Sai

Hello Sai,
I won't be too expecting using Flex. The layout generated need not necessarily be compatible with the SAP ALCD.
Although, it must be possible to generate a pdf dynamically because every element used in the form layout is stored as a xfo-file (e. g. button.xfo) within the installation directories. Have a look! So, you can assemble a form layout based on the xfo-elements completely dynamically.
So, you need an empty layout. You can load the layout by cl_fp_wb_form=>load and form->get_layout( ). Change it, store and generate by function FP_FORM_GENERATE. But it will need some efforts!
Good luck!
Regards,
Alexander

Similar Messages

  • Creating Files Dynamically based on Condition

    Hi Experts,
    I want to create a scenario in which I want to have N number of target files based on some condition.
    Suppose I have following Source structure .
    <ns0:MT_Employee_Src xmlns:ns0="urn://FileToFile_ERD">
       <Details>
          <EmpId>1</EmpId>
          <Name>Rabi</Name>
          <Designation>ABAP</Designation>
       </Details>
          <EmpId>4</EmpId>
          <Name>Satya</Name>
          <Designation>ABAP</Designation>
       </Details>
    </ns0:MT_Employee_Src>
    My requirement is I want to have 2 different target files based on EmpId.
    And this should be dynamic that means N number of EmpId in my source will create N number of files.
    Can anyone help me to solve this?
    Any kind of suggestion will be appreciated.
    Thanks
    Rabi

    Hi All,
    As my requirement was to create N files dynamically based on some condition so I first used 1:N multimapping without BPM.
    Then I followed RP's steps.
    Follow those steps
    1) in the message Mapping go to Signature T..Outbounded.
    2)later go back to main tab . you shoud create a mapping like this:
    3)<EmpId>--> change the context to MT_Employee_Src. to do that press right button on the field and go to context menu option.
    map this field to the proper header target structure E.X: MT_Employee_Tgt
    4) doing this you will create as many target files as <EmpId> you receive.
    5) map the rest of the fields
    This is great.And  this helped me a lot and finally gave solution.
    I want to share one thing that I faced.
    when you are doing 1:N multi-mapping then you have to change the occurrence of target .
    Then your source and target structure will be changed .If you are taking the source schema from mapping then remove the extra tags those got generated due to multi mapping such as
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    - <ns0:Message1>
    </ns0:Message1>
      </ns0:Messages>
    And then use the file and it will work fine.
    Thanks
    Rabi

  • Merge files...... pick file dynamically Based on your content

    Hi All,
    In my current scenario I have 2 dependent sources (Proxy and File system) from which data is being sent to a common target service. The sources are dependent on Proxy/ECC to File System. Please let me know how I need to pick the file from File system because lot of files are there in File System. Based on my ECC/Proxy message details on field of ABN, according ABN number I need to be pick the file from the File system but I have lot of files in File system. Please let me know how to pick multiple files from one correct file based on my first file message.
    After that picking the files I need merge the two messages and send to target file system.
    Using fork I can merge files, no issues. But here problem to pick file dynamically Based on content .
    Please provide your input......
    Regards,
    Ramesh

    Hi Ramesh Sir,
    You can go for JAVA Type Message Mapping.
    ECC - >  JAVA BASED MESSAGE MAPPING ( HERE WE WILL PERFORM FILE LOOKUP) - > RECEIVER .
    Is This approach sounds fisible to you ?
    Please provide Sender DataType XML / Receiver DataType XML + any 1 csv file in which lookup has to perform.
    and this approach is only possible , if your Flat file is on FTP Server which is on the same network.
    Regards
    Prabhat Sharma.

  • Dynamic treeview bound to XML

    Perhaps this isn't advanced enough to be here, if its not let
    me know and I will post elsewhere.
    I am fairly new to coldfusion but am learning quickly. I have
    a coldfusion page I want to add a treeview to. I'm not sure if
    cftree has the power I need. This tree will be dynamically
    generated based on an xml document I plan on returning using
    cfquery pointing to an sql server database. I was wondering if
    anyone had any experience, examples, or advice on how to approach
    this.
    Any feedback would be greatly appreciated.

    Hi Steve!
    1. If your Schema has a minoccurance and maxoccurance (e.g. maxoccurance=unbound)represented in the element, the LCD should make it work by itself.
    2. If you didn't fulfill point one, try to add [*] at the end of the binding. e.g. default binding = PurchaseItem[*]
    good luck!
    Håkon

  • UCCX 8 - Dramatic change in the Create File Document step that is used by the Create XML Document step in order to read an XML file

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    For the last 5 years (and in IPCC3.x/4.x,UCCX/5.x/7.x) I've used the same basic subflow to read a XML document that contains holiday dates where the queue should be closed.  I've re-used this script on 20+ client installs and it's always worked.  The structure of the script allows you to pass the path and filename of the XML document as parameters to the subflow. (The document is in the repository)
    I loaded this script in UCCX 8.0.2 recently and it crashed with a Java.IO error.  It looked like it was trying to read the file system directly and not the repository. (In the Linux appliance model this kind of makes sense but why is the step trying to read the file system directly?)
    So I open a TAC case (SR# 615243125) and TAC tells me that the method of using the Create File Document step is not supported anymore and that I should specify the filename directly in the Create XML Document step
    The problem that I see (aside from having to edit all my scripts that use XML files) is that the Create XML Document step is looking for the input to be a type DOCUMENT and not a type STRING.  This seems to imply that I have to hardcode the document in each script that I deploy for a customer.  When it was a string it was easy to construct the full file path from parameters and pass to the subflow.
    Questions to the group
    #1 Am I missing something here?
    #2  Do you assume that you'll be able to load a script that worked fine in UCCX 7 into UCCX 8 and that it should completely function when you're doing everything according to the step reference documentation.
    #3 Cisco didn’t document this in any way that I can find.
    #4 How can you use the Create XML Document step in a fashion that would let you construct the path of the file and the filename previously in the script so you could pass it to a subflow ?  It would seem this functionality has been killed in UCCX 8
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    (Background)
    Create File Document Step
    The input filename is a STRING, could be an explicit path and filename in the repository or a variable that represents that path and string
    The output of this step is a DOCUMENT to be used in the Create XML Document step
    The string FILE_FullPathHolidayFiles references  en_us\folderName\documentName.xml
    The document was properly uploaded into the repository only, NOT trying to directly read c:\foo\blah…
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    The create XML document input can only be a type DOCUMENT

    #1 Am I missing something here?
    You are mixing two different issues together here.
    The Create File Document step is indeed not needed or supported for creating an XML document. That is why there is a unique step; to trigger XML parsing within the MIVR subsystem.
    Accessing the file system is restricted to a single folder within the VOS model (i.e. 8.0+). This folder is not backed up, replicated, or cleaned up automatically. It was intended to give developers some FS access as a temporary swap location only.
    #2  Do you assume that you'll be able to load a script that
    worked fine in UCCX 7 into UCCX 8 and that it should completely
    function when you're doing everything according to the step reference
    documentation.
    Assume nothing; read the documentation and attend one of the dozens of partner training sessions that CCBU put on advising of the upcoming changes.
    #3 Cisco didn’t document this in any way that I can find.
    You're right, I guess, on the Create File vs. XML Document step. AFAIK Cisco never wrote a notice into the Step Reference Guide explicitly stating that you cannot use the Create File Document although the documentation seemed pretty clear to me without it. File system restrictions are documented in the 8.0 release notes.
    Scripting and Development Series: Volume 2, Editor Step ReferenceUse the Create XML Document step to create a logical document that maps a document to another document variable (where the document has already been pre-parsed as an XML document and is ready to be accessed by the Get XML Document Data step).Use this step before the Get XML Document Data step to obtain data from a document formatted using the Extensible Markup Language (XML).
    #4 How can you use the Create XML Document step in a fashion that would
    let you construct the path of the file and the filename previously in
    the script so you could pass it to a subflow ?  It would seem this functionality has been killed in UCCX 8
    No it hasn't; just concatinate a string to build the Source Document parameter the step needs. Example:  "DOC[" + myFilePath + "]"

  • How to set the file path dynamically based on sytem, username, and date

    Hi All,
    My requirement is upload the data into one  structure like xyz that is related to t.code MCSZ.
    file will be in  UNIx SERVER .
    PATH IS: /sapif
    file name is xy789 load .txt
    I have  to write code in one user-exit
    how can i set the file path for this.
    shall i put hard code file path?
    because i have to writecode in user-exit.
    plz tell me how to set the file path based ons syetem, username, date
    Thanks in advance
    Ram.A

    Concatenate the field SY-SYSID, SY-UNAME and SY-DATUM for the file path

  • How to configure the schema name dynamically based on user input.

    configure the schema name dynamically based on user input.
    For ex:
    We have two schemas:
    Schema1  - base schema having 15 tables.
    Schema2 -  tables which is specific to modules. Having only 10 tables which is also available in Schema1
    Login to application using Schema 1
    Access a particlular module and select the country. Here country selection is identified.
    Based on the country selection, we need to connect the schema respectively.
    If the user selects France --> It should connect Schema1
    If the user selects Germeny --> It should connect schema2.
    Used: Eclipselink

    You may want to have a different persistence unit for each country, then you just need to switch persistence units, and can put the schema in your orm.xml file.
    You may also want to investigate EclipseLink multi-tenant support,
    http://www.eclipse.org/eclipselink/documentation/2.5/jpa/extensions/a_multitenant.htm
    You can the schema in a persistence unit in code using a SessionCustomizer and the tableQualifier.

  • File Based logging: Control file name based on calling service

    In the file logging, I need to change the "Prefix" and "Suffix" that I can type in, from page "FILE Transport Configuration" while creating
    business service with transfort: File. I need to be able to supply these values for the file name from proxy service activity.
    I am creating as logging proxy service which will be called from all the other proxy services. I am planning to use logging to File System based on
    BS for achieving this. I need to be able to create a new file with name that corresponds to the calling service. How can I achieve this?
    Also this service should be able to turn logging on or off based on the calling service. I should be able to turn off the logging completely or
    turn off the logging only for few services.
    What is the best way to achieve this?

    HI
    That means your file name would be decided at run time . so u can use adapter specific mesage attributes in ur communication channel
    please refer tto the same here
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    Dynamic File Name Part 2
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii

  • SSIS - Loop through files from a file path based on the value in the variable

    Experts,
    I have a requirement where I'll be loading multiple files in to a SQL server table and archive the files when loaded. However, the challenge is , the file path should be dynamic based on the value of a variable (say, @ProductName).
    For example: If I am running the package for variable @ProductName="Product", the file path would be "\\....\Src\Product", in that case the ForEachLoop will loop through all the files in that folder, load them to the table and Archive
    the files to the "\\....\Src\Product\Archive" folder.
    Similarly, if the @ProductName="Product_NCP", the foreachloop container should loop through files in the "\\....\Src\Product_NCP" folder, load them to the table and archive them to the ""\\....\Src\Product_NCP\Archive"
    folder.
    Any suggestions? I should be able to run the package manually just by passing the "@Product" value, create Archive folder if it doesn't exist, load the data and archive the files.

    Yes
    1. Have a variable inside SSIS to get folder path. Set path based on your rule using an expression
    like
    (@[User::ProductName] == "Product" ? "\\....\Src\Product" : (@[User::ProductName] == "Product_NCP" ? \\....\Src\Product_NCP:..))
    similary archive
    (@[User::ProductName] == "Product" ? "\\....\Src\Product\Archive" : (@[User::ProductName] == "Product_NCP" ? "\\....\Src\Product_NCP\Archive" :..))
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Logging option on file adapter based JNDI

    Hello,
    While setting up a file adapter based JNDI, I notice under outbound connection, we have logging option where we have rotate logs based on size/time. Could someone please help me understand what does this refers to and how we can use that.
    its under - Deployment -> File adapter -> Outbound connection -->"Select a JNDI created by you" -> Logging.
    my JNDI, represent to a location where I am writing few specific log content in a text file. Can we handle(rotate) that based on this.
    Pls advice.

    Hi,
    you need to create 40 channels if you have users
    as dynamically you can only create:
    File Name
    Directory
    File Type
    File Encoding
    Temporary Name Scheme for Target File Name
    with FTP adapter
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Problem Saving AdobeForm: INTERACTIVE FORMS DEVELOPMENT BASED ON ADOBE

    Gurus,
    I am basically developing "INTERACTIVE FORMS DEVELOPMENT BASED ON ADOBE SOFTWARE".
    The problem comes when I save the Adobe Form. I am loosing the value (Meaning not able to save the form).
    As far as i understand, this is surely pertaining to the Adobe Version that i am using.
    Can somebody throw light on what Version should be used to go solve the problem
    Regards,
    Arvind Kugasia

    Arvind,
    In the Adobe Forms forum, I told this solution , it worked for him,
    Re: Adobe interactive forms: unable to create part
    The IDEInstaller might not installed the Adobe related files properly.
    In the directory <plugins>\com.sap.ide.webdynpro.adobetemplatedesigner
    \lib\.. there exists a file
    "WDAdobeControl.dll".
    This has to be registered.
    For that following steps have to be performed:
    1. Close the NetWeaver Studio.
    2. Open the command prompt.
    3. Type : regsvr32 "C:\......<plugins>\com.sap.ide.webdynpro.
    adobetemplatedesigner\lib\WDAdobeControl.dll".
    4. Re-open the Studio.
    Thanks, Let me know whether this worked for you.
    Raj.

  • Naming attached file dynamically in PL/SQL UTL_SMTP email

    Hi,
    I am sending a .csv file attachment using UTL_SMTP mail in PL/SQL. The file name is hardcoded. But i want the file name to be dynamic at runtime. How can i make the file name dynamic.
    Below is the sample code. The file name is excel.csv
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    ' name="excel.csv"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="excel.csv"'|| crlf ||
    crlf ||
    I want the file name based on the user who runs the programs. For Ex: If 'A' runs the program, the filename should be A.csv. How is this possible?
    This is very urgent.
    Thanks in Advance.

    user11256082 wrote:
    This is very urgent.Then you're in the wrong place. Your are looking for Oracle Support at https://support.oracle.com.
    Do not expect a forum staffed by volunteers (most of whom are paid professionals and provide assistance in their spare time and for free) to jump to attention and give "urgent attention" to your problem simply because you are demanding that your problem be treated as more important and more critical than other people's problems posted here.

  • Binding XML file Dynamically

    Can I bind a xml file dynamically to a form? say, bind to a different xml file after user select a value from a drop down list in the form?how to do it? Thanks.

    I think it's best to create different XPD files for each language and add an XML tag <language>countryCode</language> to your XML dataset and XSD file. this way you could tell the workbench to use a different xpd file for generating the PDF file.
    Anyway if you want to load an XML file from your local filesystem you should check out this URL: http://www.c-point.com/JavaScript/articles/file_access_with_JavaScript.htm it shows you how to read & write files using javascript.
    The problem you'll be facing is editing the binding and reading + validating the given XML file. Especially validating the XML vs the XSD file used in the designer will probably cause a few errors, yet this is highly recommended in order to make sure you're not modifying your PDF with the wrong (or even malicious) data.
    Security-wise i would not implement it your way but make a different XPD file for each language. In the LiveCycle Workbench you can select the correct XPD file based on the data you provide. Then it's just the user who needs to specify his/her language and your pdf is always build correctly. Yet I do not know if this is applicable to your situation and/or needs.

  • Problem with pdf interactive file

    In InDesign CS4 I was able to creat an interactive pdf file which I could then send to my iPad. I have several such file on my iPad that can be read by iBooks or GoodReader. However, when I try the same thing with InDesign CS5, most of the graphics fail to show up. Out of 46 graphics, 1 psd and 16 of 43 jpgs showed up. Two pdfs and the rest of the jpgs left a blank hole on the pages.
    If I export a print pdf file, which is much, much larger, my iPad can read it.
    Also, I tried exporting the CS5 file as an idlm, opening it in CS4, when exporting it as interactive pdf. That worked. But it seems like a complicated way to do things.
    Why doesn't InDesign CS5 export iPad-readable files that include all the graphics?

    The file was made in CS5, based on a template from CS4.
    It is true that a file exported to pdf print will open properly on my iPad. I have past files made in CS4 that were interactive such that a reader could click on an item in the Table of Contents a go directly to that article. I could also fix it so that clicking on, say, the title of the article took the reader back to the Table of Contents.
    Exporting a CS5 file to pdf print seems to lose any of that navigation capability, understandably.
    What really puzzles me is that something that was rather straightforward in CS4 seems very complicated in CS5. By going to CS5 I am giving up the capability to export an interactive file that will appear on and work properly on my iPad.
    I don't understand what it is about certain graphics in a CS5 document that show up in Preview or Acrobat, but don't show up in iBook or GoodReader on my iPad. I had no trouble with CS4 files, but I sure do with CS5 files.

  • Plot a chart dynamically based on the values selected

    Hi All,
    I have some requirement like this i want to plot a chart . The chart should change dynamically based on target_name and date. What type of UI should I use ? I tried using multiselect or shuttle for choosing the target_name and date picker tool for date once i choose all this the chart should appear. Can I have a custom button called submit so once all the values are entered it plots chart ? Please help me out with our ideas.
    Thanks in Advance

    Hi,
    Using the dependent value sets you can govern the values which can be selected based on a specific value selected in a particular segment. Example if Country name is selected in segment 1 then specific states names as per the country selected can be displayed in segment 2.
    As per the requirement described you want to enable different fields based on the value selected in segment1, currently there is no standard mechanism available to enable/disable fields based on a value and you will have to do an extension/customization to meet this requirement.
    Thanks,
    Sanjay

Maybe you are looking for

  • How will i know if a virus,malware or spyware is d...

    i hve scan my comp and it wont finish scanning 1 program files un-scaned and alcohol120 program files. i'm a bit woried about the privacy of our video call.. my wifes brother warned us of some virus that is includen on some sofwres that you might dow

  • Exporting back to Illustrator CC

    Hi, how is it possible to export an illustration from Flash Professional CC back to Illustrator CC, in vector format? I started the work in Illustrator and finalized the composition in Flash. And now I need to bring the same composition back to Illus

  • How do I make document relative links for the site?

    How do I make document relative links for the site - <img src="../images/foo.gif"... (for example)?

  • Extract IDOC numbers

    Hello, need to extract IDOCs numbers of a lot of IDOCs which run on a mapping error and have been stopped in sxmb_moni. Is there a possibility to extract the IDOCs numbers as as a list? We have XI 3.0. Thanks Chris

  • PrP cc2014 crashing, lagging, and buggy

    Since updating to CC2014, my Premiere Pro has been crashing more often, and overall just more glitchy (issues that didn't happen in CC).  Here are some examples... -after quitting premiere, the application won't quit, it shows "not responding" in act