cancel
Showing results for 
Search instead for 
Did you mean: 

** RFC Problem - Request one BAPI - Response another BAPI.

jegathees_waran
Active Participant
0 Kudos

Dear Friends,

I am facing one issue while using BAPI in XI. Fist, I did copying of 'BAPI_INSPLOT_SETUSAGEDECISION' to 'ZBAPI_INSPLOT_SETUSAGEDECISION' and use that in XI. It was working fine. But, our PM told use some meaningful prefixes instead of simply Z. So, again we copied standard BAPI 'BAPI_INSPLOT_SETUSAGEDECISION' into ZLV_BAPI_INSPLOT_SETUSAGEDECIS.

Then, we have imported this new BAPI into XI and use this BAPI in mapping. We did mapping accordingly. (both request and response)

When test the scenario, request maps to new BAPI import parameter but response comes from the previous Z BAPI. We don't know why the response comes from old Z BAPI.

We tried many ways a) by deleted the old Z BAPI in SWCV b) by refersh the Cache b) by refresh the mapping in the Administration --> Cache Overview c) Finally we deleted all message mappings and interface mappings, ZLV BAPI. And imported again ZLV BAPI, created mappings again.

But, still this problem comes ie response comes from old Z BAPI. (ZBAPI_INSPLOT_SETUSAGEDECISION).

Kindly help me friends, to solve this issue.

Kind Regards

Jegathees P.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Delete your Interface mapping and create it again.

Regards,

Sarvesh

Answers (2)

Answers (2)

jegathees_waran
Active Participant
0 Kudos

After did this, again the same problem comes.

Former Member
0 Kudos

Hi,

make sure that you have done the following Activities

1) Remove the Old BAPI From the Imported objects

2) Remove the Newly Imported BAPi also And Activate now

Remove the Mapping Interface Mapping Active those First

3) Now import the Required BAPI And Activate the BAPI Objects

make sure that the Old BAPI will not be there any where in ur SWCV

Regards

Seshagiri

Former Member
0 Kudos

Let me sumrize if you have not missed any step..

In IR

1. First import the new ZBAPI to XI.

2. Create/Change the existing Message Interface with this new BAPI

3. Create/Change the mapping with new BAPI

4. Create/Change the Interface Mapping with this new BAPI & new Message Interface.

In ID

1. Check the Receiver Determination with correct message interface (inbound/outbound)

2. Check the Interface Determination

Cache Refresh: Do SXI_CACHE & CPACache refresh as well.

Regards,

Sarvesh

Former Member
0 Kudos

Hi

Remove this mapping and create again. Refresh the cache so that objects from history will not come in mapping.

Thanks

Gaurav