cancel
Showing results for 
Search instead for 
Did you mean: 

Using BADI /SAPAPO/IF_EX_SDP_INTERACT~HEADER_SORT

Former Member
0 Kudos

Hello,

could you please provide me an example of using BADI /SAPAPO/IF_EX_SDP_INTERACT~HEADER_SORT.

I would like to sort table CT_CHAR_VALUES by column CHAVLEXT to sort header drop down meny numerically.

Best Regards,

Sam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please check if notes 743393 and 980319 work for you.

Answers (2)

Answers (2)

Former Member
0 Kudos

I was able to implement the badi succesfully.

TIP:

Ceate an internal table with TYPE I field and copy the sortable ID:s there and back again to sort your drop down menus numerically.

Problem solved.

-Sam

Former Member
0 Kudos

Thanks for your help Sajeev,

however I have already consulted notes 743393 and 980319. Interface of the BADI is importing variables IV_IOBJNM and IT_HEADER_INFO and changing CT_CHAR_VALUES table.

How I can sort the table CT_CHAR_VALUES inside method HEADER_SORT?

Line: "SORT ct_char_values BY chavlext." doesn't seem to help.

Best Regards,

Sam