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

RFC_REMOTE_PIPE problem

Former Member
0 Likes
1,155

Hi All,

I am facing a problem where I am able to execute command using FM RFC_REMOTE_PIPE and command works perfectly in UNIX but still FM returns sy-subrc value 1.

If command was successful in UNIX then it should have returned sy-subrc value 0.

Please help me.

Regards,

Prabhat

4 REPLIES 4
Read only

Former Member
0 Likes
774

Hi Prabhat,

I faced that issue years ago, but the only solution for me was to ignore the SUBRC and examine the content of table PIPEDATA.

Regards,

Klaus

Read only

0 Likes
774

Thanks Klaus.

Here I am getting empty pipedata table, it doesn't contain anything.

Regards,

Prabhat

Read only

0 Likes
774

Hi Prabhat,

maybe you can write a UNIX script or change your command to get those informations. Please check if you get STDOUT or STDERR in PIPEDATA (I'm not sure for that). Maybe you need a script with ECHO to get those inforations.

Regards,

Klaus

Read only

Former Member
0 Likes
774

Solved.

We faced this problem because our Unix folder has more than 300 files with same file name with time stamp.

Regards,

Prabhat