cancel
Showing results for 
Search instead for 
Did you mean: 

Creation of accruals for PO during GR

siowfong_chen
Contributor
0 Kudos

Hi! We have configured the system to implementshipment costing and the freight costs are posted during goods receipt of the POs. What we have done is

1. Create three condition types for the different freight costs and custom duties, e.g. ZD03, ZD04, ZD05 and ZCUS. ZCUS is the custom duties.

2. Create shipment item category Z001 to Z004. Each is assigned a partner function. Z002 is the custom duties item.

3. All the item categories are assigned to the same item determination group.

4. Condition type ZD02, ZD03, ZD04 and ZCUS are created for the shipment costing.

5. Automatic GL account is also set up for the freight account.

6. Pricing condition for the shipment costing is also set up.

We then create a PO and assign ZD03, ZD04, ZD05 condition types to it. We did not assign ZCUS because we are not including the custom duties in the PO. The cost is invoiced separately.

But for shipment cost planning purposes, we do include the custom duties condition type in the shipment. So, from the PO, we create an inbound delivery followed by shipment document and lastly the shipment costing document. In the shipment costing document, we have the shipment item category listed Z001 (freight 1), Z002 (custom), Z003 (freight 2) and Z004 (freight 3).

When we post the GR, we found out that the system posted 3 freight lines. This is correct because we only have ZD03 to ZD05 on the PO. However, it is pulling out the costs maintained for item categories Z001 to Z003. We are expecting it to pull out Z001, Z003 and Z004 instead. So, we ended up posting the custom duties.

Does anyone know how SAP knows which shipment cost item categories/condition types correspond to which condition types in the PO? I am not able to find the link in the comparsion and do not know how the shipment costing works in such situation.

As there are many config relating to this, I am not able to list all of them so please let me know if you want more information on a specific config.

Appreciate any help on this.

Cheers!

SF

Accepted Solutions (0)

Answers (2)

Answers (2)

siowfong_chen
Contributor
0 Kudos

No answer. Looks like it's standard SAP.

siowfong_chen
Contributor
0 Kudos

Hi! I think I know the cause of the problem. Looking at note 427944, it looks like the system actually sorts the partner/service agents and then take the first three condition types for the freight posting and ignore the last one since the number of condition types in the PO (3 condition types) does not match that (4 service agents) in the shipment costing document.

Does anyone know whether I can control the choice of which service agent to take such as a user exit or BADI? One option for me is to create a new account group for the agent that I want to exclude in the shipment calculation but I am hoping to avoid that.

Cheers!

SF