cancel
Showing results for 
Search instead for 
Did you mean: 

DeliveryNote - No item cost was found [Delivery - Rows - Warehouse Code...

Former Member
0 Kudos
129

Hi there

I am trying to create a Delivery Note through the DI API, with a SalesOrder as the base document. I am getting the above error ("DeliveryNote - No item cost was found [Delivery - Rows - Warehouse Code][line=0]... ")

I am setting the CardCode, BaseEntry, BaseLine, and BaseType (and one user defined field...)....

Anyone know what this means? Is it just something not set up correctly in the SAP company DB?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kevin,

Try creating the same delivery using the SBO GUI. I suppose it won´t let you adding it too.

I suppose that if you do an entry for those items, it will let you adding the delivery. You could try changing the costing method in the preferences too.

Regards,

Ibai Peñ

Former Member
0 Kudos

Hi Ibai

Sorry, I forgot to mention that I was trying it through the SAP UI... and yes you're right: it still doesn't work

Where exactly do I change the costing method?

Thanks

Former Member
0 Kudos

Hello.

Can You post here Your code to see what is wrong ?

Regards

Kamil Wydra

Former Member
0 Kudos

Hi Kevin,

There is probably nothing wrong with your code, but your item is possibly marked as a standard cost item and the cost price is zero. Go to your item in Item Master Data management window and enter a cost price in the Item Cost field.

Hope it helps,

Adele

Former Member
0 Kudos

Thanks for the confidence Adele!

Um, I can't quite seem to find the ItemCost field on the Inventory Master... There is a UnitPrice field (which is filled in).

Some other info:

ItemType: Items

InventoryItem, SalesItem and PurchasedItem checkboxes are all checked.

(If I go to the InventoryData>RowDetails for a specific Warehouse, there is an "ItemCost" field, but I can't edit it... It is blank.)

Former Member
0 Kudos

Hi Kevin,

You can try and do an Ineventory Revaluation. Go to Inventory > Inventory Transactions > Inventory Revaluation. Type your item number in the column and select the appropriate warehouse(s). Each warehouse has its own row. Enter a new cost value and the Increasing and Decreasing GL Accounts. Add it and it should work.

Hope it helps,

Adele

Former Member
0 Kudos

As I said before, creating a purchase delivery for the items with a non 0 price would make you able to create the document. This will change the item cost, and the problem will be fixed.

The inventory revaluation makes the same. Change the item cost, and fix the problem.

Regards,

Ibai Peñ

Former Member
0 Kudos

Thanks Adele, everything works fine now.

Sorry Ibai, I didn't realise you meant to do a purchase order (when you mentioned "create an entry for it"). I suppose it makes sense though...

Thanks for all your help everyone!

Former Member
0 Kudos

Sorry for my poor english... my mind goes faster than my english writting.

Regards,

Ibai Peñ

Answers (0)