on 06-14-2011 9:21 AM
Dear Experts...
Here is a strange situation in my DB. I have some UDF on A/P Invoice for TAX details print preview.
UDF Values are properly showing in SAP but not in SQL in same table, Same document they are blank in SQL.
I can't understand why SQL does not showing me Value of UDF.
Regards,
Ravi
Hi Ravi,
Run below query in query generator for specific document number and check if udf values are shown or not?
SELECT T0.DocNum, T0.CardCode As 'Vendor Code',T0.CardName As 'Vendor Name', T0.NumAtCard As 'Vendor Ref. No.', T0.DocDate, T0.TaxDate, T0.DocTotal - T0.VatSum As 'Basic Value of Goods', T0.U_CENVAT As 'CENVAT', T0.U_ECess, T0.U_HSCess, T0.U_VAT_4, T0.U_Add_VAT1, T0.U_VAT_12,
T0.U_Add_VAT2, T0.U_CST2, T0.U_CST4, T0.U_CST5, T0.U_Service_Tax, T0.U_ST_ECess, T0.U_ST_HSCess,T0.TotalExpns As 'Others',T0.DocTotal - T0.VATSUM As 'Total' FROM OPCH T0 WHERE T0.docType = 'I' and T0.DocNum=[%0]
Thanks,
Neetu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
is that values for that columns are 'empty' in SQL?
Did you select "TOP 1000 rows"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kambadasan...
Thanks Man for reply.
here is clarification :
1. is that values for that columns are 'empty' in SQL
Yes, They are blank in SQL but Value shoing in SAP.
2. Did you select "TOP 1000 rows" ?
I just put query *Select * from OPCH* and found blank fields in SQL which have been stored Values in SAP.
Regards,
RAvi
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.