SAP® Documentation

Single view

CL_CRM_FM_LR_ELM_API - Live Rates Planning Element APIs

BAL_S_LOG - Application Log: Log header data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

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

General Class Description

This class acts as an API provider for Live Rate application

__________________________________________________________

Class Info

Name:CL_CRM_FM_LR_ELM_API
Instantiation:Public

Superclass

None

Implemented Interfaces

None

Friend Classes

None

Subclasses

None

__________________________________________________________

Methods

CHANGE_ELEMENT

Public static CHANGE_ELEMENT(

IMPORTINGCRMS_FM_LR_ELM_API IS_ATTRIBUTES

)

Singlee creation of Planning Element

________________________________________________________________________

CHANGE_ELEMENTS

Public static CHANGE_ELEMENTS(

IMPORTINGCRMT_FM_LR_ELM_API IT_ATTRIBUTES

)

Change Planning Element attributes

________________________________________________________________________

CHANGE_PLANNING_COMBINATIONS

Public static CHANGE_PLANNING_COMBINATIONS(

IMPORTINGCRMT_FM_LRTP_KFP_CHANGE_COMBI IT_COMBINATIONS
LOY_FRW_GUID IV_ELM_GUID
EXPORTINGBAPIRETTAB ET_MESSAGES
ABAP_BOOL EV_SUCCESS

)

Allow to any external program to change the planning combinations on the planning layout.
It must be used carefully as it affects the combinations saved into the infocube on BI.

Parameters

- IT_COMBINATIONS=> Table of combinations to change containing the Action ('0' = Delete, '1' = Add) and
 Product Category/Product guids (depending on the customizing) with their corresponding level.
- IV_ELM_GUID=> Live Rate Element Guid
- ET_MESSAGES=> Table of messages raised by KFP integration
- EV_SUCCESS=> Flag telling whether the combination has been changed with success

________________________________________________________________________

CHECK_TRANS_POSSIBLE

Public static ABAP_BOOL CHECK_TRANS_POSSIBLE(

IMPORTINGCRMT_OBJECT_GUID IV_GUID
J_VORGANG IV_VRGNG

)

________________________________________________________________________

COMMIT

Public static CRMT_BOOLEAN COMMIT(

IMPORTINGCRMT_BOOLEAN AND_WAIT

)

Commit saved data to database

________________________________________________________________________

CREATE_ELEMENT

Public static CREATE_ELEMENT(

IMPORTINGCRMS_FM_LR_ELM IS_ATTRIBUTES
EXPORTINGCRMS_FM_LR_ELM_API ES_CREATED
CRMS_FM_LR_ELM_API ES_NOT_CREATED
BAPIRET2_T ET_MESSAGES

)

Singlee creation of Planning Element

________________________________________________________________________

CREATE_ELEMENTS

Public static CREATE_ELEMENTS(

IMPORTINGCRMT_FM_LR_ELM IT_ATTRIBUTES
EXPORTINGCRMT_FM_LR_ELM_API ET_NOT_CREATED
BAPIRET2_T ET_MESSAGES
CRMT_FM_LR_ELM_API ET_CREATED

)

Mass creation of Planning Element

________________________________________________________________________

GET_ELM_BY_EMPLOYEE

Public static GET_ELM_BY_EMPLOYEE(

IMPORTINGLOY_FRW_GUID IV_PLAN_GUID
BU_PARTNER IV_EMPLOYEE_ID
EXPORTINGCRMT_FM_LR_ELM_API ET_ATTRIBUTES

)

Get Pln Elm. an employee is responsible (via ownership)

________________________________________________________________________

GET_ELM_BY_GUID

Public static GET_ELM_BY_GUID(

IMPORTINGLOY_FRW_GUID IV_ELM_GUID
EXPORTINGCRMS_FM_LR_ELM_API ES_ATTRIBUTES

)

Get Planning Element GUID

________________________________________________________________________

GET_ELM_BY_ID

Public static GET_ELM_BY_ID(

IMPORTINGCRMT_OBJECT_ID IV_ELM_ID
EXPORTINGCRMS_FM_LR_ELM_API ES_ATTRIBUTES

)

Get Planning Element by Object ID

________________________________________________________________________

GET_ELM_BY_OWNERSHIP

Public static GET_ELM_BY_OWNERSHIP(

IMPORTINGSWO_TYPEID IV_OWNERSHIP_ID
EXPORTINGCRMT_FM_LR_ELM_API ET_ATTRIBUTES

)

Get Planning Elements by ownership id

________________________________________________________________________

GET_ELM_BY_PLAN_GUID

Public static GET_ELM_BY_PLAN_GUID(

IMPORTINGLOY_FRW_GUID IV_PLAN_GUID
EXPORTINGCRMT_FM_LR_ELM_API ET_ATTRIBUTES

)

Get Planning Elements by Plan GUID

________________________________________________________________________

GET_ELM_BY_PLAN_ID

Public static GET_ELM_BY_PLAN_ID(

IMPORTINGCRMT_OBJECT_ID IV_PLAN_ID
EXPORTINGCRMT_FM_LR_ELM_API ET_ATTRIBUTES

)

Get Planning Elements by Plan Object ID

________________________________________________________________________

GET_ELM_BY_USER

Public static GET_ELM_BY_USER(

IMPORTINGSYUNAME IV_USERNAME
LOY_FRW_GUID IV_PLAN_GUID
EXPORTINGCRMT_FM_LR_ELM_API ET_ATTRIBUTES

)

Get Pln Elm. an employee is responsible (via ownership)

________________________________________________________________________

GET_FUND_BY_ELM_GUID

Public static GET_FUND_BY_ELM_GUID(

IMPORTINGLOYT_FRW_GUIDS IT_ELM_GUID
EXPORTINGCRMT_FM_LR_FUND ET_ATTRIBUTES

)

Get Fund Associations by Plan Element by Element GUID

________________________________________________________________________

GET_FUND_BY_GUID

Public static GET_FUND_BY_GUID(

IMPORTINGLOYT_FRW_GUIDS IT_GUID
EXPORTINGCRMT_FM_LR_FUND ET_ATTRIBUTES

)

Get Fund Associations by Plan Element by Fund GUID

________________________________________________________________________

GET_FUND_FOR_DISPLAY

Public static GET_FUND_FOR_DISPLAY(

IMPORTINGLOYT_FRW_GUIDS IT_GUID
LOYT_FRW_GUIDS IT_ELM_GUID
EXPORTINGCRMT_FM_LR_FUND_EXT ET_FUND_EXT

)

Get details of fund association

________________________________________________________________________

GET_PARTNER

Public static GET_PARTNER(

IMPORTINGLOY_FRW_GUID IV_ELM_GUID
EXPORTINGCRMT_FM_LR_PAR ET_PARTNER

)

Get partner set by Planning Element GUID

________________________________________________________________________

GET_PLANNING_DATA_FOR_FPO

Public static GET_PLANNING_DATA_FOR_FPO(

IMPORTINGLOY_FRW_GUID IV_ELM_GUID
EXPORTINGCRM_KFP_T_PLAN_DATA ET_PLAN_DATA
BAPIRETTAB ET_MESSAGES

)

Allow FPO getting the planning data displayed on the planning layout

Parameters

- IV_ELM_GUID=> Live Rate Element Guid
- ET_PLAN_DATA=> Table containing the planning data
- ET_MESSAGES=> Table of messages raised by KFP integration

________________________________________________________________________

GET_STATUS

Public static GET_STATUS(

IMPORTINGLOY_FRW_GUID IV_ELM_GUID
EXPORTINGCRMT_FM_LR_STATUS ET_STATUS

)

Get current status(es)

________________________________________________________________________

LOAD_ELEM_BY_PLANGUID_FROMDB

Public static LOAD_ELEM_BY_PLANGUID_FROMDB(

IMPORTINGLOY_FRW_GUID IV_PLAN_GUID
EXPORTINGLOYT_FRW_GUIDS ET_GUID
CRMT_FM_LR_ELM_API ET_ATTRIBUTES

)

________________________________________________________________________

REFRESH

Public static REFRESH( )

________________________________________________________________________

SAVE

Public static CRMT_BOOLEAN SAVE( )

Save

________________________________________________________________________

SEARCH_FUND

Public static SEARCH_FUND(

IMPORTINGLOYT_FRW_SELECTION_PARAMETER IT_SELECTION_PARAMETERS
LOYS_FRW_QUERY_PARAMETERS IS_SRCH_OPTIONS
EXPORTINGBAPIRET2_T ET_RETURN
LOYT_FRW_UN_SORTD_GUID_S ET_GUID

)

Search for Fund Associations

________________________________________________________________________

SET_STATUS

Public static SET_STATUS(

IMPORTINGLOY_FRW_GUID IV_ELM_GUID
CRMS_FM_LR_STATUS IS_STATUS
EXPORTINGCRMT_BOOLEAN EV_SUCCESS

)

Change status via business transaction






BAL_S_LOG - Application Log: Log header data   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 24389 Date: 20190618 Time: 063555     sap01-206 ( 37 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.