Skip to Content
0
Former Member
May 28, 2008 at 10:37 PM

Form inside a user-exit include

17 Views

Hi All

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.

Regards,

Amol

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.