cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

changing sort order of SC items?

Former Member
0 Kudos
424

Hi everybody

Just got a new request from our end users: is it possible to change the sort order of SC items?

They would like to have SC items being sorted in alphabetical order. It is especially requested for standard and/or personal SC templates or any other old SC and would make it much easier for our end users to find items in templates (we're talking about templates with up to 400 items!).

It is not necessary and not wanted to change sort order every time a new item is added to the SC... just when parking or saving it.

I was thinking about BAdI BBP_DOC_CHECK_BADI or BBP_DOC_SAVE. Is it possible from there to read the SC content into internal table, to change sort order and to store the SC with alphabetically sorted items?

Did someone out there already implement a similar logic and is willing to share some example code?

TIA and best regards,

Renaud

View Entire Topic
Former Member
0 Kudos

Hi,

BBP_DOC_CHECK_BADI is used to put validations for the SC data.So you may have to use the Badi BBP_DOC_CHANGE_BADI.There you can sort the item table and pass it to the changing parameters.

I have no idea on BBP_DOC_SAVE but definately this reqt can be fulfilled through BADI.

BR,

Disha.

Pls reward points for helpful answers.