cancel
Showing results for 
Search instead for 
Did you mean: 

Need help for BBP_SCREENVARIANT & Screen Variant

Former Member
0 Kudos

Hi ,

I Need to implement Screen variant for the for hiding some fields .

In Shopping Cart's Basic Data of Item Details for the following screen fields need to hide .

<b>Order Quantity

Price .</b>

Can anybody let me know what are the process requoire to implement BADIBBP_SCREENVARIANT

I need to know how can create the Screen variant for BBPSC01

Thanks,

SS

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Have you read the documentation of the BADI - BBP_SCREENVARIANT in transaction SE18 ?



If yes, you should have got the answer yourself.

Here is the documenattion.

BBP_SCREENVARIANT
____________________________________________________
Short Text
Determine Screen Variants

Use

In this BAdI you can change the screen variant that controls the display of the item overviews and search results. As default, the following screen variants are called up:

· Item data overview in the invoice without purchase order reference: Screen variant BBP_IV_NON_PO 
Method GET_SCREENVARIANT_INV
· Item data overview in the invoice with purchase order reference: Screen variant BBP_IV
Method GET_SCREENVARIANT_INV
· Item data overview in the confirmation: Screen variant BBP_CF 
Method GET_SCREENVARIANT_CONF
· Item data overview in the confirmation for time recording: Screen variant BBP_CF_TIMEREC 
Method GET_SCREENVARIANT_CONF
· Item data overview in the purchase order: Screen variant BBP_PO 
Method GET_SCREENVARIANT_PO
· Item overview for contracts: Screen variant BBP_CTR_ITEMLIST 
Method GET_SCREENVARIANT_CTR
· Item overview for contract selection: Screen variant BBP_CTR_ITEM_SELLIST 
Method GET_SCREENVARIANT_CTR
· Search results for creating an invoice and/or confirmation: Screen variant BBP_SEARCH_PO 
Method GET_SCREENVARIANT_SEARCH
· Search results for creating a purchase order: Screen variant BBP_SEARCH_SC 
Method GET_SCREENVARIANT_SEARCH
· Search results for displaying/changing an invoice: Screen variant BBP_CHANGE_IV 
Method GET_SCREENVARIANT_SEARCH
· Search results for displaying/changing a confirmation: Screen variant BBP_CHANGE_CF 
Method GET_SCREENVARIANT_SEARCH
· Item overview for creating/displaying/processing/status of a shopping cart: Screen variant BBP_SC 
Method GET_SCREENVARIANT_SC
· Worklist for Sourcing: Screen variant BBP_SOCO_WL 
Method GET_SCREENVARIANT_SOCO
· Work area in Sourcing: Screen variant BBP_SOCO_GA 
Method GET_SCREENVARIANT_SOCO



Activities

If you wish to hide or show fields, proceed as follows:

1. Determine the screen variant, for example, BBP_IV, using the list above.
2. Copy this screen variant, for example, in ZZ_BBP_IV_1, in Transaction SHD0.
3. Change the new screen variant as required. Note that you can only change the display properties for fields of table controls. You can switch the display on and off (column Invisible in Transaction SHD0). You can recognize the fields of a table control because they have a 1 on the right side of the first column. In addition, the heading for this area contains (Table CTRL.
4. Implement the appropriate method (see the list above). Fill the export parameter EV_SCVARIANT with the new screen variant.

You can create multiple screen variants for a screen and then select these in the BAdI depending on the user or on other criteria.

Incase, you still need any other clues, let me know.

Hope this will help.

Please reward suitable points.

Regards

- Atul