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: 

Hi regarding the transaction code ME1M.

Former Member
0 Kudos

Hi,

I had executed the me1m transaction using material,purchase organisation and plant.

i got the output and said price simulation.

after pricesumulation i clicked on simulation.Here i am getting the condition records of the material.

how can we fetch these records.

i had debugged the program.there i am able to see a fuction module ME_PRICING_ALL.

as soon as my cursor goes into this FM, i am able to see the conditions data.

after analysis i came to know that this function module fecthes the data from global memory.

Can you please let me know

1) how can we fetch the condition records of the material'

and

2)can we fetch the records from global memory.

4 REPLIES 4

Former Member
0 Kudos

Better do Trace analysis and easily you can find out which tables has been used to fetch the data.

Former Member
0 Kudos

Hi,

Normally in SD module, we can find cond records in the following way.

Goto Va03 tcode 1--> provide any sales order number > Double click on the item>there you choose Conditions tab -->you can find all related cond info.

for detailed analysis you goto VK12 tcode and provide condition type name like PR00 and press enter

.there you have to choose Key combination depending on the values you have.

Depending on the KEY COMBINATION from different tablers you will get information like A000, A079,A005..etc.may be all these table starts with A*

Thanks

Parvathi

Edited by: Siva Parvathi on Feb 16, 2009 12:10 PM

Former Member
0 Kudos

Hi All,

We have a requirement to get price simulation conductions values (ME1M) and displaying the layout.

I had debugged the program. there I am able to see a function module ME_PRICING_ALL.

as soon as my cursor goes into this FM, i am able to see the conditions data.

after analysis i came to know that this function module fetches the data from global memory.

Can you please let me know

1) how can we fetch the condition records that are getting displayed in the price simulation(ME1M).

Thank you,

Durga

Edited by: Durga Vinta on Jul 28, 2009 6:08 PM

0 Kudos

Hi Durga,

Don't know if you still need it, but ME_PRICING_ALL to work use internal table GKOMV_IND, that are filled with FM ME_PRICING_INFORECORD. To make work it that's how to execute this FM:

CALL FUNCTION 'ME_PRICING_INFORECORD'

EXPORTING

effektiv = 'X'

infoa = wa_eina

infoe = wa_eine

lieferant = wa_lfm1

material = wa_mt06e.

To get those WA you just need matnr and lifnr.

After that you can launch FM ME_PRICING_ALL:

CALL FUNCTION 'ME_PRICING_ALL'

EXPORTING

i_type = 'I'.

It's gonna work out fine.

Bye,

Rik.