Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

creating the spool request for the internal table data

Hi..

I am little confused with the function module used for creating the spool request.

well...I am practicing the ALV report and sending the that report to the spool.

I ve used the FM SLVC_TABLE_PS_TO_SPOOL.

this is the way i defined the internal table.

Data:

begin of imat occurs 0,

matnr like marav-matnr,

maktx like marav-maktx,

matkl like marav-matkl,

ntgew like marav-ntgew,

gewei like marav-gewei,

end of imat.

data i_lines type sy-tfill

and i declared..

describe table imat lines i_lines.

then i given the value for i_file_length as i_lines in the export paramet of the FM SLVC_TABLE_PS_TO_SPOOL.

CALL FUNCTION 'SLVC_TABLE_PS_TO_SPOOL'

EXPORTING

i_file_length = i_lines

IMPORTING

E_SPOOLID = spoolid

tables

it_textdata = imat

when i executed it shows the list and wen going back it shows the runtime error as

CALL_FUNCTION_CONFLICT_LENG - Type conflict when calling a function module (field length).

please provide me some solutions.

thanks in advance.

etienne.

Former Member
Not what you were looking for? View more on this topic or Ask a question