I am coding inside a user-exit EXIT_SAPMV56A_001 for Vl01n
I want to fire a Native SQL Query like below and i want to append one table inside that PERFORM.
EXEC SQL PERFORMING DISPLAY_HEADER. SELECT TIME_STAMP,MODE,SCAC,CARRIER,TOT_CHARGE,NO_DAYS FROM WEBSAPDATA/CLIHD INTO :WA_RHEADER where time_stamp = wa_sheader-time_stamp ENDEXEC.
I tried to include FORM defn in include but its throwing an incorrect nesting error.
I created new include and written FORM defn but still getting same error.
If I remove PERFORMING statement its working fine and getting records at every step in WA_RHEADER.
Please give your inputs asap to solve this error.
Thank you very much for your help.