on 05-10-2012 10:15 PM
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
Hi Anita
the XML is wrong..
SAP Does not map the Purchase Req on the header, only the RFQ. the PReq is mapped on the line items.
however there is an error in the mapping if every line item does not have a PReq assigned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anita,
I think the error message is not related importing xml. This error could be related to a script running for project. Your xml message missing xml declaration, PARENT, LINK_EXTERN_DOC_URL, LINK_DEFINITION_TYPE and other attributes, I believe its a small part of full xml message. isn't it?
Regards
Shyam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.