on 02-09-2017 2:54 PM
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.
regards
Enrico
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Erekle-Enrico!
Try to use:
IF CO_AUFK_LISTE[] IS INITIAL.
instead.
I missed it's BAPI code. Or is it user RFC code calling BAPI inside?
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.