CL_BUPA_IL_WFD_AVAILABILITY - Capacity of Service arrangement

BAL Application Log Documentation   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

>>> Development Documentation generated by DocuGenerator v1.1 (only available in English => NO TRANSLATION!!!) <<<

General Class Description

Handles the availability data for service arrangements in the business partner application.
Uses the business partner bol/genil framework as well as the CRM_WFD_RPA_BADI to connect to
the WFD functionality.

__________________________________________________________

Class Info

Name:CL_BUPA_IL_WFD_AVAILABILITY
Instantiation:Public

Superclass

CL_BUIL_ABSTR

Implemented Interfaces

None

Friend Classes

None

Subclasses

None

__________________________________________________________

Methods

CLASS_CONSTRUCTOR

Public static CLASS_CONSTRUCTOR( )

Instantiates the CRM_WFD_RPA BADI and reads the time allocation typesinto gt_timespectypes
for later usage.

________________________________________________________________________

IS_AVAILABILITY_ACTIVE

Public static ABAP_BOOL IS_AVAILABILITY_ACTIVE(

IMPORTING

SYSUUID_X IV_RES_GUID

)

Checks, if the HCM integration in WFD is active.

If this is not the case, the availabiltiy data can only be displayed,
not changed.

Returns

true, if the HCM integration is switched on in WFD
false, otherwise

Parameter Details

IV_RES_GUID

Contains the set ID of the service arrangement.

________________________________________________________________________

MODIFY

Redefined Public MODIFY(

IMPORTING

OBJECT IV_REF

CRMT_GENIL_OBJ_INSTANCE_TAB CT_CHANGED_OBJECTS

)

Handles the GenIL modify functionality for the availability data of the service arrangements.
That means: INSERT, CHANGE, DELETE according to the delta flag of thecontainer object.

Parameter Details

IV_REF

The reference to the GenIL container object for the availabilities.

CT_CHANGED_OBJECTS

Standard table of the GenIL that contains the new and changed objects.

________________________________________________________________________

READ

Redefined Public READ(

IMPORTING

CRMT_REQUEST_OBJ_TAB IT_REQUEST_OBJECTS

OBJECT IV_REF

)

Handles the GenIL read functionality for the availability data of theservice arrangements.

Parameter Details

IT_REQUEST_OBJECTS

Currently not used, but provided to the method to read child objects.

IV_REF

The reference to the GenIL container object for the availabilities.

________________________________________________________________________

SET_ATTR_PROPERTIES

Redefined Protected SET_ATTR_PROPERTIES(

IMPORTING

IF_GENIL_CONTAINER_OBJECT IV_OBJECT

)

________________________________________________________________________

ADD_MESSAGE

Private ADD_MESSAGE(

IMPORTING

CL_CRM_GENIL_BAPI_MESS_CONT IR_MESSAGE_CONTAINER

CRMT_GENIL_OBJECT_ID IV_OBJECT_ID

CRMT_EXT_OBJ_NAME IV_OBJECT_NAME

)

Adds the last message (sy-msg fields) to the given message container.

Usage:
DATA lv_message TYPE string.
MESSAGE e101(crm_wfd_bol_genil) INTO lv_message.
add_message( ir_message_container = lv_msg_cont
iv_object_name = me->object_name
iv_object_id = lv_object_id ).

Parameter Details

IR_MESSAGE_CONTAINER

The message container, the message is written to.

IV_OBJECT_NAME

The object name to be provided to the message container.

IV_OBJECT_ID

The object ID to be provided to the message container.

________________________________________________________________________

IS_RULE_CONSISTENT

Private ABAP_BOOL IS_RULE_CONSISTENT(

IMPORTING

CRMT_BUPA_IL_WFD_AVAILABILITY IS_AVAILABILITY

)

Makes a precheck on the availability rules, before the are sent to WFD.

Returns

true, if the availabilty rule is consistent,
false, otherwise

Parameter Details

IS_AVAILABILTY

The rule to be checked.


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


Length: 6006 Date: 20120526 Time: 094036     triton ( 84 ms )