Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table Relation between Delivery (LIKP) and Handling Unit (VEKP)

0 Likes
35,487

Hello SAPients!

In transaction VL02N I can see the Handling Units corresponding to a Delivery. I know that the information for the HUs is contained in tables VEKP and VEPO and I know as well that I can link this tables with the delivery using fields VEKP-VPOBJ and VEKP-VPOBJKEY. I don't have any problem with VPOBJKEY but in the case of VPOBJ I found that the values are extracted from the domain VPOBJ which contains fixed values. I'm trying to find a table to convert the value of LIKP-LFART (Delivery Type) to the corresponding VEKP-VPOBJ in order to stablish the whole relationship and avoid performance problems but I can't find it. Do you know the name of this table? Or a better way to get the same result, maybe a FM?

Thanks.

1 ACCEPTED SOLUTION
Read only

ferry_lianto
Active Contributor
0 Likes
14,969

Hi,

Please try FM SD_SHIPMENT_DELIVERY_HUS and fill your delivery number into the I_DELIV internal table.

Regards,

Ferry Lianto

6 REPLIES 6
Read only

ferry_lianto
Active Contributor
0 Likes
14,969

Hi,

Please try this.

LIKP-VBELN = VEKP-VBELN_GEN

Regards,

Ferry Lianto

Read only

0 Likes
14,969

Ferry,

Thanks for your response, unfortunately the field VEKP-VBELN_GEN is empty. Any other idea?

Thanks.

Read only

ferry_lianto
Active Contributor
0 Likes
14,970

Hi,

Please try FM SD_SHIPMENT_DELIVERY_HUS and fill your delivery number into the I_DELIV internal table.

Regards,

Ferry Lianto

Read only

0 Likes
14,969

Ferry,

Thank you very much, that FM solves my problem.

I have one more curiosity question: How do you do it? Do you know all the answers? What's your procedure to find the answer? In the future if I find a problem like this, where do I have to look for the answer? How to search?

Thanks

Read only

0 Likes
14,969

hi Ferrry  ,
i read this post , but when i use FM SD_SHIPMENT_DELIVERY_HUS i get run time conflict ,

would you please help me handle it .

tanks .

Read only

ferry_lianto
Active Contributor
0 Likes
14,969

Hi Ricardo,

Try search the SDN forum (I did) for any SAP related question/problem.

You may find a lot of solution and excellent sample codes to the question/problem related.

Regards,

Ferry Lianto