B2B SelfService Error creating Trading Partner .zip import file using ant

SOA 11g 11.1.1.5 B2B - We are trying to create an import file for out trading partners into SOA B2B 11g but are getting errors when we run the ant script to build the import zip file.
We ran the ant-b2b-util to get the b2bselfservice.xsd file, loaded that into jDev to show the selfservice.xml structure.
We have built a trading partner xml file and at this point have stripped it down to one TP just to see if we could get it to work and we keep getting the same error messages.
From the $SOA_ORACLE_HOME/bin directory (where we have placed our TP xml file: TPD_NA.xml) here is the command and results from running the ant script:
[oracle@nalinoap05 bin]$ ant -f ant-b2b-util.xml b2bselfservice -Dinput=$ORACLE_HOME/bin/TPD_NA.xml -Doutput=$ORACLE_HOME/bin/TP_Docs.zip
Buildfile: ant-b2b-util.xml
b2bselfservice:
weblogic_dependencies:
[echo]
[echo] Weblogic server location: /oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/wlserver_10.3
[echo] JNDI properties folder location: /oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/Oracle_SOAWDEV/bin
[echo]
verifyargs:
utility:
[echo]
[echo] java.naming.provider.url=${java.naming.provider.url}
[echo] java.naming.factory.initial=${java.naming.factory.initial}
[echo] java.naming.security.principal=${java.naming.security.principal}
[echo] java.naming.security.credentials=*****
[echo]
[echo]
[echo] args=selfservice
[echo]
[java] Commandline arguments 1: [selfservice]
[java] 2012.04.10 at 13:27:35:559: main: (INFO) Input file location(s) :[oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/Oracle_SOAWDEV/bin/TPD_NA.xml]
[java] 2012.04.10 at 13:27:35:559: main: (INFO) Output file location :/oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/Oracle_SOAWDEV/bin/TP_Docs.zip
[java] 2012.04.10 at 13:27:35:596: main: (INFO) TradingPartner created :/soa/b2b/tp_id1AC191488133.xml
[java] 2012.04.10 at 13:27:35:600: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=4010VICS docType=852 docDef=852Def not found in doc_*.xml file
[java] 2012.04.10 at 13:27:35:600: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=4010 docType=997 docDef=997Def not found in doc_*.xml file
[java] 2012.04.10 at 13:27:35:600: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=850 docDef=850Def not found in doc_*.xml file
[java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=860 docDef=860Def not found in doc_*.xml file
[java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=4010VICS docType=864 docDef=864Def not found in doc_*.xml file
[java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=864 docDef=864Def not found in doc_*.xml file
[java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=997 docDef=997Def not found in doc_*.xml file
[java] 2012.04.10 at 13:27:35:602: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=856 docDef=856Def not found in doc_*.xml file
[java] 2012.04.10 at 13:27:35:602: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=810 docDef=810Def not found in doc_*.xml file
[java] 2012.04.10 at 13:27:35:691: main: (SEVERE) TPD_NA.xml: Error in Validation:
[java] [org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
               org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
               org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
               org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
               org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
               org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
               org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
               org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
               org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef']
[java] Java Result: 255
BUILD SUCCESSFUL
Total time: 1 second
Here is the contents of TPD_NA.xml:
<?xml version="1.0" encoding="UTF-8"?>
<SelfService xmlns="http://xmlns.oracle.com/integration/b2b/selfservice/profile">
<TradingPartners>
<TradingPartner hosted="false" name="OvvvvvvvX" >
<Identification name="EDI Interchange ID" value="18xxxxxxxxxX" />
<Identification name="EDI Interchange ID Qualifier" value="14" />
<Identification name="DUNS" value="18xxxxxxxxxX" />
<Identification name="Generic Identifier" value="18xxxxxxxxxX" />
<Identification name="AS2 Identifier" value="18xxxxxxxxxX" />
<SupportedDocumentDefinition initiator="true" docTypeName="852" docProtocolVersion="4010VICS" docProtocolName="EDI_X12" docDefName="852Def" />
<SupportedDocumentDefinition initiator="true" docTypeName="997" docProtocolVersion="4010" docProtocolName="EDI_X12" docDefName="997Def" />
<SupportedDocumentDefinition initiator="true" docTypeName="850" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="850Def" />
<SupportedDocumentDefinition initiator="true" docTypeName="860" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="860Def" />
<SupportedDocumentDefinition initiator="true" docTypeName="864" docProtocolVersion="4010VICS" docProtocolName="EDI_X12" docDefName="864Def" />
<SupportedDocumentDefinition initiator="true" docTypeName="864" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="864Def" />
<SupportedDocumentDefinition initiator="true" docTypeName="997" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="997Def" />
<SupportedDocumentDefinition initiator="false" docTypeName="856" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="856Def" />
<SupportedDocumentDefinition initiator="false" docTypeName="810" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="810Def" />
</TradingPartner>
</TradingPartners>
</SelfService>
We have exported our metadata and looked at the doc_EDI_X12.xml file and ALL of these referenced documents exist in that file and can be seen by going to Administration --> Document and under the Document Protocols navigation --> EDI_X12 --> 5010 --> 810 --> 810Def (as an example).
If we strip out all of the SupportedDocumentDefiinition lines then the ant script will build an import file with just the trading partners and Identifications.
What are we doing incorrectly or what is not working properly to get the ant script to build the import zip file??
Thanks for any assistance,
Ken

Does that mean we have to create all of the document type definitions in the selfservice file?
We have created (installed) all of the document types by installing them from the B2B Administration --> Document page.
The definitions in the Trading Partner xml file exactly match the definitions of the installed documents.
In the selfservice.xsd the <element> SelfService shows the profile:DocumentProtocols as minOccurs as 0 :
     <element name="SelfService">
          <complexType>
               <sequence>
                    <element minOccurs="0" maxOccurs="1"
                         ref="profile:DocumentProtocols" />
                    <element minOccurs="0" maxOccurs="1"
                         ref="profile:TradingPartners" />
                    <element minOccurs="0" maxOccurs="1"
                         ref="profile:Agreements" />
               </sequence>
               <attribute name="version" type="profile:non-empty-string"
                    use="optional" />
          </complexType>
     </element>
so we thought that since the documents had already been defined (created/installed) to B2B they would not have to be redefined in the selfservice xml.
If we have to define all of the document types in the selfservice xml file that we are using for the trading partners what are the minimum values that we need to include?
Could we use minimal definitions such as this:
<DocumentProtocols>
<DocumentProtocol name="EDI_X12">
<DocumentProtocolVersion name="4010">
<DocumentType name="850">
<DocumentDefinition name="850def" />
</DocumentType>
<DocumentType name="997">
<DocumentDefinition name="997def" />
</DocumentType>
</DocumentProtocolVersion>
</DocumentProtocol>
</DocumentProtocols>
before the <TradingPartners> section of the seflxervice xml file?
Thanks for your assistance!

Similar Messages

  • Couldn't create Trading partner

    Hi
    I am creating Trading Partner, but not able to proceed further.It was working fine.Suddenly it is not working.
    1. Clicked on Trading Partner tab, clicked on create.
    2. Gave the name and clicked next, then again next(Idenitication section)
    3. Selected EDI X12 over Generic Exchange Protocol, then nothing is displyed. blank page is displayed.
    I don't want to reinstall B2b,
    Could you please tell me what is the problem.
    Or Could you please tell me to get the logs for the operation we do while configuring in Oracle B2B so that I can know what is happening.
    I have given debug level as DEBUG for
    oracle.tip.DiagnosticLevel = DEBUG
    b2b.oracle.tip.DiagnosticLevel = DEBUG
    b2b.oracle.tip.DiagnosticLevel.UI = DEBUG
    ui.oracle.tip.DiagnosticLevel = DEBUG
    ui.oracle.tip.DiagnosticLevel.UI = DEBUG
    But still I am not gettign any logs for this particular operation.
    Thanks,
    Praveena

    Hi
    I am gettign the below exception in my ui.log
    14:18:20:331: AJPRequestHandler-ApplicationServerThread-6: UI - (DEBUG) Unable to get property - CurrentDesc
    2009.03.04 at 14:18:20:331: AJPRequestHandler-ApplicationServerThread-6: UI - (ERROR) In getVersionOnly()
    2009.03.04 at 14:18:22:314: AJPRequestHandler-ApplicationServerThread-6: UI - (DEBUG) Getting LoginData from isLoggedIn()
    2009.03.04 at 14:18:22:324: AJPRequestHandler-ApplicationServerThread-6: UI - (DEBUG) Getting LoginData from isLoggedIn()
    2009.03.04 at 14:18:22:384: AJPRequestHandler-ApplicationServerThread-6: UI - (ERROR) In getVersionOnly()
    2009.03.04 at 14:18:28:220: AJPRequestHandler-ApplicationServerThread-6: UI - (DEBUG) Getting LoginData from isLoggedIn()
    2009.03.04 at 14:18:28:230: AJPRequestHandler-ApplicationServerThread-6: UI - (DEBUG) Getting LoginData from isLoggedIn()
    2009.03.04 at 14:18:28:370: AJPRequestHandler-ApplicationServerThread-6: UI - (DEBUG) Unable to get property - collaboration_name
    2009.03.04 at 14:18:28:380: AJPRequestHandler-ApplicationServerThread-6: UI - (ERROR) In getVersionOnly()
    2009.03.04 at 14:18:52:797: AJPRequestHandler-ApplicationServerThread-6: UI - (DEBUG) Getting LoginData from isLoggedIn()
    2009.03.04 at 14:18:52:817: AJPRequestHandler-ApplicationServerThread-6: UI - (DEBUG) Getting LoginData from isLoggedIn()
    2009.03.04 at 14:18:52:887: AJPRequestHandler-ApplicationServerThread-6: UI - (ERROR) Error occurred during IPBaseList query() -
    2009.03.04 at 14:18:52:897: AJPRequestHandler-ApplicationServerThread-6: UI - (ERROR) Error -: AIP-11015: Object does not exist B9DC7135A80D4CB2A3EE3BD06AD7EF64-256-1
    at oracle.tip.repos.core.driver.InternalObject.getAssociation(InternalObject.java:690)
    at oracle.tip.repos.core.persistency.BaseObject.getAssociation(BaseObject.java:388)
    at oracle.tip.model.b2b.protocol.DocumentType.getDocumentProtocolRevision(DocumentType.java:242)
    at oracle.tip.tools.integration.buslogic.b2b.collaboration.BusinessActionLOVForBP.executeQuery(BusinessActionLOVForBP.java:80)
    at oracle.tip.tools.integration.data.IPBaseList.query(IPBaseList.java:324)
    at oracle.tip.tools.integration.data.IPDataHandler.<init>(IPDataHandler.java:117)
    at oracle.tip.tools.integration.data.IPBaseList.<init>(IPBaseList.java:105)
    at oracle.tip.tools.integration.data.IPBaseLOV.<init>(IPBaseLOV.java:59)
    at oracle.tip.buslogic.ui.b2b.collaboration.BusinessActionLOV.<init>(BusinessActionLOV.java:53)
    at oracle.tip.tools.integration.buslogic.b2b.collaboration.BusinessActionLOVForBP.<init>(BusinessActionLOVForBP.java:51)
    at oracle.tip.buslogic.ui.b2b.collaboration.CollaborationDataProvider.createExtendedObject(CollaborationDataProvider.java:122)
    at oracle.tip.buslogic.ui.b2b.collaboration.CollaborationDataProvider.getDataObject(CollaborationDataProvider.java:95)
    could you please tell me what is the problem with this?

  • How to create Trading partner in 4.6c

    Hi,
         Can you please let me know how to create Trading partner in SAP 4.6c. Please let me know the difference in creation of Trading partner in sap ECC 6.0
    Thanks,
    RajaGopal

    Hi ,
    In order to identify Inter Company transactions Trading partner field is used. You need to define all the Group Companies as company in SAP and all the defined Companies will be available for selection in Trading partner field.
    The same can be done via
    SAP IMG > Enterprise Structure > Definition > Financial Accounting > Define Company
    Hope it helps
    SJ

  • I keep getting "error occurred while attempting to import file *******. The disc your are attempting to use is full." I have an external hard drive that I moved files over to, but apparently they're also still on my hard drive? HELP!

    I keep getting "error occurred while attempting to import file *******. The disc your are attempting to use is full." I have an external hard drive that I moved files over to, but apparently they're also still on my hard drive? HELP!

    So you have backed up the content of the computer's hard drive, too?
    That usually is a great idea since it is possible to lose use of the system
    if parts of it have accidentally been removed or get over-written, or the
    main system files get corrupted, when the hard disk drive gets too full.
    If you have not trashed the originals of your created content, that remain
    after you made copies on an external hard drive or other device, then
    that is what you'd have to do to reclaim the capacity still in use by them.
    What are specifications of the hard disk drive? The unused capacity
    verses the used, in GB? If the hard drive has less than 15 to 20%
    free or unused capacity, you could run into trouble. Mine are 40-50%
    unused hard drive space, so ample room is available for automatic
    Virtual Memory to use that capacity as temporary swap file space.
    This is helpful when the computer could use more physical RAM
    memory capacity, but doesn't have it. Or if the RAM is maxxed out
    and you can't add any more. Virtual Memory is part of OS X and the
    system automatically can use as much as is available, but it is better
    to be sure there is plenty of resources available to include chip RAM
    as well as unused or free hard drive capacity for use as VM.
    If for some reason your files in Trash won't go away when you empty
    it, you may have to restart. Be sure you have not included any System
    files in the content in the Trash, or the Mac may not start up later on.
    You may have to boot the computer from the install-restore OS X DVD
    and run Repair Disk from its version of Disk Utility, to be sure it's OK.
    I'm guessing that by now you know enough about the vintage system
    in the older hardware to figure it out, so I won't write about it now.
    In any event... hopefully you can simply trash the files, but check them
    carefully, & you may need to remove (copy to archive first) even more.
    Good luck & happy computing!

  • How to create a partner and header record using CRM_ORDER_MAINTAIN?

    Hi any one knows how to create a partner and header record using the function module CRM_ORDER_MAINTAIN??
    I tried to  create a record, but i only managed to create a header record and the partner record is not reflected in the transaction.  Why is that so? is there any indicator that i need to include?
    Thanks..
    Jen

    Hi Jen!
    I use this FM and it works perfectly.
    Use this to create a partner:
      gs_partner-ref_handle    = '0000000001'.
      gs_partner-ref_kind      = 'A'.
      gs_partner-ref_partner_handle = '0001'.
      gs_partner-partner_fct   = '00000001'.
      gs_partner-partner_no    = NO_PARTNER. "number of the partner, bu_partner
      gs_partner-display_type  = 'BP'.
      gs_partner-no_type       = 'BP'.
      gs_partner-kind_of_entry = 'C'.
    *  ls_partner_l-ref_handle    = '1'.
      gs_partner-ref_guid      = '00000000000000000000000000000000'.
      APPEND gs_partner  TO gT_partner .
      ls_input_field-ref_kind  = 'A'.
      ls_input_field-logical_key   = '0001'.
      ls_input_field-objectname  = 'PARTNER'.
      ls_input_field-ref_handle  = '0000000001'.
      ls_input_field_names-fieldname = 'DISPLAY_TYPE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'KIND_OF_ENTRY'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'NO_TYPE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'PARTNER_FCT'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'PARTNER_NO'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      INSERT ls_input_field  INTO TABLE  gt_input_fields.
      clear ls_input_field-field_names[].
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
      EXPORTING
    *    it_schedlin_i   = gt_schedlin_i_com
        it_partner      = gt_partner
    *    it_sales        = gt_sales
    *      it_orgman       = gt_orgman
    *      it_appointment  = gt_appointment
    *      it_ordprp_i     = gt_ordprp_i
    *   it_product_i    = gt_product_i
    *      it_activity_i   = gt_activity_i
    *      it_pridoc       = gt_pridoc_com
      CHANGING
        ct_orderadm_h   = gt_orderadm_h
    *   ct_orderadm_i   = gt_orderadm_i
        ct_input_fields = gt_input_fields.
    *      ct_doc_flow     = gt_doc_flow
    *      cv_log_handle   = gv_log_handle.
    Hope it helps u,
    Regards,
    Mon.

  • How to create and edit a .ini file using java

    Hi All...
    Pls help me in creating and editing an .ini file using java...
    thanks in advance
    Regards,
    sathya

    Let's assume the ini file is a mapping type storage (key=value) so lets use Properties object. (works with java 1.4 & up)
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Test {
         private static Properties props;
         public static void main(String[] args) throws IOException {
              File file = new File("test.ini");//This is out ini file
              props = new Properties();//Create the properties object
              read(file);//Read the ini file
              //Once we've populated the Properties object. set/add a property using the setProperty() method.
              props.setProperty("testing", "value");
              write(file);//Write to ini file
         public static void read(File file) throws IOException {
              FileInputStream fis = new FileInputStream(file);//Create a FileInputStream
              props.load(fis);//load the ini to the Properties file
              fis.close();//close
         public static void write(File file) throws IOException {
              FileOutputStream fos = new FileOutputStream(file);//Create a FileOutputStream
              props.store(fos, "");//write the Properties object values to our ini file
              fos.close();//close
    }

  • Creating SDA (or other suitable archives) using ANT

    I have just competed writing a LoginModule that calls our product from WebAS. Until now I was using the NetWeaver Developer Studio to create the SDA file. But we need to create the SDA file (or onother suitable archive file) using ANT scripts so our automated build process can create it along with deployment files for other platforms. Please let me know if anyone can provide any info on this. Search of the forums and help has not yielded any result the whole day.
    Thanks in advance.
    Roshan

    Yes, about a month back I discovered that I dont have to rename the zip file, but was too lazy to write it here.
    About " do you have a task which deploys the sda to the server?" :
    Search the forum. I remember reading something about deploying. There is also a PDF doc "Deploying J2EE Applications on SAP NetWeaver". I can email it to you if you cant find it.
    I have some scripts that I copied from the forum but never used. You can check it out if it works:
    <target name="deploy">
         <property name="webas.j2ee.home" value="D:/usr/sap/TWD/JC00/j2ee" />
         <property name="webas.deploying.dir" value="${webas.j2ee.home}/deploying" />
         <property name="app.name" value="SALoginModule" />
         <property name="webas.user" value="Administrator" />
         <property name="webas.password" value="Integra7" />
         <exec dir="${webas.deploying.dir}" executable="${webas.deploying.dir}/deploymanager.bat">
              <arg value="$/sap/Deployer.xml"/>
         </exec>
         <telnet server="localhost" port="50008">
              <read>Login:</read>
              <write>${webas.user}</write>
              <read>Password:</read>
              <write>${webas.password}</write>
              <read>&gt;</read>
              <write>JUMP 0</write>
              <read>You jumped on node</read>
              <write>ADD DEPLOY</write>
              <read>&gt;</read>
              <write>START_APP ${app.name}</write>
              <read>&gt;</read>
         </telnet>
    </target>
    <project name="test_sdm" basedir="." default="deploy">
    <!--
    AUTHOR: David Beisert http://www.beisert-btc.de
    -->
    <!--property name="server" value="localhost"/>
    <property name="httpport" value="56000"/>
    <property name="sdmport" value="56018"/-->
    <property name="server" value="vmw0004"/>
    <property name="httpport" value="54100"/>
    <property name="sdmport" value="54118"/>
    <property name="SDM_HOME" value="C:/usr/sap/SNE/JC60/SDM"/>
    <target name="deploy">
         <taskdef name="sdm" classname="dbeisert.ant.ext.sap.SDMRemoteDeployTask" >
              <classpath >
                   <pathelement location="$/sdmAnt.jar"/>
                   <pathelement location="$\program\bin\SDM.jar"/>
                   <fileset dir="$\program\lib">
                   <include name="*/.jar"/>
                   </fileset>
              </classpath>
         </taskdef>
         <sdm
              host="$"
              port="$"
              password="sdm"
              archive="../MY_EAR/MY_EAR.ear"/>
    </target>
    </project>

  • How to create a table in the file using java code.?

    HI,
    I should export the data from the view objects to a word document. I have done that but I should
    display the data in the form of a table.
    Kindly come up with the necessary information on how to create a table in the file using java.
    Thanks,
    Phani

    Hi, Thank you for responding to my query.
    The below are the details of my code.
    DCBindingContainer dcBindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding StudentDetailsContent =
    (DCIteratorBinding)dcBindings.get("StudentView1Iterator");
    OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
    Row currentRow =
    StudentDetailsContent.getRowSetIterator().first();
    Object a[]= currentRow.getAttributeValues();
    int i;
    for(i=0 ;i<=a.length;i++){
    w.write(a.toString());
    w.write(" ");
    w.flush();
    I am usning this coding to achieve the task of exporting data to file.
    I need to display this information in the table that is where I need help from you people.
    Thanks,

  • Communicating message processing errors to trading partner

    Hi,
    We have configured B2B to receive OAG inbound messages.
    How can we communicate inbound message processing errors to the remote trading partner?
    I found that we can use oag CONFIRM_BOD_004 message for that? How do we that? Do we need to create a separate agreement with the trading partner for the confirm_bod or is there any way to bind it to existing agreement?
    Is CONFIRM_BOD_004 the only way of informing the trading partner or there are some other ways of doing it?
    Thanks in Advance.
    Anil

    Hi Anil,
    Oracle B2B can send two kind of acknowledgements to partner to intimate whether received message processed successfully -
    1. Exchange level ack - This is supported with specific exchange protocols (AS2, ebMS, RNIF etc.) only. Generic exchange does not have this capability. To understand, how it behaves in case of inbound error, please refer section "D.5 Inbound Exception Handling Scenarios" at-
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10229/app_except.htm#BCEIEEFF
    2. Functional Ack - This is supported as part of document protocol's specification. For e.g. 997 in EDI X12, CONTRL in EDIFACT and CBOD (Confirm BOD) in OAG. Oracle B2B can handle Functional ACK automatically but you have to create a document definition for the same and deploy the respective agreement. Remember, Functional Ack is generally used to communicate to partner whether received message passed the business validation.
    You may refer below blog to understand difference between functional ack and exchange ack -
    http://www.b2bgurus.com/2009/02/document-vs-exchange-level.html
    Remember that this blog is intended for 10g so please ignore any settings defined there.
    You may define at an agreement level whether FA is required and if yes then whether Oracle B2B will handle it or middleware will send it to B2B to pass it to TP. You may refer section "Step 4: Select validation, translation, and functional acknowledgment options" at -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10229/bb_agree_flow.htm#CEGDGCAH
    Regards,
    Anuj

  • B2B 10g AIP-50547:  Trading partner agreement not found

    Hi.
    Request woks greate but I have a problem with response from my trading partner.
    Error message:
    Error -: AIP-50031: B2B adapter general error: Error -: AIP-50025: Repository error : Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "null", To party[NAME] "null", Business action name "action"; also verify agreement effectiveToDate
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:2022)
         at oracle.tip.adapter.b2b.transport.InterfaceListener.onMessage(InterfaceListener.java:439)
         at oracle.tip.transport.basic.HTTPReceiver.sendRequest(HTTPReceiver.java:447)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Thanks for any help!
    Happy new year :)

    Happy new year!! :)
    Are you working with ebMS? If yes, make sure that your partner is also setup with that. Please paste the complete packed wire message here.
    Regards,
    Anuj

  • How to create Business partner from uploaded file by Function module?

    Hi Experts,
    I have uploaded Business partner data from a file to server now from individual records I have to create Business partner and have to update the records in the tables. Means from on record i have to create one business partner in sap system.
    I have uploaded the records in the system and stored in a internal table.Now my task is to create business partner and have to update tables.
    I need a function module which create BP by each records uploaded and update the respective tables of BP and exports business partner ID.
    Please respond soon Its a requirement form the client.
    Prem.

    HI,
       You can use the bapi 'BAPI_BUPA_CREATE_FROM_DATA' to create a business partner .
    call function 'BAPI_BUPA_CREATE_FROM_DATA'
              exporting
                businesspartnerextern              = g_bpartner-partn
                partnercategory                    = partnercategory
                partnergroup                       = partnegroup
                centraldata                        = centraldata
                centraldataperson                  = centraldataperson
                centraldataorganization            = centraldataorganization
    *       CENTRALDATAGROUP                   =
                addressdata                        = addressdata
    *       DUPLICATE_MESSAGE_TYPE             =
    *         IMPORTING
    *            BUSINESSPARTNER                    = G_BPARTNER-BUSINESSPARTNER
             tables
                telefondata                        = telefondata
                faxdata                            = faxdata
                e_maildata                         = e_maildata
                return                             = return
    *       ADDRESSDUPLICATES                  =
                addressnotes                       = addressnotes.

  • Getting access denied error while importing file using input type="file"

    Hi All,
    I am using struts application wherein I need to import file for some purpose.I have used input type="file" for the same which goes like:
    <input type="file" id="uploadFile" name="uploadFile" size="50">
    I have the import button on which I have used onClick event to call javascript function submitValues() used to validate all the fields from the page which goes like:
    <input type="button" name="select" value="Import" class="CSSButton" onClick="javascript:submitValues();">
    The JS function then in turn submits the form and calls the action.The problem is sometimes even when the correct path is specified for the file to be imported results in access denied error.This error comes sometimes and other times it works fine.But when this error comes,I need to relogin into the application and then it works fine.I am using IE7 for this.
    Any idea why I am getting access denied error while importing? Has it got something to do with IE7 version or with the input type="file" which is being used here?
    Thanks for any help if anyone can provide.
    Edited by: passionateforjava on Mar 4, 2009 2:18 AM

    vishnuS1984 wrote:
    Hi Friends,
    I have gone through scores of examples and i am failing to understand the right thing to be done to copy a file from one directory to another. Here is my class...So let's see... C:\GetMe1 is a directory on your machine, right? And this is what you are doing with that directory:
    public static void copyFiles(File src, File dest) throws IOException
    // dest is a 'File' object but represents the C:\GetMe1 directory, right?
    fout = new FileOutputStream (dest);If it's a directory, where in your code are you appending the source file name to the path, before trying to open an output stream on it? You're not.
    BTW, this is awful:
    catch (IOException e)
    IOException wrapper = new IOException("copyFiles: Unable to copy file: " +
    src.getAbsolutePath() + "to" + dest.getAbsolutePath()+".");
    wrapper.initCause(e);
    wrapper.setStackTrace(e.getStackTrace());
    throw wrapper;
    }1) You're hiding the original IOException and replacing it with your own? For what good purpose?
    2) Even if you had a good reason to do that, this would be simpler and better:
    throw new IOException("your custom message goes here", e);
    rather than explicitly invokign initCause and setStackTrace. Yuck!

  • Errore massage when trying to import file to the library

    Do anyone knows why this massage pops when I'm trying to import file to the library?
    "Attempting to copy to the disk "Data1" Failed. You do not have enough access privileges for this operation."

    Read the part about changing permissions on the iTunes folder in: https://discussions.apple.com/message/11583914

  • Subtracting Columns from Import File Using Import Script

    The file I am importing to FDM contains two amount columns, 1 Debit, 1 Credit. I want to have the Amount field populate as the Debit minus Credits. I have attempted an import script that is giving me an error in the bolded line:
    Function GBS_Amount(strField, strRecord)
    'Oracle Hyperion FDM Integration Import Script:
    'Created By:     
    'Date Created:     
    'Purpose:
    'Set variables
    dim strNatural
    dim strCurmnthDR
    dim strCurmnthCR
    dim strCurAmount
    'Store the Natural Account as Column 1 of 11 of a comma delimited file
    strNatural = Trim(DW.Utilities.fParseString(strRecord, 11, 1, ","))
    'Store the Current Month Debit Amount as Column 7 of 11 of a comma delimited file
    strCurmnthDR = Trim(DW.Utilities.fParseString(strRecord, 11, 7, ","))
    'Store the Current Month Credit Amount as Column 8 of 11 of a comma delimited file
    strCurmnthCR = Trim(DW.Utilities.fParseString(strRecord, 11, 8, ","))
    'Calculate the YTD Amount
    strCurAmount = strCurmnthDR - strCurmnthCR
    GBS_Amount = strCurAmount
    End If
    End Function
    What syntax do I need to use to subtract two defined variables?

    Hi Experts,
    I have a similar situation,I am trying to import the Multiple amount columns to be addedd and imported as one amount column.Below is the script I am using for the same,script is getting verified in Script editor but When I am trying to Load the File in import, I am gettig an error as below.but if I try to import without using the script for the amount, inport is getting done.I have attached script to amount column only.
    ERROR
    Code............................................. 9
    Description...................................... Subscript out of range
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 8380
    Scirpt being used
    Function Import_YTD(strField, strRecord)
    'Set variables
    dim strCurmnth1
    dim strCurmnth2
    dim strCurmnth3
    dim strCurmnth4
    dim strCurmnth5
    dim strCurmnth6
    dim strCurmnth7
    dim strCurmnth8
    dim strCurmnth9
    dim strCurmnth10
    dim strCurmnth11
    dim strCurmnth12
    dim strCurAmount
    strCurmnth1 = Trim(DW.Utilities.fParseString(strRecord, 20, 9, ","))
    strCurmnth2 = Trim(DW.Utilities.fParseString(strRecord, 20, 10, ","))
    strCurmnth3 = Trim(DW.Utilities.fParseString(strRecord, 20, 11, ","))
    strCurmnth4 = Trim(DW.Utilities.fParseString(strRecord, 20, 12, ","))
    strCurmnth5 = Trim(DW.Utilities.fParseString(strRecord, 20, 13, ","))
    strCurmnth6 = Trim(DW.Utilities.fParseString(strRecord, 20, 14, ","))
    strCurmnth7 = Trim(DW.Utilities.fParseString(strRecord, 20, 15, ","))
    strCurmnth8 = Trim(DW.Utilities.fParseString(strRecord, 20, 16, ","))
    strCurmnth9 = Trim(DW.Utilities.fParseString(strRecord, 20, 17, ","))
    strCurmnth10 = Trim(DW.Utilities.fParseString(strRecord, 20, 18, ","))
    strCurmnth11 = Trim(DW.Utilities.fParseString(strRecord, 20, 19, ","))
    strCurmnth12 = Trim(DW.Utilities.fParseString(strRecord, 20, 20, ","))
    If strCurmnth1="" Then strCurmnth1="0" End If
    If strCurmnth2="" Then strCurmnth2="0" End If
    If strCurmnth3="" Then strCurmnth3="0" End If
    If strCurmnth4="" Then strCurmnth4="0" End If
    If strCurmnth5="" Then strCurmnth5="0" End If
    If strCurmnth6="" Then strCurmnth6="0" End If
    If strCurmnth7="" Then strCurmnth7="0" End If
    If strCurmnth8="" Then strCurmnth8="0" End If
    If strCurmnth9="" Then strCurmnth9="0" End If
    If strCurmnth10="" Then strCurmnth10="0" End If
    If strCurmnth11="" Then strCurmnth11="0" End If
    If strCurmnth12="" Then strCurmnth12="0" End If
    'Calculate the YTD Amount
    strCurAmount = CDbl(strCurmnth1) + CDbl(strCurmnth2) + CDbl(strCurmnth3) + CDbl(strCurmnth4) + CDbl(strCurmnth5) + CDbl(strCurmnth6) + CDbl(strCurmnth7) + CDbl(strCurmnth8) + CDbl(strCurmnth9) + CDbl(strCurmnth10) + CDbl(strCurmnth11) + CDbl(strCurmnth12)
    Import_YTD =strCurAmount
    End Function

  • Error message in accessing a PDF file, using AR V.9.2.0

    When I run the following code,  I get the error message as in the attached file.  The PDF file was created using ScanSoft PDF Professional.
    Personally, I am getting rather fed with AR - the last version crashed my Internet Explorer V8 (and V7), but it worked with the following code..
    ==================================================================================
    <html>
    <body>
    <div>
    <object width="800" height="800" data="STTA_Monthly_Stats.pdf#toolbar=1&amp;
    navpanes=0&amp;scrollbar=1&amp;page =1&amp;view=FitH" type="application/pdf" title="Title of this pdf file">
      <p>Your browser does not support embedded PDF files.</p>
    </object>
    </div>
    </body>
    </html>
    ==================================================================================

    Accessing PDF file attached.

Maybe you are looking for