cancel
Showing results for 
Search instead for 
Did you mean: 

possible rfc(response) to file asynchronous

former_member186158
Active Participant
0 Kudos

Is it possible for scenario RFC to file?

Get RFC response to file with asynchronous interfaces?

When I design message mapping: BAPI.response to file.

And then interface mapping BAPI to file interface, but can't find mapping program.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sheng,

Can you explain lit bit brief.

You want to use RFC in Async mode ? Yes possible .

But not only the Response. So you do a dummy mapping for the Request and then use the Response mapping .

Regards,

B.Jude

former_member186158
Active Participant
0 Kudos

for example, BAPI_BANK_GETLIST.

I want to map BAPI_BANK_GETLIST.response to file interface( as message mapping A).

without BPM

with RFC sender adpater and file receiver adapter.

when I do imterface mapping,

outbound interface is BAPI_BANK_GETLIST,

It is not fit with message mapping A.

so ...

former_member200962
Active Contributor
0 Kudos
outbound interface is BAPI_BANK_GETLIST,
It is not fit with message mapping A.

What is the source message of your Message Mapping? You seem to have included the wrong Message Name somewhere.....either in the source of Message Mapping or in the Source Message Interface itself.

Regards,

Abhishek.

former_member186158
Active Participant
0 Kudos

Source message in message mapping is BAPI.response

Source interface in interface mapping is BAPI.request only. You can not select BAPI response.

Don't you figure out my problem?!!!!!

When I do interface mapping, for asynchronous only BAPI request is visible.

former_member200962
Active Contributor
0 Kudos
Source interface in interface mapping is BAPI.request only. You can not select BAPI response.

Sir this is the problem (and if not wrong I tried figuring it out in the first reply itself)....why are you not creating a MI and including this response message in there?

May be experts will be able to help you in this issue.

Regards,

Abhishek.

former_member186158
Active Participant
0 Kudos

OK. Design synchronous interface and mappings, and then how to configure the scenario in ID?

There is a good topic http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without+BPM)

I'm here to discuss the possibility of another way.

Thanks for your input.

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

When you want to send the result the result of a BAPI to a file, you have to do following steps:

1. create an RFC with import data the same as the export data of the BAPI

2. write an ABAP program

inside the ABAP program you

- first call the BAPI locally

- second call your RFC remotely

balaji_pichaimuthu
Active Participant
0 Kudos

Hi,

yes it is possible.. But you have create two message mapping and interface mapping . One for Request and One for Response.

Regards,

Balaji

former_member200962
Active Contributor
0 Kudos
And then interface mapping BAPI to file interface, but can't find mapping program.

Have you included the proper Messages Interfaces in your IM? if you do Read Operations do you see the source and target messages of your Message Mapping?

Regards,

Abhishek.