Application Development and Automation 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: 
Read only

ICON_ACTIVATE

Former Member
0 Likes
917

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
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
885

try changing the table name "inactive_tf py_yr"

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

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
885

provide the code & do highlight the line no

Read only

Former Member
0 Likes
885

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

Read only

0 Likes
885

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.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
886

try changing the table name "inactive_tf py_yr"

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

Read only

Former Member
0 Likes
885

Thanks for answering