cancel
Showing results for 
Search instead for 
Did you mean: 

Copy condition value from SD condition to MM condition?

Former Member
0 Kudos
188

Hi Guru's,

Is it possible to copy SD condition value to MM condition value?

I tried this with reference condition, but no value appears in MM pricing.

Condition is there. Is this only a basis and would never transfer values?

Thank you in advance,

Eric.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Eric,

Its not possible to copy SD condition value to MM condition value otherwise SAP would have made common path for defining condition value for both SD and MM.

Hope its usefull

thanks

suresh

Former Member
0 Kudos

Hi All,

I found code which can support this.

Not all code just transfer code as requirement on PB00:

SELECT * FROM konv UP TO 1 ROWS

WHERE knumv EQ vbak-knumv

AND kposn EQ vbep-posnr

AND kschl EQ v_kschl.

  • IF xkomv-waers ne konv-waers.

CLEAR xkomv-kkurs.

  • ELSE.

  • xkomv-kkurs = konv-kkurs.

  • ENDIF.

xkomv-kbetr = konv-kbetr.

xkomv-waers = konv-waers.

ENDSELECT.

Former Member
0 Kudos

Eric,

Can you please let me know, where you will enter this code?

Vivek

Former Member
0 Kudos

Hi Vivik,

Of course.

If you go to the calculation scheme of MM ( TA M/08) you can enter a requirement.

This requirement can be created with transaction VOFM; requirements/pricing and

add a new routine (>= 900, number).

After creation of the requirement you can connect this requirement in the

calculation scheme (transaction M/08) to PB00.

If it is not clear, please let me know.

Regards,

Eric.

Former Member
0 Kudos

Dear Eric,

Can you say some breif.mean how you copied conditioned and how you applied in MM plz give infirmation i willl telll posible solution

Thanks

Prem