cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI problem

Former Member
0 Kudos

Hi.

We are calling a BAPI and depending on teh payload we are calling it in defferent systems.

After they made changes to the BAPI we are missing 3 fields from one system.

If we make a BAPI-call from an other system we get the correct number of fields in the response but not when we are calling from the PI system.

The integgration looks as follow.

Portal - (Web Service, Sync) > PI - (RFC, BAPI, Sync) > SAP system (Different system depending on the payload)

We have tried to reimport the BAPI from the system that are missing the fields and same result.

In the SAP system we can see the fields in the BAPI.

When we are sending test messages we can see that the fields are populated with data.

When the message arrives in PI the fields are missing.

And when the portal gets the message the fields are missing. Pretty obviouce.

Any idea what goes wrong?

BR

Kalle

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

After they made changes to the BAPI we are missing 3 fields from one system.

If we make a BAPI-call from an other system we get the correct number of fields in the response but not when we are calling from the PI system.

You can refresh the RFC metadata by stopping and starting the receiver communication channel. If that does not work, try reactivating the receiver cc.

Hope this helps,

Mark

Former Member
0 Kudos

Thanks for the help.

Restarting the adapter solved the issue.

BR

Kalle

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kalle,

RFC receiver adapter might be referencing the old version of BAPI. I suggest you to modify some data in RFC adapter(eg. description) then save and reactivate the Channel. and make sure that CPA cache updation successfully completed, then try ti recheck it.

Regards,

RK

Former Member
0 Kudos

Try to re-import Bapi Definition in ESR, and re-activate with a dummy modification in Interface Message, Message Mapping and OperationMapping and rec.adap.