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

Packaging material information not flowing from Shipment doc to Shipment Cost doc

0 Likes
1,254

Hi,

I have packed material in shipment document and on the basis of the packing material I want to determine freight in the shipment cost document.

But, while creating shipment cost document, system is unable to determine the packaging information and hence not determining the freight.

With regards,

Samyak

Accepted Solutions (0)

Answers (3)

Answers (3)

JuergenPitz
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

"on the basis of the packing material"

So I assume your calculation base is C - Handling units or E - per handling unit. Is the ShipMatlType in the condition type correct? This must be the packaging material type of your packaging material.

Otherwise a more detailed information about the log would probably be helpful.

Brgds

Juergen

0 Likes

Hi Juergen,

Thank you for your response.

Below is the condition type screen setting

Below packing done in Shipment document and packaging material type is ZCON

Still unable to determine the value in shipment cost document.

With regards,

Samyak

JuergenPitz
Product and Topic Expert
Product and Topic Expert
0 Likes

Hm. Have you tried the Calculation Type "S - number of shipping elements" (or similar, I am logged in in German right now)?

Brgds

Juergen

0 Likes

Hi,

That also I have tried. But not working.

With regards,

Samyak

Lakshmipathi
SAP Champion
SAP Champion
0 Likes

Did you check whether condition record is maintained for that combination ?

0 Likes

Hi,

Condition record is maintained against the condition record. When I am debugging in VI01, not getting any value against KOMP-VHILM. If am filling the value in debugger screen then value is appearing.

With regards,

Samyak

kbcetin
Explorer
0 Likes

Hello,

 

You can use include "ZXV54U03" for determine packing material in cost calculation. The code is below.

 

 

FIELD-SYMBOLS: <wa_vbplk> TYPE vbplk.

READ TABLE i_refobj-vbplk INDEX 1 ASSIGNING <wa_vbplk>.
IF sy-subrc IS INITIAL.
  c_komp-vhilm = <wa_vbplk>-vhilm.
ELSE.
  CLEAR c_komp-vhilm.
ENDIF.