Skip to Content
0
Former Member
May 10, 2012 at 09:15 PM

Multiple External Document Links in RFx XML

45 Views

Hi Guys,

we are trying to upload a Rfx XML file which contains more than one external document reference. In this case a PurchReq and a RFQ from the backend system. Both Document Links are defined.

We are trying to upload using XML (as an integration would) but we cannot get the uploader to work; the Document Links have been defined on header level as well as item level.





<collections>




<DOCUMENT_LINKS name="DOCUMENT_LINKS">





<object classname="doc.link">






<fields>







<LINK_DEFINITION>SAPINT-ERP_RFQ_Document</LINK_DEFINITION>







<EXT_REF_DOC>6000000811</EXT_REF_DOC>






</fields>





</object>





<object classname="doc.link">






<fields>







<LINK_DEFINITION>SAPINT-ERP_PR_Document</LINK_DEFINITION>







<EXT_REF_DOC>0010168257</EXT_REF_DOC>






</fields>





</object>




</DOCUMENT_LINKS>

...








<collections>








<LineItems name="LINE_ITEMS">









<object classname="doc.link">










<fields>











<LINK_DEFINITION>SAPINT-ERP_RFQ_Document</LINK_DEFINITION>










<EXT_REF_DOC>6000000811</EXT_REF_DOC>










<LINE_ITEM_NUMBER>00001</LINE_ITEM_NUMBER>









</fields>









</object>









<object classname="doc.link">










<fields>











<LINK_DEFINITION>SAPINT-ERP_PR_Document</LINK_DEFINITION>










<EXT_REF_DOC>0010168257</EXT_REF_DOC>










<LINE_ITEM_NUMBER>00010</LINE_ITEM_NUMBER>









</fields>









</object>








</DOCUMENT_LINKS>

When uploading this the uploader seems to be referencing to itself; which is very confusing as I am not able to work out why.

_________

Error executing script: Sourced file: inline evaluation of: ``import com.sap.eso.api.projects.ProjectIBeanIfc; import com.sap.eso.api.project . . . '' : target exception.

Error executing script: Sourced file: inline evaluation of: ``import com.sap.eso.api.projects.ProjectIBeanIfc; import com.sap.eso.api.project . . . '' : target exception.

...

AssociatedAttribute=STANDARD_ATTRIBUTE_ID - SourceBo=1339031553:900:6000000811 - ValidatingParent=1339031553:900:6000000811 - com.sap.odp.api.common.exception.ApplicationException: Error executing script: Sourced file: inline evaluation of: ``import com.sap.eso.api.projects.ProjectIBeanIfc; import com.sap.eso.api.project . . . '' : target exception.

_________

As we are trying to import an RFX and the associated line items the projects api exception confuses me; I don't understand where this comes in.

Can you shed some light on this?

Thank you.

/Anita