Ansicht
Dokumentation

04084 - call system

04084 - call system

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

call system

First I want to say sorry.
I have searched in the Mailgroup about the solution.
And I found a few examples for call 'system'.

But I am not an ABAP-programmer and I am not a good english language
speaking guy. I am von german (I hope that say enaough 🙂 :-))

I tried to use the AS/400 e-mail-Funktion in a ABAP-Programm as in
the following, but it didn't work.

REPORT Z_SPRANZ_TEST .

DATA: cmd(250) value 'wrkactjob output(*print)'.
data: Anf_Zeichen(1) type c value ''''.
data: Alarm_Betreff(44) type c,
Alarm_Message(100).
DATA: BEGIN OF liste OCCURS 100,
zeile(132),
END OF liste.

move 'Pgm Z_Spranz_TEST aufgerufen' to Alarm_Betreff.
concatenate 'Programm Z_Spranz_TEXT wurde zum senden einer Mail '
' aufgerufen'
into Alarm_Message.
concatenate 'SNDDST TYPE(*LMSG)'
' tointnet(('
Anf_Zeichen
'JSpranzZg...'
Anf_Zeichen
'))'
' dstd('
Anf_Zeichen
Alarm_betreff
Anf_Zeichen
')'
' msg('
Anf_Zeichen
Alarm_Message
Anf_Zeichen
')'
' longmsg('
Anf_Zeichen
Anf_Zeichen
')'
into cmd.

break spranz.

CALL 'SYSTEM' ID 'COMMAND'
FIELD cmd
ID 'TAB' FIELD liste-*sys*.


break spranz.


Thank you for helping.



Durban Tours - Südafrika Safari

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 1782 Date: 20240620 Time: 020454     sap01-206 ( 3 ms )