cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcing cockpit field should be greyed out

Former Member
0 Kudos

Hi,

In Sourcing Cockpit, the purchase Org and Purchase Group field should be Greyed out in "Find" tab...

How can we achieve this.?? Is there any BAdi availbe???

thanks........

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The transaction SHD0 needs to be used for creating a new screen variant for the sourcing cockpit application (T-Code: BBPSOCO01).

Then a BADI BBP_SCREENVARIANT implementation needs to be created for influencing the screen variant change to new sourcing cockpit screen where the required fields are hidden.

Best Regards,

NMK

Answers (2)

Answers (2)

Former Member
0 Kudos

thx..

Former Member
0 Kudos

Hi,

You can use the following to BAdI to grey out the fields:

BAdI: BBP_UI_CONTROL_BADI

Method: BBP_SOCO_UI_CTRL

Parameter: CV_INPUT_READY

Thanks,

Pradeep

edward_soesanto
Explorer
0 Kudos

Hi,

I am new in SRM and I have try using the BBP_UI_CONTROL_BADI with method BBP_SOCO_UI_CTRL

but it is not working.

My requirement is when you are in the sourcing screen, if the SC' total value is LE 500 then the Create Bidding's button should be disabled.

I am using Filter dependence with Object type SOCO.

What do you think the problem?

Thanks

Imanuel.

Former Member
0 Kudos

Hi Imanuel,

It would be nice if you would be able to open a new thread for your issue.

Anyways,

In the BBP_UI_CONTROL_BADI

Method: BBP_SOCO_UI_CTRL

Check whether the field IS_HEADER-TOTAL_VALUE is less than 500.

If yes then:

IF IV_FIELDNAME = 'START_BIDDING_BUTTON'.

CV_INPUT_READY = '1'.

ENDIF.

Hope this helps.

Thanks,

Pradeep

edward_soesanto
Explorer
0 Kudos

Hi, thank you for your quick reply. but i have new problem regarding this requirement.

I have created logic as shown below:

IF is_header-total_value LE 500000.

IF iv_fieldname = 'START_BIDDING_BUTTON'. " Create bidding button name

cv_invisible = '1'.

ENDIF.

ELSEIF is_header-total_value GT 500000.

IF iv_fieldname = 'PROCESS_ORDER_BUTTON'. " Create purchase order button name

cv_invisible = '1'.

ENDIF.

ENDIF.

It seems to work but why can't i find any value in the table is_header nor is_item: (I have already add SC in the work area)