Skip to Content
-1
May 15, 2018 at 03:36 AM

Collect the messages after a FM execution

388 Views

Hi Gurus,

I have a scenario here regarding the use of FM 'HU_PACKING_CREATE'.....

The FM returns sy-subrc = 0 and also IMPORTING parameter et_messages returns the message HU successfully created. At the same time, there is another process (background steps) that creates the HU asynchronously....

That causes further issue when the HU is created with packaging material non-serialized (we are expecting serialized packaging material) - and the message not returned to the caller FM.

Question: Is there a way to capture the messages (in the asynchronous steps) back into the caller FM?

Regards,

HanYean