I am populating an error structure in the function module and want to export that error structure
to calling program.
Now I have to create this error structure using data: statement inside the function module.
The error structure has following fields:
REQUI like XFLED,
NON_Unique like XFLED,
FNAME like fieldname,
LIFNR like lifnr.
(Note: I am not creating an error structure skeleton permamnently in DDIC but in the SAP code.)
Now if I am exporting this error structure from function module to main calling program, I guess have to declare it in export tab inside se37 where I create function module.
What do I declare in the reference type for this error structure inside the export tab ?
Please help me out.