cancel
Showing results for 
Search instead for 
Did you mean: 

Wiki File-RFC-File

justin_santhanam
Active Contributor
0 Kudos

Dear Friends,

I posted wiki for File RFC File without BPM. Kindly go through it and post your questions if you have any problem in achieving it.

Also I'm thankful to Bhavesh and Agasthuri Doss who shared their knowledge and supported me to post the Wiki.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29&;

Best regards,

raj.

Accepted Solutions (0)

Answers (32)

Answers (32)

former_member194741
Participant
0 Kudos

Hi Justin,

Since from long ur blog seems to be very useful, now i got the same scenario, I had some doubt and followed the module u used, but i am getting this error.

Received XI System Error. ErrorCode: CO_TXT_OUTBINDING_ERROR ErrorText: No standard agreement found for , BSER_SMS_JDBC_S, , BSER_SMS_RFC_T, urn:sap-com:document:sap:rfc:functions, ZOFFIFM_BANK_TEST ErrorStack: Problem occurred in receiver agreement for sender -BSER_SMS_JDBC_S to receiver -BSER_SMS_RFC_T,urn:sap-com:document:sap:rfc:functions.ZOFFIFM_BANK_TEST: No standard agreement found for , BSER_SMS_JDBC_S, , BSER_SMS_RFC_T, urn:sap-com:document:sap:rfc:functions, ZOFFIFM_BANK_TEST

so can u helpm me in that.

  Regards,

  Dhanush

former_member373665
Participant
0 Kudos

Hi,

The explanaion si very good but ' ve some doubts:

Could I provoke an error (response, adapter file) in case RFC send me an error value?

I would like to handling an exception and  process it in the future.

Thank You.

Former Member
0 Kudos

hi Raj,

Can I apply this scenario for SOAP aSync webservice1->RFC->SOAP aSync webservice2? If So what URL should the message be posted when sending message as first module would be ResponseOnewayBean.

Thanks in advance.

sachin

Former Member
0 Kudos

Hi Raj

Im trying a similar scenario - synchronous RFC to HTTPS destination through XI. But what i fail to udnerstand ios where to configure the reverse mapping.

I shall try elaborating w r to your example; there is an interface mapping from RFC to File as well. Where should that be configured in the ID ?

Please explain.

Thanks

Vinod

Former Member
0 Kudos

Hi all!

I´m working in a scenario File-RFC-File expalined in the weblog.

I have tested everything in the Integration builder with the option in the menu "Tools -> Test Configuration " and the result is ok. But, when I use the component monitoring to test a message, I received an error with the following text:

"Error while sending message: com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=BusService_File;TS=BusService_RFC;AN=MIOS_FILE;ANS=http://

/

;"

Any idea to fix that?

Thanks in advance.

Regards.

Edited by: Alberto Rubio on Feb 15, 2010 5:55 PM

agasthuri_doss
Active Contributor
0 Kudos

Alberto,

1)Check whether the Receiver agreement & Receiver determination is correct in the sense , Whether you have configure properly with proper interface

2) Check the cache is upto date

http://<server>:<j2eeport>/CPACache

Cheers

Agasthuri

Former Member
0 Kudos

Hi Raj,

I have also created a File - RFC - File without BPM and facing some problems.

can you reply to my post :

thanks.

Former Member
0 Kudos

Hi ,

I am working File-RFC-File - Asynch -Synch Scenario without use of BPM.

This weblog: https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529&;

Working file...

But When I am sending wrong Company ID, BAPI Return the Company Id Does not Exit. But in our Scenario we are not maintaing the BAPI Return values.

In this Scenario How can i maintain the BAPI Return values & Error Handling.

if we are using the FAULT message, its giving showing the SXMB_MONI,

But if i want to create the File for the error message, what i can do..

Please give me the Idea or any related weblog or information.

I appreciate your help,

Thanks,

Siva

Former Member
0 Kudos

Hi All,

Will this scenario work if I use a JDBC in place of a File?

I have the following scenario,

JDBC>XI>RFC>XI>JDBC which is a syn scenario.

Thanks,

Venu

former_member189440
Participant
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi we implemented this scenario and everthing works fine...for some reason if we get an error file in the folder,the file is not getting archived and i could see continuous error messages getting generated...

I used archive faulty source files check box...FYI..we receive XML file and there is no content conversion...is there a way to force a module error so that the setting will work..?

Any help is appreciated.

Larry

Former Member
0 Kudos

Hi Raj,

I followed the same which u mentioned in that link. I used two communication channel in business service to send and receive(response) the file. also one communication channel in business system . I added all module parameters in sender communication channel. now i can't receive the file structure. i can receive the file as bapi strcture which is not map to receiver structure(response). can you help me?

Former Member
0 Kudos

Hi Raj,

Fantastic Job and keep going...

I have a similar sinario where in I need to post an IDOC from XI to SAP R/3 using data comming from Oracle Data base. But this has to happen only when a particular T Code executed in R/3.

so the proposed scenario would be like this:

(From R/3) RFC -> XI ->JDBC (Synchronous) -> XI -> IDOC (in R/3)

Can I achieve this using...

Former Member
0 Kudos

Hi,

We are working on File - RFC - MQ Asynch -Synch Scenario without using the BPM.

I will pick the file, and Based on file name I will get the MQ information, and pass the data to that MQ.

For EX:-

File name [ test_123], RFC returns the MQ name is Test_123.

File name [ Test_234], RFC returns the MQ name is Test_234.

File name [ Test_345], Rfc returns the MQ name is Test_345.

File name also I am getting dynamically.

So my question is, how can I maintain the condition on receiver determination.

I think sender payload we can't maintain the condition.

Is there any chance to maintain the condition on receiver payload...

Please give me the solution.

Former Member
0 Kudos

Hello,

I am getting the below error when filesender adapter is trying to pick file and pass it

Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of RequestResponseBean.

Any idea or guess

-Rajesh

Former Member
0 Kudos

very thanks Agasthuri, the link helped me solved my question.

Regards.

Former Member
0 Kudos

Thanks Agasthuri,

my problem has been resolved (I had confused with the parameters of the module)...

but, now, i see the message that returns the RFC, however, in the SXMB_MONI no messages ¿Why?

agasthuri_doss
Active Contributor
0 Kudos

Silvia,

The Below Weblog from Michal Krawczyk will help you to resolve .

Cheers

Agasthuri Doss

Former Member
0 Kudos

Hi Raj,

very thanks!, I found it very useful. I am implementing my scenario based on what they explain, and I get the following error:

008-12-05 09:43:03 Success The message was successfully transmitted to endpoint http://cropi-204:8000/sap/xi/engine?type=entry using connection AFW.

2008-12-05 09:43:03 Success RRB: forwarding the response message : ba9da210-c2a8-11dd-cc35-000c299a1d9c

2008-12-05 09:43:03 Error Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: Application response can not be send using the call method.

2008-12-05 09:43:03 Error Attempt to process file failed with com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException

2008-12-05 09:44:00 Success Channel cc_flatfile_funcion_z: Entire file content converted to XML format

2008-12-05 09:44:00 Success Channel cc_flatfile_funcion_z: Send binary file "
cropi-204\sapmnt\trans\demoxi\file.txt". Size 734 with QoS EO

2008-12-05 09:44:00 Success RRB: entering RequestResponseBean

2008-12-05 09:44:00 Success RRB: suspending the transaction

2008-12-05 09:44:00 Success RRB: calling the messaging system with timeout 300000 ...

2008-12-05 09:44:00 Success Trying to put the message into the call queue.

could you please help me, I have found very little documentation about the methods and does not solve my problem as,

very thanks,

regards

silvia

agasthuri_doss
Active Contributor
0 Kudos

Silvia,

Is the Receiver end is connected ?

Cheers

Agasthuri Doss

Former Member
0 Kudos

Hi Raj,

I am working File-RFC-File - Asynch -Synch Scenario without use of BPM.

This weblog: https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529&;

Working file...

But When I am sending wrong Company ID, BAPI Return the Company Id Does not Exit. But in our Scenario we are not maintaing the BAPI Return values.

In this Scenario How can i maintain the BAPI Return values & Error Handling, Please give me the Idea or any related weblog or information.

I appreciate your help,

Thanks & Regards,

Siva

former_member373665
Participant
0 Kudos

Hi,

did you get do it? if you did, how did you get it?

Thanks.

former_member194741
Participant
0 Kudos

Hi Mariano,

I searched a lot reg this scenario finally i got in SDN, I had some doubt and followed the module  Used, but i am getting this error.

Received XI System Error. ErrorCode: CO_TXT_OUTBINDING_ERROR ErrorText: No standard agreement found for , BSER_SMS_JDBC_S, , BSER_SMS_RFC_T, urn:sap-com:document:sap:rfc:functions, ZOFFIFM_BANK_TEST ErrorStack: Problem occurred in receiver agreement for sender -BSER_SMS_JDBC_S to receiver -BSER_SMS_RFC_T,urn:sap-com:document:sap:rfc:functions.ZOFFIFM_BANK_TEST: No standard agreement found for , BSER_SMS_JDBC_S, , BSER_SMS_RFC_T, urn:sap-com:document:sap:rfc:functions, ZOFFIFM_BANK_TEST

so can u helpm me in that.

  Regards,

  Dhanush

Former Member
0 Kudos

Raj,

I followed the link and implemented it for JDBC - SYNC HTTP.

When the JDBC adapter picks up the records, I get the following error -

Error occurred while sending message (GUID 6e6cafc2-7ab0-47d9-163d-c1e454f0f349): com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId

and the picked up recrods are not updated.

Did anyone face this issue.

reg

Former Member
0 Kudos

Hi,

I am working JMS-RFC-File Scenario with out BPM...

Last week its working fine, Now I am getting the error in JMS Communication Channel.

Error: XI message ID corresponding to JMS message with ID 'ID:414d5120514654574434382020202020489cdc90200c1705' will be created as a new GUID with value '1dd12ff3-7fea-41d5-27d1-92bce55bb2d8'

agasthuri_doss
Active Contributor
0 Kudos

SR,

Is your Sender JMS adapter connecting to the Queue ( Green )

Cheers

Agasthuri Doss

Former Member
0 Kudos

Hi All,

I am working JMS - RFC- File, Last week working fine. But now i am getting below error

Error Details.

Error MP: Exception caught with cause com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId

Thanks,

ANU

Former Member
0 Kudos

Hi All,

Still now i didn't get, Please help out...

Thanks,

ANU

Former Member
0 Kudos

Hi All,

I am trying to achieve File - webservice - JMS scenario using the modules as per WIKI .

I have already tried File - Webservice - File scenario and it is working fine now when I change the Receiver file to JMS

I am getting the following error :

Error MP: Exception caught with cause com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId

Kindly let me know if the scenario File - Webservice - JMS is achievable or not also how to resolve the

above error .

Many thanks in advance .

Thanks

KLK

Former Member
0 Kudos

Hi

I had the same problem in a file-SOAP-file scenario and it turned out that the parameter receiverService was not set right - when you transport it from dev to qa - and the business systems are not the same in dev as in qa.

F.ex:

dev receiverService = BusinessSystem_D

qa receiverService = BusinessSystem_Q

In my case i had set the qa system to BusinessSystem_D and that made the error.

Former Member
0 Kudos

Very nice blog !

I´m using the same ideia to build a JDBC-RFC-JDBC adapter. There isn´t any error in sxmb or rwb but the JDBC Receiver isn´t called ! The name of the cc is correct in the module of the JDBC Sender, and on logs there are no errors.

Can you help me ?

Thanks

Former Member
0 Kudos

Vitor Zaninotto,

Please look at the following thread that I posted and I have an error with JDBC sender adapter.

Were you successful on the sender end at least?

reg

Former Member
0 Kudos

naveen now my scenario works well. I followed the scenario exactly as explained in the blog and it worked. Have you solved your issue ?

regards

Former Member
0 Kudos

hi Raj,

thanks for this contribution to XI..

I tried urs scenario. In FTP CC I am getting processing error...

Can u please have a look and try to ractify it.

Error is :---

Error: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:

Error: com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException

Thanks

Jaideep Jain

Former Member
0 Kudos

Hi All,

I have issue with this scenarios,I tried to explained it in another thread.please help with it if you have any clue with the issue.

I didnt mean to duplicate the message,but want to bring to your notice in perticular as you all have better Idea with scenario.

thank you for your help in advance,

regards,

Sri

Former Member
0 Kudos

Hey Man

Nicely done and awesome way of explaining.....Cant say more ...in simple words "Phenomenon" keep going

Former Member
0 Kudos

Hi Raj,

This blog is really helpful.

But when I tried to reproduce the scenario, I have one issue in

Step1: Import RFC

Connect to the backend system and import the BAPI - BAPI_COMPANY_GETDETAIL

Could you please give more detail about how to improt BAPI?

Thanks & Best Regards, Johnney.

Former Member
0 Kudos

Hi

thanks for ur blog its really help full...i have a doubt,i usually do the communication channel settings in "Business system" but ur asking to do it in the "Business service" may know y is it so.

Thanks and Regards

Karthikeyan

agasthuri_doss
Active Contributor
0 Kudos

Hi Karthikeyan,

No issue, You can carry on with Business system.

Cheers

Agasthuri Doss

Former Member
0 Kudos

Raj,

Great One.. Keep it Up.

Attempting to make technical explanation..

Earlier for any File-->RFC scenario had to be done thru BPM as File adapter doesn't have synchronous way of communication.

With this approach EJB is taking care of both request and response.

Appreciate again for good work.

Thanks

Shravan

Former Member
0 Kudos

Hello Raj,

This is very good.

Thanks a ton

justin_santhanam
Active Contributor
0 Kudos

Prasad,

Thanks for the comments!

raj.

Former Member
0 Kudos

Really nice job Raj, congratulations!!

However still wanted to know if this can be applied to JDBC---RFC Sync Communication

Best regards,

David

Former Member
0 Kudos

Hi,

Is there a way to do File-> RFC-File without BPM if I'm not in SP>=SP19(3.0) & SP>=SPs10(7.0).

As I have got:

Name of property Value of property

make.rel NW04S_15_REL

SP-Number 15

Former Member
0 Kudos

Hello Raj!

I followed the steps of the scenario from wiki (https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without+BPM%29 ) and got an error:

Error: com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=BusService_RFC;TS=BusService_file;AN=MI_BP_FILE;ANS=http://iix.ru/tests/v05;

Could you help me, please.

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Refresh - CAP cache

Cheers

Agasthuri Doss

Former Member
0 Kudos

It works! Thank you.

But now I have two errors:

1) Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:

2) 2008-10-24 19:08:00 Error Attempt to process file failed with com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException

Former Member
0 Kudos

hi andery,

Is urs error has been rectified..

If yes then can u share it with me. I m also facing almost same error.

Error:--

Error: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:

Error: com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException

Thanks,

Jaideep

Former Member
0 Kudos

Hi Folks,

I am working the File - RFC - File Scenario, My file is not pick-up from File Server.

I checked the RWB, Its showing the Errors.

1: Error: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:

2: Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:

3: Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:

4: Transmitting the message using connection http://XXXXXXXXXs.rwy.bnsf.com:8001/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:.

5: Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MESSAGE_NOT_FOUND:.

Thanks for help,

Former Member
0 Kudos

Hi SR,

We got the same error and we opened a ticket to SAP and then SAP released a New Note.we applied the patch and working good now.

they gave new Note 1272854 - XI runtime Synchronous message with the same ID

Regards,

Sri

Edited by: Sri on Nov 18, 2008 4:58 PM Sorry I gave wrong Note# .This right note 1272854

Former Member
0 Kudos

Thanks a lot Sri,

Basis Guys are applied OSS Note, That error gone, and i am geting new error message...

Please guide me:

Error: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:

Thanks for your response...

Former Member
0 Kudos

You are welcome.

Even we got this MSGGUID_EXISTING error when we restarted the Java Engine,I think your Basis might have restarted the XI Server.But I don't know the exact resolution for this error.

But we tried like re activating all the ID objects and Full Cache refresh.But this error happened earlier to

the Patch.I don't see any more instance of the same error after the Patch.

Former Member
0 Kudos

Thanks Sri,

Now I am getting Different Error:

Error is:

Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE

Thanks for your help,

Former Member
0 Kudos

See if you are getting Data in Response of RFC/BAPI and make sure you dont have any System Dumps in R3 for the RFC you are using.

I guess you ave problem with Response Message Data.

Former Member
0 Kudos

Hi Sri,

Thanks a lot for your quick respose, After Applying The OSS Note:1272854, I am getting below Error..

Could you please guide me...

Errors are:

1. Received XI System Error. ErrorCode: MSGGUID_EXISTING ErrorText: ErrorStack: Message ID 8EA4BE7484B5415D32A3FC63EB00E99E for pipeline CENTRAL, version already exists in system

2. Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.

3. Transmitting the message using connection http://XXXXXX/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.

4. The message status set to FAIL.

5. Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:

6. Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:

Thanks for all your help and support

Edited by: S R on Nov 20, 2008 2:56 AM

Former Member
0 Kudos

Sri,

I am getting same issue, Even i am created new Scenario, File - RFC - File with out BPM, Could you please guide me..

ITs really appreicate your time...

Thanks for your help,

Former Member
0 Kudos

Hi! Raj,

I have seen your blog and its quite intersting and pretty. I tried your blog in the below mentioned Server.

PI 7.1 Server Make 
Release NW07_06_REL 
SPS Number 06 
JDK Version jdk15 
Build Time 2009-02-09 18:57

Kindly make a note the below mentioned points and please let me know where exactly I was strucked...

1. I sucessfully configured the below steps and I am able to retrieve the response from the RFC and I am able to see Success Flags in MONI on the both 2 messages. I configured like this..

IR::

Data Types and Message Types :: File Outbound and File Inbound.

Service Interface:: SI_FIle_Handling ( Outbound Synchronous which contains file Outbound service request File Inbound as Response message types )

Message Mappings:: 1. File Req to RFC req

2. RFC resp to File Resp

Interface Mappings:: 1 IM_FILE_RFC_FILE

ID::

*Configuration Scenario *, Business service one which cotnains 2 communiation channels (file sener and receiver) and Business System which contains RFC receiver channel.

Colloboration Agreemetns::

One Sender Agreement and one Receiver Agreement

Logical Routingsa::

One Interface determination and One Receiver Determination

Testing::

I am sending an XML message which contains EMP ID number as request tio RFC in MONI I am able to get EMP details also in the second message in Moni as response from R3 system

ISSUES::

1> Even though I have kept as delete mode in file sener the file is not getting deleting from FTP sender location and scenario is running continously polling and messages are coming cont in MONI

2) Even though I am able to see the response in MONI but I am not able to receive the Output file to the FTP Receiver location

3) In communication Channel I am getting these errors::

Audit Log for Message: a52a7bc0-11f8-11de-97cb-001d090e4bbe

Time Stamp Type Description

*_Error: java.lang.NullPointerException_*
2009-03-16 12:34:08 Information MP: entering1 
2009-03-16 12:34:08 Information MP: processing local module localejbs/CallSapAdapter 
2009-03-16 12:34:08 Information File Adapter Receiver processing started, required QoS ExactlyOnce 
2009-03-16 12:34:08 Error MP: exception caught with cause java.lang.NullPointerException 
2009-03-16 12:34:08 Error ROB: error during processing: com.sap.aii.af.lib.mp.module.ModuleException

Kindly resolve this issues and do the needful to me.

Regards::

Amar Srinivas Eli

Edited by: Amar Srinivas Eli on Mar 16, 2009 1:15 PM

Former Member
0 Kudos

Srinivas ,

Check sender communication channel configurations for typo errors at the " Passthrough " option.

Also could you give a detailed Audit log of the first message that failed in RWB .

Regards,

KLK

Former Member
0 Kudos

Hi! K L K,

Thanks for ur response. but the thing I just copy pasted the parameters which written in the RAJ's blog and i already cross checked each and every step of the scenario and compars with the blog and another thing is even I checked the cache also.

I already given the Audit log in code manner...

See My message never failed in MONI it is always getting success from right from starting and till now Itested nearly 60-100 times In almost all the times I am getting 2 success mesages in Moni and also response message payload from RFC but

I am not able to receive the resposne payload in the receiver FTP location and also the ssender file communication channel is processing with errors mentioned as below

Time Stamp Type Description

*_Error: java.lang.NullPointerException_*
2009-03-16 12:34:08 Information MP: entering1 
2009-03-16 12:34:08 Information MP: processing local module localejbs/CallSapAdapter 
2009-03-16 12:34:08 Information File Adapter Receiver processing started, required QoS ExactlyOnce 
2009-03-16 12:34:08 Error MP: exception caught with cause java.lang.NullPointerException 
2009-03-16 12:34:08 Error ROB: error during processing: com.sap.aii.af.lib.mp.module.ModuleException

..

Please let me know where exactly the errors is whether with module processing parameters.?

Regards::

Amar Srinivas Eli

Former Member
0 Kudos

Hi all

I am trying the scenario File -WebService_ File refferring to the same blog.

I am getiing Nullpointer exception in the sender communication channel and PFB the Audit log.

2009-03-24 16:45:00 Information MP: processing local module localejbs/AF_Modules/ResponseOnewayBean

2009-03-24 16:45:00 Information The message was successfully transmitted to endpoint http://hydhtc165182d:50000/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.

2009-03-24 16:45:00 Information The message status was set to DLVD.

2009-03-24 16:45:00 Error MP: exception caught with cause java.lang.NullPointerException

2009-03-24 16:45:00 Error File processing failed with java.lang.NullPointerException

One more thing is..the receiver SOAP channel also has the same same audit log with nullpointer exception, but no message can be seen in the integration engine.

Pls help me in resolving this.

Regards

Manohar

Former Member
0 Kudos

I too am getting the

2009-04-09 10:22:39 Information MP: processing local module localejbs/AF_Modules/ResponseOnewayBean

2009-04-09 10:22:39 Error MP: exception caught with cause java.lang.NullPointerException:

2009-04-09 10:22:39 Error File processing failed with java.lang.NullPointerException:

Any help with this?

Former Member
0 Kudos

I am now getting error Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId

Any help?

justin_santhanam
Active Contributor
0 Kudos

Austin,

What's your SP version? are you using the correct parameters in the channels, as per my example?

Thanks,

raj.

Former Member
0 Kudos

Thanks for the reply. I was able to fix my previous problem with the CPAException but now I am back to the Error File processing failed with java.lang.NullPointerException error. I am on 7.1 not sure which SP. I was able to recreate exactly what I have in our 7.0 enviroment and it works fine.

Is there a problem with doing this is 7.1?

Former Member
0 Kudos

Hi,

How did you fix the CPA problem? I have the same error - JMS-PI-RFC scenario.

Can you please help?

Thanks,

Archana

brian_luo
Participant
0 Kudos

HI Austin,

can u tell me how u resolved the problem?

Waittin 4 ur answers,thx in advance.

brian

brian_luo
Participant
0 Kudos

hi Austin,

i hav resolved the CPAException.just be like u, then i encounter the java.lang.NullPointerException error.

im on PI 7.1. if this scenario cant be built in PI 7.1 environment?

thx.

brian_luo
Participant
0 Kudos

hi Archana,

i hav resolved the problem. when i passed the values to the three parameters

( "receiverParty", "adapterType" and "adapterNamespace" ) for the

"AF_Modules/ResponseOnewayBean" Module,then the error disappeared.

hope its helpful to u.

thx.

brian

Former Member
0 Kudos

Thanks Brian. That helped!

brian_luo
Participant
0 Kudos

hi Archana,

im glad thats helpful to u.

but i wonder if u encountered a NullPointerException error after resolving the CPA problem.

if u encountered it and resolved it,pls let me know how to deal with it,thx.

Former Member
0 Kudos

I have still not solved the NullPointerException. I have an open message with SAP trying to troubleshoot.

brian_luo
Participant
0 Kudos

hi Austinm,

okay, plz tell me how to do while u hav solved it.

goodluck, wait 4 ur good news.

thx.

brian

Former Member
0 Kudos

Austin,

Any Luck, I am also facing the same problem.

Thanks

Edward

Former Member
0 Kudos

Raj,

Instead of File Adapter,I am using JMS adapter will the same File Adapter module fit for it JMS adapter too ?

Thnaks

Edward

Former Member
0 Kudos

Raj,

I am getting this error in the Sender Adapter after using the module as per the Wiki,

Error while processing message 'e74d45af-2999-4d75-280b-d7d8374b059a'; detailed error description: com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Value of key must not be null: ObjectId: CPAObjectKeyException: Value of key must not be null: ObjectId at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...

Thanks

Edward.

agasthuri_doss
Active Contributor
0 Kudos

Edward,

The module key given for AF_Modules/ResponseOnewayBean assign a value Example - 3, In the lower half you can enter parameters for the corresponding modules by giving its module key reference.In same way you can add "receiverParty", "adapterType" and "adapterNamespace" in Parameter, the exact values for "adapterType" and "adapterNamespace" we can get from the creation of communication channel

Thanks a lot Michal Krawczyk , Vishnu Kanth and Aamir Suhail for your inputs,

Cheers

Agasthuri Doss

Former Member
0 Kudos

I have been able to solve the nullpointerexception issue by applying the following

Development have advised that the note below should still be applied,

as it is required for synchronous scenarios:

OSS Note #1261159 Synchronous response: No receiver components

Try that and see if it works.

Former Member
0 Kudos

i have a scenario syncrhonous: file to rfc and get back response rfc to other file. I have 3 communication channel: 1 sender file, 1 receiver file, 1 receiver RFC, sender aggrement, receiver aggrement, interface determination and receiver determination.

I also placed module parameters in the sender file CC as:

Processing sequence:

Module name Module type Module key

AF_Modules/RequestResponseBean Local Enterprise Bean 1

CallSapAdapter Local Enterprise Bean 2

AF_Modules/ResponseOnewayBean Local Enterprise Bean 3

Module configuration:

Modulekey parameter name parametervalue

1 passThrough true

3 receiverChannel <File receiver CC>

3 receiverService <Receiver service name>

File is processed and got response from RFC but I dont see any file in the required folder. I successful message in SXMB_MONI.

both FCCs in RWB is in green status.

Where would be the issue, any inputs.

Thanks

Rajeev.

agasthuri_doss
Active Contributor
0 Kudos

Hey,

>File is processed and got response from RFC

Check the file - Path mentioned in the File adapter, If you are using User ID & Password check whether it has role to write the file , Check whether the File system is full - FTP server, What is the status of File adapter in RWB- Comonent Montoring

Cheers

Agasthuri

Former Member
0 Kudos

Hi,

I did few scenarios using the same FTP credentials and they runned successfully.

I see green for sender and receiver File CC in RWB.

Thanks

Rajeev

agasthuri_doss
Active Contributor
0 Kudos

Rajeev,

What you see in the Audit log of File adapter & can you view the payload ?

  • Can you send the Adapter Module Screen Print of RFC & File adapter to my ID - In Business card

Cheers

Agasthuri

Former Member
0 Kudos

Hi Doss,

I sent a mail to your mailID with screen shots of FCC sender, reciever and RFC receiver CC.

Any inputs: am I missing some thing? I configured according to the Blog.

Thanks

Rajeev

Former Member
0 Kudos

Hi Raj,

I have couple of doubts regarding this Wiki

1) Why did u created Sync Message Interface with BAPI " BAPI_COMPANY_GETDETAIL"

Can't we make use of the Bapi itself directly???

2) Why did u used Business Service instead Business System and u have included the Sync Receiver Message Interface created with "BAPI_COMPANY_GETDETAIL"

Regards

Former Member
0 Kudos

Hi All,

I have recently worked this scenario File-RFC-File with and without BPM.Both worked fine for me.

Without BPM:

1.> The SP>=SP19(3.0) & SP>=SPs10(7.0) should be fulfilling this. Kindly check it.

Go to IR->Help>there SP can be seen.

2.> Please follow the steps provided and use these modules:

RequestResponseBean and ResponseOnewayBean.

Please be careful while providing the parameter values. Give the File Receiver channel and its Business service.

The modules are case-sensitive.

We can use BAPI_Company_getdetail instead of synchrounous inbound interface.It will work.

In wiki the author has used Business service for testing purpose you can use your business system maintained in your sld.

Business service is local can not be transported in different environment, so easy to create in ID and no need to maintain in SLD. For testing any scenario it's good to create business service instead of business system.

Regards,

Nutan

Former Member
0 Kudos

Hi

Have you got any answers ? I have the same problem with at file-soap-file scenario.

Former Member
0 Kudos

Hello S R

it was quite long time ago, but could you please tell me how have you resolved the issue with your problem:

.........

Error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIServer:MSGGUID_EXISTING:

.........

I have exact the same issue.

Thanks in advance!

RemiB1
Explorer
0 Kudos

Hi,

I'm new to PI and I just tried your scenario in PI 7.1

I get this error when the XML is being forwarded to the Receiver RFC Adapter :

com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>

I've seen a few threads about this error message, even an OSS note (730870. Q16.) but I still don't understand why I'm getting this error, everything seems configured correctly.

My source xml file on OS level gets picked up by PI but doesn't seem to be forwarded correctly to the target system.

Do you have any ideas ? things I should check ?

Thanks a lot !!

justin_santhanam
Active Contributor
0 Kudos

Rémi / Vamsi/ Naveen,

Did you guys solved the issue? I'm sorry for the late reply.Had really tight schedule.

If you guys face any issues, do let me know.

Thanks,

raj.

Former Member
0 Kudos

Hi Raj,

It's Fantastic one that you gave us.

can we apply this process to JDBC---RFC Sync Communication

Will this Work in this case??

Regards

Vamsi

Former Member
0 Kudos

Hi Raj,

While I am doing the same scenario as explained by you, file is not moving to receiver side. Howerver, in Runtime Workbench, File_Sender, File_Receiver and RFC_Receiver are showing in green only.

And in SXMB_MONI there is no record for the scenario of either namespace or interface.

Please let me know where is the problem and how to find the problem?

Regards

Naveen

Former Member
0 Kudos

> And in SXMB_MONI there is no record for the scenario of either namespace or interface.

Hi Naveen,

You will have to copy the contents of Step1:Copy the payload to a text file and copy the text file to an FTP folder. Only then will the msgs appear in SXI_MONITOR.

Hope that you have created an FTP folder for this...

Rgds/Prasad

Former Member
0 Kudos

Hi,

The explanaion was wonderful..... I hav some doubts..

1) You created one request message and one response message and mapped with the respective request and response message types of the BAPI...My doubt is cant we use only one request message from the sender side and map it to the response message type of the BAPI to get the required output.... i mean is it possible.

2) Is it compulsory to create the collaboration Agreements and Profiles manually..

Thank You,

Rahul.

justin_santhanam
Active Contributor
0 Kudos

Rahul,

Thanks.:-)

>cant we use only one request message from the sender side and map it to the response message type of the BAPI to get the required output

I didn't get you, why we need to map request message of File to Response Message of BAPI?

>Is it compulsory to create the collaboration Agreements and Profiles manually..

Yes, we need to create. Or one more thing, we can create Integration Scenario and do it.

raj.

Former Member
0 Kudos

Good One. Very well explained.

justin_santhanam
Active Contributor
0 Kudos

Thanks for you valuable feedback.

raj.

Former Member
0 Kudos

Hi, Raj:

What a wonderful job. Proud of you and a group of other great contributors in this forum.

Regards

Liang

justin_santhanam
Active Contributor
0 Kudos

Liang,

I'm really happy and appreciate your feedback. I'll try to maintain the quality of the post and will try to enrich contents more.

Once again , I'm thankful for supporting me!

raj.

Former Member
0 Kudos

Hi Raj,

I just gone through it today. It's really fantastic.

Nice job done.

Regards,

Sarvesh

Former Member
0 Kudos

Hi,

We are using PI 7.1

Does the bean work with JDBC sender adapter?

Our scenario is working fine with File-RFC-File scenario, but not working with JDBC-RFC-File scenario.

Any clue?

Former Member
0 Kudos

Hi Raj,

Really a great page with meaningful descriptions and screen shots.

Here I have one dought only in the Sender File channel we have to pass three parameters like passThrough, receiverChannel and receiverService.

what exaclty the taks of "passThrough"?

Also what is the need of creating a separate Inbound Synch Interface for BAPI?

thanks

farooq

Edited by: Farooq Farooqui on Feb 11, 2008 2:07 PM

justin_santhanam
Active Contributor
0 Kudos

Hi Farooq,

Thanks Seshagiri & Farooq for ur valuable comments.

Yes. Only in the sender channel we need to pass the module parameters, As mentioned in the wiki, there is no additional modules needs to be added for Receiver File adapter. For More info on the module which we are using refer.

http://help.sap.com/saphelp_nw04/helpdata/en/45/20c210c20a0732e10000000a155369/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/content.htm

raj.

agasthuri_doss
Active Contributor
0 Kudos

Dear Raj,

Wiki Post is very Good.

Keep doing your Good Work.

Thanks & Regards

Agasthuri Doss

justin_santhanam
Active Contributor
0 Kudos

Thanks Doss, really appreciate your feedback.

raj.