Skip to Content
0
Mar 17, 2020 at 11:37 AM

GetFrameContextInChildFrames - Document has changed

179 Views

I have created a Create Sales order script in CBTA. Towards the end the SO is saved and the message with SO number appears at the bottom left of the screen.

I am using the Get Message Params component to retrieve the SO number.

This is happening SAP FIORI screen.

Now when I execute the script it fails at the Get Message Params component with the following reason :-

GetFrameContextInChildFrames - Document has changed

.

Operation Failed

Targeted Control Uri:
frameId=ITSFRAME1; ls.type=MB; tag=SPAN; ls.sid=wnd[0]/sbar_msg

Error Message:
GetFrameContextInChildFrames - Document has changed


I have tried using object spy to get the URI of the message at the bottom of the screen to correct this, but after 1 or 2 iterations the script starts failing again with the same error message.

I am using CBTA 3.0.13.1 version .