2023 Apr 11 3:41 PM
hello community
Is it possible to run a submit command to the fbl3n program RFITEMGL and then get the final internal table that displays the report (but I don't want to display the report) and exit the submit and continue my normal program? Or is it better to create a copy of the program?

but I don't want to display the report
Rule one is to never touch SAP standard tables manually, but rule two is to not clone standard programs. But you are basically right, as usual.
2023 Apr 11 4:23 PM
Rule one It is never better to copy a standard program.
If you can't use the standard SUBMIT options with appropriate function modules, then enhance the standard program, so that the internal table is persisted in a DB table. Then in your calling program, read the data from there.
Or find if there's a nice class/method or FM that gives you the same data.
2023 Apr 12 6:16 AM
Rule one is to never touch SAP standard tables manually, but rule two is to not clone standard programs. But you are basically right, as usual.
2023 Apr 12 6:23 AM
I thought rule one was Never talk about standard object copy
2023 Apr 12 9:50 AM
The output is ALV, so you can get the ALV data using CL_SALV_BS_RUNTIME_INFO (among other possibilities). Already explained in the forum, blog posts and so on.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |