03-13-2009 5:33 AM
Hi,
I'm creating a new pricing related routine to distribute percentage discount on subitems items on BOM material.
I'm expecting data to be available in TKOMP to modify. However this structure throws short dump with error 'field symbol not assigned to TKOMP'. If I comment the code and look into this routine in debug mode then I see this table getting populated after 3-4 runs of the same routine.
How do I handle this error? I tried with IF TKOMP IS ASSIGNED. This does not work since TKOMP is not a field symbol.
If any one has come accross such a situation and resolve this problem then please let me know the solution.
Thanks and Regards,
Chitnis
03-13-2009 8:16 AM
Hi Chitnis,
Instead of checking IF TKOMP IS ASSIGNED, please check for field symbol that you want to assign.
IF <FS> IS ASSIGNED.
Hope this will help.
Regards,
Raju.
03-13-2009 8:19 AM
Hi Raju,
Thanks for your reply. However I want to tell you that field symbol is also not available in the routine. We have KOMP available but TKOMP comes in after 3-4 runs of the routine.
Regards,
Chitnis
03-14-2009 3:26 PM
08-06-2009 2:07 PM
Hi,
I am also getting similer issue, any solution for the same please update.
Thanks & Regards
Vijayanand
08-06-2009 3:05 PM
Hi,
I got a solution for this issue, but i am not able to justify what is the logic behind this. i kept a check above my code as follows
IF preisfindungsart_kopf is not initial.
<my exisisting code>
ENDIF
with this check, the code will be executed only after TKOMP is filled/avialable in that routine resulting no short dumps.
Regards
Vijayanand Poreddy