Application Development 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: 

Problem with Material price

Former Member
0 Kudos

hi,

my requirment is to get the materils and their price from sapR/3. i can get materials from MATERIAL_GETLIST.

<u><i><b>cau u tell me how get material price (that means in which bapi)</b></i></u>

regards

<b>Guru</b>

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

Try this FM:

MSR1_MD_MATPRICE_GETLIST

REgards,

Ravi

8 REPLIES 8

former_member181962
Active Contributor
0 Kudos

Try this FM:

MSR1_MD_MATPRICE_GETLIST

REgards,

Ravi

0 Kudos

try this one....

CK21_MATERIAL_PRICES_READ

Former Member
0 Kudos

BAPI_MATERIAL_GET_DETAIL.

Former Member
0 Kudos

Ideal BAPI would be BAPI_MATERIAL_GET_ALL. You have to just pass the material number for it to work.

Price related data is available in tables parameter 'VALUATIONDATA'.

0 Kudos

HI,

BAPI_MATERIAL_GET_ALL : while run this papi it giving error like function module does not exits.

MSR1_MD_MATPRICE_GETLIST: when i run this i did not get price field(can u tell me price field)

CK21_MATERIAL_PRICES_READ:when i run this i did not get

price field(can u tell me price field)

<i><b>Can u please tell me field name and bapi name</b></i>

regards

<b>Guru</b>

0 Kudos

Hi,

Check the fm: BAPI_MATERIAL_GET_DETAIL.

The price field will be in the parameter: MATERIALVALUATIONDATA-STD_PRICE.

Regards,

Ravi

0 Kudos

HI,

when i run this i am getting all fieldvalues are zeros

regads

Guru

Former Member
0 Kudos

Hello Guruvulu,

U can access table MBEW and get the proce for the valuation area.