Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ICON_ACTIVATE

Former Member
0 Kudos
118

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?

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos
86

try changing the table name "inactive_tf py_yr"

or check u have missed any delemeter in the before line .

5 REPLIES 5

kesavadas_thekkillath
Active Contributor
0 Kudos
86

provide the code & do highlight the line no

Former Member
0 Kudos
86

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

0 Kudos
86

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.

kesavadas_thekkillath
Active Contributor
0 Kudos
87

try changing the table name "inactive_tf py_yr"

or check u have missed any delemeter in the before line .

Former Member
0 Kudos
86

Thanks for answering