Skip to Content

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

help needed on retreving QID from APQI table

Hi Gurus,

I am using RBIBGL00 standard batch program in my report to create a batch session and in turn execute it.

Batch session is getting created and it is getting executed as well.

Issue:

Now i need to retreive the batch information (succes/failure msgs) from the log

so i am writing code as:

select QID to display session log

SELECT SINGLE qid

INTO gv_qid

FROM apqi

WHERE datatyp = gc_bdc

AND groupid = p_group

AND progid = sy-repid

AND userid = sy-uname

AND credate = sy-datum.

But qid is not getting fetched.

Please help me to resolve this issue.

Regards'

Madan.

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