Hi Vanessa,
Thank you for providing detailed explanation in your output file. It is definitely weird why it would not match what is in SAP.
Few thoughts at a glance:
1) I don't know the details of why the textID = F01. Could you double check this choice?
2) If you run the same data set in SE37, is the SAP result the same (PO text instead of Item Text?) ?
If so, it could be a bug in the BAPI and should be addressed by SAP Support.
If SE37 results are correct, and the script is not returning this output, then I recommend you create a Winshuttle/Precisely support ticket so they can debug on our end and see what might be causing the output to be off.
Hope that makes sense
Jayasri
------------------------------
Jayasri Varyani | SE
Winshuttle North America |
------------------------------
Original Message:
Sent: 09-01-2022 13:41
From: Vanessa Kutasi
Subject: BAPI_PO_GETDETAIL
Hi Friends,
I'm trying to pull line item specific text out of POs (ME23N) using BAPI_PO_GETDETAIL. I seem to be getting mostly accurate data, however if you review the attached template, it doesn't appear to be indexing properly, and doesn't always pull item text. There is an example where the text pulled is 'Material PO Text' and NOT 'Item Text'. Any thoughts on how to get this to index correctly?
I have tried all other recording methods and have found that BAPI is the best option.
Thank you,
Vanessa
------------------------------
Vanessa Kutasi | Application Analyst II
IDEXX | New England WUG Leader
------------------------------