Quantcast
Channel: SCN : Unanswered Discussions - SAP on SQL Server
Viewing all articles
Browse latest Browse all 519

SQ01 query, one field not populating in first line, pushing data to next line

$
0
0

Good day all

 

I have worked with queries for some time and have never encountered this error

 

I have a few table joins (FAGLFLEXA, BKPF, BSEG, EKKN, SKAT and EKPO), every thing works and displays correctly, except for the one field

EKKN (ABLAD) - Unload Point.

For some reason, when I test the query, it displays correctly with one entry, but as soon as you run the test for more entries, for some reason, the first Unloading point on the report is empty and the value reflects on the next line.  If you display the physical documents where the data pulls from, you can clearly see that the entire report pushes down the field to the next line.

 

For example

 

Physical SAP Document GL and or PO:

Year     Per     Do     Document No     Profit     Account     Short Text     Merch     Amount in Grp     Segm     Posted on     Unload Point

2014     001     XF     40000000000     ABCD     86100       Text              ACD       72799.60             11          20140106      24/59/68

2014     001     XD     40000000001     ABCC     86100       Text              ACC       18755.50             11          20140108      26/00/48

 

SQ01 report (with one line)

Year     Per     Do     Document No     Profit     Account     Short Text     Merch     Amount in Grp     Segm     Posted on     Unload Point

2014     001     XF     40000000000     ABCD     86100       Text              ACD       72799.60             11          20140106      24/59/68

     

SQ01 report (with more lines)

Year     Per     Do     Document No     Profit     Account     Short Text     Merch     Amount in Grp     Segm     Posted on     Unload Point

2014     001     XF     40000000000     ABCD     86100       Text              ACD       72799.60             11          20140106      2014     001     XD     40000000001     ABCC     86100       Text              ACC       18755.50             11          20140108      24/59/68


Viewing all articles
Browse latest Browse all 519

Trending Articles



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