cancel
Showing results for 
Search instead for 
Did you mean: 

Error in file to rfc scenario

Former Member
0 Kudos

Hi

I am trying to execute a synchronous scenario of file to RFC. Actualy it worked in XI 7.0. I am trying to do the same thing in PI 7.1

I have done all the configurations, yet it shows the error.

Worst part is, it is not shown in sxmb_moni. The status is not displayed.

Where could the problem be? Did i miss somewhere either in installing or configuring?

Kindly let me know.

Regards,

Kevin

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

Goto tcode sxmb_adm and choose Integration Engine Configuration and then choose specific configuration tab check whether you have an entry for LOGGING_SYNC if not then choose the category as "runtime" and parameter "LOGGING SYNC" and current value="1" then you will see the messages in MONI.

Also try to registers the adapters and the queue.

Regards,

Nithiyanandam

Edited by: Nithiyanandam A.U. on Jul 18, 2008 1:34 PM

Former Member
0 Kudos

hi kevin,

You should be able to see the message ID of the messages in the Comm Channel Monitoring.And also see the same message in Message Monitoring.

Make sure that the logging is set to 1 for the "RUNTIME" parameter

finally test by using the Integration engine test tool

reward points if helpfull

regards

kummari

Former Member
0 Kudos

Hi,

if you are not able to see the messages in SXMB_MONI then you need to do some settings in SXMB_ADM->integration engine configuration->change specific attributes....there you need to define RUNTIME parameter LOGGING and TRACING and set the value to 1.

Thanks,

Mahdu

Former Member
0 Kudos

Hi Madhu,

Thanks a lot..

But there is no option of Logging and Tracing.

There is 1 option for Logging. and other for Trace_level. should i create 2 enteries..?

What is subparameter here?

Thanks.

Regards

Kevin

Former Member
0 Kudos

Hi,

LOGGING value is 1 AND TRACE value 1 IS ANOTHER

this should be under category of RUNTIME

Reward points if it is helpful

Thanks,

Madhu

Former Member
0 Kudos

Hi Madhu ,

i tried but no effect.

Regards,

Kevin

Former Member
0 Kudos

Hi,

are you still not getting the messages in to SXMB_MONI...

thanks,

madhu

Former Member
0 Kudos

Hi,

Check the message type of the response message of file and the type of the response structure of bapi.

hope this should the problem.

Thanks,

Mahdu.

Former Member
0 Kudos

Hi Kevin,

File adapter does not support synchronous response. How are you handling the return response of the RFC adapter? Are you using a BPM?

Regards,

Riyaz

Former Member
0 Kudos

hi Riyaz,

Its Soap adapter and not file adapter..

Regards

Former Member
0 Kudos

Hi,

Go to RWB and check what is the status of both adapters sender and receiver.

Regards,

phani

Former Member
0 Kudos

Hi Phani,

Adapter status ACTIVE..

Former Member
0 Kudos

Hi phani,

Adapters are not active.. in RWB

How to make them active...

Regards,

Kevin

Former Member
0 Kudos

hi kevin,

1.The adapter should be started in the RWB --> Comm Channel Monritoing.

2. Go to the integration directory and check the status of the Adapter against the STATUS drop down option. The status should be active. If inactive, make active and activate the comm channel.

reward points if helpfull

regards

kummari

Former Member
0 Kudos

Hi,

can you post the error.

Thanks,

Madhu

Former Member
0 Kudos

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Client found response content type of 'text/html;charset=ISO-8859-1', but expected 'text/xml'.

Received this error while testing in one of the testing tool

former_member190389
Active Contributor
0 Kudos

hi the encoding in your scenario is set to 'text/html;charset=ISO-8859-1'

please change this

you can do this by using message transform bean

http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/frameset.htm

make it 'text/xml' in sender cc

i.e . text/xml;charset=utf-8

Edited by: Progirl Progirl on Jul 18, 2008 11:19 AM

Former Member
0 Kudos

Hi Progirl,

I guess that may be the issue...

But my sender is SOAP adapter and the module key is by default.

the value is soap.

What else i can change.... that was the same earlier also.

I changed the receiver module key but no effect..

Pls help.

regards,

Kevin

prateek
Active Contributor
0 Kudos

For viewing the sync messages in sxmb_moni, the parameter to be set is RUNTIME - LOGGING _ SYNC with value 1.

For ur case, the sender soap client is not sending data in appropriate format. It should send it in xml format and not html. Recreate the webservice in XI integration directory and generate wsdl. Send it to sender to send the message again.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

How should i do the config.

which parameter should i put.?

Pls Help

Regards,

Kevin

prateek
Active Contributor
0 Kudos

In XI, goto tcode sxmb_adm -> Integration Engine Configuration -> Specific Configuraions -> Create new parameter with Category RUNTIME and name LOGGING_SYNC with default value 1. Then save.

Regards,

Prateek

former_member190389
Active Contributor
0 Kudos

Hi

Hey but u said its a file to RFC???

in the module name write : localejbs/AF_Modules/MessageTransformBean

(see that it is the first module in the chain )select type as localejbs,

in the module key just add a simple name (it is the variable which depends on u e.g var)

This variable will be used ahead (see below in cc in module configuration part in ur channel )

now in the column module key below choose the key "var" from drop down

In Parameter Name add Transform.Class and the value as com.sap.aii.messaging.adapter.Conversion

second row add parameter Transform.ContentType

and value text/xml;charset=utf-8

for the same module key

Edited by: Progirl Progirl on Jul 18, 2008 12:53 PM

Former Member
0 Kudos

Hi Progirl,

Sorry......... Its SOAP Adapter..

I tried what u had given to me...

But still its not workng..

Pls help

Regards,

Kevin

Former Member
0 Kudos

Hi Prateek,

Please guide me in SOAP--> RFC scenario.. Its not working...

Regards,

Kevin