SAP® Documentation

Single view

CL_CRM_MKTGS_REBATE_STAT_PROXY - Proxy for Rebate Statistics in ERP

PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
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 a proxy to ERP for Rebate Statistics information.

__________________________________________________________

Class Info

Name:CL_CRM_MKTGS_REBATE_STAT_PROXY
Instantiation:Public

Superclass

None

Implemented Interfaces

None

Friend Classes

None

Subclasses

None

__________________________________________________________

Methods

BUILD_MKTPROJECT_AGGREGATOR

Private static CRMT_MKTGS_EXT_FIELDNAME BUILD_MKTPROJECT_AGGREGATOR(

IMPORTINGCL_CRM_MKTPL_OL_MKTPROJECT IR_MKTPROJECT

)

Builds a list of fields for the aggregation of the MKT Proj.

Returns

List of fields on which the aggregation should occur

Parameters

- IR_MKTPROJECTThe marketing project object reference

________________________________________________________________________

BUILD_MKTPROJECT_FILTER

Private static CRMT_MKTGS_EXT_FIELDNAME_VALUE BUILD_MKTPROJECT_FILTER(

IMPORTINGCL_CRM_MKTPL_OL_MKTPROJECT IR_MKTPROJECT

)

Builds a list of fields to filter Rebate Statistics filtering for a given MKT Project.

Returns

List of fields on which the filtering should occur

Parameters

- IR_MKTPROJECTThe marketing project object reference

________________________________________________________________________

CLASS_CONSTRUCTOR

Public static CLASS_CONSTRUCTOR( )

________________________________________________________________________

GET_AG_GUIDS_FROM_MKTPROJECT

Private static /BON/AG_GUID_T GET_AG_GUIDS_FROM_MKTPROJECT(

IMPORTINGCL_CRM_MKTPL_OL_MKTPROJECT IR_MKTPROJECT
CRM_FM_FU_EXPENSE_TYPE IV_EXPENSE_TYPE

)

Returns the list of AG GUID for a given Marketing Project and ExpenseType

Returns

List of AG GUIDs (rebate GUIDs)

Parameters

- IR_MKTPROJECTThe marketing project object reference
- IV_EXPENSE_TYPEThe expense type of the chosen claim item

________________________________________________________________________

GET_AMOUNTS_FROM_REBATE_GUIDS

Public static GET_AMOUNTS_FROM_REBATE_GUIDS(

IMPORTINGCL_CRM_MKTPL_OL_MKTPROJECT IR_MKTPROJECT

)

Returns the amounts (max + accrued) from the rebate GUIDs.

Parameters

- IR_MKTPROJECTThe marketing project object reference

________________________________________________________________________

GET_VALID_BP_FROM_EXPENSE_TYPE

Public static BUP_PARTNER_GUID_T GET_VALID_BP_FROM_EXPENSE_TYPE(

IMPORTINGCL_CRM_MKTPL_OL_MKTPROJECT IR_MKTPROJECT
CRM_FM_FU_EXPENSE_TYPE IV_EXPENSE_TYPE
ABAP_BOOL IV_INC_FINALLY_SETTLED_REBATES
DATS IV_SETTLEMENT_DATE
WAERS IV_TARGET_CURRENCY

)

Returns the validated accounts from the rebate GUIDS.

Returns

List of validated accounts

Parameters

- IR_MKTPROJECTThe marketing project object reference
- IV_EXPENSE_TYPEExpense type of the selecteditem
- IV_INC_FINALLY_SETTLED_REBATESCalculation will include finally settled rebates
- IV_SETTLEMENT_DATESettlement date
- IV_TARGET_CURRENCYTarget currency

________________________________________________________________________

GET_VALID_BP_FROM_REBATE_GUIDS

Public static BUP_PARTNER_GUID_T GET_VALID_BP_FROM_REBATE_GUIDS(

IMPORTINGCL_CRM_MKTPL_OL_MKTPROJECT IR_MKTPROJECT
/BON/AG_GUID_T IT_AG_GUID
ABAP_BOOL IV_INC_FINALLY_SETTLED_REBATES
DATS IV_SETTLEMENT_DATE
WAERS IV_TARGET_CURRENCY

)

Returns the validated accounts from the rebate GUIDS.

Returns

List of validated accounts

Parameters

- IR_MKTPROJECTThe marketing project object reference
- IT_AG_GUIDList of agreement numbers
- IV_INC_FINALLY_SETTLED_REBATESCalculation will include finally settled rebates
- IV_SETTLEMENT_DATESettlement date
- IV_TARGET_CURRENCYTarget currency






ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 11077 Date: 20190627 Time: 060049     sap01-206 ( 27 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.