on 03-31-2016 12:21 PM
Hi,
I am trying to change the condition amount manually in VA01/ VA02 in the conditions tab at line item level.
1. I have maintained the Price limits. (45 to 55) in the condition record. Price of the material is 50.
2. The check-boxes Amount / Percent and Value are checked.
3. Manual Entries is set to C.
I want to the user to be able to change the price manually b/w 45 to 55 as mentioned above. The system throws an error if an amount less or more is entered. The problem is that when an amount within the limit (45 to 55) is entered the system returns the the value 50/- and does not keep the entered value.
I have been trying to find the solution to this on the forum/ net but nothing seems to work. Can you please tell me what is that i am missing!!
Thanks
SAP.
hi, what happened to this issue? if your issue is solved-pls share the solution and rootcause so it becomes helpful to others.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you believe that everything has been cross verified like no condition record exists, condition type IMG settings are perfect and still things aren't in your favor then better to go for debugging. Do it with the help of your abaper trigger point would be while entering condition and check as if what logic is forcing the value to get changed. For sure there's some exit behind this behavior. Feel free to ask in case you need any help against this point. Looking forward to your findings against the same. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SAP Light,
Based on my initial assumption, it seem that the value that you have maintained in SD condition (XK15) i.e. 50 is getting picked up in the sales order line item. In order to prioritize the manual entry, please check that condition control has also been set to C for the line item.
Hopefully it helps.
Thanks,
DNA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the error message you are getting?
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lakshmipathi,
Thanks for taking out time.
It gives me error only when i enter values out of the limits maintained. It gives me error saying its below or above the limits set.
But if i enter a value with in limits (other than 50) it just goes back to 50 and gives no error or warning.
I am attaching a screen shot.
SAP.
HI Raghu,
Attached the user exit details. But i am not sure if it has any role to play in the issue.
And no routine attache to the AS too.
Thnks
SAP
FORM USEREXIT_PRICING_PREPARE_TKOMP.
* TKOMP-zzfield = xxxx-zzfield2.
*{ INSERT ID3K933021 1
* SL Ocean Carrier Demo Setup
data: lv_adrnr like vbpa-adrnr.
data: wa_xvbap like vbap.
if vbak-auart = 'ZZOR' or
vbak-auart = 'ZZQT' or
vbak-auart = 'ZZSC'.
tkomp-kvgr2 = vbak-kvgr2.
loop at xvbpa
where parvw = 'ZV'.
tkomp-zzporcit = xvbpa-lifnr.
tkomp-zzporland = xvbpa-land1.
endloop.
loop at xvbpa
where parvw = 'ZW'.
tkomp-zzpodcit = xvbpa-lifnr.
tkomp-zzpodland = xvbpa-land1.
endloop.
* 29.12.2005 Achim Rink, D029766
* move city of partners YV (Load port) and YW (Discharge Port) into comm
* structure
loop at xvbpa
where parvw = 'YV'.
tkomp-zzloadport = xvbpa-lifnr.
endloop.
loop at xvbpa
where parvw = 'YW'.
tkomp-zzdischport = xvbpa-lifnr.
endloop.
* end of inser
* 29.12.2005 Achim Rink, D029766
endif.
* Material Freight Group for THC and CYD
if not vbap-uepos is initial and
not vbap-stlkn is initial and
vbap-pstyv eq 'ZSLC'.
read table xvbap with key posnr = vbap-uepos
into wa_xvbap.
tkomp-mfrgr = wa_xvbap-mfrgr.
endif.
* Reference document for pricing agreements in Contract Process
if not vbak-vgbel is initial
and vbap-pstyv eq 'ZLSC'.
tkomp-vgbel = vbak-vgbel.
endif.
*} INSERT
ENDFORM.
Hi,
Is there a routine attached to your condition type?
Regards
Raghu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI DJ,
Thanks for the time you took out,
I am attaching an image. Their is certainly a difference in what you have sent and what i am getting.
After Changing the values. I tried 46 and pressed enter. It goes back to 50. Gives No error. Changes as shown.
DJ, as per your screen shot, the condition control and and cond origin should change to C, they don’t but the description of condition control is changing, refer to PNG1..
I saved the above and re-opened the order. The values; condition Control and condition origin are back to original-- A, refer to PNG2.
If you find it confusing, please let me know. I ll to redo the whole thing,
Thanks everyone for the reverts.
SAP.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.