XML format for Acrobat JavaScript

Hi,
This is my first posting to any Adobe forum, so please bear with me...
I'm interested in the XML format for Acrobat JavaScript.  I'll be using an external editor (UltraEdit).  When I do (in Acrobat 8) Advanced-->Document Processing-->Edit All JavaScripts, UltraEdit starts off with this:
//-----------------Do not edit the XML tags--------------------
Interesting, but not very useful.  If I look at some existing PDF files containing JavaScript, I see things like:
//-----------------Do not edit the XML tags--------------------
//<Document-Level>
//<ACRO_source>DocOpen</ACRO_source>
//<ACRO_script>
/*********** belongs to: Document-Level:DocOpen ***********/
OK, this is better.  In fact, if I look at enough existing PDF files containing JavaScript, I could probably figure out the XML format by myself, including the XML format of tags like <Page-Actions>,  <AcroForm>, etc.  However, it would be far easier to get the specification of the JavaScript XML format -- for example, what is the format of the text following the "belongs to:" string within the various types of XML tags?
I *presume* this is documented somewhere but I couldn't find it.  If someone has the Acrobat JavaScript XML format specification, it would be greatly appreciated.
Thanks.
Dave
P.S. Another possible approach would be to create JavaScripts myself using Advanced-->Document Processing-->Document JavaScripts, and then see what XML is created based on the code I enter into the GUI, e.g. form code, functions, etc. This also seems somewhat inefficient, presuming again that the JavaScript XML format is already documented.

Thanks for the additional information.
I played with JavaScript some more, using my preferred editor, UltraEdit, which I attached to Acrobat.  I thought I would be able to take a JavaScript program from one PDF file (source file) and do a copy & paste into another PDF file (destination file).  While I can do the paste (again, via UltraEdit) into the destination file and can do an UltraEdit Save, when I go back into UltraEdit via Advanced --> Document Processing --> Edit All JavaScripts, the JavaScript I pasted from the source file to the destination file isn't there in the destination file.
From this, I concluded that I'll need to create the Document-level JavaScript and the form field Javascripts (e.g. a JavaScript triggered by a "Mouse Down" in a button) via the Acrobat GUI's.  Acrobat doesn't seem to like it if I bypass the GUIs and just attempt to paste the code directly into the PDF file via an editor.  By not using the GUI and just doing the cut & paste as I did, I'm probably missing some part of the code setup/creation process that Acrobat needs to know about.
This is why I originally asked about the syntax for the pseudo-XML, thinking I could just copy the pseudo-XML/JavaScript code from one PDF file to another, and then modify the code to reflect the needs of the destination PDF.  Now I understand the need you mentioned to use the Acrobat GUIs to set up the initial XML/JavaScript structure.
Once I have the XML structure set up in the destination file (e.g. a JavaScript triggered by a "Mouse Down" in a button), I can obviously copy code snippets into that <AcroForm> sections, I just can't *create* the original "Mouse Down" <AcroForm> sections via the editor.
Another approach I could follow would be to make a copy of the original source file and change the name of the copy to the desired destination file name, and then start modifying the code in the new (destination) file -- presuming that's the easiest path to get the desired functionality created.  This way, I wouldn't have to manually (via the Acrobat GUI) create all of the <Document-Level> and <AcroForm> sections.
Thanks for your (and others') help, let me know if I'm missing anything.
Dave

Similar Messages

  • Incorrect XML format for outbound binding

    Hi,
    I am in the process of configuring a scenario where we are sending PO's from SRM to XI in XML format and later we want these PO's in XML format to be sent to a vendor.  I am able to send the XML from SRM to XI, but I get the following error message (probably while sending the XML to the external application):
    Incorrect XML format for outbound binding , , NO_TO_SERVICE_NAME, MI_Order_CreateOrChangeVendorView_In, urn:poscenario:srm:xi:vendor
    Unable to find element OutboundBindingAttributes: Node DY1WebMethodsMI_Order_CreateOrChangeVendorView_Inurn:poscenario:srm:xi:vendor8f16f906899838c7a4b64634e8140706686c72620ed63ed28c12a634f905d0ce.
    You help will be highly appreciated.
    Regards,
    Ravinder Masuta

    Hi Tanja,
    Now I tried to use the XI channel and I become the same problems. Maybe me configure of the "Receiver Agreement" is wrong.
    sender-service      A1CLNT100
    receiver-service    A2CLNT100
    receiver-Interface: ORDERS.ORDERS05
    namespace:          urn:sap-com:document:sap:idoc:messages
    communication channel : IDOC
    But without the IDOC-channel I become this error message:
    OUTBOUND_BINDING_NOT_FOUND --- no Receiver Agreement found
    Regards
    Christoph

  • How to generate Campaign details in XML format for sending to downstream sy

    Dear gurus,
    we have a requirement to send the Campaign details from CRM to some Downstream system in the XML format through PI interfaces. We want to include the following campaign details in the structure.
    <SAPTOAL DATE="03-MAR-2011" TIME="13:25pm">
          <CAMPAIGN>
                <ID></ID>
                <NAME></NAME>
                <RUNDATE></RUNDATE>
                <RUNTIME></RUNTIME>
                <STARTDATE></STARTDATE>
                <ENDDATE></ENDDATE>
                <RECORDCOUNT></RECORDCOUNT>
          </CAMPAIGN>
          <TARGETGROUP>
                <ID></ID>
                <NAME></NAME>
    </TARGETGROUP>
          <BUSINESSPARTNERS>
                <BUSINESSPARTNER>
                      <ID>001</ID>
                <TARGETGROUPID></TARGETGROUPID>
                <FIRSTNAME></FIRSTNAME>
                      <LASTNAME></LASTNAME>
                      <TITLE></TITLE>
                      <SUFFIX></SUFFIX>
                      <EMAIL></EMAIL>
                      <REPFIRSTNAME></REPFIRSTNAME>
                      <REPLASTNAME></REPLASTNAME>
                      <REPPHONE></REPPHONE>
                      <REPSIGNATUREURL></REPSIGNATUREURL>
                      <REPPICTUREURL></REPPICTUREURL>
                      <REPEMAIL></REPEMAIL>
                </BUSINESSPARTNER>
                <BUSINESSPARTNER>
                      <ID>002</ID>
                <TARGETGROUPID></TARGETGROUPID>
                      <FIRSTNAME></FIRSTNAME>
                      <LASTNAME></LASTNAME>
                      <TITLE></TITLE>
                      <SUFFIX></SUFFIX>
                      <EMAIL></EMAIL>
                      <REPFIRSTNAME></REPFIRSTNAME>
                      <REPLASTNAME></REPLASTNAME>
                      <REPPHONE></REPPHONE>
                      <REPSIGNATUREURL></REPSIGNATUREURL>
                      <REPPICTUREURL></REPPICTUREURL>
                      <REPEMAIL></REPEMAIL>
                </BUSINESSPARTNER>
          </BUSINESSPARTNERS>
    </SAPTOAL>
    We have already tried the following things in SPRO.
    CRM --> Marketing --> Marketing Planning and Campaign Management --> Campaign Execution --> Define File Export Variants
    But with this we were not able to get the full XML structure, as required above. We got only this much.
    <?xml version="1.0" encoding="utf-8" ?>
    <DATA>
    <ITEM>
       <Field_1>Test Email.</Field_1>
       <Field_2>Test Email.</Field_2>
       <Field_3>ABC Company.</Field_31>
    </ITEM>
    </DATA>
    Any pointers or help on this will he greatly appreciated.rgrds,
    Randhir Soni

    Hi Prabhu,
    The program SAPFPAYM generates the payment Medium  on the basis of your configuration and background settings, this program does not bydefault give the output in the XML.
    Varient creation for the PMW in T. Code OBPM4, use the same program, which i already done it, even without this it is not be possible to create any payment Medium.
    Regards,
    Rony

  • Read xml file using Acrobat javascript

    Please let me know if a XML file can be read using Acrobat javascript.
    I need to read and store the xml data in a string.
    thanks,
    Sashi

    STEP - 2
    SQL>
    SQL> DECLARE
      2    l_ctx dbms_xmlsave.ctxType ;
      3    l_xml CLOB :=
      4  '<?xml version="1.0" encoding="UTF-8" ?>
      5  <NewDataSet>
      6      <ROW>
      7          <DEPARTMENT>BA52</DEPARTMENT>
      8          <PCS_CONTRACT_TAG>MD-3GSM</PCS_CONTRACT_TAG>
      9          <LOCATION>Australia</LOCATION>
    10          <MAY_2006>21668</MAY_2006>
    11      </ROW>
    12      <ROW>
    13          <DEPARTMENT>BA501</DEPARTMENT>
    14          <PCS_CONTRACT_TAG>MD-3GSM</PCS_CONTRACT_TAG>
    15          <LOCATION>China</LOCATION>
    16          <MAY_2006>8166</MAY_2006>
    17      </ROW>
    18      <ROW>
    19          <DEPARTMENT>BA522</DEPARTMENT>
    20          <PCS_CONTRACT_TAG>MD-3GSM</PCS_CONTRACT_TAG>
    21          <LOCATION>Australia</LOCATION>
    22          <MAY_2006>21668</MAY_2006>
    23      </ROW>
    24  </NewDataSet>' ;
    25  BEGIN
    26      l_ctx := dbms_xmlsave.newContext(targetTable => 'XML_INSERT');
    27      dbms_output.put_line(dbms_xmlsave.insertXML(ctxHdl => l_ctx,
    28                                                  xDoc   => l_xml) ||
    29                           ' rows inserted.');
    30      dbms_xmlsave.closeContext(l_ctx);
    31  END;
    32  /
    3 rows inserted.
    PL/SQL procedure successfully completed.Regards.
    Satyaki De.

  • What is the XML format for Sub Agreements?

    Hi,
    We have requirement to automate loading Master Agreements and Sub Agreements into CLM from a non-SAP system. 
    Currently the data is loaded using CSV files, but Double Byte Char. is not supported in CSV file format.
    I am trying to load using XML format and have be successful to load  Master Agreement.
    I need help with Sub Agreement XML Structure or a better alternative to load Sub Agreement metadata containing Double Byte Char. 
    Provided below is the Sub Agreement XML Structure. Please provide suggestions or guidance on this issue.
    We are on 7.0 SP8 .
    Thanks
    Sai

    Hi Prasad,
    Thanks for your quick response.
    I am able to load successfully Project and Master Agreement in XML format with metadata containing multibyte char.
    Multibyte char is displayed on Project and Master Agreement Screen.
    English , German, Chinese, Japanese, Korean, Spanish, French and Italian language packs are installed in Sourcing.
    I am getting below error while importing XML for Sub Agreement.
    Record 1. Warning: XML import could not process field: CONTRACT_UNIQUE_DOC_NAME
    Facility=local4;sessionid=bR6bHsKNs_s_sA8ihHdOSyOASPCvRgEP3icA_SAP;tenantid=#ebay#;username=sguntaka;exception=java.lang.IllegalArgumentException: unsupported null bind parameter no. 0 found in statement SELECT OBJECTID, CONTEXTID, REVISION_COUNT, UNIQUE_DOC_NAME, DISPLAY_NAME, COLLN_METADATA, RESERVATION_LOCK, DOCUMENT_DESCRIPTION, CREATED_BY_USER_OBJECT_ID, CREATED_BY_USER_CLASS_ID, CREATED_BY_USER_OBJECT_NAME, MODIFIED_BY_USER_OBJECT_ID, MODIFIED_BY_USER_CLASS_ID, MODIFIED_BY_USER_OBJECT_NAME, EDIT_BY_USER_OBJECT_ID, EDIT_BY_USER_CLASS_ID, EDIT_BY_USER_OBJECT_NAME, CREATED_AT, MODIFIED_AT, EDIT_AT_DATETIME, INACTIVE, TRACK_CHANGES, COLLABORATION_POLICY, HAS_PUBLIC_DISC, IS_TEMPLATE, CANCELED_BY_USER_OBJECT_ID, CANCELED_BY_USER_CLASS_ID, CANCELED_BY_USER_OBJECT_NAME, DOC_OWNER_USER_OBJECT_ID, DOC_OWNER_USER_CLASS_ID, DOC_OWNER_USER_OBJECT_NAME, CLOSED_BY_USER_OBJECT_ID, CLOSED_BY_USER_CLASS_ID, CLOSED_BY_USER_OBJECT_NAME, CANCELED_AT, CLOSED_AT, TEMPLATE_OBJECT_ID, TEMPLATE_CLASS_ID, TEMPLATE_OBJECT_NAME, DOC_TYPE_OBJECT_ID, DOC_TYPE_CLASS_ID, DOC_TYPE_OBJECT_NAME, BASE_DATE_DATE, SCHEDULE_WORK_DAYS, BUSINESS_UNIT_OBJECT_ID, BUSINESS_UNIT_CLASS_ID, BUSINESS_UNIT_OBJECT_NAME, COMPANY_OBJECT_ID, COMPANY_CLASS_ID, COMPANY_OBJECT_NAME, ESTIMATED_CURRENCY, ESTIMATED_OBJECT_ID, ESTIMATED_PRICE, BUDGETED_CURRENCY, BUDGETED_OBJECT_ID, BUDGETED_PRICE, CURRENCY_OBJECT_ID, CURRENCY_CLASS_ID, CURRENCY_OBJECT_NAME, VENDOR_VISIBLE, DATE_TO_PUBLISH_DATE, LOCK_BASELINE, LI_PERIOD_TYPE_OBJECT_ID, LI_PERIOD_TYPE_CLASS_ID, LI_PERIOD_TYPE_OBJECT_NAME, CALC_METHOD, SPEC_ID_COUNT, ATTR_ID_COUNT, FORMULA_ID_COUNT, PURCHASING_ORG_OBJECT_ID, PURCHASING_ORG_CLASS_ID, PURCHASING_ORG_OBJECT_NAME, PURCHASING_GRP_OBJECT_ID, PURCHASING_GRP_CLASS_ID, PURCHASING_GRP_OBJECT_NAME, TRANSACTION_TYPE_OBJECT_ID, TRANSACTION_TYPE_CLASS_ID, TRANSACTION_TYPE_OBJECT_NAME, COMPANY_CODE_OBJECT_ID, COMPANY_CODE_CLASS_ID, COMPANY_CODE_OBJECT_NAME, INTEGRATED_TYPE, USE_ERP_VALIDATION, STORAGE_LOCATION, RECORD_SERIES, RETENTION_DATE_DATE, RETENTION_REMINDER_DATE_DATE, RETENTION_EVENT_OBJECT_ID, RETENTION_EVENT_CLASS_ID, RETENTION_EVENT_OBJECT_NAME, EFFECTIVE_DATE_DATE, EXPIRATION_DATE_DATE, TERMIN_NOTICE_LEAD_TIME, TERMIN_COMMU_DATE, PERPETUAL_TERM, AUTO_RENEWAL, EVENT_OBJECT_ID, EVENT_CLASS_ID, EVENT_OBJECT_NAME, RENEWAL_REMINDER_DATE, VENDOR_OBJECT_ID, VENDOR_CLASS_ID, VENDOR_OBJECT_NAME, CONTACT_OBJECT_ID, CONTACT_CLASS_ID, CONTACT_OBJECT_NAME, LOCATION_OBJECT_ID, LOCATION_CLASS_ID, LOCATION_OBJECT_NAME, PAYTERMS_OBJECT_ID, PAYTERMS_CLASS_ID, PAYTERMS_OBJECT_NAME, REPLENISHMENT_OBJECT_ID, REPLENISHMENT_CLASS_ID, REPLENISHMENT_OBJECT_NAME, VENDOR_ACCT_NUM, INT_CAT_OBJECT_ID, INT_CAT_CLASS_ID, INT_CAT_OBJECT_NAME, EXT_CAT_OBJECT_ID, EXT_CAT_CLASS_ID, EXT_CAT_OBJECT_NAME, EVALUATION_CRITERIA, NEXT_AUDIT_DATE, LAST_AUDIT_DATE, TOTAL_EXPECTED_CURRENCY, TOTAL_EXPECTED_OBJECT_ID, TOTAL_EXPECTED_PRICE, TOTAL_BUDGETED_CURRENCY, TOTAL_BUDGETED_OBJECT_ID, TOTAL_BUDGETED_PRICE, TOTAL_ACTUAL_CURRENCY, TOTAL_ACTUAL_OBJECT_ID, TOTAL_ACTUAL_PRICE, TOTAL_SAVINGS_CURRENCY, TOTAL_SAVINGS_OBJECT_ID, TOTAL_SAVINGS_PRICE, TOTAL_COST_SAVINGS_CURRENCY, TOTAL_COST_SAVINGS_OBJECT_ID, TOTAL_COST_SAVINGS_PRICE, TOTAL_COST_AVOIDANCE_CURRENCY, TOTAL_COST_AVOIDANCE_OBJECT_ID, TOTAL_COST_AVOIDANCE_PRICE, PERF_EVAL_CRITERIA, PERF_LAST_UPDATE_DATE, PERF_NEXT_UPDATE_DATE, BUYER_SEARCHABLE, VAL_PERIOD_TYPE_OBJECT_ID, VAL_PERIOD_TYPE_CLASS_ID, VAL_PERIOD_TYPE_OBJECT_NAME, INCLUDE_PART_NUMBER, TOTAL_ACTUAL_SPEND_CURRENCY, TOTAL_ACTUAL_SPEND_OBJECT_ID, TOTAL_ACTUAL_SPEND_PRICE, FORECAST_SPEND_CURRENCY, FORECAST_SPEND_OBJECT_ID, FORECAST_SPEND_PRICE, ACTUAL_LIMIT_PCT, FORECAST_LIMIT_PCT, LINEITEM_ID_CNT, LIMIT_VALUE_CURRENCY, LIMIT_VALUE_OBJECT_ID, LIMIT_VALUE_PRICE, MINIMUM_VALUE_CURRENCY, MINIMUM_VALUE_OBJECT_ID, MINIMUM_VALUE_PRICE, MINIMUM_DAYS_OFFSET, MARGIN_PRICING, DELETED_AT_DATETIME, DELETED_BY_OBJECT_ID, DELETED_BY_CLASS_ID, DELETED_BY_OBJECT_NAME, CTR_IS_DUET, HAS_DUET_ITEMS, WORD_ATTRIBUTES_TEXT_PREVIEW, WORD_ATTRIBUTES_TEXT_OBJECT_ID, WORD_ATTRIBUTES_TEXT_CLASS_ID, WORD_ATTRIBUTES_CHECKSUM, SENT_TO_ERP_DATETIME, STATUS_OBJECT_ID, STATUS_CLASS_ID, STATUS_OBJECT_NAME, LAST_SPEND_IMPORT_DATE, BUYER_SPECS_SUPPORT, VENDOR_SPECS_SUPPORT FROM clmuser.FCI_CONTRACT WHERE UNIQUE_DOC_NAME = ? AND CONTEXTID = ?;stacktrace=java.lang.IllegalArgumentException: unsupported null bind parameter no. 0 found in statement SELECT OBJECTID, CONTEXTID, REVISION_COUNT, UNIQUE_DOC_NAME, DISPLAY_NAME, COLLN_METADATA, RESERVATION_LOCK, DOCUMENT_DESCRIPTION, CREATED_BY_USER_OBJECT_ID, CREATED_BY_USER_CLASS_ID, CREATED_BY_USER_OBJECT_NAME, MODIFIED_BY_USER_OBJECT_ID, MODIFIED_BY_USER_CLASS_ID, MODIFIED_BY_USER_OBJECT_NAME, EDIT_BY_USER_OBJECT_ID, EDIT_BY_USER_CLASS_ID, EDIT_BY_USER_OBJECT_NAME, CREATED_AT, MODIFIED_AT, EDIT_AT_DATETIME, INACTIVE, TRACK_CHANGES, COLLABORATION_POLICY, HAS_PUBLIC_DISC, IS_TEMPLATE, CANCELED_BY_USER_OBJECT_ID, CANCELED_BY_USER_CLASS_ID, CANCELED_BY_USER_OBJECT_NAME, DOC_OWNER_USER_OBJECT_ID, DOC_OWNER_USER_CLASS_ID, DOC_OWNER_USER_OBJECT_NAME, CLOSED_BY_USER_OBJECT_ID, CLOSED_BY_USER_CLASS_ID, CLOSED_BY_USER_OBJECT_NAME, CANCELED_AT, CLOSED_AT, TEMPLATE_OBJECT_ID, TEMPLATE_CLASS_ID, TEMPLATE_OBJECT_NAME, DOC_TYPE_OBJECT_ID, DOC_TYPE_CLASS_ID, DOC_TYPE_OBJECT_NAME, BASE_DATE_DATE, SCHEDULE_WORK_DAYS, BUSINESS_UNIT_OBJECT_ID, BUSINESS_UNIT_CLASS_ID, BUSINESS_UNIT_OBJECT_NAME, COMPANY_OBJECT_ID, COMPANY_CLASS_ID, COMPANY_OBJECT_NAME, ESTIMATED_CURRENCY, ESTIMATED_OBJECT_ID, ESTIMATED_PRICE, BUDGETED_CURRENCY, BUDGETED_OBJECT_ID, BUDGETED_PRICE, CURRENCY_OBJECT_ID, CURRENCY_CLASS_ID, CURRENCY_OBJECT_NAME, VENDOR_VISIBLE, DATE_TO_PUBLISH_DATE, LOCK_BASELINE, LI_PERIOD_TYPE_OBJECT_ID, LI_PERIOD_TYPE_CLASS_ID, LI_PERIOD_TYPE_OBJECT_NAME, CALC_METHOD, SPEC_ID_COUNT, ATTR_ID_COUNT, FORMULA_ID_COUNT, PURCHASING_ORG_OBJECT_ID, PURCHASING_ORG_CLASS_ID, PURCHASING_ORG_OBJECT_NAME, PURCHASING_GRP_OBJECT_ID, PURCHASING_GRP_CLASS_ID, PURCHASING_GRP_OBJECT_NAME, TRANSACTION_TYPE_OBJECT_ID, TRANSACTION_TYPE_CLASS_ID, TRANSACTION_TYPE_OBJECT_NAME, COMPANY_CODE_OBJECT_ID, COMPANY_CODE_CLASS_ID, COMPANY_CODE_OBJECT_NAME, INTEGRATED_TYPE, USE_ERP_VALIDATION, STORAGE_LOCATION, RECORD_SERIES, RETENTION_DATE_DATE, RETENTION_REMINDER_DATE_DATE, RETENTION_EVENT_OBJECT_ID, RETENTION_EVENT_CLASS_ID, RETENTION_EVENT_OBJECT_NAME, EFFECTIVE_DATE_DATE, EXPIRATION_DATE_DATE, TERMIN_NOTICE_LEAD_TIME, TERMIN_COMMU_DATE, PERPETUAL_TERM, AUTO_RENEWAL, EVENT_OBJECT_ID, EVENT_CLASS_ID, EVENT_OBJECT_NAME, RENEWAL_REMINDER_DATE, VENDOR_OBJECT_ID, VENDOR_CLASS_ID, VENDOR_OBJECT_NAME, CONTACT_OBJECT_ID, CONTACT_CLASS_ID, CONTACT_OBJECT_NAME, LOCATION_OBJECT_ID, LOCATION_CLASS_ID, LOCATION_OBJECT_NAME, PAYTERMS_OBJECT_ID, PAYTERMS_CLASS_ID, PAYTERMS_OBJECT_NAME, REPLENISHMENT_OBJECT_ID, REPLENISHMENT_CLASS_ID, REPLENISHMENT_OBJECT_NAME, VENDOR_ACCT_NUM, INT_CAT_OBJECT_ID, INT_CAT_CLASS_ID, INT_CAT_OBJECT_NAME, EXT_CAT_OBJECT_ID, EXT_CAT_CLASS_ID, EXT_CAT_OBJECT_NAME, EVALUATION_CRITERIA, NEXT_AUDIT_DATE, LAST_AUDIT_DATE, TOTAL_EXPECTED_CURRENCY, TOTAL_EXPECTED_OBJECT_ID, TOTAL_EXPECTED_PRICE, TOTAL_BUDGETED_CURRENCY, TOTAL_BUDGETED_OBJECT_ID, TOTAL_BUDGETED_PRICE, TOTAL_ACTUAL_CURRENCY, TOTAL_ACTUAL_OBJECT_ID, TOTAL_ACTUAL_PRICE, TOTAL_SAVINGS_CURRENCY, TOTAL_SAVINGS_OBJECT_ID, TOTAL_SAVINGS_PRICE, TOTAL_COST_SAVINGS_CURRENCY, TOTAL_COST_SAVINGS_OBJECT_ID, TOTAL_COST_SAVINGS_PRICE, TOTAL_COST_AVOIDANCE_CURRENCY, TOTAL_COST_AVOIDANCE_OBJECT_ID, TOTAL_COST_AVOIDANCE_PRICE, PERF_EVAL_CRITERIA, PERF_LAST_UPDATE_DATE, PERF_NEXT_UPDATE_DATE, BUYER_SEARCHABLE, VAL_PERIOD_TYPE_OBJECT_ID, VAL_PERIOD_TYPE_CLASS_ID, VAL_PERIOD_TYPE_OBJECT_NAME, INCLUDE_PART_NUMBER, TOTAL_ACTUAL_SPEND_CURRENCY, TOTAL_ACTUAL_SPEND_OBJECT_ID, TOTAL_ACTUAL_SPEND_PRICE, FORECAST_SPEND_CURRENCY, FORECAST_SPEND_OBJECT_ID, FORECAST_SPEND_PRICE, ACTUAL_LIMIT_PCT, FORECAST_LIMIT_PCT, LINEITEM_ID_CNT, LIMIT_VALUE_CURRENCY, LIMIT_VALUE_OBJECT_ID, LIMIT_VALUE_PRICE, MINIMUM_VALUE_CURRENCY, MINIMUM_VALUE_OBJECT_ID, MINIMUM_VALUE_PRICE, MINIMUM_DAYS_OFFSET, MARGIN_PRICING, DELETED_AT_DATETIME, DELETED_BY_OBJECT_ID, DELETED_BY_CLASS_ID, DELETED_BY_OBJECT_NAME, CTR_IS_DUET, HAS_DUET_ITEMS, WORD_ATTRIBUTES_TEXT_PREVIEW, WORD_ATTRIBUTES_TEXT_OBJECT_ID, WORD_ATTRIBUTES_TEXT_CLASS_ID, WORD_ATTRIBUTES_CHECKSUM, SENT_TO_ERP_DATETIME, STATUS_OBJECT_ID, STATUS_CLASS_ID, STATUS_OBJECT_NAME, LAST_SPEND_IMPORT_DATE, BUYER_SPECS_SUPPORT, VENDOR_SPECS_SUPPORT FROM clmuser.FCI_CONTRACT WHERE UNIQUE_DOC_NAME = ? AND CONTEXTID = ?
    at com.sap.odp.common.db.AbstractDb.findWhere(AbstractDb.java:5823)
    at com.sap.odp.common.db.AbstractDb.findWhere(AbstractDb.java:5760)
    at com.sap.eso.contracts.ContractHome.findUniqueByDocName(ContractHome.java:96)
    at com.sap.eso.contracts.importer.processors.AgreementProcessor.createNewHook(AgreementProcessor.java:479)
    at com.sap.odp.doc.importer.AbsDocImportProcessor.processRow(AbsDocImportProcessor.java:165)
    at com.sap.odp.common.install.dataimport.csv.CsvFileProcessor.processRowInternal(CsvFileProcessor.java:1370)
    at com.sap.odp.common.install.dataimport.csv.CsvFileProcessor.processFile(CsvFileProcessor.java:281)
    at com.sap.odp.common.install.dataimport.xml.XmlImporter.importXmlObject(XmlImporter.java:249)
    at com.sap.odp.common.install.dataimport.xml.XmlImportHandler.endElement(XmlImportHandler.java:155)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
    at com.sap.odp.common.install.dataimport.xml.ImportXmlReader.importObjects(ImportXmlReader.java:141)
    at com.sap.odp.common.install.dataimport.xml.ImportXmlReader.parse(ImportXmlReader.java:84)
    at com.sap.odp.common.install.dataimport.xml.ImportXmlReader.parse(ImportXmlReader.java:73)
    at com.sap.odp.common.install.dataimport.xml.XmlImporter.go(XmlImporter.java:164)
    at com.sap.odp.install.actions.ProcessXmlImportFile.executeHook(ProcessXmlImportFile.java:170)
    at com.sap.odp.install.actions.InstallAction.execute(InstallAction.java:203)
    at com.sap.odp.install.engine.ScriptedImportEngine.runSingleItem(ScriptedImportEngine.java:319)
    at com.sap.odp.install.engine.XmlImportEngine.execute(XmlImportEngine.java:128)
    at com.sap.odp.install.imports.ImportController$ImportRunner.execute(ImportController.java:302)
    at com.sap.odp.install.imports.ImportController$ImportRunner.run(ImportController.java:212)
    at java.lang.Thread.run(Thread.java:708)
    Let me know if you need additional details.
    Regards
    Sai

  • XML format for input to BPEL process from client stub

    Hi,
    I have deployed SyncHelloWorld BPEL process as given in the tutorial in the BPEL Server. It is working fine. Now I am trying to invoke the process by creating a Java client stub . I created a stub using the Web-services wizard by specifying the WSDL of the BPEL. Now I want to know how to pass some string through XML document to the BPEL process.
    I am using this code in the main method of the stub., but the value is not being passed to the BPEL nodes correctly. the output I am getting is "Hello "
    and not "Hello XYZString". I think I am not able to form the XML document to pass as input correctly. Can anyone help.
    Can anyone please help :
    public static void main(String[] args)
    try
    SyncHelloWorldStub stub = new SyncHelloWorldStub();
    // Add your own code here.
    // Create an empty XML document
    XMLDocument doc = new XMLDocument();
    // Create an element
    Element body = doc.createElementNS("http://xmlns.oracle.com/SyncHelloWorld", "SyncHelloWorldProcessRequest");
    // Create the inner element
    Element ip = doc.createElementNS("http://xmlns.oracle.com/SyncHelloWorld", "input");
    // Create a text node
    Text text = doc.createTextNode("input");
    // Set the input parameter
    text.setNodeValue("XYZString");
    ip.appendChild(text);
    body.appendChild(ip);
    // Call the process. It returns a vector
    Vector v = stub.process(body);
    // Code to print the returned xml.
    System.out.println("Received " + v.size() + " element");
    Enumeration enum = v.elements();
    // Walk through the vector and print out contents
    while (enum.hasMoreElements())
    Object o = enum.nextElement();
    System.out.println("Returned a " + o.getClass().getName());
    //If it is an element, print it out
    if (o instanceof XMLElement)
    XMLElement xml = (XMLElement)o;
    xml.print(System.out);
    else
    System.out.println("Returned " + o.toString());
    System.out.println("After executing : "+v.toString());
    catch(Exception ex)
    ex.printStackTrace();
    This is the code for WSDL file for the BPEL process.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="SyncHelloWorld" targetNamespace="http://xmlns.oracle.com/SyncHelloWorld" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/SyncHelloWorld" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/SyncHelloWorld">
    - <types>
    - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/SyncHelloWorld" xmlns="http://www.w3.org/2001/XMLSchema">
    - <element name="SyncHelloWorldProcessRequest">
    - <complexType>
    - <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    - <element name="SyncHelloWorldProcessResponse">
    - <complexType>
    - <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    - <message name="SyncHelloWorldRequestMessage">
    <part name="payload" element="tns:SyncHelloWorldProcessRequest" />
    </message>
    - <message name="SyncHelloWorldResponseMessage">
    <part name="payload" element="tns:SyncHelloWorldProcessResponse" />
    </message>
    - <portType name="SyncHelloWorld">
    - <operation name="process">
    <input message="tns:SyncHelloWorldRequestMessage" />
    <output message="tns:SyncHelloWorldResponseMessage" />
    </operation>
    </portType>
    - <binding name="SyncHelloWorldBinding" type="tns:SyncHelloWorld">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="process">
    <soap:operation style="document" soapAction="process" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="SyncHelloWorld">
    - <port name="SyncHelloWorldPort" binding="tns:SyncHelloWorldBinding">
    <soap:address location="http://cisoidd001.corporate.ge.com:5843/orabpel/default/SyncHelloWorld/v2006_06_19__40924" />
    </port>
    </service>
    - <plnk:partnerLinkType name="SyncHelloWorld">
    - <plnk:role name="SyncHelloWorldProvider">
    <plnk:portType name="tns:SyncHelloWorld" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    Also, while running the BPEL process from console, we can give the input as html or string. Can anyone give the me xml format of the input.
    Any help would be highly appreciated.
    Thanks,
    Debojyoty

    Your last question shows that you might have solved this by now.
    The xml document you are composing in java might not exactly be the xml input bpel excepts. The way to compare is first initiate a process by posting an html message, using the initiate tab for your process in the BPEL console. Check the box "Save as default input" before you send the html request.
    Then again do an initiate from the BPEL console and select "XML Source" instead of "HTML Form". You will see the xml message you just have sent as html.
    You might also want to test your java program with one of the many free soap clients available on the internet.
    HTH,
    Ruerd
    http://www.numericalexample.com

  • Output from Concurrent program in XML format for bytes greater than 32K

    Hi,
    I created a custom concurrent program where i send the generated XML data as an output to the program.
    I have an XML template attached to the program, so the template picks up the xml output and converts it to a PDF.
    so ultimately when i run the concurrent program, the output is a PDF file. This way it is easy for the user to just run a program and get a PDF file.
    Now the generated XML data is from an oracle seeded program and it is a BLOB.
    I am converting it to a CLOB so that i can write it to the output. if the CLOB doesnt exceed 32K bytes, i have no issues writing it to the output.
    But since we cannot write more than 32K bytes, i an using a substr to write chunks of the CLOB for every 30,000 bytes.
    since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?
    Either i write the whole 33000+ bytes in one line to the fnd output or try to remove the line breaks from the xml data.
    Thanks in advance for anyone reading this!

    >
    > since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?So I suppose you're using FND_FILE.PUT_LINE ?
    Why not use FND_FILE.PUT instead, so that no new line is generated after each chunk ?
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458258.htm#I_fndfile

  • -info XML format for Compressor's command line interface?

    Hi Everyone,
    I've got a brand new copy of Final Cut Studio HD that I'm using for an encoding project. I'm trying to figure out how to use Compressor's command line interface. I want to give it a MPEG-2 file and a .scc (closed caption) file. I can see how to specify the source file, but I'm having trouble figuring out how to specify the SCC file. As best as I can understand, I'm going to need to use the -info <XML> option, but I haven't found any documentation for this. Can someone point me to the appropriate documentation?
    Thanks!
    - Kevin

    I get an error when I do exactly what you suggested. My problem is not if the XSU is able to locate the xml file because I know it is able to parse it since it picks up an error in it such as if I make the "ROW" element "row" - ie small caps instead of big which is not recognised by XSU. I use the url of the xml file as specified when I open the xml file in internet explorer. The XSU does confirm it inserts the document successfully with my original command but the document simply doesn't get inserted into the table. Specifically, if anyone is to insert the xml file I have shown in Oracle, how would it be approached successfully?
    Your help is very much appreciated.

  • CCM. Data upload SAP XML Format for CatalogueUpdateNotification

    Hi everybody
    Could anyone send me a SAP XML file example for CatalogueUpdateNotification?
    My email [email protected]
    Thanks in advance.
    Raúl.

    Hi Raul,
    Sent.
    Hope it will be useful.
    and you can give me points.
    BR
    Dinesh

  • Help required on XML format for Sourcing system

    Hi All,
    We are Integrating PI with SAP Sourcing and Sourcing is expecting the XML in below structure.
    XML Required by the target system:
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing defaultlanguage="" xsi:noNamespaceSchemaLocation="Locations.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <objects>
    <object classname="">
                <fields>
    Field1....n
                </fields>
            </object>
          </objects>
    </sapesourcing>
    I have converted the XML in to XSD and imported in to PI, but I have no idea how to Populate the tag as it required by Sourcing system
    tag must be required by sourcing system is:
    "<sapesourcing defaultlanguage="" xsi:noNamespaceSchemaLocation="Locations.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    Mapping generates below tag :
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing defaultlanguage="">  ........
    Regards,
    Mani

    Hi Mani,
    Try to add the xml tag using XSLT mapping.  Go through with the below link.
    add Namespace in message mapping | SCN
    Thanks,
    Satish.

  • Javascript for Acrobat XI

    Hello everyone.
    Using the creative cloud I just upgraded from Acrobat 8 to Acronbat XI.  I cannot find the Javascript documentation for that version of Acrobat, nor can I find the SDK for that version of Acrobat.   I was able to find the Acrobat 8.0 Javascript documentation, but that's about the latest I can find.  Is that the latest version?
    TIA!
    John

    Here is the link to the documentation for Acrobat JavaScript versions 8 on.
    Here is the link to MDN JavaScript documentation and other resources. JavaScript Guide & JavaScript Reference.
    The material in the Acrobat SDK is not dynamic while the Acrobat JavaScript for version 9 and version X are both dynamic and can easily be updated by Adobe.

  • Help in creation of XML file for IDOC postings

    Hi All,
    Need help if anyone has knowledge/experience in creating XML files for IDOC processing.
    We need to design an input file (in XML format) for creation of IDOCu2019s for purchase Invoices through Interface.
    We have an existing input file, which is working correctly.  We are trying to modify this existing input file for a new Tax Code (Non-deductible inverse tax liability).   This tax code is working fine for manual postings.   But, through IDOC, tax postings are not correctly triggering.
    Could you please confirm if any one has experience on this, so that I can share more details for resolving.
    Thanks & Regards,
    Srini

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • DME file in XML format in SAP 4.6C

    Hi Experts,
    For a Belgium client, I have a requirement to generate DME file in XML format for payments made to foreign and domestic vendors.  I want to know the following,
    1.  Can DME file be generated in XML format using classic payment medium programs RFFOBE_E and RFFOBE_I.
    2.  If not why and what are the other options.
    3.  I also came to know that there is an options of using Payment medium workbench - through XML format trees BE_BEPDTA and BE_PIBDTA.  But since we are in 4.6C, i am not able to create a payment format.  Is there any support package or patch that is required.
    4.  I tried for SEPA_CT - again a XML format tree but was not very successful as that too was not available in SAP 4.6C.  Is there any way that I can get this done in 4.6C - any support packages or patches available?
    Thanks

    Hi Kaylan,
    could you please share that documentation with me too.
    Thanks, Regards,
    Alex Cardona

  • XML Format in PI 7.1

    Hi All,
    Actually,I need to create the XML format for the Source fields.
    I have created the source  data type of Complex type.also the message type of the same name.
    The contents of the data type  Info  are 
    name
    age
    qualification
    dateofbirth
    While at the receiving end I am supposed to get only  3 of them.
    I have never created the XML structure previousely.
    Please tell me how will it be.
    If there is anything relevant to the XML format ,please tell me.
    Thanks in advance.

    Hi Swetha,
       Your understanding is right.
    If your file have two records then you need to create two records in your mapping test tab. But by default it has only one record, so what you do is on your source root node do a right click and click on Duplicate Subtree. It was duplicate the same structure. Now you have two records and fill both of them and take the xml. So now your file has two records. Similarly you can do extend to your test cases.
    1.So I should go to the Test Tab of the Message Mapping section to do this,is it?
    Since you want to test the message mapping for multiple records .you have to do the replication of the structure(duplicattion).if the occurenes metioned for that structure is more than one its fine .Else it will throw an error during run time due to mismatch of occurences(eg., if u mentioned occurences as 1 and if u send two records it will throw an error).
    2.After that I should click on the root node in the Test tab and should do the right click on duplicate subtree so that I can mention 2 values for 1 field and can get the 2 records ,similarly the elevant XML, is it ?
    Your understanding is right in this case too.You replicate the field or structure u want and give the values as u said (consider occurenes here too).It will serve your puropse.
    3.After that the only thing that I need to do is the copying the XML code in the XSD section which is the relevant XML file,and consider it as the Source XML Structure,is it?
      Since you  mentioned that you dont have source xml to be tested .You can use the XML code that has been generated in during testing by saving it as filename.xml that u mentioned in the communication channel.
    Hope you got the point.
    Thanks,
    Ram.

  • Writting file in xml format

    Hello guys,
    I am just wondering if i can write to a text file in xml format:
    For example if i want to save the following:
    Avisha 00/06/2000
    The text file should show:
    <record>
    <name>Avisha</name>
    <DOB00/06/200</DOB>
    </record>
    I think i probably needs to use some sort of XML schema, i never done it before and i would appriciate your help.
    Thanks,

    corlettk wrote:
    thomas.behr wrote:
    Well, for simple cases, such as your example, just create an appropriate String and write that to your file.
    For more complex cases, create a org.w3c.dom.Document (using DocumentBuilder and DocumentBuilderFactory), create the appropriate structure and use a javax.xml.transform.Transformer (created via TransformerFactory) to convert your Document from a DOMSource to StreamResult.I'm not a fan of the DOM solution... It's slow and very memory hungry... Goog for small datasets.
    @OP If you can, I recommend using an XMLBinder (like [XML-Beans|http://xmlbeans.apache.org/] jusr for example) to both read and write all your XML.Errr, XMLBeans and the like will still be using DOM under the covers, so the memory issue is still as relevant as before. Happily, this turns out to be "not as much as you probably think" anyway. So the decision is a design one. Do you have schemas for this XML? You don't? Ah well, a binding framework's out of the question anyway. What are you doing with it? ("Processing it" isn't an answer). Where is it coming from? ("my codez" isn't an answer). What format need it be in? ("XML format" isn't an answer)
    Building a DOM tree and serializing it isn't necessarily all that stupid an idea

Maybe you are looking for