Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2067

User exit for packing in FM VHUPIHU_FIND_AND_RESOL_GENERAL

$
0
0

Dear SAP experts,

 

We have requirements where we need to have packing proposals for items. SAP does have this functionality, but the requirement is a bit unique in which one part can have different packing instruction in one delivery.

 

Eg. 1 pc of kit has:

3 pc part A

4 pc part B

1 pc part C

1 pc part D

2 pc part E

 

it should be packed like this:

package 1:

1 pc part A

2 pc part E

 

package 2:

1 pc part B

1 pc part C

1 pc part D

 

package 3:

2 pc part A

3 pc part B

 

If package 1, 2, 3 is translated into packing instruction, part A will appear in packing instruction for 1, and 3. Part B in 2, and 3 and so on. After debugging how SAP determine the packing instruction, it seems using regular condition technique, this requirement cannot be fulfilled. However we interested to see that in FM VHUPIHU_FIND_AND_RESOL_GENERAL, there is one sub-routine called  user_exit_chg_prototypes_all. This sub-routine doesnt contain any code, but there is a remark '* in this form customer can change all created prototype HUs". So we assume that whatever packing instruction proposed by SAP can be broken in here and then re-built using any logic that we have. Sounds promising but there is no documentation how we use this sub-routine (what can be changed, and the guideline to change).


Does someone has experience using this sub-routine? Appreciate if someone can share their experience using this sub-routine.


Best regards,

John


Viewing all articles
Browse latest Browse all 2067

Trending Articles