SAP Note 9391 - Calling external programs

Component : RFC - Security

Solution : https://service.sap.com/sap/support/notes/9391 (SAP Service marketplace login required)

Summary :
This SAP Note addresses the execution of external programs from within the ABAP environment. To invoke a non-ABAP program, one standard method is using Remote Function Call (RFC) with the DESTINATION addition in CALL FUNCTION. Another method involves the ABAP command OPEN DATASET with the FILTER addition to handle external programs similarly to files, utilizing pipes. The CALL command is restricted to SAP internal use only. Furthermore, transaction SM49 should be used to execute operating system commands. These procedures enable seamless integration and communication between ABAP and external programs, enhancing functionality and flexibility within the SAP ecosystem.

Key words :
abap language command open dataset, text mode filter 'xxxx', conversely  open dataset 'test', open dataset 'test', close dataset terminates, read dataset 'test', closing itsinput channel, abap keyword call, remote function call, call command

Related Notes :

100146
77075Example: Executing functions on the frontend