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

Condition types for Material

Former Member
0 Likes
325

Hi,

I have got a scenario where the customer is going to maintain "Z" condition types for a material(1 for sales price and 1 for purchase price). I can read the correct price for this material at the Sales Order maintenance and PO maintenance using some standard function modules

SALES_CONDITION_READ/ME_PO_PRICE_SIMULATION.

as these condition types are maintained in the pricing schema and hence are returned in the correctly.

I have problem when I try to read the purchasing price for this condition type(material) while creating the sales order. Here I have only the material information to read the price. Can anybody suggest how I can read the correct purchase price while creating the sales order.

Thanks in advance.

Best Regards

Malthi

1 REPLY 1
Read only

Former Member
0 Likes
278

HI Malthi

I would recommend you use BAPI: <b>BAPI_SALESORDER_SIMULATE</b>. This will give you the conditions how the sales order is going to look when itz created.

This BAPI is mainly used for:

1. Checking ATP Qunatities

2. Conditions/Prices

Hope this helps.

Kind Regards

Eswar