Native sql not populating correct data in ECC6.0 unicode system

Hi,
I am working in an upgrade upgrade project from 4.6c to ECC6.0.
4.6c is non-unicode system. ECC6 is Unicode system.
I am facing Native SQL problem in custom developed programe in ECC6.That means programe reading the data from oracle datbase and stored into internal table.
But data not stored as normal character format that means its stored as different character format.
I am suspecting this is due to unicode system. IF that is issue then please provide
what syntax I have to use for Native SQL statment in unicode system.
I have provided the code which we are using in programe.
  data:
    i_locn       type table of t_locn,
    v_locn       like line  of i_locn.
  field-symbols:
    <f_005t>        type t_005t.
Get existing EIS_VIDEO_LOCN_CONV records
  EXEC SQL.
    OPEN C FOR
      SELECT EIS_LOCN
        FROM VIDADMIN.EIS_VIDEO_LOCN_CONV
  ENDEXEC.
  do.
    EXEC SQL.
      FETCH NEXT C
        INTO :V_LOCN-EIS_LOCN
    ENDEXEC.
    if sy-subrc ne 0.
      exit.
    endif.
    append v_locn to i_locn.
  enddo.
  EXEC SQL.
    CLOSE C
  ENDEXEC.
  sort i_locn.
I am facing the problem in i_locn internal table. Please give me your input to solve this issue.
- Anandakumar K

Hi,
We have resolved this issue with BASIS team help.
We modified the data charcater set as UTF8  in Oracle data base in unicode system ECC6.0 then the programme returns the
exact character format
Regards
K.Anandakumar

Similar Messages

  • Discoverer Viewer not showing correct data when scheduled

    Hi All,
    I have a bit of an ongoing issue and cannot find an answer through Oracle.
    We have an issue that when a cross-tab workbook is run manually in Desktop this returns correct data, when scheduled in desktop it returns correct data in desktop, but when opening the scheduled workbook in viewer, incorrect and irrelevant data is returned
    Here is a little information on the field that is not returning correct data;
    The field is based on a calculation, the calculation (lets call BOB) contains PL/SQL function concatenated with an NVL calculation, this other calculation is a DECODE. I have been playing with changing the content of the BOB calculation, by removing the PL/SQL function and the DECODE calc from BOB and scheduling the report, the data is returned in viewer, in fact i've attempted one without the other and this still does not return the correct data.
    This version of discoverer that is not returning data is V 10.1.2.50.05. I've tested this on a later environment with Discoverer V 10.1.55.26 and the data is returning correctly through the sceduled report in viewer.
    My questions;
    1. Has anyone ever come across something similar to this in version 10.1.2.50.05
    2. Is there any detail available regarding what upgrading to 10.1.55.26 offers?
    3. Know any workaround for using PL/SQL calculations in a scheduled workbook? I am aware that not aggregable items will not be returned in v11 when scheduling workbooks.
    Many thanks in advance for any help.
    Simon

    Bumping this thread
    Thanks
    Si

  • TS3579 I found this useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up

    I found this  (TS3579: If the wrong date or time is displayed in some apps on your Mac Learn about If the wrong date or time is displayed in some apps on your Mac) useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up in Finder. 

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Discount Value - 0RPA_REA Not Populating Correctly in Multiprovider ZXX_XX01

    Hi Gurus,
    Discount Value - 0RPA_REA Not Populating Correctly in Multiprovider ZXX_XX01,
    As you aware discount value (0RPA_REA) has Positive values correspond to a reduced sales value. Negative values correspond to a markup on the sales value.
    Item discounts are already taken into account in the sales value. Discounts at POS transaction level (header discounts) are only taken into account at the point of processing.
      This key figure is supplied by the Data Sources 0RT_PA_TRAN_CONTROL and 0RT_PA_TRAN_TOTALS and is filled by PIPE field REDUCTIONAMOUNT.
    Can some one let me know how to achieve the correct discount type from POSDM?
    Thanks and Regards,
    Ramesh D

    Hi Ramesh,
              As Vikrant mentioned the discount values are shown against record qualifier 1101 in 2 instances in your snapshot.Please check the receipt/MON0 and compare the discount values.
    Alternately pick anyother transaction which has maximum no of discounts and compare in RSA7.
    You may also Import/Export this transaction and verify in any other environment(DEV/TEST) etc to see the results are matching.If not matching, then possibly,some of the config TRs may be missing in PROD.
    Hope it helps.
    Best Regards,
    Aram.

  • In PDF to Excel conversion dates like 03/12/15 convert to Dec 3rd 2015 not the correct date of Mar 12th 2015 whereas date 03/13/2015 converts correctly as March 13th 2015

    In PDF to Excel conversion dates like 03/12/15 convert to Dec 3rd 2015 not the correct date of Mar 12th 2015 whereas date 03/13/2015 converts correctly as March 13th 2015

    Hi DirTech,
    Are both of these dates in the same Excel file? If they're in different files, are you choosing the same language for OCR (optical character recognition)?
    If they are in the same PDF file, how was that PDF file created? Was it created from a third-party application (rather than an Adobe application)? If it was created by a third-party application, it could be that it wasn't written to spec, and that's why you're seeing some oddities in the PDF > Excel conversion.  (See Will Adobe ExportPDF convert both text and form... | Adobe Community.)
    Best,
    Sara

  • Net value in the Invoice not populated correctly

    Hi friends,
    The net value in the Invoice is not populated correctly. The sales order unit price is say 100/EA and the qty is 10 and the net value is 1000 Rs. THe invoice is also showing up the unit price and qty similar to the sales order but the net value picked is 500Rs. There are no discount conditions as well. What might be the possible reasons for this?
    Thanks
    Isaac

    Hi,
    Check whether you have entered th value manually in the sales order and overwritten the condition record value .If so also check you copy control setting in VTFL that pricing type B is maintained at item level for the respective doc type .
    It can happen that you have condition record maintained for 50rs per quantity and you have changed price manually in sales order to 100 per qty. Now if in copy control VTFL pricing type B is maintained than system will redetermine the prices at the billing level.
    If this is the case than change the settings in VTFL pricing type at item level to D
    Please check and revert with your feed back
    Regards,
    Krishna O

  • Query not displaying correct data

    hi all
    my query is not displaying correct data.
    in data target secondary sales is showing 1.800 value but in query it is showing
    2.00.my requirement is my query shuld show 1.800 value. i also tried to change decimal points but not changes has happend.plz let me knw what is the problem
    thanks in advance
    shalini gupta

    With which u r reconciling the data.
    With R3 or Cube.
    I think check ur key figure, have u taken the key figure 'with TAX' one or with out tax one??
    Regards,
    Manoj.

  • Webi does not pick correct Data

    Hi Guys,
    I have a webi. The Universe for the Webi is based on  Bex Query. I see correct Data in Bex Query but when I create a webi report it does not pick correct data.
    I have checked following points already:-
    1] No Resstriction at Query Level
    2] No restriction at Universe Level
    3] No Filters/ Restriction at Webi Level.
    Can anyone suggest whats happening?
    Regards

    Hi Ray,
    It happens sometimes that data gets aggregated over all the dimension objects present in the 'Available Objects' section in webi.
    Try to pull only the characteristics present in the row section of the bex query say 'X' and measure in the column section of bex query say 'Y' into the results pane in the edit query window in webi.Then run the report and check.
    This will give you the idea about aggregation.
    Regards
    Vineeta

  • CopyDeliverToOrgId is not populated correctly when checkout PR in iPro

    When we check out the Requisition in iProcurement, the system shows error for the Deliver-To Location, the error is 'Select a Valid Value'. After we click on the LOV and select the same value as in the Deliver-To Location field , the error gone.
    Setp.
    1. Select item and add to cart
    2. Click View Cart and Check Out
    3. Click Checkout
    4. Click Next (at this point the Deliver-To Location values is PWH-MB-03-TA)
    5. Error out 'Select a Valid Value'
    6. Click LOV and select PWH-MB-03-TA from the LOV
    7. Clikc Next again
    8. Success
    Do anyone knows why I have to reselect the value every time I check the requisition
    One of the metalink note mention that the variable copyDeliverToOrgId is not populated correctly.
    Thanks in advance for the help
    Lawrence

    Is any personalization already exists , some like it will be based on OU with certain location ..
    In my case , it was to enter correct Deliver to location was based on requestor -location combination based on OU.
    otherwise check for Profile 'POR : Preferences - Deliver to Location' in system admin ,
    select * from fnd_profile_options_tl
    where profile_option_name = 'POR_DEFAULT_DELIVER_TO_LOCATION_ID'
    and language='US'
    Regards,
    Ashish

  • Why is repeated events not populating correctly?

    I am trying to set up a repeating event at icloud.com and it is not populating correctly. I set up a custom repeating event to repeat every two weeks on certain days and it shows up every week regardless that I selected repeat every "2" weeks"

    If known-good battery,
    & known-good adapter;
    check Mag-safe Board.
    http://www.ifixit.com/Device/Mac_Laptop
    http://www.ifixit.com/Device/Apple_AC_Adapter
    Good luck & happy computing!

  • E : could not create header data delivery in EWM system

    Hi Experts.
    Inbound delivery (vl60) from ERP (itu2019s stuck in outbound queue: smq1) to EWM. Application log EWM system below.
    ERP/EWM Interface Appl log
    E: could not create header data delivery < dly number >, system < BS System >  (Msg id: /SCWM/ERPINTEGRATOIN012)
    S: supply chain unit < SU NO > found for erp warehouse number < WM NO>
    S: EWM Document type INB for ERP delivery type EL found.
    W: No date/time type found for ERP date/time IDDOCUMENT.. (Msg id: /SCWM/ERPINTEGRATOIN054)
    W: No date/time type found for ERP date/time IDINTRANS.
    W:No date/time type found for ERP date/time IDVERSION.
    S: Date/time type TDELIVERY found for ERP date/time WSHDRLFDAT
    S: Business partner <BP NO > for ERP Partner <P NO> found.
    S: NO document found
    E: application error
    E:an error occurred during validation of object.
    POST-Processing Framework Appl log
    Processing /SCDLT/TS_TRANSFER is started
    messages for doc:IDR < dly no >
    Started Transition successfull
    preparation for database access successfull
    start access to document flow successfull
    step determination successfull
    step proecssing successfull
    start checking whether action 022 successfull
    start data transfer successfull
    start checking whether action 020 in ERROR
             Action not executable
            config. error method CHECK of validation PDI_HDR_ERP_PARTNER Not implemented
            config. error method EXECUTE of validation PDI_HDR_ERP_PARTNER Not implemented
             error in step processing
            action 020 not allowed
            transition failed
           Action not be successfully executed
    could any one guide me to solve the issue.
    Kind regards
    Edited by: Rahman Abdul on Jun 20, 2011 9:33 PM
    Edited by: Rahman Abdul on Jun 20, 2011 9:33 PM
    Edited by: Rahman Abdul on Jun 20, 2011 9:34 PM

    Hello,
    In SPRO, you need to maintain the entries for:
    No date/time type found for ERP date/time IDDOCUMENT.. (Msg id: /SCWM/ERPINTEGRATOIN054)
    W: No date/time type found for ERP date/time IDINTRANS.
    W:No date/time type found for ERP date/time IDVERSION.
    This can be found in EWM > EWM > Interfaces > ERP Integration > Delivery Processing > Map Date Types from ERP System to EWM.
    Cheers,
    Paulo

  • My ical is not populating after i reinstalled my operating system - my Outlook 2011 is ok but I now want to sink my iphone 4 with my outlook and i presume i need ical to be populated for this

    My ical is not populating after i reinstalled my operating system - my Outlook 2011 is ok but I now want to sink my iphone 4 with my outlook and i presume i need ical to be populated for this

    Generally this is a sign that the iPhone had previously been
    hacked/modified/jailbroken and the update relocked it to the
    original wireless carrier. If this is the case, only that wireless
    carrier can unlock your iPhone. You must contact them to see
    if they offer unlocking and if you qualify.
    Where did you acquire this iPhone?
    What wireless carrier did you use before this problem?
    Does the app Cydia appear on your iPhone?
    What does it say when you look at Settings=>General=>About=>Carrier?

  • Rtrim in where clause not returning correct data

    A select statement specifying
    where rtrim(field_name) &lt;&gt; ''
    is not returning any rows even though there is data on the table with field_name not blank.
    If this particular where clause is omitted the data is returned and rtrim(field_name) is populated correctly.
    This is occurring across different tables and in both 10.2.0.4 and 11.2.0.1 databases. I can't find any references to this being a bug.
    Has anyone else come across this ? Can anyone explain why this is happening please ?

    An empty VARCHAR2 is considered NULL by Oracle.
    sql> select 1 from dual where trim (' ') = '';
    no rows selected
    sql> select 1 from dual where trim (' ') != '';
    no rows selected
    sql> select 1 from dual where trim (' ') is null;
             1
             1

  • Issue with Bex report - key Figures not populating correctly.

    Hi Experts,
    I am facing an issue with a Bex report. There are three key figures of data type DATE having "Dec - Counter or amount field with comma and sign" datatype. After executing the query, in the report, for some sales documents the key figure fields are coming as 'X' and rest others are coming correctly in the date format as mm\dd\yyyy.
    When i check in the cube, these key figures shows values in decimal format and not in date format. The conversion is happening during execution.
    Pleas show me some light on how to identify the cause of getting 'X' for some Sales documents in the report eventhough some are coming correctly.
    Thanks,
    Anamika
    Edited by: Anamika Soni on Mar 12, 2010 10:48 AM

    Hi,
    The infobject has been defined with datatype "DATE" only. It has also been mapped from datasource to infocube correctly as these key figures are populating correctly for some of the sales documents in the report. It is not like that for all the sales documents the key figures are not converting properly.
    Some Sales documents are not converting into the date fields but for some conversion happens properly in the BEx report. This is the issue.
    Please guide accordingly.
    Many thanks,
    Anamika

  • Update form not returning correct data selection in dropdown menu

    Using CS3 DW along with SQL 2008 R2. I have a number of dropdown menus on an entry form (using VBScript/ASP) that are feed by SQL queries. All data is accepted in the entry form and writes to the table in the database without any issues. I created an Update form and based on a Rec ID clicked on from a list the Update form is presented with all the data in the correct fields except for one dropdown menu. All the other menus go to the correct selection except for the one. Spent 2 days attempting to resolve this. If I change the dropdown menu to a field the correct data is presented when the form comes up, but doesn't allow the user to make a selection from the menu. When I change it back to a dropdown menu the saved selection is not selected - just lists the entire list of items in the menu. Any help or ideas on this is greatly appreciated.

    Hello All,
    Once more thank you. I have sorted the issue out.
    I observed that I was selecting the wrong field. I selected the field matching the record set of the select instead of the field matching the record set of the table I am working as seen on the image belew
    I was selecting this - This is the record set of the table that hold values for the city select list
    Instead of this. This is the record set of the table behind the form I am working on
    My issue is now re-solved.
    Mike

Maybe you are looking for