Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Implementing BADI /SAPAPO/SDP_INTERACT

Former Member
0 Likes
1,228

Hi,

I need help with implementing a BADI in APO. I am new to ABAP so donot exactly know how to implement a BADI and make a change.

I need to make the default display of planning book to Display instead of edit.

I know that I can do that using BADI /SAPAPO/SDP_INTERACT and the method DVIEW_DISPLAY_MODE_SET.

I need to set the parameter from edit to display.

Can anyone help me with the procedure to implement the BADI and make the change to the method shown above? I see the BADI in SE18.

Brief descriptive steps or links are very much appreciated.

Thanks.

3 REPLIES 3
Read only

gregorw
SAP Mentor
SAP Mentor
0 Likes
695

Hi Raj,

you have to implement the BAdI using Transaction SE19. Please check out the description in the documentation available at [Implementation of BAdIs|http://help.sap.com/saphelp_nw70/helpdata/EN/5e/ebb541c5b63031e10000000a155106/frameset.htm]. Would love to see how you implemented that requirement.

Best regards

Gregor

Read only

Former Member
Read only

Former Member
0 Likes
695

Hi All,

Here are the steps:

Step 1: Go to IMG.

In IMG, go to BADI for interactive planning /SAPAPO/SDP_INTERACT.

Step 2: Create Definition name under /SAPAPO/SDP_INTERACT Badi.

Step 3: Choose the Method under Interface tab by double clicking "DVIEW_DISPLAY_MODE_SET"

Step 4: Copy the below code.

==========

METHOD /sapapo/if_ex_sdp_interact~dview_display_mode_set.

  • Set value 2( for display)

cv_display_status = 2.

ENDMETHOD.

===============

Step 5: Save and Activate

Ready to go.

You may make this is answered.

Regards,

Karthik