on 01-31-2008 8:59 PM
Hi.
Is it possible to hide a whole section of the shopping cart, like "Ship-to address" or "Source of Supply"? I've used BADI to hide the fields in these sections and it works, however, I'd like to not show the sections at all including section headers.
Thanks,
Irina
Hi,
You can try using the BADI "BBP_UI_CONTROL_BADI" to hide the fields under Ship to Address / Performance Location tab.
Other option would be to mdoify the Corresponding ITS template for screen 310.i.e. Template SAPLBBP_SC_UI_ITS_310 in the Internet service BBPSC01.
HTH.
BR,
Disha.
Pls reward points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Disha, thanks for your reply. However, web template for screen 310 renders the subscreen that I want to suppress. I've already suppressed all the fields using BADI. Now, I want to remove/hide the section title from the screen. Do you know which template calls template 310? I think deactivating that call would do the trick.
Thank you,
Irina
Hi,
I'm new to using BADI's (Pretty much), I need to change the Ship to Address/Performance location fields to 'display only' (Prevent edit) but after reading the documentation attached to the BADI "BBP_UI_CONTROL_BADI" I'm not sure how to best achieve this? Do I need to write my own method? - If at all possible we want to change the screen direct in ITS as a last resort. Can you give me the steps you carry out?
Your help would be very much appretiated!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. You have to create BADI implementation in SE19. In the bottom portion of the screen select Classic BAdi and enter BBP_UI_CONTROL_BADI as BAdi Name. Click Create Impl button
2. Type in text and implementation name (usually something like ZBBP_UI_CONTROL_BADI)
3. Attributes Tab. add Filter - ObjectType BUS2121 for Shopping Cart
4. Interface Tab. Double-click on method BBP_SC_UI_CTRL
5. Example of display only fields in Ship-to Address section:
CASE iv_progname.
WHEN 'SAPLBBP_SC_UI_ITS'.
CASE iv_dynpname .
WHEN '0310'.
IF iv_fieldname = ' GV_F4_D_ADDR_EVENT '
cv_input_ready = ''. <- display only
ENDIF.
* If you want to hide all Ship-
* to Address fields (FuncGrp BBP_SC_UI_ITS, screen 310)
* use the following code:
cv_input_ready = ''
cv_invisible = '1'.
WHEN OTHERS.
ENDCASE.
ENDCASE.
6. Activate the code.
7. Activate the implementation.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.