CL_CRM_FM_LR_POSTING_JOB - Job Class for Live rate posting
ABAP Short Reference CPI1466 during BackupThis documentation is copyright by SAP AG.
>>> Development Documentation generated by DocuGenerator v2.0 (only available in English => NO TRANSLATION!!!) <<<
General Class Description
Job Class for Live rate posting
__________________________________________________________
Class Info
| Name: | CL_CRM_FM_LR_POSTING_JOB |
| Instantiation: | Public |
Superclass
Implemented Interfaces
None
Friend Classes
None
Subclasses
None
__________________________________________________________
Methods
IF_CRM_FM_ACL_JOB~PROCESS_OBJECTS
Public IF_CRM_FM_ACL_JOB~PROCESS_OBJECTS(
| IMPORTING | CRMT_FM_ACL_ACCRUAL_S_PARAM | IT_PARAM |
| ANY TABLE | IT_KEY_OBJECTS_OUTPUT | |
| ANY TABLE | IT_KEY_OBJECTS | |
| EXPORTING | CRMT_FM_ACL_OBJECT_MESSAGE | ET_OBJECT_MESSAGE |
| ANY TABLE | ET_KEY_OBJECTS_FAILED |
)
Processing of the Fund Determination data to perform the actual posting to Funds Management.
The posting is done by calling the BPO API for the relevant Funds.
| - | IT_KEY_OBJECTS | Fund Determination GUIDs to process |
| ________________________________________________________________________ |
|---|
IF_CRM_FM_ACL_JOB~SEARCH_OBJECTS
Public IF_CRM_FM_ACL_JOB~SEARCH_OBJECTS(
| IMPORTING | CRMT_FM_ACL_ACCRUAL_S_PARAM | IT_PARAM |
| EXPORTING | ANY TABLE | ET_KEY_OBJECTS |
)
| ________________________________________________________________________ |
|---|
CREATE_BUDGET_POSTING
Private CREATE_BUDGET_POSTING(
| IMPORTING | CRMS_FM_IL_POSTING_SRV_FND_I | IS_FPO_DATA |
| CRMT_PROCESS_TYPE | IV_BPTRANS | |
| ABAP_BOOL | IV_PERF_BUDGET | |
| EXPORTING | ABAP_BOOL | EV_FAILED |
| BAPIRET2_T | ET_MESSAGES | |
| CRMT_RETURN_OBJECTS | ET_BPO_REJECTED | |
| CRMT_RETURN_OBJECTS | ET_BPO_CREATED | |
| CHANGING | CRMS_FM_LR_FUND | CS_FND_DETERMINE |
)
Create the Budget Postings and clear the Live Rates Additional Promotional Budget
Parameters
| - | IS_FPO_DATA | Fund Posting information |
| - | IV_BPTRANS | Budget Posting transaction type |
| - | IV_PERF_BUDGET | Flag indication if regular or performance budget |
| - | EV_FAILED | Failed |
| - | ET_MESSAGES | Messages returned by the APIs |
| - | ET_BPO_REJECTED | Rejected Budget Postings |
| - | ET_BPO_CREATED | Created Budget Postings |
| - | CS_FND_DETERMINE | Fund Determination data |
| ________________________________________________________________________ |
|---|
GET_BUDGET_FROM_BI
Private GET_BUDGET_FROM_BI(
| IMPORTING | CRMS_FM_LR_FUND | IS_LR_FND_DETER_ATTR |
| CRMT_FM_LRTP_FNT | IT_FM_LRTP_FNT | |
| CRM_FM_FND_FUND_TYPE | IV_FND_TYPE | |
| EXPORTING | WAERS | EV_CURRENCY |
| DEC20 | EV_BUDGET |
)
For each product/BP combination, retrieve the BI budget to be posted
Parameters
| - | IS_LR_FND_DETER_ATTR | Fund Determination data |
| - | IT_FM_LRTP_FNT | Fund Type customizing data |
| - | IV_FND_TYPE | Fund Type |
| - | EV_CURRENCY | Currency to be posted to Funds Management |
| - | EV_BUDGET | Budget to be posted to Funds Management |
| ________________________________________________________________________ |
|---|
GROUP_BY_FUND
Private static GROUP_BY_FUND(
| IMPORTING | TY_FUNDS_LR | IT_FUNDS_LR |
| EXPORTING | ANY TABLE | ET_KEY_OBJECTS |
)
Group objects by fund
| ________________________________________________________________________ |
|---|
LOG_ERROR_MESSAGE
Private LOG_ERROR_MESSAGE(
| IMPORTING | BAPIRET2_T | IT_MESSAGE |
)
Log the error messages in the batch framework log
Parameters
| - | IT_MESSAGE | Error messages to be logged |
| ________________________________________________________________________ |
|---|
SAVE_BUDGET_POSTING
Private SAVE_BUDGET_POSTING(
| IMPORTING | CRMT_OBJECT_GUID_TAB | IT_BPO_UNSAVED |
| EXPORTING | BAPIRET2_T | ET_MESSAGES |
| CRMT_OBJECT_GUID_TAB | ET_BPO_REJECTED | |
| CRMT_RETURN_OBJECTS | ET_BPO_CREATED |
)
Save the Budget Postings (1Order documents)
Parameters
| - | IT_BPO_UNSAVED | Budget Posting IDs to be saved |
| - | ET_MESSAGES | Messages returned from the API |
| - | ET_BPO_REJECTED | Budget Postings that weren't saved successfully |
| - | ET_BPO_CREATED | Budget Postings that were successfully saved |
General Data in Customer Master TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 12701 Date: 20120526 Time: 105445 triton ( 119 ms )






