‎2008 Jan 04 9:22 AM
Hi experts,
I have a strange syntax error in my ABAP program.
Set paydates for Inactive Timeframes
perform set_paydates_for_tf tables inactive_tf py_yr using tax_year.
When I'm trying the syntax check it gives me the following error:
"ICON_ACTIVATE-" expected, not "INACTIVE_"
Could anyone help me?
‎2008 Jan 04 10:49 AM
try changing the table name "inactive_tf py_yr"
or check u have missed any delemeter in the before line .
‎2008 Jan 04 9:29 AM
‎2008 Jan 04 9:33 AM
Hi there
I just tried this code and it is not giving me any syntax error:
data: inactive_tf type standard table of mara ,
py_yr type standard table of aufk.
data: tax_year(10) type C.
perform set_paydates_for_tf tables inactive_tf
py_yr
using tax_year.
&----
*& Form set_paydates_for_tf
&----
text
----
-->P_INACTIVE_TF text
-->P_PY_YR text
-->P_TAX_YEAR text
----
form set_paydates_for_tf tables p_inactive_tf structure mara
py_yr structure aufk
using p_tax_year.
endform. " set_paydates_for_tf
cheers
shivika
‎2008 Jan 04 10:23 AM
Hi,
Change the code like this:
DATA: inactive_tf TYPE STANDARD TABLE OF mara ,
py_yr TYPE STANDARD TABLE OF aufk.
DATA: tax_year(10) TYPE c.
PERFORM set_paydates_for_tf TABLES inactive_tf py_yr USING tax_year.
&----
*& Form set_paydates_for_tf
&----
text
----
-->P_INACTIVE_TF text
-->P_PY_YR text
-->P_TAX_YEAR text
----
FORM set_paydates_for_tf TABLES p_inactive_tf py_yr
USING p_tax_year.
ENDFORM. " set_paydates_for_tf
regards,
Renjith Michael.
‎2008 Jan 04 10:49 AM
try changing the table name "inactive_tf py_yr"
or check u have missed any delemeter in the before line .
‎2008 Jan 10 10:21 AM