Skip to Content

SOAP <-> PI <-> RFC Sync Table Structure is initial (single stack)

Feb 09, 2017 at 02:54 PM


avatar image

Dear SAP Professionals,

i have a strange behavior in my sync scenario. A third party System is sending some internal orders via Soap, the SAP PI passes the data and calls a BAPI. After this SAP PI should send the answer back to the third Party System.

Now the strange thing:

I am passing a filled table (CO_AUFK_LISTE) to the Bapi. As you see in the screenshot the Table is filled but the structure is Initial. Therefore the Exit is called.

If I test the Bapi in the ABAP System via SE37 this strange thing is not occuring.

I have maintained a sync Service Interface, 2 Mappings (Request and Response) with the BAPI Structure just passing the Data, one Operation Mapping for both sites and an Integrated Configuration.

Could you please provide me some help?

Thanks a lot.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Ariel M. Bravo Ayala Dec 05, 2017 at 11:26 AM

That the issue about using internal tables with headers (or work areas). They should be avoided at all cost!

The issue you have, is that CO_AUFK_LISTE IS INITIAL will check the work area of the table and not the table content.

As Evgeniy Kolmakov mentioned, the cleaner way you can overcome that issue asking for the table content (using the []).

Best regards,

Ariel Bravo Ayala

10 |10000 characters needed characters left characters exceeded
Evgeniy Kolmakov Dec 05, 2017 at 11:15 AM

Hi Erekle-Enrico!

Try to use:



I missed it's BAPI code. Or is it user RFC code calling BAPI inside?

Regards, Evgeniy.

10 |10000 characters needed characters left characters exceeded