Skip to Content
0
Jul 02, 2009 at 04:14 AM

ALV with custom control

210 Views

Hello All,

I have created one BDC with preview facility. before creating batch input data should be checked once. for this i have creted Custom Control in Screen and want to display all selected input text file, but this is not working. data is not coming in Custom Container.it is happening because of I_STRUCTURE_NAME. when i am creating this for flight data then it is working that time i am passing I_STRUCTURE_NAME = 'SFLIGHT'.

i am writing code like below :

CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
         EXPORTING I_STRUCTURE_NAME = 'INPUT'        " INPUT= pr_file parameter file in selection screen to give path of file
         CHANGING  IT_OUTTAB        = IT_FINAL[].

I want to know how can i pass my selected file to display in custom control.

Thanks in Advance.

Regards,

Sujeet