ORA-1790: expression must have same datatype as corresponding expression

I get the subject error when I call a stored procedure from a HTML DB app. The sp contains a query with a MINUS in it. When I run that MINUS query in SQL*Plus it runs fine.
The query is
SELECT /*+ cardinality(t 20) */ * FROM
(SELECT
    to_char(column_value) col1,
    to_number(:b1) col2
FROM TABLE(str2tbl(cast(:b2 AS VARCHAR2(1000))))
MINUS
SELECT    to_char(SUBSTR(column_value,1,INSTR(column_value,'|')-1)) col1,
    to_number(SUBSTR(column_value,INSTR(column_value,'|')+1)) col2
FROM TABLE(str2tbl(cast(:b3 AS VARCHAR2(1000))))
) tAny ideas? Thanks

Works fine.
Actually, if I take out the outermost SELECT (which I have just to put the cardinality hint), it works fine!
Strange. Oh well.
Thanks

Similar Messages

  • ORA-01790: expression must have same datatype as corresponding expression

    can somebody see a problem with the query below:
    error message: ORA-01790: expression must have same datatype as corresponding expression
    select CREV_D_POSTMARK,CRF1_A_PREM_CREDIT,CRF1_A_SPREM_FLAT,CRF1_A_SPREM_VAR,HSTA_C_UPDATE_SEQ, DTAX_C_LINE_SEQ,
    SCHA_C_PV_EIN_5500, SCHA_C_PV_PN_5500, CRBH_D_RECEIVE, SCHA_A_SIG_EVENT,SCHA_C_EIN_PAGE_2, SCHA_C_PN_PAGE_2,
    SCHA_D_SIGN_ADMN, SCHA_D_UNF_BEN, SCHA_F_INIT_412I, SCHA_F_INIT_AJ_ACT, SCHA_F_INIT_AJ_ADM, SCHA_F_INIT_ENTITL,
    SCHA_F_INIT_GEN_RL, SCHA_F_INIT_NO_UNF, SCHA_F_INIT_NOPROF, SCHA_F_INIT_PART, SCHA_F_INIT_REQMT, SCHA_F_INIT_SIG_EV,
    SCHA_L_SIGN_NAME, SCHA_A_ADJ_VAL_RCV, SCHA_A_ADJ_VAL_TOT, SCHA_A_ADJ_VAL_ASS, SCHA_A_ADJ_VL_NRCV, SCHA_A_ASSET_CONT,
    SCHA_A_ASSET_DISC, SCHA_A_ASSET_VALUE, SCHA_A_SPREM_VAR, SCHA_A_VBVAL_NRCV, SCHA_A_VBVAL_RCV, SCHA_A_VBVAL_TOTAL,
    SCHA_C_EIN, SCHA_C_PN, SCHA_C_FORM_YEAR, SCHA_D_ASSET_VALUE,SCHA_D_DETER_AS_OF, SCHA_D_DIST_INVOL, SCHA_D_STAND_TERM,
    SCHA_D_VAL_PYC, SCHA_F_NO_SIG_EV,SCHA_F_SIG_EVENT_1, SCHA_F_SIG_EVENT_2, SCHA_F_SIG_EVENT_3, SCHA_F_SIG_EVENT_4,
    SCHA_F_SIG_EVENT_5,SCHA_F_SIG_EVENT_6, SCHA_F_SIG_EVENT_7, SCHA_N_PLAN_NAME, SCHA_P_REQ_INT_RAT, SCHA_P_VBVAL_NRCV,
    SCHA_P_VBVAL_RCV, SCHA_Q_ASS_RET_AGE, SCHA_T_ACCRUAL_FAC, SCHA_F_CERT_NREQ_I, SCHA_F_CERT_REQ_I,SCHA_F_CERT_EXP_A,
    SCHA_F_SIG_EV_NEG, SCHA_A_INT_ADJ_VAL, SCHA_D_SIGN_ACTU, SCHA_C_ENCL_SEQ,DTAX_C_UID, DTAX_A_AMOUNT_PAID, CRF1_A_NET_PREMIUM,
    CRBH_Q_SOA_PAYMENT, CRBH_A_CONTROL_TOT,CSOA_A_PREM_PAYMT, CSOA_A_PEN_PAYMENT, CSOA_A_INT_PAYMENT, CSOA_A_PAYMENT from [email protected] minus
    select CREV_D_POSTMARK,CRF1_A_PREM_CREDIT,CRF1_A_SPREM_FLAT,CRF1_A_SPREM_VAR,HSTA_C_UPDATE_SEQ, DTAX_C_LINE_SEQ,
    SCHA_C_PV_EIN_5500, SCHA_C_PV_PN_5500, CRBH_D_RECEIVE, SCHA_A_SIG_EVENT,SCHA_C_EIN_PAGE_2, SCHA_C_PN_PAGE_2,
    SCHA_D_SIGN_ADMN, SCHA_D_UNF_BEN, SCHA_F_INIT_412I, SCHA_F_INIT_AJ_ACT, SCHA_F_INIT_AJ_ADM, SCHA_F_INIT_ENTITL,
    SCHA_F_INIT_GEN_RL, SCHA_F_INIT_NO_UNF, SCHA_F_INIT_NOPROF, SCHA_F_INIT_PART, SCHA_F_INIT_REQMT, SCHA_F_INIT_SIG_EV,
    SCHA_L_SIGN_NAME, SCHA_A_ADJ_VAL_RCV, SCHA_A_ADJ_VAL_TOT, SCHA_A_ADJ_VAL_ASS, SCHA_A_ADJ_VL_NRCV, SCHA_A_ASSET_CONT,
    SCHA_A_ASSET_DISC, SCHA_A_ASSET_VALUE, SCHA_A_SPREM_VAR, SCHA_A_VBVAL_NRCV, SCHA_A_VBVAL_RCV, SCHA_A_VBVAL_TOTAL,
    SCHA_C_EIN, SCHA_C_PN, SCHA_C_FORM_YEAR, SCHA_D_ASSET_VALUE,SCHA_D_DETER_AS_OF, SCHA_D_DIST_INVOL, SCHA_D_STAND_TERM,
    SCHA_D_VAL_PYC, SCHA_F_NO_SIG_EV,SCHA_F_SIG_EVENT_1, SCHA_F_SIG_EVENT_2, SCHA_F_SIG_EVENT_3, SCHA_F_SIG_EVENT_4,
    SCHA_F_SIG_EVENT_5,SCHA_F_SIG_EVENT_6, SCHA_F_SIG_EVENT_7, SCHA_N_PLAN_NAME, SCHA_P_REQ_INT_RAT, SCHA_P_VBVAL_NRCV,
    SCHA_P_VBVAL_RCV, SCHA_Q_ASS_RET_AGE, SCHA_T_ACCRUAL_FAC, SCHA_F_CERT_NREQ_I, SCHA_F_CERT_REQ_I,SCHA_F_CERT_EXP_A,
    SCHA_F_SIG_EV_NEG, SCHA_A_INT_ADJ_VAL, SCHA_D_SIGN_ACTU, SCHA_C_ENCL_SEQ,DTAX_C_UID, DTAX_A_AMOUNT_PAID, CRF1_A_NET_PREMIUM,
    CRBH_Q_SOA_PAYMENT, CRBH_A_CONTROL_TOT,CSOA_A_PREM_PAYMT, CSOA_A_PEN_PAYMENT, CSOA_A_INT_PAYMENT, CSOA_A_PAYMENT from
    [email protected] where to_number(to_char(asum_d_pyc,'YYYY')) = 2001;
    Message was edited by:
    mc

    Any sugestion on easy way to verify what coulmn may have different datatype?
    The table has quite a few columns, will take time to do it manually....
    Any other better way to compare this two tables?

  • Ora-01790 Expression must have same datatype as correspoding expression

    Can somebody help me how to fix this.
    award_number is varchar2(30)
    The problem is with award_name. Throwing an error.
    Not sure why it is giving problem.
    ora-01790 Expression must have same datatype as correspoding expression
    SELECT *  from award_test
            UNPIVOT(VAL for operator in(   
    AWARD_NAME,                                                                                                                                                                                                      
    TOTAL_PROCEEDS,                                                                                                                                                                                                             
    EARNING_PROCS ,                                                                                                                                                                                                              
    TOT_PROCS_EARNINGS ,                                                                                                                                                                                                           
    GROSS_PROCS    ,                                                                                                                                                                                                               
    PROC_REF_DEF_ESCR ,                                                                                                                                                                                                        
    OTH_UNSP_PROCS ,                                                                                                                                                                                                              
    ISSUANCE_COST ,                                                                                                                                                                                                            
    WORK_CAP_EXP ))
            PIVOT(max(VAL) for award_number in  ('XIAAE' as "XIAAE",'XIBNG' as "XIBNG" ))

    it has not resolved my problem. Still the problem is there. if i remove award_name it is working fine. only problem with award_name

  • Please help!!! This expression must have a constant value

    I try to work with cfc and cfinvoke and not sure why I got this error. Searched
    in google for answer but still don't get any. Can anyone help please...not sure where
    I had it wrong...I thought my codes should work (?)
    When a form is submitted I have this codes in formaction.cfm, I captured all the form fields in a structure:
    <CFSET st_Registration = {Salutation="#Trim(Form.Salutation)#", FName = "#Trim(Form.FName)#", MName = "#Trim(Form.Mname)#",LName =  "#Trim(Form.LName)#" .......etc }/>
    Then I set all the required fields:
     <CFSET ReqFields ="Salutation,FName,LName,Addr1,City,State,Zip,Country,Phone,Email,username,password">
    <!--- Then send the structure and req. fiels list to a function located in a component to verify required fields ---><cfset CreateUserInfo = createObject("component", "airbucks.cfcomp.VerifyInput").init()> 
    <CFINVOKE component="#CreateUserInfo#" method="Verify_ReqFields" st_Registration = "#st_Registration#" RequiredFields ="#ReqFields#" returnvariable="VerifyResult">
    <CFIF #VerifyResult# IS "">
    <cfdump var="#st_Registration#">
    <CFELSE>
      <CFIF #st_Registration["Country"]# IS "USA">
    <CFINCLUDE template="registration_ret.cfm">
      <CFELSE>
    <CFINCLUDE template="registration_other_ret.cfm">
      </CFIF>
    </CFIF>
    <!--- Below is part of the component with the function for checking required fields --->
    <cfcomponent displayname="VerifyInputData" output="false"> <CFFUNCTION name="Init" access="public" returntype="any" output="false" hint="Returns an initialized component instance.">
     <!--- Return This reference. --->
     <cfreturn THIS />
     </CFFUNCTION>
     <!--- Verify required fields --->
     <CFFUNCTION name="Verify_ReqFields">
     <cfargument name="st_Registration" type="struct" required="true">
     <cfargument name="RequiredFields" type="string" required="true"> 
    <!--- check if req. fields are blank --->
     <CFSET ErrorList = "">
     <cfloop collection="#arguments.st_Registration#" item="KEY">
     <CFIF #Trim(st_Registration[KEY])# IS "">
     <CFSWITCH expression="#Trim(KEY)#">
     <CFCASE value="#arguments.RequiredFields#">
     <CFSET ErrorList = ListAppend(ErrorList, "#KEY#")>
     </CFCASE>
     </CFSWITCH>
     </CFIF>  
    </cfloop>
     <CFRETURN ErrorList >
     </CFFUNCTION>
      </cfcomponent>
        Here is the error:  
    The following information is meant for the website developer for debugging purposes.
    Error Occurred While Processing Request
    This expression must have a constant value.
    The error occurred in C:\Inetpub\wwwroot\AirBucks\registrationaction.cfm: line 55
    53 :                              
    54 : <!--- Verify required field based on the required list set above --->
    55 : <cfset CreateUserInfo = createObject("component", "airbucks.cfcomp.VerifyInput").init()>
    56 : <CFINVOKE component="#CreateUserInfo#" method="Verify_ReqFields" st_Registration = "#st_Registration#" RequiredFields ="#ReqFields#" returnvariable="VerifyResult">
    57 :      

    Thank you and I'll change my codes.
    When I did the following, I still get the same error.
    Isn't it CreateUserInfo is the object?
    <cfset CreateUserInfo = createObject("component", "airbucks.cfcomp.VerifyInput").init()>
    <CFSET VerifyResult = CreateUserInfo.Verify_ReqFields(st_Registration, ReqFields)> 
    Using cfinvoke used to work.
    The following information is meant for the website developer for debugging purposes.
    Error Occurred While Processing Request
    This expression must have a constant value.
    The error occurred in C:\Inetpub\wwwroot\AirBucks\registrationaction.cfm: line 54
    52 : <!--- Verify required field based on the required list set above --->
    53 :
    54 : <cfset CreateUserInfo = createObject("component", "airbucks.cfcomp.VerifyInput").init()>
    55 : <!---
    56 : <CFINVOKE component="#CreateUserInfo#" method="Verify_ReqFields" st_Registration

  • Controlling area & operating concern must have same fiscal year variant

    Dear Experts,
    Whether i can assign two controlling area with different fiscal year variant to one operating concern.
    Getting error 'Controlling area & operating concern must have same fiscal year variant'
    Fiscal year variant must be same or Number of posting period must be same.
    regards
    RR
    Moderator: Please, search before posting

    Hi ajay,
    I did the testing also,
    System is showing error msg' Controlling area & operating concern must have same fiscal year variant'
    But someone told me. number of Posting period must be same not fiscal year variant.That why i am confused.
    I assigned all company code same posting period variant in different controlling area.Still facing same error.
    That why i have posted in SDN.
    regards
    RR

  • WLC's must have same config

    Hello ,
    I have three WLC's - WLC1, WLC2 and WLC3. They are part of mobility groups. I need  WLC-2 and WLC-3 to have the same config of WLC-1.
    If I upload the WLC-1 configs on WLC-2 and WLC-3 , will it work ? 
    Thanks
     

    Hi,
    upload the config from WLC1.
    Make changes(Ip adderss..and dynamic interface ip...etc) in config for WLC2 and then download to WLC2 by chossing command > Download from wlc gui, and same for wlc3.
    Regards

  • All queries in an SQL statement containing a UNION  operator must have an equal number of expressions in their target lists.

    Cant Add  OCRD.CardName,CRD7.ECCNo to this  query.Please Help.
    declare @FDate as datetime
    declare @TDate as datetime
    declare @Location as VARCHAR (30)
    /* SELECT FROM [dbo].[OLCT] S0 WHERE */ SET  @Location = /* S0.Location*/ '[%0]'
    /* SELECT FROM [dbo].[OINM] S1 WHERE */ SET  @FDate = /* S1.TaxDate*/ '[%1]'
    /* SELECT FROM [dbo].[OINM] S2 WHERE */ SET  @TDate = /* S2.TaxDate*/ '[%2]'
    SELECT
      'Sales'Document,OBTN.DistNumber
      ,NNM1.SeriesName,OINV.DocNum,OCRD.CardName,CRD7.ECCNo,OINV.DocDate,OITM.SWW [HSN Number],INV1.ItemCode,INV1.Dscription,(ITL1.Quantity*-1) [Quantity]
      ,OEDR.Name,OBTN.U_EDuty*(ITL1.Quantity*-1) EDuty,OBTN.U_EDuty EDutyUnit,OBTN.U_EDCess*(ITL1.Quantity*-1) EDCess,OBTN.U_EDHSCess*(ITL1.Quantity*-1) EDHSCess
      ,OBTN.U_EDImpDuty SADUnit,OBTN.U_EDImpDuty*(ITL1.Quantity*-1) SADTotal
      ,OBTN.U_MfgName,OBTN.U_MfgInvNo,OBTN.U_MfgInvDt,OBTN.U_MfgQty,OBTN.U_MfgValue
      ,OBTN.U_MfgDuty,OBTN.U_MfgCess,OBTN.U_MfgHSCess,OBTN.U_MfgImport
      ,OBTN.U_SupName,OBTN.U_SupInvNo,OBTN.U_SupInvDt,OBTN.U_SupQty,OBTN.U_SupValue
      ,OBTN.U_SupDuty,OBTN.U_SupCess,OBTN.U_SupHSCess,OBTN.U_SupImport
    FROM
      INV1
    INNER JOIN
      OINV ON INV1.DocEntry=OINV.DocEntry
    INNER JOIN
    OCRD ON OINV.CardCode = OCRD.CardCode
    INNER JOIN
    CRD7  ON OCRD.CardCode = CRD7.CardCode
    INNER JOIN
      OITM ON INV1.ItemCode=OITM.ItemCode
    INNER JOIN
      OITL ON INV1.BaseType=OITL.ApplyType AND INV1.BaseEntry=OITL.ApplyEntry AND INV1.BaseLine=OITL.ApplyLine
    INNER JOIN
      ITL1 ON OITL.LogEntry=ITL1.LogEntry
    INNER JOIN
      OBTN ON ITL1.MdAbsEntry=OBTN.AbsEntry and ITL1.SysNumber=OBTN.SysNumber AND ITL1.ItemCode=OBTN.Itemcode
    INNER JOIN
      [@OEDR] OEDR ON OBTN.U_EDRate=OEDR.Code
    LEFT JOIN
      NNM1 ON OINV.Series=NNM1.Series
    WHERE INV1.LocCode IN (SELECT Code FROM OLCT WHERE Location=@Location)
      AND OINV.DocDate BETWEEN @FDate AND @TDate
    UNION ALL
    SELECT
      'Sales Return'Document,OBTN.DistNumber
      ,NNM1.SeriesName,ORIN.DocNum,ORIN.DocDate,OITM.SWW [HSN Number],RIN1.ItemCode,RIN1.Dscription,(ITL1.Quantity*-1) [Quantity]
      ,OEDR.Name,OBTN.U_EDuty*(ITL1.Quantity*-1) EDuty,OBTN.U_EDuty EDutyUnit,OBTN.U_EDCess*(ITL1.Quantity*-1) EDCess,OBTN.U_EDHSCess*(ITL1.Quantity*-1) EDHSCess
      ,OBTN.U_EDImpDuty SADUnit,OBTN.U_EDImpDuty*(ITL1.Quantity*-1) SADTotal
      ,OBTN.U_MfgName,OBTN.U_MfgInvNo,OBTN.U_MfgInvDt,OBTN.U_MfgQty,OBTN.U_MfgValue
      ,OBTN.U_MfgDuty,OBTN.U_MfgCess,OBTN.U_MfgHSCess,OBTN.U_MfgImport
      ,OBTN.U_SupName,OBTN.U_SupInvNo,OBTN.U_SupInvDt,OBTN.U_SupQty,OBTN.U_SupValue
      ,OBTN.U_SupDuty,OBTN.U_SupCess,OBTN.U_SupHSCess,OBTN.U_SupImport
    FROM
      RIN1
    INNER JOIN
      ORIN ON RIN1.DocEntry=ORIN.DocEntry
    INNER JOIN
      OITM ON RIN1.ItemCode=OITM.ItemCode
    INNER JOIN
      OITL ON RIN1.BaseType=OITL.ApplyType AND RIN1.BaseEntry=OITL.ApplyEntry AND RIN1.BaseLine=OITL.ApplyLine
    INNER JOIN
      ITL1 ON OITL.LogEntry=ITL1.LogEntry
    INNER JOIN
      OBTN ON ITL1.MdAbsEntry=OBTN.AbsEntry and ITL1.SysNumber=OBTN.SysNumber AND ITL1.ItemCode=OBTN.Itemcode
    INNER JOIN
      [@OEDR] OEDR ON OBTN.U_EDRate=OEDR.Code
    LEFT JOIN
      NNM1 ON ORIN.Series=NNM1.Series
    WHERE RIN1.LocCode IN (SELECT Code FROM OLCT WHERE Location=@Location)
      AND ORIN.DocDate BETWEEN @FDate AND @TDate

    Nagarajan,
    I've altered the query into this.Think that it is working.Thanks man
    declare @FDate as datetime
    declare @TDate as datetime
    declare @Location as VARCHAR (30)
    /* SELECT FROM [dbo].[OLCT] S0 WHERE */ SET  @Location = /* S0.Location*/ '[%0]'
    /* SELECT FROM [dbo].[OINM] S1 WHERE */ SET  @FDate = /* S1.TaxDate*/ '[%1]'
    /* SELECT FROM [dbo].[OINM] S2 WHERE */ SET  @TDate = /* S2.TaxDate*/ '[%2]'
    SELECT
      'Sales'Document,OBTN.DistNumber
      ,NNM1.SeriesName,OINV.DocNum,OCRD.CardName,CRD7.ECCNo,OINV.DocDate,OITM.SWW [HSN Number],INV1.ItemCode,INV1.Dscription,(ITL1.Quantity*-1) [Quantity]
      ,OEDR.Name,OBTN.U_EDuty*(ITL1.Quantity*-1) EDuty,OBTN.U_EDuty EDutyUnit,OBTN.U_EDCess*(ITL1.Quantity*-1) EDCess,OBTN.U_EDHSCess*(ITL1.Quantity*-1) EDHSCess
      ,OBTN.U_EDImpDuty SADUnit,OBTN.U_EDImpDuty*(ITL1.Quantity*-1) SADTotal
      ,OBTN.U_MfgName,OBTN.U_MfgInvNo,OBTN.U_MfgInvDt,OBTN.U_MfgQty,OBTN.U_MfgValue
      ,OBTN.U_MfgDuty,OBTN.U_MfgCess,OBTN.U_MfgHSCess,OBTN.U_MfgImport
      ,OBTN.U_SupName,OBTN.U_SupInvNo,OBTN.U_SupInvDt,OBTN.U_SupQty,OBTN.U_SupValue
      ,OBTN.U_SupDuty,OBTN.U_SupCess,OBTN.U_SupHSCess,OBTN.U_SupImport
    FROM
      INV1
    INNER JOIN
      OINV ON INV1.DocEntry=OINV.DocEntry
    INNER JOIN
      OITM ON INV1.ItemCode=OITM.ItemCode
    INNER JOIN
      OCRD ON OINV.CardCode = OCRD.CardCode
    INNER JOIN
    CRD7  ON OCRD.CardCode = CRD7.CardCode
    INNER JOIN
      OITL ON INV1.BaseType=OITL.ApplyType AND INV1.BaseEntry=OITL.ApplyEntry AND INV1.BaseLine=OITL.ApplyLine
    INNER JOIN
      ITL1 ON OITL.LogEntry=ITL1.LogEntry
    INNER JOIN
      OBTN ON ITL1.MdAbsEntry=OBTN.AbsEntry and ITL1.SysNumber=OBTN.SysNumber AND ITL1.ItemCode=OBTN.Itemcode
    INNER JOIN
      [@OEDR] OEDR ON OBTN.U_EDRate=OEDR.Code
    LEFT JOIN
      NNM1 ON OINV.Series=NNM1.Series
    WHERE INV1.LocCode IN (SELECT Code FROM OLCT WHERE Location=@Location)
      AND OINV.DocDate BETWEEN @FDate AND @TDate
    UNION ALL
    SELECT
      'Sales Return'Document,OBTN.DistNumber
      ,NNM1.SeriesName,ORIN.DocNum,OCRD.CardName,CRD7.ECCNo,ORIN.DocDate,OITM.SWW [HSN Number],RIN1.ItemCode,RIN1.Dscription,(ITL1.Quantity*-1) [Quantity]
      ,OEDR.Name,OBTN.U_EDuty*(ITL1.Quantity*-1) EDuty,OBTN.U_EDuty EDutyUnit,OBTN.U_EDCess*(ITL1.Quantity*-1) EDCess,OBTN.U_EDHSCess*(ITL1.Quantity*-1) EDHSCess
      ,OBTN.U_EDImpDuty SADUnit,OBTN.U_EDImpDuty*(ITL1.Quantity*-1) SADTotal
      ,OBTN.U_MfgName,OBTN.U_MfgInvNo,OBTN.U_MfgInvDt,OBTN.U_MfgQty,OBTN.U_MfgValue
      ,OBTN.U_MfgDuty,OBTN.U_MfgCess,OBTN.U_MfgHSCess,OBTN.U_MfgImport
      ,OBTN.U_SupName,OBTN.U_SupInvNo,OBTN.U_SupInvDt,OBTN.U_SupQty,OBTN.U_SupValue
      ,OBTN.U_SupDuty,OBTN.U_SupCess,OBTN.U_SupHSCess,OBTN.U_SupImport
    FROM
      RIN1
    INNER JOIN
      ORIN ON RIN1.DocEntry=ORIN.DocEntry
    INNER JOIN
      OCRD ON ORIN.CardCode = OCRD.CardCode
    INNER JOIN
    CRD7  ON OCRD.CardCode = CRD7.CardCode
    INNER JOIN
      OITM ON RIN1.ItemCode=OITM.ItemCode
    INNER JOIN
      OITL ON RIN1.BaseType=OITL.ApplyType AND RIN1.BaseEntry=OITL.ApplyEntry AND RIN1.BaseLine=OITL.ApplyLine
    INNER JOIN
      ITL1 ON OITL.LogEntry=ITL1.LogEntry
    INNER JOIN
      OBTN ON ITL1.MdAbsEntry=OBTN.AbsEntry and ITL1.SysNumber=OBTN.SysNumber AND ITL1.ItemCode=OBTN.Itemcode
    INNER JOIN
      [@OEDR] OEDR ON OBTN.U_EDRate=OEDR.Code
    LEFT JOIN
      NNM1 ON ORIN.Series=NNM1.Series
    WHERE RIN1.LocCode IN (SELECT Code FROM OLCT WHERE Location=@Location)
      AND ORIN.DocDate BETWEEN @FDate AND @TDate

  • E71: error: SIP "profiles in same realm must have ...

    I have a E71-1 with the latest 110.07.127 firmware. I am trying to create a second SIP profile, but I cannot save it as I get the error message
    "Unable to save. Profiles in same realm must have same user name"
    From what I understand, one creates a VoIP profile and then adds separate SIP profiles for each SIP server/access point pair[*]. I've found no other way to be able to quickly connect to the same SIP server from two different Wifi networks, or even have the phone automatically log in.
    The problem is that if I create a second profile with the same proxy/registrar settings (same realm, user, password) but a different access point (and profile name), I get the above error and cannot save the new profile.
    I have tried to delete all profiles and recreate them, I have tried recreating them from scratch and copying from an existing profile, and I have triple-checked that all the realms, usernames, and passwords are identical and correct. The error persists.
    There was already a discussion at /discussions/board/message?board.id=smartphones&message.id=15695, but it has no solution.
    Any idea what the problem may be and how I can solve or work around it?
    Thanks,
    -m
    [*] This sucks as it requires a lot of data duplication, and when the passwords change, it's a *major* pain. It would be better to have SIP account profiles, independent of any connection-specific settings, and let VoIP profiles link those account profiles to access points. Since the SIP proxy setting might well be dependent on the connection, an alternative would be to simply allow me to choose a set of access points for each SIP account profile.

    SOLVED:  when you create a second SIP profile using an existing one, the password are not copied, and therefore the system interpeters it as a different user throwing the error. Resubmit the password for both proxy and registar servers and it will work. 
    Remember: after that you have to check in the newly created profile under Tools-Settings-Connection-Internet Tel.-<<your profile>>

  • Expression must return the interface type in Transformation Step in BPM

    hi,
    We are getting below while activating the IP,
    Expression must return the interface type SI_Send_AA
    Expression must return the interface type SI_Get_AA
    No semantic errors found
    We have a Transformation Step in BPM,
    In OM, Source is SI_Send_AA and Target is SI_Get_AA
    Also Container variable points to  the same Abstract SI's.
    Few Thread's for Same are error are:
    Error in  BPM
    expression must return the interface type
    Transformation step in ccBPM scenario
    Error while compiling Business Process
    Even after checking these i am getting this Exception.
    Please Help!
    Thanks,
    Mayank

    Also Container variable points to the same Abstract SI's
    Are you sure that you are using Abstract Message Interfaces only and that these are referring to relevant container variables.
    Normally it happens that there is some mis-match between the message types/ interfaces that we use in the mapping and that we use in the BPM.
    If still not solved, then delete the Transformation step --> save --> activate......then again Edit the BPM to include the Transformation Step.
    Regards,
    Abhishek.

  • Greetings: I have multiple iPads and iPhones. I want all to be able to be able to stream to our Apple TV. All of the docs I see say you must have the same Apple ID for all the devices, but we each have our own Apple ID. Is this just a doc short coming?

    Greetings: I have multiple iPads and iPhones. I want all to be able to be able to stream to our Apple TV. All of the docs I see say you must have the same Apple ID for all the devices, but we each have our own Apple ID. Is this just a doc short coming?

    You can each have your own ID for your own iTunes accounts, but in order for a device to stream via AirPlay to the same Apple TV, everything must use the same homesharing ID. This is not the same as your iTunes account ID (although it can be for one of the devices)

  • I just purchased Apple TV AND AIRPORT EXPRESS. I am questioning if  I need it when I already have a Netgear Powerline AV 200 Adapter Kit XAVB2001. Does the Airport Express do the same thing?

    I just purchased Apple TV AND AIRPORT EXPRESS. I am questioning if  I need it when I already have a Netgear Powerline AV 200 Adapter Kit XAVB2001. Does the Airport Express do the same thing?

    Thank you so much.  Any specifics I should know about prior to connecting? The goal is to watch  Netflix from my iPad or iPhone 5 on my tv (located in different room from where Comcast internet modem is hard wired to main computer in house).  Movies would depend on wireless transmission to a smart tv not connected to modem.

  • Error: A file found in a source-path must have the same package structure

    I use Adobe Flex Compiler (mxmlc) Version 4.1.0 build 16032,I have a file,named CustomGraphContainerController.as,it's directory is c:\controllers,and the GCController.as file is under the same directory,CustomGraphContainerController.as file like follows
    package controllers{
    import ui.GraphControlContainer;
    public class CustomGraphContainerController extends GCController {
      public function CustomGraphContainerController(a_graphControlContainer:GraphControlContainer) {
       super(a_graphControlContainer);
    Then I want to use mxmlc command to compile it,like follows:
    C:\>mxmlc c:\controllers\CustomGraphContainerController.as
    But it raise compile errors,like follows:
    Loading configuration file C:\sdk\frameworks\flex-config.xml
    C:\controllers\GCController.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'controllers'.
    I don't know how to compile the as file with package controllers? Where is wrong? How to use mxmlc to compile it?
    Thanks

    HI,
         You should have one main application class to compile this as code to swf.. So that main application path should be in your proper package structure.. then you can compile you app and as files also...
    Thanks
    Ram..

  • ABAP program issues..Unicode program "ITAB" must have the same structure?

    Dear Expert,
    I coded below code in se38, but system give below error message, could please kindly advie issue reason? Thanks!!
         Error message: A line of "ITAB" and "LINE" are not mutually convertible. In a Unicode program "ITAB" must have the same structure layout as "LINE" independent of the length of a . Unicode character. Unicode character.          
    REPORT  ZTEST_HIHIHI.
    Data: begin of line,
    num type i,
    sqr type i,
    end of line,
    itab type standard table of line with key table_line.
    Do 5 times.
    line-num = sy-index.
    line-sqr = sy-index ** 2.
    append line to itab.
    enddo.
    loop at itab into line.
    write: / line-num, line-sqr.
    endloop.
    clear itab.

    Hello Hoo Laa,
    This is because the way you have defined LINE, it is a structure & not a data type. Hence you are facing the issue
    You have to change the data declaration to:
    itab LIKE STANDARD TABLE OF line WITH KEY table_line.
    BR,
    Suhas

  • Must have the same type and the same length

    hi experts,
    DELIVERY_PLANT  data type STRING    //from proxy class, can't be changed
          BEGIN OF ty_citem,
              article type matnr,
              werks   type werks,
           END OF ty_citem,
    LOOP AT it_items INTO lv_item.
        lv_citem-article = lv_item-article.
        lv_citem-werks = lv_item-DELIVERY_PLANT.
        APPEND lv_citem TO GT_citem.
        clear lv_citem.
      ENDLOOP.
    SELECT matnr werks
           from marc
           into table GT_marc
           for all entries in GT_citem
           where matnr = GT_citem-article  and werks = GT_citem-werks.
    error message here:When you use the addition "FOR ALL ENTRIES IN itab", the fields "WERKS"
    and "GIT_CITEM-WERKS" must have the same type and the same length.

    Hi,
    You know for statement FOR ALL ENTRIES in where clause data type and length should be match.
    As per my understanding ,here GT_citem-werks is a string. But you know data type of WERKS_D is char with lencth 4.
    Use the below select statement.
    SELECT matnr werks
           from marc
           into table GT_marc
           for all entries in GT_citem
           where matnr = GT_citem-article  and werks = GT_citem-werks+0(4).
    Thanks.
    Subhankar

  • I must have my computer reimaged.  I have Photoshop CS5 and Lightroom 5.7.  How do I inform Adobe that I will be reloading these programs to the same computer?

    I must have my computer reimaged.  I have Photoshop CS5 and Lightroom 5.7.  How do I inform Adobe that I will be reloading these programs to the same computer?

    And to directly answer your question, you don’t inform Adobe, you merely deactivate PS, reimage, then reinstall and reactivate PS with the serial number(s), and relicense LR with the serial number(s).
    If this computer isn’t yours and you don’t have the serial numbers, yourself, then that could be a problem, although there may be software that can find the serial numbers.  On a PC platform, download and run the Belarc Security Advisor and see if it finds the serial numbers you need.  It’ll only find the current product serial numbers, not the prior versions that an upgrade might be based on, so then you’ll be stuck.

Maybe you are looking for

  • Down loaded tracks can't be synced with ipod

    I have a pc, running windows XP, home edition (2002) (Ignore what it says below, I'm not currently running a powerbook). My ipod is 5th generation. The version of itunes is 7.6.1 The problem I have is this: I have down-loaded some backing tracks from

  • Installation of Solaris 10 on SUN Sparc M4000

    Hi I am trying to install Solaris 10 on SUN SPARC M4000. Here is the error I have: +Enter filename [kernel/sparcv9/unix]: /platform/sun4v/kernel/sparcv9/unix+ +Enter default directory for modules [platform/sun4v/kernel /kernel /usr/kernel]:+ krtld: l

  • Unlock iPhone 1 - carrier AT&T denies to be the carrier

    Today i tried to unlock my iPhone 1, since it is locked due to a ios upgrade (to 3.1.3) i made yesterday. Apple service center checked my imei number, cross referenced it to the serial number and concluded that the carrier is AT&T. Service incident n

  • Possible to make an item editable for certain users and read only for other

    Is it possible to make an item editable for certain users and read only for others? I've been able to accomplish this by taken the select statement that I used to define an authorization scheme, placing it in the Read Only condition of the item. Howe

  • I just downloaded the Beta 4.0 twice and both times a msgbox says the file is corrupt.

    I just tried to download your beta version for the first time. Tried the download a second time. Both times when I tried to run the .exe, I got a msgbox that the file was corrupt. The software was not installed.