01-13-2009 9:33 AM
hi guruz,
I have one abap querry report.
in output its showing same records are repating .
i debug the programm also which is system generated programm using cursor and all.
where i can see that how is appending in output table,means any tcodes are there.?
please guide me .
warm regards.
01-13-2009 9:37 AM
Goto SQ01 & check the query & what are the fields are getting pulled.
You can check the infoset in SQ02 & here you can check the join condiions mentioned.
01-13-2009 9:50 AM
hello Pawan,
have you written any code in your query?
regards,
sujeet
01-13-2009 3:47 PM
hi all
thanks very much for ur help ,
i got the problem , actually in table joining conditions data is comming like this .
01-13-2009 11:12 AM
Hi Pawan,
Possible reason: Primary key fields of table are not included in output fields of query .
Take a simple example of a query based on Inner join of VBAK and VBAP tables .
Selection screen : VBELN
Output fields: VBELN ,ERNAM, MATNR , NETWR..
Now if POSNR is not included as Output field ; this may result in repetition of records .
So try to take all primary key fields of tables or make them mandatory parameter on selection screen.
Hope this may help you. Do let me know if you have any doubt.
Regards,
Tushar