Hi Senthil
Thanks for sending your files.
I had to setup some data to try this out.
I am able to script it, and if I enable EXTENDED LOG

I'm seeing this, which means the document posts, but there is still some type of error in SAP as you leave the tcode.
- Material document 2004000097 posted- Runtime error RAISE_EXCEPTION has occurredI've:
- tried recording in BATCH mode, which is often suggested for these errors, but the classification window wouldn't open for me in BATCH mode. If you could skip the classification screen, BATCH mode works just fine. Can you use the BATCH entry on the screen instead? Or are there other characteristics to fill in?
- tried using another way to exit the tcode - exit then YES to save
- looked some Winshuttle Function Module settings
- I upgraded my GUI from SAP 760 patch level 4 to patch level 9
- I also looked in ST22 at the dumps, and asked someone else smarter than me to look at them with me, and they're not helpful
I still have the same issue as you.
I think you may need to open a support ticket, and potentially check with your BASIS team, who may have some insights into the issue in ST22.
I will still look into it next week, but I'm out of time today to take this further.
Hope you have a nice weekend,
Sigrid
PS: There is also a good BAPI for goods receipt:
BAPI_GOODSMVT_CREATE, but while it supports a set of custom fields, it doesn't look like it supports class characteristics.
------------------------------
Sigrid Kok
PSE | Winshuttle NA
------------------------------
Original Message:
Sent: 05-14-2021 14:52
From: Senthil Nattamai Sekar
Subject: MIGO_GR - Runtime error RAISE_EXCEPTION has occurred
Hello Sigrid,
PFA the script and data template, I can also send you the logs if you need those separately in an email.
------------------------------
Senthil Nattamai Sekar |
Infineon Technologies North America Corporation |
------------------------------
Original Message:
Sent: 05-14-2021 10:45
From: Sigrid Kok
Subject: MIGO_GR - Runtime error RAISE_EXCEPTION has occurred
Hi Senthil
This t-code is an "enjoy" transaction, and can be tricky to automate. I have a script that I created in v10.3 in 2012 that still works :-), but it doesn't have batches.
- You are right that Start SAP GUI has to be checked.
- Make sure you have the details section expanded, as not everyone will have it that way by default.

Can you please attach your script and potentially template (data scrubbed)? I will take a look.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA