‎2008 Feb 13 5:49 PM
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.
‎2008 Jul 04 2:53 PM
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
‎2008 Jul 07 7:58 AM
‎2008 Jul 16 6:15 AM
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