cancel
Showing results for 
Search instead for 
Did you mean: 

Shopping Cart- Want Invisible or Inactive some of Cost Center Field

Former Member
0 Kudos

Dear all,

I want to make invisible or inactive some of cost center sub screen fields in shopping cart. We am using SRM 5.0. I know that I can do it by using

BADI: BBP_UI_CONTROL_ICC method BBP_SC_UI_CTRL

or

BBP_UI_CONTROL_BADI, method BBP_SC_UI_CTRL

but I am not able to find iv_dynpname(Screen no) for the same sub screen in the function group BBP_SC_UI_ITS.

Can any one help me out…..

Thanks in Advance

Sachin Gautam

PS: Point will be given.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

You can also use screen varients for achieving this.

BADI: BBP_SCREENVARIANT: for controling the display of elements

copy this to screen varient using transaction SHD0. Modify this as required.

Implement the BADI and fill paramenter EV_SCVARIANT

BR

Pradeep

Former Member
0 Kudos

Hi,

The fieldnames for the fields under the ACCOUNT ASSIGNMENT tab are :

S_SCREEN_ACCDET-G_L_ACCT(G/L_Account)

S_SCREEN_ACCDET-DISTR_PERC(Percentage)

S_SCREEN_ACCDET-PROFIT_CTR(Profit Center)

S_SCREEN_ACCDET-BUS_AREA(Business Area)

S_SCREEN_ACCDET-COST_CTR(Cost Center)

Acc you can set the proeprties for these field in the BADi .

e.g. IF iv_fieldname = 'S_SCREEN_ACCDET-COST_CTR'.

cv_invisible = 'X'.

ENDIF.

BR,

Disha.

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

Former Member
0 Kudos

HI Disha,

I am trying the same the screen remain same as it's before.

I am using

IF iv_fieldname = 'S_SCREEN_ACCDET-G_L_ACCT' OR

iv_fieldname = 'S_SCREEN_ACCDET-DISTR_PERC' OR

iv_fieldname = 'S_SCREEN_ACCDET-PROFIT_CTR' OR

iv_fieldname = 'S_SCREEN_ACCDET-BUS_AREA' OR

iv_fieldname ='S_SCREEN_ACCDET-COST_CTR'.

CV_INVISIBLE = '1'.

ENDIF.

please reply, It's Urgent

Sachin

Former Member
0 Kudos

Hi,

You can implement the BADI" BBP_UI_CONTROL_BADI".

For sample code pls refer the foll links:

BR,

Disha.

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

Former Member
0 Kudos

HI Disha,

Thanks for your answer but how can Can I find the screen no so I can put my validation for thet screen only or how can i find the field name of the cost center screen.....

Thanks in Advance

Sachin Gautam

Former Member
0 Kudos

Hi Sachin,

You can get the screen name & number from menu bar by clicking on System and then on Status for a particular screen.

You can use transaction <b>SE51</b> for directly accessing the screen.

Rgds,

Teja