Have you ever tried debugging a Call Txn, and after perform the Call Txn in Mode 'N', your program errored with...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
a Sy-subrc of 1001? When you run the txn in 'A' mode, and step through it, it runs perfectly. Try using mode 'P' when you are debugging, it's a new mode as of 4.6C that should get you by the annoying sy-subrc = 1001.
Dig Deeper on SAP ABAP