Ansicht
Dokumentation

03742 - FW: ABAP to snd msg to specific user ID

03742 - FW: ABAP to snd msg to specific user ID

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

FW: ABAP to snd msg to specific user ID

I setup this program. Could be handy to use, BUT, it appears to not
work under the 6.10 GUI. Anyone smarter than I know why it doesn't?



--- In SAP on System iZy..., cpillichZi... wrote:
> Never mind, I found it. Thanks, this works.
>
> --- In SAP on System iZy..., Mike Pastor <mpastorZb...> wrote:
> >
> >
> > > -----Original Message-----
> > > From: Robert Clay [mailto:rclayZk...]
> > > Sent: Tuesday, May 23, 2000 10:49 AM
> > > To: 'sap400Zm...'
> > > Subject: ABAP to snd msg to specific user ID
> > >
> > >
> > > Here's a little ABAP to send a message to a specific user:
> > >
> > > REPORT ZBC_PRIVATE_MESSAGE .
> > > **********************************************************
> > > * This program sends a message in a popup window to the
> > > * screens of the logged on user. This method is better
> > > * than the SAP system message function, because the popup
> > > * window appears immediately (no dialog step is required),
> > > * and better than the express mail method (the user can
> > > * not avoid it because there is no dialog step).
> > > **********************************************************
> > >
> > > PARAMETERS:
> > > P_MSG(128) DEFAULT ' ' LOWER CASE,
> > > P_CLIENT LIKE SY-MANDT DEFAULT SY-MANDT,
> > > P_USER LIKE SY-UNAME DEFAULT SY-UNAME.
> > >
> > > DATA: OPCODE_SEND_POP_UP(1) TYPE X VALUE 31,
> > > MSG_LENGTH LIKE SY-INDEX,
> > > LOC_CUT_BLANKS TYPE X VALUE 1.
> > >
> > > DESCRIBE FIELD P_MSG LENGTH MSG_LENGTH.
> > >
> > > CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE_SEND_POP_UP
> > > ID 'CLIENT' FIELD P_CLIENT
> > > ID 'USR' FIELD P_USER
> > > ID 'MSG' FIELD P_MSG
> > > ID 'MSG_LEN' FIELD MSG_LENGTH
> > > ID 'CUT_BLANKS' FIELD LOC_CUT_BLANKS.
> > >
> > > IF SY-SUBRC = 0.
> > > WRITE:/ 'Message delivered to ', P_USER, 'successfully.'.
> > > ELSE.
> > > WRITE:/ 'User does not exist!'.
> > > ENDIF.
> > >
> > > ***************************************************************
> > > I set up the selection texts like this:
> > >
> > > P_CLIENT Client
> > > P_MSG Message to send (45 chars max)
> > > P_USER User ID to send to
> > >
*****************************************************************
> > >
> > > Regards,
> > >
> > > Robert Clay
> > > Database/Systems Administrator
> > > Kerr Drug
> > > 2522 South Tri-Center Blvd.
> > > Durham, North Carolina 27713
> > > Telephone: 919-544-3896 Fax: 919-544-3796
> > > rclayZk...
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]


Durban Tours - Südafrika Safari

BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3765 Date: 20240329 Time: 010256     sap01-206 ( 2 ms )