on 07-21-2011 9:34 AM
Hi All,
There is one routine formula 5 - Cost dialogue
This formula is to check the defined profit margin percentage in field MINDEST_PROZ
But where is this field and where I can define profit margin percentage so system can give me massage at sales order pricing
Kapil
Hi Kapil,
Actually the value of the field is already defined inside the routine 5. It is '00.000'
form frm_kondi_wert_005.
data: mindest_proz(5) type p value '00.000',
proz_satz(8) type p.
if komp-netwr ne 0.
proz_satz = ( komp-netwr - xkwert ) * 100000 / komp-netwr.
endif.
proz_satz = proz_satz - mindest_proz.
if komp-kposn ne 0 and komk-vbtyp ca 'ABCE'
and komp-prsfd = 'X'
and sy-cprog = 'SAPMV45A'
and proz_satz < 0.
xkomv-fxmsg = '237'.
komp-fxmsg = '237'.
endif.
if komp-kposn ne 0 and preisfindungsart ca 'ABCD'
and komk-vbtyp ca 'ABCE'
and komp-prsfd = 'X'
and sy-cprog = 'SAPMV45A'
and proz_satz < 0.
message i237 with komp-kposn.
endif.
endform.
Regards,
P Gomatheeswaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To arrive at a profit margin, you need to have a step number without any condition type and assign the Alternative Calculation Type 11 against this step in your Pricing Procedure.
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.