cancel
Showing results for 
Search instead for 
Did you mean: 

Change access for Planning book.

Former Member
0 Kudos

Hello,

In DP Planning book, when we load data for a CVC, it takes to change mode by default. But we have req. to set this to display only. Where the setting needs to be done for this??

We have a set of users for whom the access has to be "Display" only in DP Planning book.

Like in SNP, its in display mode by default and we need to toggle to change mode. how do we do the same thing in DP also.

Many Thanks

Aswath.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ashwat,

there is an option to set a user parameter:

/SAPAPO/SDP94_D_MODE - Display mode for transaction /SAPAPO/SDP94

Value = I = Start in display mode - it is allowed to switch to change mode (if the planning book/ data view permits the change mode)

Value = A = Start in display mode - it is not allowed to switch to change mode

Value = C = Start in change mode (if the planning book/ data view permits the change mode)

May be this helps already,

Konrad

Former Member
0 Kudos

Hi Aswath,

As per SAP , the default mode for both planning books is change mode. A BADI "ZSDP_INTERACT" is implemented for making the options to display mode.There is a method DVIEW_DISPLAY_MODE_SET in which you can set the below parameter for defaulting the option to display mode

You can set the below parameter as per per your requirement

cv_display_status = gc_start_disp for display mode at the start

This is defined at the planning are level.

you can use the below code as well.

INCLUDE /sapapo/pb_constants.

DATA: i_parea type standard table of zsnp_lock_us ,

wa_parea type zsnp_lock_us.

SELECT * FROM zsnp_lock_us

INTO TABLE i_parea

WHERE PAREAID EQ IV_PAREAID AND

parea_lock EQ 'X'.

LOOP AT i_parea into wa_parea where PAREAID = IV_PAREAID .

IF SY-SUBRC EQ 0.

MESSAGE e000(zapo).

ENDIF.

ENDLOOP.

cv_display_status = gc_start_disp.

ENDMETHOD

Let me know if it helps

Regards

Gaurav