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: 

Ext prog check

Former Member
0 Kudos

in my program,

CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
          EXPORTING
            date                = st_bape_vbep-zzdpdat
            factory_calendar_id = p_w_fabkl
          IMPORTING
            date                = st_bape_vbep-zzdpdat.


      ENDIF.

      wa_bapiparein-structure  = lc_bape_vbep.

      wa_bapiparein-valuepart1 = st_bape_vbep.

      APPEND wa_bapiparein TO ts_bapiparein.

-->and in my Ext prog check, we are getting this error

Syntax check warning

After a structure enhancement, assignment or comparison may no longer be

permitted. syntactically incorrect.

--> how can we can avoid this errors. appreciated ur help.

thanks

Moderator Message: This is the third thread you have opened witht the same title. Please use more descriptive and distinct title for each of your threads. Also please enclose your code in ..... tags for better readability

Edited by: kishan P on Aug 31, 2010 10:53 AM

3 REPLIES 3

Former Member
0 Kudos

Hi,

Please check if you are doing any comparisions after append.

APPEND wa_bapiparein TO ts_bapiparein.

Regards,

Srini.

0 Kudos

no after APPEND, I am closing the LOOP-ENDLOOP.

i think the reason being, the work area is referring to a STRUCTURE bapiparex which has fields STRUCTURE & VALUEPART1.

so if i pass fields to STRUCTURE and to another field VALUEPART1 --> throws this EXT PROG check errors...

is there any way i can do this ??

sarang_gujrati2
Explorer
0 Kudos

hi,

what is the type of ur internal table?

this warning comes bcoz of enhancement category of ur structure or database table. Make the enhancement category as can not be enhanced.