Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Running windows batch file from abap

Hi all.

Does anyone know a way to activate a batch file threw abap?

Thanks in advance,

Rebeka

Tags:
Former Member
Former Member replied

Preconditions / Restrictions, for example:

- Available from R/3 Release 2.1.

- You can execute extensions .com/.exe/.bat.

- Install the RFC server program RFCEXEC.EXE with the Desktop Development Kit.

- The destination (in the example, LOCAL_EXEC) was created with transaction SM59

Example 1: call the program TEST1.EXE. report ztest1.

data: Path1(256) type c value 'C:\PROGRAM FILES\TEST1.EXE' .

call function 'RFC_REMOTE_EXEC'

destination

'LOCAL_EXEC'

exporting

COMMAND = Path1 .

Most probably you would have the rfcsdk installed on your desktop

Regards,

C.A

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question