cancel
Showing results for 
Search instead for 
Did you mean: 

Grey out / Display fields in BBPIV02 transaction

former_member293881
Participant
0 Kudos

Hi,

What is best option to grey out/display some fields on Invoice BBPIV02 ?

Some of fields are from

1. Header level

2. Item overview

3. Item details

4. Search criteria screen etc

Any suggestions???

Regards,

Rahul Mandale

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try using the BADI " BBP_UI_CONTROL_BADI".

BR,

Disha.

Pls reward points for useful answers.

former_member293881
Participant
0 Kudos

Hi Disha,

Do you have any sample piece of code for it?

Thanks,

Rahul Mandale

Former Member
0 Kudos

Hi,

This is the sample code for Bid invitation screen fields:

*To make the TYPE OF PUBLICATION field under BASIC DATA tab in BI screen as display only

IF iv_fieldname = 'BBPS_BID_UI_HEADER-BID_TYPE'.

cv_input_ready = c_space.

ENDIF.

*To make the responsible Purchasing organisation field display only

IF iv_fieldname = 'BBPS_BID_UI_HEADER-PROC_ORG'.

cv_input_ready = c_space.

ENDIF.

*To make the responsible Purchasing Group field display only

IF iv_fieldname = 'BBPS_BID_UI_HEADER-PROC_GROUP'.

cv_input_ready = c_space.

ENDIF.

*To hide the links for WEIGHTING and ANALYSES

IF iv_fieldname = 'SB_HWEIGHT'.

cv_invisible = c_mark.

ENDIF.

HTH.

You can debug at runtime and see the structures and names for the fields/buttons as per the INVOICE screen.

BR,

Disha.

Pls reward points for useful answers.