cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.31 RFCLookup

anton_kopylov
Explorer
0 Kudos

I have message mapping with RFClookup field value conversion.

If I make test message mapping all OK.

If I make test operation mapping all OK.

If I make test configuration I have "zero" result. Result did not contain any tag.

If I execute data transfer, I have same "zero" result.

Testing Payload is equal.

After test configuration Log Viewer contain:

  • ClientServerException exception:Version context type D is incorrect. Correct type is S
    com.sap.aii.ib.core.query.QueryServiceException: Version context type D is incorrect. Correct type is S
    at com.sap.aii.ib.core.query.QueryServiceException.createMessage_WRONG_CONTEXT_TYPE(QueryServiceException.java:166)
  • Tracing for additional info -exception while parsing
    Thrown:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: time to stop
    at com.sap.aii.mappingtool.tf7.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:277)
    at com.sap.aii.mappingtool.tf7.rt.xparser.XParser.run(XParser.java:112)
  • Tracing for additional info - MTSaxHandler.run:
    Thrown:
    org.xml.sax.SAXException: time to stop
    at com.sap.aii.mappingtool.tf7.rt.xparser.MTSaxHandler.endElement(MTSaxHandler.java:200)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601).


Have you any ideas?


SAP PI 7.31 ABAP+Java

Accepted Solutions (0)

Answers (3)

Answers (3)

anton_kopylov
Explorer
0 Kudos

ScreenShots of demo with RFClookup error

Same demo without RFClookup

former_member184720
Active Contributor
0 Kudos

Hi Anton - Can you validate the "binding" in the operation mapping? i.e. If you had selected the valid channel?

anton_kopylov
Explorer
0 Kudos

You think that I may forget to set Adapter parameter?
Operation Mapping work good same as Message Mapping.

I see error only in runtime and test configuration mode.

I check all logs in Log Viewer. Found only errors about empty result of mapping. There are no any one RFC call.

anton_kopylov
Explorer
0 Kudos

Additional information.
I check SAP ERP(contains RFC module) RFC trace.

In message mapping I have executing record log.

In configuration test no records of calling RFC.

Former Member
0 Kudos

Hi,

Here is my understanding ,

1)RFC look up works when you test from Mapping/Test.

2)Cache status is in green

3)When you are are testing end to end you are getting error

Can you check whether input xml structure generated matches with your input structure ?



Regards

Venkat

anton_kopylov
Explorer
0 Kudos

1. Yes

2. Yes

3. In ID I start test configuration and set same payload as in operation mapping. As result: zero message, no rfc call into SAP ERP(st05)

Former Member
0 Kudos

Hi ,

Can you test once from rwb/integration engine/test/ by taking the structure from message mapping and filling some values .

Regards

Venkat

anton_kopylov
Explorer
0 Kudos

It will be runtime. I have same error. Runtime was starting point.

former_member184720
Active Contributor
0 Kudos

Hi Anton - If the RFC channel itself is not being invoked, then i would suggest you to validate your configuration end-end once again (http://scn.sap.com/docs/DOC-3805) and if you don't find anything wrong may be you can create OSS.

Former Member
0 Kudos

Hello Anton,

as far as I know the RFC adapter is on Java. So I would expect that ABAP traces are empty. Have you checked the communication channel you configured for that RFC call? Maybe there is more information than in Log Viewer. Do you have XPI_Inspector installed on your system? That could give you more valuable hints.

Regards,

Jörg

anton_kopylov
Explorer
0 Kudos

ABAP traces I see on ERP side. Here is no RFC request info, but if I made mapping test I have RFC traces.

Channel monitoring contains records only after mapping test. And nothing in test configuration.

Log Viever contain only 3 errors which I put at top of that page.

I do not have XPI_Inspector:(

Former Member
0 Kudos

Hello,

Just a thought - under ICO u have provided the RFC channel name (import parameter)?

Thanks

Amit Srivastava

anton_kopylov
Explorer
0 Kudos

of course import parameter.
Using in rfclookup export adapter is impossible

Harish
Active Contributor
0 Kudos

Hi Anton,

did you got any dump in ABAP stack (transaction ST22)?

regards,

Harish

former_member184720
Active Contributor
0 Kudos

Hi Anton - So it's working during design time but not in runtime. Can you also check if the cache is updated? May be you can try doing a cache refresh.

anton_kopylov
Explorer
0 Kudos

st22 empty

anton_kopylov
Explorer
0 Kudos

I do it. I tried to create new one mapping and repeat all settings. All was fine until I set RFClookup

former_member184720
Active Contributor
0 Kudos

Does your RFC adapter throw any error during the RFC lookup?

Also did you check the ST22 of ECC system?

Harish
Active Contributor
0 Kudos

on the sap system where you are performing rfc look up (ECC/SAP ABAP system or PI ABAP stack)?

anton_kopylov
Explorer
0 Kudos

RFClookup from SAP PI (ABAP) calling RFC on SAP ECC

anton_kopylov
Explorer
0 Kudos

RFC channel did not have any error.