CL_BCSLocate this document in the navigation structure

Definition

Class that serves as the interface from BCS to the applications. The methods of the class cater for the send functions.

Use

You use the methods of this class to create a send request for the object that you want to send. You assign the object that you want to send, the sender and the recipients to this send request. You can also make settings for the send attributes and status handling, as well as relate an application object to the object sent. Alternatively, you can call the send screen to give the user the opportunity to specify the recipients and send attributes. The recipients and attributes included then serve as presettings.

Structure

You can use the following methods of the class CL_BCS:

CREATE_PERSISTENT

This method is used to create a persistent send request.

Return parameters

RESULT Persistent send request (reference to an instance of the class CL_BCS)

SET_DOCUMENT

You use this method to pass an object to the send request.

Import parameters

I_DOCUMENT Document that is to be passed to BCS (reference to an instance of the interface IF_DOCUMENT_BCS)

SET_SENDER

You use this method to pass a sender to the send request.

Import parameters

I_SENDER Sender (reference to an instance of the interface IF_SENDER_BCS)

ADD_RECIPIENT

You use this method to pass a recipient to the send request. You have to call this method for every recipient.

Import parameters

I_RECIPIENT Recipient (reference to an instance of the interface IF_RECIPIENT_BCS)

I_EXPRESS Indicator for the send attribute Express

I_COPY Indicator for the send attribute Copy

I_BLINDCOPY Indicator for the send attribute Blind copy

I_NO_FORWARD Indicator for the send attribute No forwarding

CREATE_LINK

You use this method to create a relationship between an application object and the object sent.

Import parameters

I_APPL_OBJECT Business object that is to be related. (The business object type must be defined in the Business Object Repository.)

SET_OWNER_APP

You use this method to set the application that is responsible for the object sent. The keys are used in the reorganization of send requests.

Import parameters

I_OWNER_APP Four-character field that identifies the application

EDIT

You use this method to call the send screen to enable dialog processing.

Import parameters

You can display the send screen as a dialog box by specifying the coordinates (I_STARTING_AT_X, I_STARTING_AT_Y, I_ENDING_AT_X, I_ENDING_AT_Y).

I_HIDE_NOTE Indicator with which you can initially hide the note window

I_EDIT_SUBJECT Indicator denoting whether the title is to be changeable

SEND

You use this method to send an object if this does not occur in dialog processing.

Import parameters

I_WITH_ERROR_SCREEN (optional) Indicator denoting whether the send log book is to be returned in the event of an error

Return parameters

RESULT Indicator denoting whether the sending was successful