cancel
Showing results for 
Search instead for 
Did you mean: 

Actual Date Removal from TP

hayati_kayaci
Explorer
0 Kudos

Hi SAP CRM People,

I want to remove Actual Date from Dates Field in Trade Promotion Screen. Can you please direct me about customizing steps?

Thanks in advaced.

Hayati

Accepted Solutions (1)

Accepted Solutions (1)

former_member196553
Active Contributor
0 Kudos

Hello,

the easiest way to hide the plan and actual date is to change the standard coding - you may set the inactive flag for the affected date range in the following method:

CL_CRM_MKTGS_DATE_ITEM=>FILL_EXTERNAL_ATTRIBUTES

Around line 95 there is the following coding:

*   Determine 'INACTIVE' flag for additional date ranges (not PLAN, not ACTUAL = have <fs_date_id> = '00' (initial))

    IF <fs_inactive> IS ASSIGNED.

      <fs_inactive> = is_inactive( ).

    ENDIF.

This needs to be changed to set the plan and actual dates to inactive. This solution should work, but needs to be tested properly since this is a system modification.

best regards,

Johannes

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Hayati,

Actual dates cannot be removed from customizing.

Implement some code into DO_PREPARE_OUTPUT method of the BOL.

KR,

Giacomo