Skip to Content
0
Former Member
Mar 24, 2009 at 11:32 AM

SQ02 Create a query whit the structures.

549 Views

Dear gurus ,

i create a query SQ02 whit the initial impostation " Data retrieval by program" and insert in the field "data structure" the name of the structures where are the value, example ( AFVGD).

When run the query the value is blanck .

I must for case to modify the program generated from the system :

REPORT RSAQDVP_TEMPLATE.

*

----


  • declarations

  • (insert your declarations in this section)

----


data:

AFVGD type AFVGD ,

it_data type standard table of AFVGD .

field-symbols: <struc> type AFVGD .

----


  • selection screen statements

----


  • (define your selection-screen here)

  • !! the following comment MUST NOT BE CHANGED !!

*<QUERY_HEAD>

----


  • read data into IT_DATA

----


  • (select your data here into internal table IT_DATA)

----


  • output of the data

  • (this section can be left unchanged)

----


loop at it_data assigning <struc>.

move-corresponding <struc> to AFVGD .

  • !! the following comment MUST NOT BE CHANGED !!

*<QUERY_BODY>

endloop.

You could advise to me like?

Thanks a lot for your help

Daniel Pistilli