on 06-08-2011 7:02 PM
Problem: Routine is not working. When I debug, kwert does not get value the first time. When I click on conditions in sales order for a second time, I can see value populated for kwert. How to properly code such requirement?
I am trying to code a pricing routine for the first time. I would like to turn off access to conditions of CTXJ if a sub-total to which it points to is 'zero'. I tried both VOFM requirement and Condition base value without success. I think I am missing some pre-step in the code.
Step 100 Sub total relevant for Tax = 0.00
Step 110 CTXJ (Tax code determination) From/To: 100 Routine 600
Required: Do not access CTXJ condition records if the Tax base is zero.
Routine 600 (requirement):
FORM KOBED_600.
*{ INSERT SEAK900512 1
if xkomv-kwert = '0'.
xkomv-kinak = 'X'.
xkomv-mwsk1 = ''.
else.
xkomv-kinak = ' '.
endif.
*} INSERT
ENDFORM.
FORM KOBEV_600.
*{ INSERT SEAK900512 1
if xkomv-kwert = '0'.
xkomv-kinak = 'X'.
xkomv-mwsk1 = ''.
else.
xkomv-kinak = ' '.
endif.
*} INSERT
ENDFORM.
Edited by: RY on Jun 8, 2011 8:02 PM
I was able to resolve my original issue of taxation in a different method. However, I am still interested to know if there is a possible solution to the problem described.
For now, I am closing this question as un-answered.
thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.