cancel
Showing results for 
Search instead for 
Did you mean: 

Ship-To-Address fields Output Only for Online Shopping Cart

Former Member
0 Kudos

Hi All,

For Online Shopping Cart, I need to make all the fields of Ship-To-Address Output Only except the Name field.

I tried using the BADI BBP_SCREENVARIANT, but none of the methods work for Screen Number 0310.

Please suggest me...its urgent.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Yann,

Can you please let me know what exactly did you do that it worked?

Thanks

dean_hinson2
Active Contributor
0 Kudos

Anita,

Use SE18 to implement the appropriate method of the BBP_UI_CONTROL_BADI. However, you will need to know the screen field names that you want to change. Then in the implemented method you will have code similar to this...

IF IV_FIELDNAME = 'GS_SCR_D_LIMIT-WORKER_ID'

OR IV_FIELDNAME = 'GS_SCR_D_LIMIT-WORKER_NAME'.

cv_invisible = '1'.

cv_input_ready = '0'.

ENDIF.

I hope this helps.

Regard, Dean.

yann_bouillut
Active Contributor
0 Kudos

Hi Anita,

Here is an extract of the bbp_ui_control_badi for SRM50 :

method IF_EX_BBP_UI_CONTROL_BADI~BBP_SC_UI_CTRL.

IF iv_fieldname = 'GS_SCR_D_ADDR-NAME' OR

iv_fieldname = 'GS_SCR_D_ADDR-ADDR_NO' OR

iv_fieldname = 'GS_SCR_D_ADDR-PARTNER_NO' or

iv_fieldname = 'GS_SCR_D_ADDR-NAME_2' or

iv_fieldname = 'GS_SCR_D_ADDR-C_O_NAME' or

iv_fieldname = 'GS_SCR_D_ADDR-TEL1_NUMBR' or

iv_fieldname = 'GS_SCR_D_ADDR-TEL1_EXT' or

iv_fieldname = 'GS_SCR_D_ADDR-FAX_NUMBER' or

iv_fieldname = 'GS_SCR_D_ADDR-FAX_EXTENS' or

iv_fieldname = 'GS_SCR_D_ADDR-E_MAIL' or

iv_fieldname = 'GS_SCR_D_ADDR-BUILD_LONG' or

iv_fieldname = 'GS_SCR_D_ADDR-FLOOR' or

iv_fieldname = 'GS_SCR_D_ADDR-ROOM_NO' or

iv_fieldname = 'GS_SCR_D_ADDR-STREET' or

iv_fieldname = 'GS_SCR_D_ADDR-HOUSE_NO' or

iv_fieldname = 'GS_SCR_D_ADDR-POSTL_COD1' or

iv_fieldname = 'GS_SCR_D_ADDR-CITY' or

iv_fieldname = 'GS_SCR_D_ADDR-DISTRICT' or

iv_fieldname = 'GS_SCR_D_ADDR-POSTL_COD2' or

iv_fieldname = 'GS_SCR_D_ADDR-PO_BOX' or

iv_fieldname = 'GS_SCR_D_ADDR-COUNTRY' or

iv_fieldname = 'GS_SCR_D_ADDR-REGION' or

cv_input_ready = ''.

endif.

endmethod.

Kind regards,

Yann

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Yann,

Thanks a lot.....It worked!!!!!!!!!!!!!!

Former Member
0 Kudos

Hi,

You can try using the BADI "BBP_UI_CONTROL_BADI" to hide the fields under Ship to Address / Performance Location tab.

If that doesnt work,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.

BR,

Disha.

<b>Pls reward points for useful answers.</b>

yann_bouillut
Active Contributor
0 Kudos

Hi,

I have done it using bbp_ui_control_badi : it works

Kind regards,

Yann