2017 Feb 09 8:19 AM
Hello,
We have a Z report program which submits the report RKAEP000 and gets the table output using the cl_salv_bs_runtime_info / get_data_ref. The issue is this program works fine in foreground across all systems ( DEV, QA and PROD ) but in background mode works only in DEV all for the same user.
Any inputs regarding what could be the reason the background option not working in QA or PROD? Below is the code snipet for this submit and data retrivel part.
CALL FUNCTION 'K_KOKRS_SET'
EXPORTING
i_kokrs = lv_kokrs
popup = '0'
IMPORTING
e_kokrs = lv_kokrs.
cl_salv_bs_runtime_info=>set( EXPORTING display = abap_false
metadata = abap_false
data = abap_true ).
SUBMIT rkaep000
WITH p_tcode = 'KOB1'
WITH aufgr = p_aufgr
WITH kstar IN s_kstar
WITH r_budat BETWEEN s_erdat-low AND s_erdat-high
WITH p_usedb = 'X'
WITH p_usear = ' '
AND RETURN.
cl_salv_bs_runtime_info=>get_data_ref( IMPORTING r_data = lr_bill_data ).
2018 Jul 16 1:32 PM
HI ,
I have got same requirement like need to display T.code-KOB1 output to display ALV format, if you don't mind please share me the code for this program to My mail.Id- chinnanagaseshu@gmail.com. if you share it is very useful for me .
Thanks,
Seshu.
2024 Jul 15 6:33 PM
Hi Nagaseshu. Did you received the code for this KOB1 to display alv?