cancel
Showing results for 
Search instead for 
Did you mean: 

HU - sorting problem

0 Kudos

Hi all,

the standard sorting for delivery HUs is SORTF VHILM EXIDV VENUM. How can I use EXIDV as the first sort field?

I tried to use own ABAP coding (fill SORTF with EXIDV),, but I don't find any USEREXIT or ENHANCEMENT. In my opinion, it is only possible to put data manually into SORTF, but this data will not be saved und get lost the next time the delivery is displayed. Any ideas?

Thank you,

Chr. Girsule

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Christoph,

unfortunately SORTF is not part of VEKP which is the HU header table and its only 4 digitls long, so assigning exidv to sortf somewhere before will not work.

(please check HU header update in function V51F_HU_HEADER_UPDATE)

If you like to change the sorting in V51P_HU_CONTENS around line 89 (which I assumed out of your message here), you can add a implicit enhancement at end of this function to change sorting of exported HU table data.

But be aware that sometimes someone relied on the sorting, so you may test it also in other contexts that you have in mind to solve your issue.

Hope this gives you a clue where to continue your search

Best regards,

Matthias

Former Member
0 Kudos

Hi Christoph Girsule.

I faced the same problem, did you find out any solution to fufill?

Rgds.

Hoang