Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

need help in spool

Former Member
0 Likes
524

Hi guys,

I am usng FM SLVC_TABLE_PS_TO_SP to wrie into spool but when i execut the pgm i am getting an short domb saying data type mismatch. can anyone help me ....the internal table i am using to pass the content is of diff data type that is defined on FM is it due to that..? is there any other way to write to spool...?? pls help me....

ravi

Hi guys,

I am usng FM SLVC_TABLE_PS_TO_SP to wrie into spool but when i execut the pgm i am getting an short domb saying data type mismatch. can anyone help me ....the internal table i am using to pass the content is of diff data type that is defined on FM is it due to that..? is there any other way to write to spool...?? pls help me....

ravi

3 REPLIES 3
Read only

former_member253923
Participant
0 Likes
505

You can use RSPO_OPEN_SPOOLREQUEST ,

RSPO_WRITE_SPOOLREQUEST - To be done in a loop for as many entries in your internal table

RSPO_CLOSE_SPOOLREQUEST

Read only

0 Likes
505

hi,

thks for ur repply, but i need to know is there any single fm to do it... avoidng this looping..? i have to consider my pgm perfomace also...

ravi

Read only

Former Member
0 Likes
505

<b>the internal table i am using to pass the content is of diff data type that is defined on FM is it due to that..?</b>

Yes, if you do this, you will surely have a DUMP (and no error at activation).

Try to convert your data to the correct type.

Regards,

Mathieu