Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

A call system command problem

Former Member
0 Likes
511

I call system command then sy-subrc return code of -1????? Anyone have any ideas? We are on 4.6c

Thank You

CALL 'SYSTEM' ID 'COMMAND' FIELD 'cd /usr'

ID 'TAB' FIELD TABL-SYS.

3 REPLIES 3
Read only

Former Member
Read only

Former Member
0 Likes
467

SY-SUBRC = 1 means there was an error in executing ur previous command. U need to debug and check what went wrong.

Read only

0 Likes
467

SY-SUBRC = -1 not SY-SUBRC = 1

thanks