cancel
Showing results for 
Search instead for 
Did you mean: 

Disable standard fields in EBP SC/PO screens

Former Member
0 Kudos

Hi all,

I am new to EBP. Please let me know what are the steps that i need to do to disable/make non-editable of a screen field in shopping cart/PO screen? I wonder if i should copy the screens and change the underlying Screen program or should i use any BADI to make the standard screen fields display only? Please let me know the steps that i should follow.

Thanks,

Mari.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Maria,

There are various ways to do this...through Roles,authorisation as well as through changing the Std ITS templates...

Also,some BADI's are also provided wherein you can control the display of teh fields...

Which screens do you want to change exactly????

Regards,

Disha.

Former Member
0 Kudos

Hi Maria

When it is for beautification of screens in Shopping carts such as removing of field elements or hiding any fields or cutomise adding messages to screens

we use template modification.

Go on the field you want to hide right click on the mouse and click on the veiw source.

find out the template and go to SE80 --> BBPSC01 --> Themes99 and find the required element and comment the same.

You can use BADI's also for various enhancement.

regards,

Nimish sheth

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nimish,

Thanks for your information. When i comment the code in the source, the field will not be displayed at all, correct? But i want the fields to be in display only mode in the change transaction.

Thanks,

Maria.

Former Member
0 Kudos

Hi Maria

This Templates are written in JSP ie JAva Scripts

In each Template for each field is define as an input or as a label.

Label in JSP means it only displays the field content and input property intakes the data which the user can enter .

For such cases you need to carefully modify the field charateristics to label.

GO to the web borwser point you field and do a view source check the template in SE80 and try to make this field as label.

regards,

Nimish sheth

there are properties like change or display .

you need to figure out where this properties are

Former Member
0 Kudos

Hi Maria,

instead of commenting all the field code in the HTML template source, you can just keep a part of it: usually there is a test made on the state of the field to see if it is enabled or not. So keep the part in case of disabled field.

Rgds

Christophe

Former Member
0 Kudos

Hi Disha,

Thanks for your reply. Actually my requirement is, when the user tries to change a PO, the payment terms field in the header tab and incoterm in the item tab of the PO change screen should be display only. I was checking the standard PO program and found a BADI - BBP_SCREENVARIANT. I dont know if it will satisfy my requirement.

Thanks,

Maria.