on 10-16-2014 7:49 AM
Hi
I am including new condition type in pricing procedure and it is working. But while creating sales order in VA01 or modifying through VA02, we cannot see the analysis detail more over new condition type also having access sequence like existing condition type . But existing condition type we can see the detail.
Kindly guide me..
Existing condition
New Condition Type
Regards
Ganesh
In the first screen shot, you have highlighted on PR00 and not on the subsequent Access Sequence like 05, 10 etc., whereas in the second one shared by you, the mouse is placed at the Access Sequence itself. Try to place your mouse on ZBAS as like PR00 and share here
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
As you said I have tried .But it is not working. And I found that the problem is in Condition type that I have mentioned Condition category is J(Customer expected price/customer val). When I remove the condition category and left blank then it is working fine. But I found another difficulty.
My scenario is
I have included ZBAS Condition in pricing procedure and we have created one routine and assigned to ZBAS in calculation type . When PR00 - (Minus) All discount amounts i.e after discount amount is less than ZBAS condition value then order showing incompletion(Customer expected price) log and also it will listed in V.25.Here authorized person can release. This scenario is working .But I am facing some other problems.
i.e 1.We can not see the analysis of the condition type
2.If we change the material code (Without deleting) in Order other component like PR00,CST or VAT,Excise duty everything has been changed accoring to new component .But ZBAS condtion value not changing.It is showing existing value.
Kindly help me..
Routine:
FORM FRM_KONDI_WERT_901.
*{ INSERT D00K932683 1
DATA:IT_KOMV TYPE STANDARD TABLE OF KOMV_INDEX
WITH HEADER LINE INITIAL SIZE 50,
IT_KOMV2 TYPE STANDARD TABLE OF KOMV_INDEX
WITH HEADER LINE INITIAL SIZE 50.
IT_KOMV[] = XKOMV[].
*-----------------------------------------------------------------------------*
*
*This is bottom price check.it checks ZMON condition .if it exists
*it will not check the bottom price.if ZMON dosent exist it will compare net price with ZBAS
*condition and if Zbas is Greater order will be incomplete
*********************************06.02.14**********************
DATA: PR00DIFF(08) TYPE P DECIMALS 2.
DATA: FULLQTY(17) type c,
INTQTY(13) type c,
DECQTY(3) type c.
data: netprice(08) TYPE P DECIMALS 2,
BOTTOMprice(08) TYPE P DECIMALS 2.
constants : ca(1) type c value '.'.
DATA:DIFF(08) TYPE C,
DIFZ(08) TYPE P DECIMALS 2,
PR00(08) TYPE C.
data: maximum(3) type p , "value 0
difference(6) type p.
IF SY-MANDT = '445' OR SY-MANDT = '916'.
IF SY-TCODE = 'VA01' OR SY-TCODE = 'VA02'.
LOOP AT TKOMV WHERE KPOSN = XKOMV-KPOSN AND ( KSCHL = 'DIFF' OR KSCHL = 'DIFZ' OR KSCHL = 'ZBAS').
IF TKOMV-KSCHL = 'DIFF' OR TKOMV-kschl = 'DIFZ'.
CLEAR xkomv-kwert.
IF TKOMV-KSCHL = 'DIFF'.
DIFF = TKOMV-KWERT.
ENDIF.
* XKOMV-KWERT = TKOMV-KWERT.
IF TKOMV-KSCHL = 'DIFZ'.
DIFZ = TKOMV-KWERT.
ENDIF.
IF KOMP-MGLME > 0.
FULLQTY = KOMP-MGLME.
PR00DIFF = ( KOMP-NETWR - DIFF - DIFZ ).
split FULLQTY at ca into INTQTY DECQTY. " This worked KOMP-NETPR - FINAL PRICE
KOMP-NETPR = PR00DIFF / INTQTY. "KOMP-MGAME
NETPRICE = komp-netpr. " * komp-kumne / komp-kumza / komp-kpein.
* NETPRICE = komp-netpr * komp-kumne / komp-kumza / komp-kpein.
ENDIF.
ENDIF.
IF TKOMV-KSCHL = 'ZBAS' .
BOTTOMPRICE = xkomv-kbetr.
* BOTTOMPRICE = xkomv-kbetr * xkomv-kumne / xkomv-kumza / xkomv-kpein.
ENDIF.
komp-cepok = ' '.
ENDLOOP.
* IF BOTTOMPRICE > 0.
IF NETPRICE < BOTTOMPRICE.
komp-cepok = 'B'.
* xkomv-fxmsg = '249'.
* MODIFY xkomv.
ENDIF.
* ENDIF.
ENDIF.
ENDIF.
*} INSERT
ENDFORM.
Regards
Ganesh
hi,
please check if any subtotal or requirement is assigned in the pricing procedure for this condition type
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.