Skip to Content
0

ECC -> Ariba Network Purchase Order

Sep 05, 2017 at 04:27 PM

223

avatar image

Hi everyone ,

I have one issue integrating ECC with ariba netowrk with the scenario to send purchase orders via sap pi.

Error Message:

Runtime exception when processing target-field mapping /Header/cXML/ns0:Message2/ns0:Messages//ns0:Messages/ns0:Message2/cXML/Header/*path; root message: Exception:[com.ariba.asc.sap.netweaver.xiadapter.mappings.MappingException: Cannot retrieve the BusinessService definition from value mappings using the systemID: "ECC_ID" [MESSAGE]: Error during value mapping of context = http://sap.com/xi/XI, agency = LogSys_Source, scheme = Lookup, and value = "ECC_ID" to context = http://sap.com/xi/XI, agency = BusSys_Target, and scheme = Lookup Entry for context = http://sap.com/xi/XI, agency = LogSys_Source, scheme = Lookup, and value = "ECC_ID" not found. Check the entries for the value mapping in the Integration Directory. Enter appropriate values in the Integration Directory, if required] in class com.sap.xi.tf._MM_ORDERS_ORDERS05_2_CDF_cXML_XSD_ method callRfc[[Ljava.lang.String;@4bb7a11d, [Ljava.lang.String;@548bb5b1, [Ljava.lang.String;@7ece72c5, [Ljava.lang.String;@2ea08b49, [Ljava.lang.String;@58e968c9, com.sap.aii.mappingtool.tf7.rt.ResultListImpl@51467858, com.sap.aii.mappingtool.tf7.rt.Context@5c9360ef] See error logs for details

P.D. I have basic knowledge about pi

Best Regards

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Manoj K Sep 05, 2017 at 04:55 PM
0

Hi Pablo,

This is because of missing Value mapping Try to maintain the value mapping in ID as mentioned in this Thread this is for RFQ interfaces .By looking at the error i believe it should be the same value mapping for PO too . If not then let me know i will check PO interfaces in my system and also let me know the CI version mapping which you are using.

Thanks,

Manoj

Show 8 Share
10 |10000 characters needed characters left characters exceeded

Hi manoj,

The integration is sending an id only delete it for privacy issues. the tests is in ESR.

I am implementing the CI9.


Thanks

0

Hi Pablo,

What i suggest is use the same value mapping mentioned in that thread and do a end to end test . Don't test it in local ESR. That value mapping is basically used to for convert the ID which is coming from ECC i.e nothign but a partner profile value to the respective business system.

Thanks,

Manoj

0

Hello Manoj,

I tested the value, but I think the error is with the function called RFC you will have some information regarding the mentioned "Can not retrieve the BusinessService definition from value mappings using the systemID".

0

Hi Pablo,

I currently dont have CI9 so wouldn't able to check. But however looking at the description its clear that you need to implement rfc lookup for partner profile to system id mapping.But i wonder why did ariba provide rfc lookup option as this is for limited entries and can be done directly voa value mapping in PI if you want you can modify the mapping accordingly. if you want to stick to the standard mapping then you meed to have this rfc in your ecc and respective entries in table and in pi you create a rfc channel for that system and call it in mapping.

Thanks,

Manoj

0

hi manoj,

is possible create a business service object into PI?

Thanks

0

Hi Pablo,

You should already have the business service i.e nothing but business system of your sender ECC system in your ID part for this configuration .

Now the problem what you have is IDOC sends some value say D1XCLNT100 in the SNDPRN field not this value has to be converted to your business system name say D1X_100 and send this in cXML to ariba. That conversion from D1XCLNT100 to D1X_100 can be handled in many ways in PI (Fixed values, Value Mapping , RFC lookup) as per your above comment the Ariba has opted for RFC lookup as suggested its left to you if you want to stick to that then you have to have that RFC implementation ( I am not sure if ariba provides a standard rfc for this is it customized ) if this was customized and if i was you i would have chnaged the mapping to implement value mapping.

Thanks,

Manoj

0
Show more comments