Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: Table Control First Row is Coming Blank

$
0
0

Hi Amit ,

 

Thanks for the reply . Now it is working fine by the way u have suggested .

Now finally my code is as follows and it is working fine :

 

PROCESS BEFORE OUTPUT.

 

  MODULE status_0001.

  MODULE get_data .  " to get the data into the internal table

 

  LOOP WITH CONTROL tabctrl1 .

    MODULE fill_table_control . " to fill the table control

  ENDLOOP.

 

PROCESS AFTER INPUT.

 

LOOP WITH CONTROL tabctrl1.

    MODULE user_command_0001.

  ENDLOOP.

 

MODULE get_data OUTPUT.

  SELECT * FROM ysuv_employee1 INTO TABLE it_emp1.

ENDMODULE.                 " get_data  OUTPUT

 

MODULE fill_table_control OUTPUT.

  IF it_emp1 IS NOT INITIAL .

    READ TABLE it_emp1 INTO wa_emp1 INDEX tabctrl1-current_line .

  ENDIF.

ENDMODULE.                 " fill_table_control  OUTPUT

 

What I have Observed That in the flow logic we only need to write Loop with Control .....Both in PBO and PAI and not to write Loop at Itab into work-area (This Does Not work) . And the Module where we fill the table-control must be within Loop......Endloop.

 



Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>