Skip to Content
0
Former Member
Apr 02, 2008 at 04:44 PM

Unix command question on TAB content

12 Views

We found the following ABAP statemenet


DATA: our_unix_path_and_file_name(64) TYPE c,
           v_unixcmd(255) TYPE c,
           result(255) TYPE c OCCURS 100 WITH HEADER LINE.

CONCATENATE 'ls -al' our_unix_path_and_file_name INTO v_unixcmd SEPARATED BY space.

CALL 'SYSTEM' ID 'COMMAND' FIELD v_unixcmd
                ID 'TAB'     FIELD result-*sys*.

The question is: is result an internal table? if it's an internal table, then why it's defined as type c? And also what is included in this result after calling this UNIX command? it will list all the file content?

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 2, 2008 12:45 PM