‎2008 Sep 04 10:03 AM
hi got the following error when running a uccheck with static parts enabled:
FORM DYNPRO_FUELLEN USING DBEGIN VALUE(FNAME) TYPE C
VALUE(FWERT) TYPE C.
DYNPROS-DYNBEGIN = DBEGIN. <---- this line gives error
the form is called alot of times:
PERFORM dynpro_fill USING 'X' 'SAPMF02D' '0106'.
PERFORM dynpro_fill USING ' ' 'RF02D-KUNNR' wo_debi-kunnr.
PERFORM dynpro_fill USING ' ' 'RF02D-BUKRS' wo_debi-bukrs.
PERFORM dynpro_fill USING ' ' 'RF02D-D0220' 'X'.
PERFORM dynpro_fill USING ' ' 'BDC_OKCODE' '/00'.
it says that with untyped operators no examination on convertibility is possible - runtime test required. I got the task to prevent all errors,so knowing that runtime test would succeed is not efficient!
my simple own solution would be to call the function not using 'X' but with zhelp whereas zhelp='X'....hm doesnt work
‎2008 Sep 04 10:05 AM
simple solution found,shortly after posting of course... dbegin type c in form declaration!
‎2008 Sep 04 10:05 AM