cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Script giving error about screen mismatch in ME21

kdavis
Newcomer
0 Likes
401

I'm working to write a script for ME21, which will take Contract information, and use it to create a Purchase Order.

While testing, I always get the same error "No batch input data found for dynpro (SAPMSSY0 0120) SAPMM06E 0101 .   expected." - it is expecting the Purchase Order creation screen, but is still stuck on the Contract line item selection screen. When I view it screen by screen, the script does GO to SAPMM06E 0101, but it stops because it THINKS that it is on SAPMSSY0 0120. 

Is there any way to make the visible screen match the screen listed in the background? 

Accepted Solutions (0)

Answers (1)

Answers (1)

Suryaprakash13
Active Participant
0 Likes

Dear @kdavis,

In script, try clicking the required Expand Button in script before the entering the value.
Expand Header or Expand Item on the left corner, during the script it might in the Collapse (Fields not visible) during the script execution in the background.

To check whether the script goes to ME21n, try commenting the lines after the Script calling the ME21n Screen and run the script, so that we can get the ME21n screen at real time.

Hope this helps!!!

Best Regards,
Surya.