SO_EXPRESS_FLAG_SET

Definition

Function module from the function group SOB5 of the package SO. The function module can be called by SAP applications to create express messages and initiate the express handling required.

Structure

Import Parameters

Import parameter

Default

Description

client

 

Client in which the express message is to be triggered.

The parameter is optional. If it is not set, the express message is triggered in the current client.

text_info

SPACE

Text that is to be displayed.

The parameter consists of a structure with the fields

  • msgid (message class)

  • msgno (message number)

  • msgv1 (variable text section 1)

  • msgv2 (variable text section 2)

  • msgv3 (variable text section 3)

  • msgv4 (variable text section 4)

You have to maintain the texts in table T100, which is defined for messages. A text is uniquely described by the message class ( msgid) and the message number ( msgno). The fields msgv1 to msgv4 refer to the text to be output in the express message. As with messages, you have the option of setting variables, for which the placeholders &1 to &n are used.

process_param

SPACE

Transfer of identification and method of the object to be executed.

The parameter consists of a structure with the fields

  • logsys (logical system)

  • objtype (object type)

  • objkey (object key)

  • method (method)

The object identified in this parameter is executed with the method specified.

procdirect

X

Indicator denoting whether the object can be executed directly from the dialog box of the express message.

If this indicator is set, the Execute symbol is displayed in the dialog box. The prerequisite for this is that the structure process_param is maintained.

singlentry

SPACE

Indicator denoting whether a collective message is issued or whether the express messages are displayed individually if several express messages with the same text have accumulated for one user.

inbox

X

Indicator denoting whether the express message is to contain a link to the Business Workplace inbox.

The link is started using a pushbutton.

popup_title

SPACE

Title of the dialog box

Export Parameters

Export parameter

Description

sent_to_all

Indicator denoting whether the sending was successful

Possible values:

  • X- all recipients have received the express message

  • SPACE- at least one recipient has not received the express message

Internal Table

Internal table

Description

rec_tab

Internal table for transfer of a list of recipients.

Fields of the internal table rec_tab:

Field

Description

Data element

Type

Length

recnam

Recipient name

SO_REC_EXP

CHAR

130

recesc

Recipient type

Possible values:

  • B- SAP name

  • P- Private distribution list

  • C- Shared distribution list

  • H- Organizational unit.

The four fields of the internal table form the structure SOOS7.

SO_ESCAPE

CHAR

1

rcode

Return code

As SY-SUBRC

no_express

Indicator denoting whether the user is not to receive the express message until they executes a new logon.

EXPR_FLAG

CHAR

1

Exceptions

Exceptions

Description

NO_RECEIVER_EXIST

None of the specified recipients exist.

OFFICE_NAME_ERROR

The caller of the function module is not assigned a Business Workplace.