Hello Winshuttle experts!
Good day.
I was tasked to modify an existing Winshuttle script to add some sort of 'indicator' to Winshuttle postings (please find attached). My partners have an FI document posting script, and they want an indicator whether the posting is from Winshuttle or not. In this case, they want to put the string 'WSXXXXX' on the field XREF1_HD in the header of the posted document. The script is a recording of FB01, and it works well. The issue I'm having is that the field XREF1_HD is only filled up internally, during batch input.
Now I'm exploring (option 1) Business Add-ins within SAP but the additional Reference Key 1 field in FB01 screens is just not possible business-wise. I'm also considering (option 2) creating a script from scratch using the Winshuttle BAPI option, but then the XREF1_HD field is not available within the funciton module BAPI_ACC_DOCUMENT_POST. Searching online I've figured I could use a Badi, ACC_DOCUMENT, for this option, but then I still need to choose one of the fields in BAPI_ACC_DOCUMENT_POST in order to past the value to ACCIT-XREF1_HD, which is a bit complicated.
Anyone has experience in filling up the XREF1_HD field via Winshuttle?
Appreciate any help, thanks!
Best regards,
Bagani
------------------------------
Bagani Sularte | Technology Consultant
DXC Technology
------------------------------