Hi
FM MD_POPUP_SHOW_INTERNAL_TABLE,which you are using is not released,may still have some internal bugs.
this error "MOVE src TO dst" ==> is because of this statement in FM "valuex-data = values. APPEND valuex."
As IMPOR is of type p,this conversion error might have occured.
In fact i can execute your report only when the internal table doesn't hold this field 'impor TYPE NETPR,'.
I suggest you to use FM REUSE_ALV_POPUP_TO_SELECT which is already in released status.
I could display the internal table in POPUP with below,
data : t_fcat TYPE SLIS_T_FIELDCAT_ALV with header line.
t_posic-ebelp = '1234'.
t_posic-posid = '1234'.
t_posic-texto = '12345678'.
t_posic-impor = '145.78'.
t_posic-waers = 'SGD'.
append t_posic.
t_posic-ebelp = '8765'.
t_posic-posid = '2584'.
t_posic-texto = '12345678'.
t_posic-impor = '122.78'.
t_posic-waers = 'USD'.
append t_posic.
t_fcat-col_pos = '1'.
t_fcat-fieldname = 'EBELP'.
t_fcat-seltext_l = 'Item'.
t_fcat-tabname = 'T_POSIC[]'.
append t_fcat.
t_fcat-col_pos = '2'.
t_fcat-fieldname = 'POSID'.
t_fcat-seltext_l = 'WBS'.
t_fcat-tabname = 'T_POSIC[]'.
append t_fcat.
t_fcat-col_pos = '3'.
t_fcat-fieldname = 'TEXTO'.
t_fcat-seltext_l = 'Desc'.
t_fcat-tabname = 'T_POSIC[]'.
append t_fcat.
t_fcat-col_pos = '4'.
t_fcat-fieldname = 'IMPOR'.
t_fcat-seltext_l = 'Price'.
t_fcat-tabname = 'T_POSIC[]'.
append t_fcat.
t_fcat-col_pos = '4'.
t_fcat-fieldname = 'WAERS'.
t_fcat-seltext_l = 'Curr'.
t_fcat-tabname = 'T_POSIC[]'.
append t_fcat.
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
I_TITLE = 'test'
I_SELECTION = 'X'
* I_ALLOW_NO_SELECTION =
* I_ZEBRA = ' '
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_CHECKBOX_FIELDNAME =
* I_LINEMARK_FIELDNAME =
* I_SCROLL_TO_SEL_LINE = 'X'
i_tabname = 'T_POSIC[]'
* I_STRUCTURE_NAME =
IT_FIELDCAT = t_fcat[]
* IT_EXCLUDING =
* I_CALLBACK_PROGRAM =
* I_CALLBACK_USER_COMMAND =
* IS_PRIVATE =
* IMPORTING
* ES_SELFIELD =
* E_EXIT =
tables
t_outtab = t_posic[]
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
Regards
Pallavi