Ansicht
Dokumentation

05092 - running ABAP program from OS command

05092 - running ABAP program from OS command

General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

running ABAP program from OS command

--- In SAP on System iZy..., "cut.safitri" <cut.safitriZh...> wrote:
> is it possible to run ABAP program via O/S command,
> Say I have ABAP called Z_MY_ABAP_PGR
> So my CL will have line like this :
> CALL MYLIB/Z_MY_ABAP_PGR
>
> Best regards.
> Yatno


Yanto, I use the STRREPORT program that is in the kernel library. I
just have a simple CL that calls it.

Regards,
Philip Stracener
CV Industries

PGM PARM(&JOB &VARIANT &JOBNAME)

DCL VAR(&JOB) TYPE(*CHAR) LEN(8)
DCL VAR(&VARIANT) TYPE(*CHAR) LEN(17)
DCL VAR(&JOBNAME) TYPE(*CHAR) LEN(32)

ADDLIBLE LIB(R331IOPT)
MONMSG MSGID(CPF0000)

STRREPORT REPORT(&JOB) VARIANT(&VARIANT) +
JOB(&JOBNAME) SID(D03) CLIENT(123) USER(username) +
PASSWORD(password) LANGUAGE(E)

ENDPGM


Durban Tours - Südafrika Safari

Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1284 Date: 20240304 Time: 215216     sap01-206 ( 2 ms )