08-31-2010 5:56 AM
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
08-31-2010 6:04 AM
Hi,
Please check if you are doing any comparisions after append.
APPEND wa_bapiparein TO ts_bapiparein.
Regards,
Srini.
08-31-2010 6:15 AM
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 ??
08-31-2010 6:11 AM
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.