-
-
Save dubon07/7c7f0bdc5e212287252877a42471764f to your computer and use it in GitHub Desktop.
obten la salida de un alv en el reporte actual
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FIELD-SYMBOLS <lt_pay_data> TYPE ANY TABLE. | |
DATA lr_pay_data TYPE REF TO DATA. | |
cl_salv_bs_runtime_info=>set( | |
EXPORTING display = abap_false | |
metadata = abap_false | |
DATA = abap_true ). | |
SUBMIT (PROGRAM) | |
WITH s_vbeln-low EQ space | |
WITH s_fkdat-low EQ space | |
WITH s_vkorg-low EQ space | |
AND RETURN. | |
TRY. cl_salv_bs_runtime_info=>get_data_ref( | |
IMPORTING r_data = lr_pay_data ). | |
ASSIGN lr_pay_data->* TO <lt_pay_data>. | |
CATCH cx_salv_bs_sc_runtime_info. | |
MESSAGE `Unable to retrieve ALV data` TYPE 'E'. ENDTRY. | |
cl_salv_bs_runtime_info=>clear_all( ). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment