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

Spool table data retrieval date wise

Former Member
0 Likes
936

Dear All,

I want to count date wise spool request from table TSP01. but date field not exists in format.

How i will count spool request date wise.

If any other table exists or any date conversion method. Please provide.

Thanks

Narendra Jinger

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
677

Hi narendra,

The date field is there with the time concatenated. the field name is RQCRETIME.

It contains the DATE + TIME in concatenated format.

YYYYMMDD HHMMSS

So you can do a select query from this table.

Then either take the first eight characters from this field (using abap syntax Variable(8)) into another field added in that itab, and use COLLECT to count the number of records date wise.

Its simple to do, nothing complicated.

regards,

amit m.

2 REPLIES 2
Read only

Former Member
0 Likes
678

Hi narendra,

The date field is there with the time concatenated. the field name is RQCRETIME.

It contains the DATE + TIME in concatenated format.

YYYYMMDD HHMMSS

So you can do a select query from this table.

Then either take the first eight characters from this field (using abap syntax Variable(8)) into another field added in that itab, and use COLLECT to count the number of records date wise.

Its simple to do, nothing complicated.

regards,

amit m.

Read only

GauthamV
Active Contributor
0 Likes
677

if you want it from table then follow above option.

You can also get the spool requests date wise from SP01 transaction.