Duplexing Form with XML and subforms

Or form (a PO) is printing well except the back (terms and conditions) are not printing ever. When the duplex is selected i get a jfmain page on from and back. Any thoughts?
ray

Add the -aapon option to the ^job line or as a permanent option in the jfmerge task definition. Without this option pages that have only boilerplate - ie: no fields - are not printed.

Similar Messages

  • Merge LiveCycle Form with XML using JAVA

    Hello.
    I am trying to find out how to merge non-interactive form with XML (using JAVA) so the users can see the final output form with the data filled in.
    What are my choices..?
    So far, I have created the interactive forms as template using LiveCycle 8 and wrote ASP.NET code to extract data and store it in SQL database when the user fill out and submit the form.
    It works great but another agency wants to access the form as well.
    They told us that they will create the XML themselves from the database, so they just need to combine the form with XML to display it (non-interactive form).
    They want to use JAVA but I am not sure how to do that...
    Any suggestion?

    Assuming that you start with XML in an org.w3c.dom.Document that stores the XML data. Before you can merge it into a form, you have to convert it to a com.adobe.idp.Document object. TO convert a org.w3c.dom.Document to a com.adobe.idp.Document object -- use the following Java code:
    private Document convertDataSource(org.w3c.dom.Document myDOM)
    byte[] mybytes = null;
    try
    //Create a Java Transformer object
    TransformerFactory transFact = TransformerFactory.newInstance();
    Transformer transForm = transFact.newTransformer();
    //Create a Java ByteArrayOutputStream object
    ByteArrayOutputStream myOutStream = new ByteArrayOutputStream();
    //Create a Java Source object
    javax.xml.transform.dom.DOMSource myInput = new DOMSource(myDOM);
    //Create a Java Result object
    javax.xml.transform.stream.StreamResult myOutput = new StreamResult(myOutStream);
    //Populate the Java ByteArrayOutputStream object
    transForm.transform(myInput,myOutput);
    // Get the size of the ByteArrayOutputStream buffer
    int myByteSize = myOutStream.size();
    //Allocate myByteSize to the byte array
    mybytes = new byte[myByteSize];
    //Copy the content to the byte array
    mybytes = myOutStream.toByteArray();
    catch (Exception e) {
    System.out.println("The following exception occurred: "+e.getMessage());
    //Create a com.adobe.idp.Document object and copy the
    //contents of the byte array
    Document myDocument = new Document(mybytes);
    return myDocument;
    THen you can merge myDocument into the Form using renderPDFFOrm:
    FormsResult formOut = formsClient.renderPDFForm(
    formName, //formQuery
    myDocument, //inDataDoc
    pdfFormRenderSpec, //PDFFormRenderSpec
    uriValues, //urlSpec
    fileAttachments //attachments
    Hope this helps!

  • PO output with XML and PDF format

    Hi All,
    I need PO output with XML and PDF format. when I give print it shld go to vendor with xml and pdf format through mail. please kindly guide me on this .
    Thanks in advance
    JK

    hi,
    try this code to get in pdf form
    REPORT zsuresh_test.
    Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
    w_fmodule TYPE rs38l_fnam,
    w_cparam TYPE ssfctrlop,
    w_outoptions TYPE ssfcompop,
    W_bin_filesize TYPE i, " Binary File Size
    w_FILE_NAME type string,
    w_File_path type string,
    w_FULL_PATH type string.
    Internal tables declaration
    Internal table to hold the OTF data
    DATA:
    t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    Internal table to hold OTF data recd from the SMARTFORM
    t_otf_from_fm TYPE ssfcrescl,
    Internal table to hold the data from the FM CONVERT_OTF
    T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    This function module call is used to retrieve the name of the Function
    module generated when the SMARTFORM is activated
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = w_fmodule
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Calling the SMARTFORM using the function module retrieved above
    GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
    format of the output
    w_cparam-no_dialog = 'X'.
    w_cparam-preview = space. " Suppressing the dialog box
                                                        " for print preview
    w_cparam-getotf = 'X'.
    Printer name to be used is provided in the export parameter
    OUTPUT_OPTIONS
    w_outoptions-tddest = 'LP01'.
    CALL FUNCTION w_fmodule
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = w_cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = w_outoptions
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    job_output_info = t_otf_from_fm
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    t_otf[] = t_otf_from_fm-otfdata[].
    Function Module CONVERT_OTF is used to convert the OTF format to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = W_bin_filesize
    BIN_FILE =
    TABLES
    otf = T_OTF
    lines = T_pdf_tab
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    To display File SAVE dialog window
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = w_FILE_NAME
    path = w_FILE_PATH
    fullpath = w_FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
    presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = W_bin_filesize
    filename = w_FULL_PATH
    FILETYPE = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = T_pdf_tab
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    reward points if useful,
    siri

  • Update a system form with XML: empty screen when this is a target document.

    Hi,
    It is possible to update a system form with an xml file.
    In the UI_Application.LoadBatchActions(xmlDoc). In the xmldocuemnt I update a system form by adding controls on it. This all works fine, except one (big) problem.
    Assume that I Alter the 'Good Receipt PO'.
    This document can be the target document of a Purchase order document. When you open a PO and click the icon on the toolbar for going to the target document, you see the target document filled in, in OK (view) mode.
    When you alter the 'Goods Receipt PO' form with XML you get an empty goods receipt form, in Add mode.
    Is this a known problem, how can I solve it?
    Thanks in advance
    Eddy

    Hi Florian,
    The XML looks like:
    <?xml version="1.0" encoding="UTF-16"?>
    <Application>
       <forms>
          <action type="update">
             <form AutoManaged="1" BorderStyle="0" FormType="143" ObjectType="20" SupportedModes="15" appformnumber="143" client_height="424" client_width="570" color="0" default_button="1" height="458" left="207" mode="3" pane="1" title="Goederenontvangst (bestelling)" top="23" type="0" uid="F_233" visible="1" width="578">
                <items>
                   <action type="add">
                      <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" height="19" left="434" linkto="" right_just="0" supp_zeros="0" tab_order="830" text_style="0" to_pane="0" top="398" type="4" uid="100001" visible="1" width="85">
                         <AutoManagedAttribute>
                            <Attribute description="editable" id="2" modeAdd="1"/>
                         </AutoManagedAttribute>
                         <specific caption="Container"/>
                      </item>
                   </action>
                   <action type="update">
                      <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" height="19" left="315" linkto="2" right_just="0" supp_zeros="0" tab_order="1160" text_style="0" to_pane="0" top="398" type="4" uid="68" visible="1" width="114">
                         <AutoManagedAttribute>
                            <Attribute description="editable" id="2" modeAdd="1"/>
                         </AutoManagedAttribute>
                         <specific caption="Voorfactuur"/>
                      </item>
                   </action>
                </items>
             </form>
          </action>
       </forms>
    </Application>
    Thank you very much for trying this.
    Eddy

  • Guidance with XML and templates

    I am currently saving metadata in separate xml files, each of which pertains to a particular image.
    (They all resemble the sample XML file above, but with different data, and possibly empty values
    in some fields). Currently, no fields are required (but may be in the future).
    I am now trying to define a template for the xml files...However, I am a novice with XML and am
    having trouble creating a template and its constraints.
    I would like the template to:
    - Impose an order on the metadata fields, so when I read it in, I can get the appropriate field
    at the appropriate time.
    - Validate that the type of data entered into those fields are correct.
    - If no xml file exists for that image, I will be able to pull in the field names (in order)
    into my program, and create a GUI with the field names and no data
    - If an xml file does exists for that image, I will be able to pull in the field names (in order)
    into my program, and create a GUI with the field names and the data in the xml file
    I'm assuming that this template would have to be read in each time a user requests to see the
    information associated with an image.
    SAMPLE XML FILE
    <?xml version="1.0" encoding="UTF-8"?>
    <Image>
    <metadata>
      <Miscellaneous>Here is more Jibberish to fill space</Miscellaneous>
      <Photographer>Mayor McCheese</Photographer>
      <Date>Sat, Sep 22, 1922</Date>
      <Project>44an5</Project>
      <Supervisor>Colonel Sanders</Supervisor>
      <Location>The Moon</Location>
    </metadata>
    </Image>/*
    I'm assuming the template would take on a form similar to below...
    "order" would be the order that they would be placed into the GUI.
    "type" would be the type of data allowed in that field (string, int, long, date, etc...)
    in this case 'long' is Oracles definition of long and not Javas.
    SAMPLE TEMPLATE
    <Image>
    <metadata>
      <Project order=0 type=String></Project>
      <Date order=1 type=Date></Date>
      <Photographer order=2 type=String></Photographer>
      <Supervisor order=3 type=String></Supervisor>
      <Miscellaneous order=4 type=Long></Miscellaneous>
      <Location order=5 type=String></Location>
    </metadata>
    </Image>Can anyone guide me in the right direction or offer some hints?
    Thanks,
    Dustpan

    bump?

  • Can DME, EDI be used to build a form(with pictures and logos)?

    Hi All
    I have a question on DME,Electronic transmission and forms(sapscripts,smartforms etc).
    There is a program rfumsv00(advance tax return). Surprisingly this program doesnot give the option to output the data into a "form"(government specified format with logos, pictures etc).
    (The program gives this facility to output to a form only for Germany and Belgium.)
    Now i want to get the output of this program into a "format as prescribed by the government of India". How do i do this?
    The program has facility for "electronic transmission" and DME". Can we use this to get a output similar to a "form"?If yes...how?
    Message was edited by:
            kumar kumar

    Hi Anji
    Thank you(I am on the verge of awaring you points).
    But one last clarification. You have mentioned that i can design a FORM and then make the program call the form. But this would involve making a Z program.
    I want to know if instead of the form, I can use the option "electronic return" or "DME"?Maybe the  "electronic return" or "DME" already has pre defined forms (with pictures and logos) and if not will SAP allow me to define the form in DME  or electronic return and make the standard program to use that? This way i dont have to do a Z development. Can you help me?
    Message was edited by:
            kumar kumar

  • Creating an messagebox in forms with look and feel of Windows

    I wanted to create an message box in my form with look and feel of windows.For this i used the package ORA.FFI...but i am getting an error....and i am not bale to clear it...the code is as follows
    Package Specification: -
    PACKAGE messagebox IS
    /*Function message_box calls windows MessageBox function. */
    FUNCTION message_box(plptext IN VARCHAR2,plpcaption IN VARCHAR2)
    RETURN PLS_INTEGER;
    END;
    Package body : -
    PACKAGE BODY messagebox IS
    lh_window ORA_FFI.LIBHANDLETYPE;
    fh_mb ORA_FFI.FUNCHANDLETYPE;
    lh_forms ora_ffi.libHandleType;
    /* Function i_mbx acts as the interface to the Messagebox
    function in windows
    FUNCTION i_mbx(funchandle IN ORA_FFI.FUNCHANDLETYPE,
    plptext IN OUT VARCHAR2,
    plpcaption IN OUT VARCHAR2)
    RETURN PLS_INTEGER;
    PRAGMA interface(C,i_mbx,11265);
    FUNCTION message_box(plptext IN VARCHAR2,
    plpcaption IN VARCHAR2)
    RETURN PLS_INTEGER IS
    ltext VARCHAR2(500) := plptext;
    lcaption VARCHAR2(500) := plpcaption;
    BEGIN
    RETURN(i_mbx(fh_mb,ltext,lcaption));
    END;
    BEGIN
    lh_window := ORA_FFI.LOAD_LIBRARY('d:\','DclMsgBox.dll');
    fh_mb := ORA_FFI.REGISTER_FUNCTION(lh_window,'DclMsgBox',ORA_FFI.C_STD);
    ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_CHAR_PTR);
    ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_CHAR_PTR);
    --ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_INT);
    END;
    Now when i call this function in When-New-Form-Instance as
    declare
    p number;
    begin
    p:=messagebox.message_box('hello','test');
    end;
    I had created an dll for message box and placed the .dll and .lib files in the d:\ of my system.
    I get an error message when i run the app. The error is:
    The instruction at "0x005a3b24" referenced memory at "0x00000006".The memory could not be "read".
    Can anybody please tell me where have i gone wrong....

    Colin Martin wrote:
    I agree the leather look is horrible. It's just not a reflection of the cutting edge modern design we have all got to love over the years. If it has to be there at least give us a choice of looks.
    There is a word for this (not that one) - skeuomorph. Wikipedia defines this as 'a derivative object that retains ornamental design cues to a structure that was necessary in the original. Skeuomorphs may be deliberately employed to make the new look comfortably old and familiar'.
    Common examples are found in audio software with pictures of actual knobs that you turn, as here; and the leather-bound tear-off look of calendar and contacts on the iPad is the same principle: the intention is to make it familiar and friendly to people who might otherwise be frightened off by a modern look because they are not used to modern technology. The whole concept and look of the iOS operating system is being brought into use on Macs for the same reason, to encourage non-tech-savvy people not to be frightened of them.
    This is all very well in its way, but in these two particular cases the result is unfortunate, particularly for experienced users, and it really ought to be possible to choose between the looks (as you can with the Mail layouts), even if the skeuomorph is the default.

  • Working with XML and Button

    Hi,
    How are all of you. Well I am new to Flex. But I have started
    building simple applications. One of the top most problem I am
    facing is working with XML and Button. Can you please assist me in
    this. I am explaining my problem:
    I have an external XML file like this:
    <Menu>
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    <button>
    <idnt>1</idnt>
    <label>Mental Health</label>
    <text>Mental Health pages is currently under
    construction</text>
    </button>
    </Menu>
    Now I want to generate Buttons Dynamically from this XML. And
    the second thing which is the most problematic is that how I code
    it so that when I press the Button labled "General Health", it will
    show the same text as in the XML tag coresponding to tag
    "<label>General Health</label>" ?
    I badly need this. I am realy confused on this. Kindly help
    me.
    Regards
    ..::DeX

    Let's assume that variable "node" contains one element of the
    XML. For example,
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    such that node.label would be "General Health", node.idnt
    would be 0, etc.
    You can build a Button like this:
    var b:Button = new Button();
    b.label = node.label;
    b.data = node; // more on this later
    b.width = 60;
    b.height = 26;
    addChild(b); // critical - adds the button to the display
    list so you can see it
    b.addEventHandler( MouseEvent.CLICK, handleClick );
    You must set the button's width and height unless the button
    will be in a container that will size its own children (like Tile).
    Every Flex component has a data property. You can set it to
    whatever you like. For your needs it makes sense to set each
    Button's data property to the node it relates to.
    Now suppose that code above is in a function, createButton:
    private function createButton( node:XML ) : void {
    // code from above
    Here's how to make all the buttons where "menu" is a variable
    that contains your XML:
    for(var k:int=0; k < menu.button; k++) { // menu.button is
    an XMLList
    createButton( menu.button[k] );
    Now to handle the event:
    private function handleEvent( event:MouseEvent ) : void
    var b:Button = event.currentTarget as Button;
    trace( b.data.text);
    When a button is picked, the description element will print
    in the debug console. Replace the trace with whatever code you
    need.

  • Problem filling in a form with xml file

    I have two forms that are used to inform people in town via the web of items needed in a food bank. The first form is filled out by the caretaker and has a "print" and "submit" button at the bottom. The second form is identical to the first but does not have a submit button since it is published on the web and readers can print it out to take with them shopping. Last month I was able to fill the second form with  data from the first that was exported as a xml file and inported into the second. For some unknown reason other that my program was updated this no longer works. Is there a way for this to still function?

    There is no built-in date picker available for forms created in Acrobat. There are some third-party solutions involving JavaScript (either a large collection of fields or a custom dialog) though. Also, text fields with date formatting will use a wheel type date picker on Android/iOS devices with Adobe Reader.

  • PDF form with XML data connection comes up blank at run time

    Hello All,
    I am a newbie to ADOBE Livecycle 9, but am very proficient in C#.  I would like to request for your guidance on the following issue.
    We have a desktop application in C#, WPF, Sqlserver. The requirement is to launch a Livecycle form from the application for the user to read/edit/save data
    I have done this much so far -
    Downloaded trial version of Livecycle 9
    Developed a interactive PDf form
    Created an XML based data connection. Generated fields on the form using the fields from this connection.
    Set the .XML file as preview source for the form
    the controls on the form are boumd to the xml data source
    In design mode, the form works fine, it displays my data correctly
    I have created a WPF form with a button. On click of this button, I call the Process.Start(pdf-file-path). My pdf is launched properly
    I have added a combo box to my WPF form. I select a parameter from this, then call a stored procedure which returns me a datatable depending on parameter passed
    Using the returned datatable, I have used the datatable.writexml and datatable.writexmlschema to create my XML and XSD files. as mentioned above, this xsd is used to create the data connection for the PDF and the XML for the preview source
    This is what I want to do -
    Launch the PDF from my WPF form, pre-populated with the newly created XML data from my WPF form.
    So basically, as the user changes the selection criteria from the combo box, the XML file data will change and the PDF file will be launched each time with new data.
    The XSD format will always be constant
    Problem -
    My XML and XSD get created properly, my PDF launches, but it is empty
    If I change my selection criteria and run the WPF application, and then open the PDF in design mode, it asks me whether it should refresh the XML source. This means that the PDF form is connecting correctly to the XML source
    So why then, does the form come up empty at run time?
    What link am I missing?
    I have found some sites that help using Web applications, but nothing for desktop applications. It would be fantastic if you could point me to some help for developing Livecycle forms with C# / SQLServer
    Your help in this case will be highly appreciated.
    Thanks and Regards

    Oops, something happended with the above post. I will try again... I have tried your suggestion but I still get the same garbled XML (with data repeated and some values "cut in half".<br /><br />Here is what I get after decode-service and extract-to-XML-service. This is just the first barcode, the others are similar, sorry for the poor formatting, but I get a CDATA tage infront of the "istensen" value.<br />                                                              <br />CDATA:istensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />>Superroad 99, 1330 Supertown</fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br />>/sub_Adresse<br />><sub_Person<br />><fld_ForMellemEfterNavn>Kim Christensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />> Superroad 99, 1330 Supertown </fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br /><br />Obviously this is not a legal xml-string, so I can do nothing about it.<br /><br />I have tried using a custom .NET component (ClearImage) for reading the same form (with the barcode) I get the correct data out from the barcodes. So I guess something is wrong with the decode-service in Barcoded Forms ES when I use compressed XML. But I can conclude since the ClearImage component can read the barcodes that they are compressed correctly.<br /><br />Can you help me with getting further with this problem?<br /><br />Sincerely<br />Kim

  • Adobe Form with XML interface cannot retrieve all data from SAP

    hi all
    I want to use the Adobe forms for the real estate module.
    I had seen that adobe forms can have an interface with XML input and output as parameter.
    In the interface type only the /DOCPARAMS an the DOCXML are INPUT parameters which are available.
    No other INPUT parameter can be added to it.
    When i try to retrieve the data in real estate there are some default function modules for retrieving the data from real estate.
    But this function modules also are going to find out if the form which asks for this information has a IMPORT parameter
    for the required data. For example, the SENDER data is retrieved, but before the default function module retrieve this data
    the function module checks if the form has a INPUT parameter SENDER.
    And that is not the case. And i cannot create the SENDER parameter to it, because this INTERFACE type does not allow it.
    Does anybody know a solution herefore?
    kind regards,
    Anton Pierhagen

    Hi Bhaskar
    It is a long time ago, almost 2 years.
    I created my own custom development for calling the Adobe form. This custom development uses the correct function module interface with the IMPORT XML.
    The XML which i sent as IMPORT PARAMETER to the form is also created by own custom development. Via the default XML class of SAP
    So that was my solution
    Kind regards,
    Anton Pierhagen

  • Adobe Form with XML interface

    hi all
    I want to use the Adobe forms for the real estate module.
    I had seen that adobe forms can have an interface with XML input and output as parameter.
    In the interface type only the /DOCPARAMS an the DOCXML are  INPUT parameters which are available.
    No other INPUT parameter can be added to it.
    When i try to retrieve the data in real estate there are some default function modules for retrieving the  data from real estate.
    But this function modules also are going to find out if the form which asks for this information has a IMPORT parameter
    for the required data. For example, the SENDER data is retrieved, but before the default function module retrieve this data
    the function module checks if the form has a INPUT parameter SENDER.
    And that is not the case. And i cannot create the SENDER parameter to it, because this INTERFACE type does not allow it.
    Does anybody know a solution herefore?
    kind regards,
    Anton Pierhagen

    I've found a own workaround for this problem

  • Designer beginner's question: How to populate form with XML web service output?

    sorry, here is yet another Adobe Designer beginners question: <br /><br />My form uses a webservice data connection which returns <br />an xml-string like this: <br /><br /><?xml version="1.0" encoding="utf-16"?> <br /><CurrentWeather> <br />  <Location>Sion, Switzerland (LSGS) 46-13N 007-20E 481M</Location> <br />  <Time>Apr 26, 2007 - 09:50 AM EDT / 2007.04.26 1350 UTC</Time> <br />  <Wind> from the WSW (240 degrees) at 15 MPH (13 KT):0</Wind> <br />  <Visibility> greater than 7 mile(s):0</Visibility> <br />  <SkyConditions> partly cloudy</SkyConditions> <br />  <Temperature> 80 F (27 C)</Temperature> <br />  <DewPoint> 46 F (8 C) </DewPoint> <br />  <RelativeHumidity> 30%</RelativeHumidity> <br />  <Pressure> 29.88 in. Hg (1012 hPa)</Pressure> <br />  <Status>Success</Status> <br /></CurrentWeather> <br /><br />What is the simplest and recommended way to extract the <br />element fields to my form? <br /><br />Thank you very much an kind regards, <br />Hans Grund

    The question is still unanswered!
    Let me give some details and break up the problem
    in more specific questions:
    - In Designer 8.1 I click new data binding --> wsdl -->
    http://www.webservicex.net/globalweather.asmx?wsdl
    A message box comes up and says "cannot load wsdl file"
    ==> 1. Question:
    Why maybe refuses Designer to load the http-wsdl,
    although this option is explicitly allowed?
    - When I save the wsdl to a file, Designer loads it
    without any problems. The web service uses two input parameters
    (CountryName and CityName) and returns an xml-string GetWeatherResult)
    like the one in my first posting. I drag these fields from the binding view to my form, and it runs ok!
    - THE PROBLEM IS, THAT I NEET TO EXTRACT THE ELEMENT FIELDS
    FROM THE RESULT XML-STRING!
    ==> 2. Question:
    How to extract xml element fields from wsdl output into a form?
    - I tried with eclipse and XmlSpy to build a modified wsdl file
    with structured output definition, so that the specific element fields
    show up in the data binding view and are usable to my form,
    and the modified wsdl maps consistently to the web service result string.
    So far without success: In the PDF -preview or Reader-
    when the wsdl-binding is executed and the web service output
    should show up in the result fields, just nothing happens.
    ==> 3. Question:
    Can this strategy to provide a "modified wsdl" possibly succeed,
    and how?
    ==> 4. Question:
    Is is possible -and how?- to check whether an xml string
    is valid as web service output against the wsdl-definition?
    ==> 5. Question:
    How to debug a web service connection with Designer?
    - Finally I tried to find a way to load the result xml-string
    into a local var in the script editor and parse it, much like:
    var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
    xmlDoc.load(DataSet.MyForm.GetWeatherResult.rawValue);
    ==> 6. Question:
    Is it possible -and how?- to use a framework like dotnet?
    How to utilize SAX or DOM in Designer?
    Many thanks and appreciations for your help!!

  • Barcoded form with XML-data

    Hi all,
    In our solution we have some barcodes on a form (7 barcodes on the one that I am using), they contain compressed XML data (I know that this uses much space in the barcode - anyway it should work regardless of this).
    What the interesting thing is what is returned from the "decode-service" in WB.
    When I run a scanned form through the process I have created I get "garbled" xml in my XML-doc that is returned from the decode-service.
    If I use a handheld scanner (with a customly created program that handles the compression) I get the correct data from the barcode.
    If I do not use compression in the barcode I get the correct XML data from the barcode (with the decode-service). This is weird to me... What is going on???
    Some time ago I posted this issue (http://www.adobeforums.com/webx?128@@.3c058293) but never really caught up with a solution.
    Can you help me with this?
    Sincerely
    Kim

    Oops, something happended with the above post. I will try again... I have tried your suggestion but I still get the same garbled XML (with data repeated and some values "cut in half".<br /><br />Here is what I get after decode-service and extract-to-XML-service. This is just the first barcode, the others are similar, sorry for the poor formatting, but I get a CDATA tage infront of the "istensen" value.<br />                                                              <br />CDATA:istensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />>Superroad 99, 1330 Supertown</fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br />>/sub_Adresse<br />><sub_Person<br />><fld_ForMellemEfterNavn>Kim Christensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />> Superroad 99, 1330 Supertown </fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br /><br />Obviously this is not a legal xml-string, so I can do nothing about it.<br /><br />I have tried using a custom .NET component (ClearImage) for reading the same form (with the barcode) I get the correct data out from the barcodes. So I guess something is wrong with the decode-service in Barcoded Forms ES when I use compressed XML. But I can conclude since the ClearImage component can read the barcodes that they are compressed correctly.<br /><br />Can you help me with getting further with this problem?<br /><br />Sincerely<br />Kim

  • Populate PDF form with XML data

    Although a seemingly simple task, this question has occupied way too much of my time the last week and I am asking the following out of sheer desperation and frustration.
    I have a pdf form created with Designer 7.0. I have a separate XML data file to populate the form with. I can test using the preview in Designer and everything looks great. Now, all I want to do is deploy this pdf to a standard web server (IIS, Windows) such that any visitor to the site (using Reader) is able to open it/view it/print it, with the data there. That's it.
    This was easily accomplished using Acrobat 6 by creating an ASP page that output an FDF file which referenced the PDF. Not so with the latest version.
    I have downloaded three separate several hundred page documents that do not explain how to accomplish this task simply. So to summarize:
    1. Does this task *require* a separate piece of software (Document Server) that was not required before?
    2. If Document Server is not required, what are the steps to publish the pdf file and reference the data file?
    Please help, extraordinarily frustrated :-(.

    Ravinder, were you actually able to get your PDF Document (Form) to load with data?  I have not been able to get my .NET page to populate my PDF document - the PDF loads in my Browser but has no data.  If you can post sample code that you were able to get to work, it would be appreciated, or if you notice something wrong with my code below, please let me know.<br /><br />Also, when my PDF document loads in my browser, I am prompted to "Open or Save" my .xdp file and if I click "Open", my PDF Form loads, but the fields are not populated.  How do I stop this prompt from loading?  I don't want the user(s) to be able to see this.<br /><br />My .NET page and XML file are listed below:<br />------------------------- .NET -----------------------------------<br />Imports System.Text<br />Imports System.IO<br /><br />Public Class WebForm1<br />    Inherits System.Web.UI.Page<br /><br />#Region " Web Form Designer Generated Code "<br /><br />    'This call is required by the Web Form Designer.<br />    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()<br /><br />    End Sub<br /><br />    'NOTE: The following placeholder declaration is required by the Web Form Designer.<br />    'Do not delete or move it.<br />    Private designerPlaceholderDeclaration As System.Object<br /><br />    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init<br />        'CODEGEN: This method call is required by the Web Form Designer<br />        'Do not modify it using the code editor.<br />        InitializeComponent()<br />    End Sub<br /><br />#End Region<br /><br />    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />        'Put user code to initialize the page here<br /><br />        Dim responseString As New StringBuilder<br />        Dim sr As StreamReader<br />        Dim xmldata As String<br /><br />        Response.ContentType = "application/vnd.adobe.xdp+xml"<br />        responseString.Append("<?xml version='1.0' encoding='UTF-8'?>")<br />        responseString.Append("<?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>")<br />        responseString.Append("<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>")<br />        responseString.Append("<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>")<br />        responseString.Append("<xfa:data xfa:dataNode='dataGroup'>")<br />        sr = File.OpenText("c:\\inetpub\\wwwroot\\PDFFiller\\TestForm_data.xml")<br />        xmldata = sr.ReadToEnd()<br />        sr.Close()<br />        responseString.Append(xmldata)<br /><br />        'responseString.Append("<form1>")<br />        'responseString.Append("<txtFirstName>Homer</txtFirstName>")<br />        'responseString.Append("<txtLastName>Simpson</txtLastName>")<br />        'responseString.Append("</form1>")<br /><br />        responseString.Append("</xfa:data>")<br />        responseString.Append("</xfa:datasets>")<br />        responseString.Append("<pdf href='http://localhost/PDFFiller/TestForm.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />")<br />        responseString.Append("<xfdf xmlns='http://ns.adobe.com/xfdf/' xml:space='preserve'>")<br />        responseString.Append("<annots/>")<br />        responseString.Append("</xfdf>")<br />        responseString.Append("</xdp:xdp>")<br /><br />        Response.Write(responseString)<br />        Response.Flush()<br />        Response.End()<br /><br />    End Sub<br /><br />End Class<br /><br />----------------------End .NET -----------------------------------<br /><br />--------- XML (TestForm_data.xml) --------------------------------<br /><form1><txtFirstName>Homer</txtFirstName><txtLastName>Simpson</txtLastName></form1><br />----------------------End XML -----------------------------------

Maybe you are looking for

  • When i click on download itunes it says this

    The webpage athttps://swdlp.apple.com/iframes/82/en_us/82_en_us.html might be temporarily down or it may have moved permanently to a new web address. Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error. but then i clicked on the link in this questi

  • How to link to a BI publisher report in a dashboard

    I'm trying to link a BIP PDF report in a dashboard but I'm being prompted to login to BIP. I have SSO setup so that if I click on more products -> BI publisher it takes me right into BI Publisher. it uses url https://xxx:7777/analytics/saw.dll?Advanc

  • JTA timeout while calling a stored procedure inside a DB Adapter

    Hi All, I am wondering if there is a way to increase the timeout interval for the DB Adapter at the BPEL process level than at a global level. Thanks,

  • Using Crop results in Rescale

    I've been trying to crop my project using Modify > Rescale project. I select a smaller size, and then select Crop. I click Next, select the Crop position, click Apply to All Slides, and then click Finish. The result is a rescaled project, not a cropp

  • Mountain Lion won't sleep

    Since I installed Mountain Lion my computer will not sleep.  This appears to be a different problem from what others are experiencing.  Unlike what has been referred to on other threads, all items in my Apple menu (except Sleep) are functioning norma