Home > Default > ALV is printing for every instance on GET evet

ALV is printing for every instance on GET evet

November 30Hits:0
Advertisement
Hi,
I would appreciate your help and inputs on the following problem I'm facing.
I'm trying to print certain employee information to ALV.
I'm using HR logical database PNP.
The problem  I have is that the ALV is being generated for every different employee and i want it just to be printed at the end when all the internal tables were filles and the GET process is finished.
What might be my problem?
this is the piece of code:
GET pernr.
  CLEAR itabname.
  IF r2 = 'X'.
    itabname = 'IT_PRESTAMO'.
    PERFORM completar_tabla_prestamos.
    PERFORM generar_catalogo_campos_alv USING itabname.
    PERFORM crear_eventos CHANGING gt_events.
    PERFORM crear_comentario  CHANGING gt_list_top_of_page.
    PERFORM mostrar_alv TABLES it_prestamo.
PERFORM completar_tabla_prestamos: fills the internal table
PERFORM mostrar_alv TABLES it_prestamo: call REUSE_ALV_LIST_DISPLAY function module.
the other routines are for generating ALV header , format, fielcatalogue and so on...
Thanks
Ivan

Answers

thanks Martin,
I tried that but not working for some reason. I might have done something wrong.
This how i tried, is anything wrong?
START-OF-SELECTION.
GET pernr.
*& This routine fills the internal table
PERFORM completar_tabla_prestamos.
END-OF-SELECTION.
  CLEAR itabname.
  IF r2 = 'X'.
    itabname = 'IT_PRESTAMO'.
*& This routine generates the fieldcatalogue
    PERFORM generar_catalogo_campos_alv USING itabname.
*& this routine creates the ALV events
    PERFORM crear_eventos CHANGING gt_events.
*& this routine creates ALV comments in the header
    PERFORM crear_comentario  CHANGING gt_list_top_of_page.
*& This routine calls the display ALV function.
    PERFORM mostrar_alv TABLES it_prestamo.

Read other 5 answers

Tags:

Related Articles

  • ALV is printing for every instance on GET evetNovember 30

    Hi, I would appreciate your help and inputs on the following problem I'm facing. I'm trying to print certain employee information to ALV. I'm using HR logical database PNP. The problem  I have is that the ALV is being generated for every different em

  • Alv List  print printer information in 1st pageNovember 30

    Hi, At the time of alv list printing the following information is printed on 1st page. How to avoid this information when printing. INITSTRING Start r_3-Prolog Drucker :  Wipro EX-330+DX System :   RAP (reprdfo) User :        11BO End  r_3-Prolog Tha

  • Text above an ALV-Grid print-outNovember 30

    It is possible to set a Text above an ALV-Grid print-out?hii yes you can print header in ALV & it will come in print out.use following code DATA: i_listheader TYPE slis_t_listheader WITH HEADER LINE,         w_date like sy-datum.   move:     'H'   TO

  • Problem in ALV report printingOctober 11

    Hi, I am facing issue while printing the ALV report. The no. of columns in output are dynamic. System is giving the printout for 9 columns . If no. of columns are increasing than its printing only one line with garbage values. Can anybody help to fix

  • ALV Report Print Problem.October 11

    Hi, When I Print any ALV Report then In the First Row BackColor is white, but in Second it is Gray,and this alternative for all remaining rows, How Can I SET it to White For ALL Rows. Thx, Hitesh Jain.Hi Jain, I'm not aware of a way to wrap the test

  • ALV Report PrintOctober 11

    Hi All, can any one tel the solution fort me is there any function module to print ALV report with out giving print option manually( user press print button)Hi, execute that report and on output list GOTO LIST->PRINT. OR if u want to print the code i

  • Alv report print problemsOctober 11

    Hi all I have a problem when i print my alv grid report it first prints the title page then the revelent pages can i remove that title page. thankshave you checked with your windows administrator??Read other 2 answers

  • Alv report Print out ProblemOctober 11

    Hi Experts,    I am having problem while taking print out of Alv report format. In that report, 1 column contains  Unit  Values. Eg.  Unit value - 'LE' , AFTER USING CONVERSION EXIT LOGIC it is converted into 'AU'  which is finally displayed in the A

  • ALV Report Print problem after 255 character line sizeOctober 11

    Hi ABAP Gurus, I have created one alv report where i am getting output more then 255 character line size. so whenever i tried to print this report it print only line upto first 255 character and truncated after it in printing. is there any way i can

  • ALV report Print out.October 11

    Hi, I have developed a ALV report . I also want to take the print out of this report. How can i do this.Hi, Refer this code DATA : wa_variant  TYPE disvariant,       "Work area for variant        wa_variant1 TYPE disvariant,       "Work area for

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.630 s.