Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8894

Unknow error in a query

$
0
0

Dear SAP gurus,

 

I've created the following query based in another query that I made before, the only change I made is in 'WHERE' the field T3.[U_ExtON], before I used another user defined field, with the same characteristics as this one, but when I use this query the following messages appear:

 

'Document' (RDOC)

'Blanket Agreement' (OOAT)

'Received Alerts' (OAIB)

 

I have no idea what does it mean, and where is the problem. Please, can you help me?

 

Regards,

 

SELECT  T0.DocNum as 'Sale Order NO',

T0.CardName,

T3.[U_OrderNo],

T3.Dscription,

T3.[U_Box],

T3.U_Reference,

T3.Quantity AS 'Sales Qty',

T2.CardName as 'BP Name',

T2.DocNum as 'PO Number',

T2.DocDate as 'PO Date',

T3.Quantity as 'PO Qty',

T5.DocNum as 'Goods Receipt No/收货采购订单',

T10.U_Urgent AS 'Urgent',

T10.U_Inspected AS 'Inspected',

T10.U_Packed AS 'Packed',

T10.U_Delivered AS 'Delivered',

T5.DocDate as 'GR Date',

T4.Quantity as 'GR Qty',

T4.U_ShelfNo as 'Location',

T7.DocNum as 'Rejected No',

T7.DocDate as 'Rej Date',

T6.Quantity AS 'Rej Qty',

T9.DocDate as 'Del Date',

T8.Quantity AS 'Del Qty' ,

T1.U_Att AS 'Link1',

T1.U_Att2 AS 'Link2',

T1.U_Att3 AS 'Link3',

T1.U_Att4 AS 'Link4',

T1.U_Att5 AS 'Link5'

 

 

 

 

FROM

dbo.POR1 T3

LEFT JOIN dbo.OPOR T2 ON T3.DocEntry = T2.DocEntry

LEFT JOIN dbo.PDN1 T4 ON T4.BaseEntry = T2.DocEntry and T4. BaseLine = T3.LineNum

LEFT JOIN dbo.OPDN T5 ON T5.DocEntry = T4.DocEntry

LEFT JOIN dbo.RPD1 T6 on T6.BaseEntry = T5.DocEntry and T6.BaseLine = T4.LineNum

LEFT JOIN ORPD T7 ON T7.DocEntry = T6.DocEntry

LEFT JOIN [dbo].[@GRPO] T10 on T5.DocNum = T10.U_DocNum and T4.LineNum = T10.U_LineNum

INNER JOIN dbo.RDR1 T1 ON T1.DocEntry = T3.Baseentry and T1.LineNum = T3.BaseLine inner join

dbo.ORDR T0 ON T0.DocEntry = T1.DocEntry

LEFT JOIN DLN1 T8 on T8.BaseEntry = T0.DocEntry and T8.BaseLine = T1.LineNum

LEFT JOIN ODLN T9 ON T9.DocEntry = T8.DocEntry

 

 

 

 

WHERE T3.[U_ExtON] Like '%[%0]%'


Viewing all articles
Browse latest Browse all 8894

Trending Articles



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