Today i’ll show you the proper way for displaying field in object currency in CN41/CN41N transaction code SAP. As SAP PS Consultant almost they all is familiar for CN41N/CN41 ( Project Structure Overview ) tcode.
As usually SAP standard report provides us some of enhancement because its need to enhance its to fit User necessary, as you know in this CN41N/CN41 there is a one problem when user need to display object currency in this report. this solution is user have to implement certain SAP Note ( Number 0001626081 ).
In this 0001626081 SAP Note, you must implement enhancement on PS_FUNCTION_SWITCH BaDI, this BaDI have 2 method such as : GET_SWITCH and GET_SHOW_FLAG, in this case we use GET_SWITCH method.
Actually this is a simple effort because we just put one line ABAP code to activate object currency so that object currency will displayed properly on CN41/CN41N.
In Method Definition GET_SWITCH, we will found a Parameter SWITCH_VALUES which it have PSSWITCH_FUNCTIONS as associated type.
You could double click on PSSWITCH_FUNCTIONS to display its content, see following next picture.
Note : you just to give ‘X’ value to PSSWITCH_FUNCTIONS-OBJ_CUR_FLG.
Source Code :
switch_Values-obj_cur_flg = 'X'.