Posted: Sun Nov 04, 2007 4:23 pm Post subject: Send a message to SapOffice
This reports does send a message to SapOffice.
Parameters:
p_line1(70) type c obligatory,
p_line2(70) type c,
p_line3(70) type c,
p_title like sood1-objdes,
p_user like sy-uname obligatory.
Output:
message SapOffice
Code:
REPORT ZMESSAGE LINE-SIZE 250. "yyyymmdd, Release x.x
*
********************** HEADER **************
*
* Copyright (c) 2001 by Angell, 44318 Anywhere, http://xxxxx
* or: Copyright (c) 2001 by A.L. from I.
*
* You can use or modify this report for your own work as long
* as you don't try to sell or republish it.
* In no event will the author be liable for indirect, special,
* Incidental, or consequental damages (if any) arising out of
* the use of this report.
*//////////////////////////////////////////////////////////////////////*
* Append your coding here ...
parameters: p_line1(70) type c obligatory,
p_line2(70) type c,
p_line3(70) type c,
p_title like sood1-objdes,
p_user like sy-uname obligatory.
START-OF-SELECTION.
DATA: I_RECEIVERS LIKE SOOS1 OCCURS 0 WITH HEADER LINE,
I_OBJCONT LIKE SOLI OCCURS 0 WITH HEADER LINE,
I_OBJHEAD LIKE SOLI OCCURS 0 WITH HEADER LINE,
R_OBJECT_HD_CHANGE LIKE SOOD1 OCCURS 0 WITH HEADER LINE.
IF SY-SUBRC <> 0.
MESSAGE I000. "Error en el envío de mensaje al responsable
LEAVE SCREEN.
ENDIF.
************************************************************************
******************* END OF PROGRAM *************************************
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.