01-09-2018 2:24 PM
Hi All,
I am looking for SUBMIT PROGRAM with Selection Screen For a SLIN T-code.
My code is as below:
DATA: itab type table of rsparams,
wa_itab like line of itab.
clear wa_itab.
wa_itab-selname = 'RSLIN-PROGAM'.
wa_itab-kind = 'S'.
wa_itab-sign = 'I'.
wa_itab-option = 'EQ'.
wa_itab-low = 'ZTEST_ACC1'.
APPEND wa_itab to itab.
clear wa_itab.
wa_itab-selname = 'RSLIN-X_CAL'.
wa_itab-kind = 'S'.
wa_itab-sign = 'I'.
wa_itab-option = 'EQ'.
*wa_itab-low = sy-datum.
APPEND wa_itab to itab.
SUBMIT saplsin VIA SELECTION-SCREEN.
Suggestion please.
Thanks.
Sanket Sagar
01-09-2018 3:01 PM
Hi Sanket,
You can use FM EXTENDED_PROGRAM_CHECK instead of SUBMIT REPORT. It will provide you the same results.
For more details, please go through this thread:
https://archive.sap.com/discussions/thread/1165164
Regards.
01-09-2018 3:01 PM
Hi Sanket,
You can use FM EXTENDED_PROGRAM_CHECK instead of SUBMIT REPORT. It will provide you the same results.
For more details, please go through this thread:
https://archive.sap.com/discussions/thread/1165164
Regards.
01-10-2018 7:05 AM
yes ..but I want to fetch the output slin t code in internal table..so can you guide me how to fetch ??
01-10-2018 7:33 AM
The FM return those data in exported parameters RESULT and RESULT_STAT.
01-10-2018 9:47 AM
I am looking for output in internal table like attached image..
01-10-2018 10:30 AM
Use the function module and then write ABAP to convert RESULT and RESULT_STAT internal tables into your desired internal table types.
Or put a breakpoint on the function module and see how SAP converts these tables to the output.
The answer has been given. Thread closed.
01-10-2018 10:43 AM
Ask your Abaper to loop at RESULT_STAT-SET, there are already total sum fields at structure level.
Hint: Convert TID into text with method cl_slin_test_info=>desc_get_descrition (just move the key to a char4 field)
01-11-2018 11:16 AM
Is this the right code?
LOOP AT lt_resultstat-set INTO wa_resultstat-set.
CALL METHOD cl_slin_test_info=>desc_get_description(
EXPORTING
code_nr = ld_id
RECEIVING
ret = ld_result ).
ENDLOOP.
01-09-2018 4:56 PM
Programs starting with SAPL are apparently function pools that cannot be started with SUBMIT. Learn about program types please.
01-10-2018 7:23 AM