cancel
Showing results for 
Search instead for 
Did you mean: 

regarding sm35 data

Former Member
0 Kudos

Hi gurus,

I have told to do the following can you please help me out.

In SM35 created many batch no. The user would like to know automatically when the session is not ok (error status).

In return of the first program RSBDCBTC_SUB we will get the queues ie QID and QSTATE.

I have told to create new Z-prog.

In that Z-prog how can i get list of QID from the result (Output) of the first prog(RSBDCBTC_SUB )?

How i get that particular QIDs in my Z-prog?

Thanks in advanced.

Edited by: snehal patil on Nov 26, 2008 11:23 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks

Shiva_Ram
Active Contributor
0 Kudos

Hi,

I assume to get the report, it is just enough to create an ABAP query (transaction code SQ02, SQ03 and SQ01).

You can use table APQI. You can pull the status from the field APQI-QSTATE.

You can run the query in background and you can send the output as .pdf attachment to the user, if "mail" is used as output device.

Regards,