Some German alphabets are replaced by # while downloading data from UNIX

Hi,
I have a problem when I upload the data into UNIX application server directory, the data for example the data sent to server had some characters with german alphabets 'ä'
'2 Jahre Erw. Gewährl.-Level HW-Rep.(11L) '.
When I try to download the data from UNIX to a .txt file, those alphabets are replaced with '#'. The above characters has a german alphabet 'ä' which was getting replaced with '#'. So the data in the downloaded file from UNIX to a txt file would appear
'2 Jahre Erw. Gew#hrl.-Level HW-Rep.(11L) '
I tried to rectify the OPEN DATSET statement with the statement below
OPEN DATASET L_UNIXFILE FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE '1100'
IGNORING CONVERSION ERRORS REPLACEMENT CHARACTER ''.
Even after incorporating the above code in my program didn't help.
Can any one suggest me solution.
Regards,
Rajesh Bhogi

Check the codepages. If characters are replaced by '#' there is no corresponding character in the target codepage.

Similar Messages

  • What are the ways to download data from ods?

    Hi all,
    what are the ways to download data from ods?
      1. se11/se12
      2. listcube
      3. infospokes.
    Apart from the above 3 is there any other way to download data from my ods.
    I need to download around 90 fields from my ods to a flat file. But listcube doesnt allow me to select all the fields. So i used se11 to download the data from my ods. bUt still se12 doesnt allow me to download all the 90 fields it downloads only 40 fields.
    Can anyone suggest me how to select all the 90 fields and download it to an excel sheet.
    thanxs
    haritha

    Hi Haritha,
    Go to Tcode SE16, give your ODS active Table name and give width of output list as 1023.
    Now run transaction to see your data and then click Settings --> User parameters and Select ALV Grid Display.
    Now you should see and Excel Icon on top, click on it then select Table , then
    Microsoft Excel and it will open your data with all columns you want.
    I just tried for 213 columns
    Hope this helps.
    Thanks
    CK

  • Error while downloading data from internal table into XML file

    hi all,
    i developed a program to download data from into internal table to xml file like this.
    tables: mara.
    parameters: p_matnr like mara-matnr.
    data: begin of itab_mara occurs 0,
                matnr like mara-matnr,
                ernam like mara-ernam,
                aenam like mara-aenam,
                vpsta like mara-vpsta,
          end of itab_mara.
    data: lv_field_seperator type c,     " value 'X',
          lv_xml_doc_name(30) type c,    " string value ‘my xml file’,
          lv_result type i.
          lv_field_seperator = 'x'.
          lv_xml_doc_name = 'my xml file'.
    types: begin of truxs_xml_line,
              data(256) type x,
          end of truxs_xml_line.
    types:truxs_xml_table type table of truxs_xml_line.
    data:lv_tab_converted_data type truxs_xml_line,
         lt_tab_converted_data type truxs_xml_table.
    data: lv_xml_file type rlgrap-filename value 'c:\simp.xml'.
    select matnr ernam aenam vpsta from mara into table itab_mara up to 5
           rows where matnr = p_matnr.
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
    EXPORTING
       I_FIELD_SEPERATOR          = lv_field_seperator
      I_LINE_HEADER              =
      I_FILENAME                 =
      I_APPL_KEEP                = ' '
       I_XML_DOC_NAME             = lv_xml_doc_name
    IMPORTING
       PE_BIN_FILESIZE            = lv_result
      TABLES
        I_TAB_SAP_DATA             = itab_mara
    CHANGING
       I_TAB_CONVERTED_DATA       = lt_tab_converted_data
    EXCEPTIONS
      CONVERSION_FAILED          = 1
      OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    open dataset lv_xml_file for output in binary mode.
    loop at lt_tab_converted_data into lv_tab_converted_data.
    transfer lv_tab_converted_data to lv_xml_file.
    endloop.
    close dataset lv_xml_file.
    this program is syntactically correct and getting executed, but when i open the target xml file it is showing the following error.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'file:///C:/simp.xml'.
    will anyone show me the possible solution to rectify this error
    thanks and regards,
    anil.

    Hi,
    Here is a small sample program to convert data in an internal table into XML format and display it.
    DATA: itab  TYPE TABLE OF spfli,
          l_xml TYPE REF TO cl_xml_document.
    * Read data into a ITAB
    SELECT * FROM spfli INTO TABLE itab.
    * Create the XML Object
    CREATE OBJECT l_xml.
    * Convert data in ITAB to XML
    CALL METHOD l_xml->create_with_data( name = 'Test1'
                                         dataobject = t_goal[] ).
    * Display XML Document
    CALL METHOD l_xml->display.
    Here are some other sample SAP programs to handle XML in ABAP:
    BCCIIXMLT1, BCCIIXMLT2, and BCCIIXMLT3.
    Hope this helps,
    Sumant.

  • Dump while downloading data from Application Server File in 4.6 system

    Hi,
    When we are trying to upload data from Application Server to internal table using dataset statements, it is resulting in a dump. System we are using is 4.6c.
    When we faced similar kind of issue in ECC version, we have used the statement, Ignoring Conversion Errors.
    Please let me know how to handle this situation in 4.6 System.
    Thanks for your inputs.
    Regards,
    Phani

    Hi All,
    I am sorry. My question was wrong. It should be while uploading data from internal table to application server, if there are any special characters, it is going to dump.
    I will let you know the dump details and code at the earliesst.
    Sorry and Thanks again for your prompt response.
    Regards,
    Phani.

  • Problem while downloading data from Application server.

    Hi
    I have create a file on the application server.
    When i tried to download the file from application server into Excel file , all the fields in the file appear in the same column.
    How can place the fields separately in different columns in the Excel.
    Thanks
    Subha
    Edited by: subhacp on Sep 5, 2011 8:32 AM

    Hi,
    Try to use below function module where you need not to do anything new, just give path of the directory where you want to store on your workstation in the parameter  I_FILE_FRONT_END  and give path of your application server from where you want to pick file which is in .XLS format in the FM parameter I_FILE_APPL  .
    It will simply copy the file from Apllication server to your workstation in the same format and with the same characters.
    CALL FUNCTION 'C13Z_FILE_DOWNLOAD_BINARY'
      EXPORTING
        I_FILE_FRONT_END          = pr_down
        I_FILE_APPL               = l_w_file
        I_FILE_OVERWRITE          = 'X'
    * IMPORTING
    *   E_FLG_OPEN_ERROR          =
    *   E_OS_MESSAGE              =
    EXCEPTIONS
       FE_FILE_OPEN_ERROR        = 1
       FE_FILE_EXISTS            = 2
       FE_FILE_WRITE_ERROR       = 3
       AP_NO_AUTHORITY           = 4
       AP_FILE_OPEN_ERROR        = 5
       AP_FILE_EMPTY             = 6
       OTHERS                    = 7
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Hope it will solve your query.

  • Create root node and child nodes while downloading data from internal table

    Hi all,
    i have to down load the details of three materials present in the internal table into
    a  XML file, the material number must be the root node, ERNAM,AENAM,VPSTA
    fields must be its child nodes. in this way i have to display details of three
    materials like material1,material2,material3.
    how can i do that in 4.6c version.
    Thanks,
    satish.

    Hi Satish,
    Please look into the following programs. These are sample SAP programs to deal with XML in 46c.
    BCCIIXMLT1
    BCCIIXMLT2
    BCCIIXMLT3
    Hope these will helps,
    Sumant.

  • Error While Downloading data from UPDATE Style Integrator

    Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff
    I have an UPDATE Styled Integrator which is based on a view.
    The View DDL is as follows :
    CREATE OR REPLACE VIEW XXC_HR_SIT_V
    (EMPLOYEE_NUMBER, BUSINESS_GROUP_ID, PERSON_ID, ID_FLEX_NUM, ID_FLEX_STRUCTURE_CODE,
    DATE_FROM, DATE_TO, OBJECT_VERSION_NUMBER, PERSON_ANALYSIS_ID, ANALYSIS_CRITERIA_ID,
    SEGMENT1, SEGMENT2, SEGMENT3, SEGMENT4, SEGMENT5,
    SEGMENT6, SEGMENT7, SEGMENT8, SEGMENT9, SEGMENT10,
    SEGMENT11, SEGMENT12, SEGMENT13, SEGMENT14, SEGMENT15,
    SEGMENT16, SEGMENT17, SEGMENT18, SEGMENT19, SEGMENT20,
    SEGMENT21, SEGMENT22, SEGMENT23, SEGMENT24, SEGMENT25,
    SEGMENT26, SEGMENT27, SEGMENT28, SEGMENT29, SEGMENT30)
    AS
    select papf.employee_number,
    papf.business_group_id,
    papf.person_id,
    fifs.id_flex_num,
    fifs.id_flex_structure_code,
    ppa.date_from,
    ppa.date_to,
    ppa.object_version_number,
    ppa.person_analysis_id,
    pac.analysis_criteria_id,
    pac.segment1,
    pac.segment2,
    pac.segment3,
    pac.segment4,
    pac.segment5,
    pac.segment6,
    pac.segment7,
    pac.segment8,
    pac.segment9,
    pac.segment10,
    pac.segment11,
    pac.segment12,
    pac.segment13,
    pac.segment14,
    pac.segment15,
    pac.segment16,
    pac.segment17,
    pac.segment18,
    pac.segment19,
    pac.segment20,
    pac.segment21,
    pac.segment22,
    pac.segment23,
    pac.segment24,
    pac.segment25,
    pac.segment26,
    pac.segment27,
    pac.segment28,
    pac.segment29,
    pac.segment30
    from per_person_analyses ppa,
    per_all_people_f papf ,
    fnd_id_flex_structures fifs ,
    per_analysis_criteria pac
    where 1 = 1
    and ppa.person_id= papf.person_id
    and papf.current_employee_flag = 'Y'
    and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date
    and ppa.id_flex_num = fifs.id_flex_num
    and pac.id_flex_num = ppa.id_flex_num
    and pac.analysis_criteria_id = ppa.analysis_criteria_id
    order by to_number(employee_number),ppa.date_from
    In my WEBADI Layout also I have defined the columns exactly same as in view. But when I try to run the WEB ADI it gives the following error :
    Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff

    Hi Guys,
    I have placed a function TRUNC() befor the date columns and now it works fine

  • CL_SALV_BS_TT_RESULT_TABLE====CP error while downloading data from ALV grid

    Hi ,
    I am  facing a problem when ever i am going to donload data from ALV grid to excel file.I am getting CL_SALV_BS_TT_RESULT_TABLE====CP error in GET_CELL_VALUE. Could you please provide me is there any OSS note or any patch required to solve this issue.
    Thanks in Advance,
    Venkatarao.

    Hi,
    Just refer to OSS note 1356898 for guidelines.
    Regards,
    Vasanth

  • Error message while loading data from data mart

    Please can some one help on this.
    While loading data from one cube to another (I am actually creating a backup of original cube) for 1 record I am getting the error message " internal error occured with time split" The long text of error message says Message no. RSAU101

    Take a look at this thread:
    Internal error occured with time split
    Hope it helps,
    Gilad

  • Some installation files are corrupt. Please download a fresh copy and retry

    Hello,
    I have installed BusinessObjects XI 4 SP02 on server 2008 R2. BO Client tools with sp02 and Patch 8 is also installed.
    When tried to install BO Server patch 8 (ENTERPRISE02P_8-10009484) I get this error;
    "Some installation files are corrupted. Please download a fresh copy and retry the installation."
    while unzipping, WinRAR window throws below message in red;
    CRC failed in dunit
    \crystalreports.boe.clientactions.java.webpath_bundle-4.0-core-64\content.cab
    I have tried twice with fresh copy downloaded on same server and still can't pass this error.
    Loading latest patch such as patch 10 is last option since all client machines here are on patch 8.
    Has anyone seen this behavior?

    Hi,
    I'm installing an updated version of Dashboard Design (SP04 Patch 0 - includes FP3). However, during the extraction of the installation file, I get the following message :
    "Some installation files are corrupt.
    Please download a fresh copy and retry the installation."
    I tried to download the application again from SAP Service MarketPlace but the same message rises during installation.
    The downloaded file is XCELSIUSENT04_0-20006661.exe
    Did anyone manage to correclty install this version ?
    Thanks for your feedback.
    Hecham

  • Downloading data from internal table to xls file leading zeros are not disp

    Hai abap gurus,
    when i am downloading data from internal table to excle file. some field values in a column are with leading zeros and some others dont have leading zeros.but in the output it is showing without leading zeros. then how to get with exact values.
    Ex:
    <b>ECC Code.</b>
    045234
      88567
    098456 
    but output is giving like this:
    45234
    88567
    98456
    how to get the actual values.....
    plz help me in this matter.

    Dear Kiran,
    Those field in the internal table having Leading Zeroes, make those fields' datatype as character.
    Then use the function module to download the content of the internal table to the excel file.
    Regards,
    Abir
    Don't forget to Reward Points  *

  • Error occurred while downloading files from Administration Server...

    Hi guys,
    If i already have my application deployed and exploded in ../tmp/_WL_user , when I restart the managed server it will try to download again the files from the upload directory in the Administration Servers? (I'm using stage mode).
    Sometimes I got the following error:
    Caused By: java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from Administration Server for deployment request "0". Underlying error is: "null"
    and I already have the war exploded in /tmp/_WL_user
    the staging mode is not only for the first deployment? when i don't have the war exploded in /tmp/_WL_user?
    I've some confusion related to the process or deployment/startup of the managed servers.
    Thanks

    Hi,
    when you get following error * DeploymentService:290066 * then that means
    A service on the machine is preventing the WebLogic Server remote instance from downloading the configuration file. This can be Hosts Intrusion Prevention (HIPS) agents or any other agent causing this issue.
    Disable the agent interfering with the download process to fix this issue.
    Regards,
    Kal

  • Transaction Aborted Exceptions are seen when service downloading data

    Hi,
    We are getting two different types of exceptions while one service trying to download data from another service
    There are two scenarios where we are getting these transaction exceptions that are seen when client's service downloads data from server's service.
    1. The first kind of transaction exception is seen when service is trying to send the message to messaging queue in the InitialReceiveNext() method. The queue.send method throws this exception and the stack trace is as mentioned below:
    04 Jun 2014 19:16:12,805 [BridgeExchanger] TRACE - Sending queue message 00000000-0000-0000-0000-000000000000\0 to queue private$\msgqueue
    04 Jun 2014 19:16:12,806 [ClientBridgeEndpoint] ERROR - Error occurred during Receive!
    System.Transactions.TransactionException: The operation is not valid for the state of the transaction. ---> System.TimeoutException: Transaction Timeout
    — End of inner exception stack trace —
    at System.Transactions.TransactionState.Promote(InternalTransaction tx)
    at System.Transactions.Transaction.Promote()
    at System.Transactions.TransactionInterop.ConvertToOletxTransaction(Transaction transaction)
    at System.Transactions.TransactionInterop.GetDtcTransaction(Transaction transaction)
    at System.Messaging.MessageQueue.StaleSafeSendMessage(MQPROPS properties, IntPtr transaction)
    at System.Messaging.MessageQueue.SendInternal(Object obj, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType)
    at CI.Platform.Bus.Bridge.Client.BridgeExchanger.InitialReceiveNext(DownloadEndpoint endpoint)
    at CI.Platform.Bus.Bridge.Client.BridgeExchanger.ReceiveNext()
    at CI.Platform.Bus.Bridge.Client.ClientBridgeEndpoint.Exchange(Object state)
    2. The second kind of exception is seen at the transaction.complete statement in the InitialReceiveNext() method. The stack trace is as shown below:
    04 Jun 2014 23:15:59,152 [BridgeExchanger] DEBUG - Skipping the download message as the message is already downloaded..No new message is added to queue private$\msgqueue
    04 Jun 2014 23:15:59,153 [ClientBridgeEndpoint] ERROR - Error occurred during Receive!
    System.Transactions.TransactionAbortedException: The transaction has aborted. ---> System.TimeoutException: Transaction Timeout
    — End of inner exception stack trace —
    at System.Transactions.TransactionStateAborted.BeginCommit(InternalTransaction tx, Boolean asyncCommit, AsyncCallback asyncCallback, Object asyncState)
    at System.Transactions.CommittableTransaction.Commit()
    at System.Transactions.TransactionScope.InternalDispose()
    at System.Transactions.TransactionScope.Dispose()
    at CI.Platform.Bus.Bridge.Client.BridgeExchanger.InitialReceiveNext(DownloadEndpoint endpoint)
    at CI.Platform.Bus.Bridge.Client.BridgeExchanger.ReceiveNext()
    at CI.Platform.Bus.Bridge.Client.ClientBridgeEndpoint.Exchange(Object state)
    If anybody has any insight please reply.
    Thanks in advance!!!

    Hello,
    Your two questions are both related to MSMQ forum. Please post threads on that forum for more effective response. Please refer to
    http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?forum=msmq. Thank you for understanding.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error while copying data from infoprovider to planning area

    Hi,
    Error for COM routine using application program (return code 40,075)
    Message no. /SAPAPO/OM102
    Diagnosis
    An application program has called a COM routine. During the process, an error occurred.
    I got the above error while copying data from infoprovider to planning area using t code TSCUBE.
    How to resolve this?

    Hi,
    Is your issue resolved, If not please run MPOS consistency checks, Planning area consistency check and livecache consistency check.
    Below are the programs for the same.
    /SAPAPO/TS_lcm_cons_check
    /SAPAPO/TS_PSTRU_TOOL
    /SAPAPO/TS_PSTRU_CONS_CHECK
    Regards
    Kishore

  • Random Records are being skipped while uploading data in PSA from CSV File

    Hi Experts,
    I am facing issue in data uploading in PSA through CSV file, Random Records are being skipped while uploading data in PSA.
    First Load
    We have flat file (.txt in CSV format), which contains 380240 Records.
    We are uploading the flat file data into PSA from Application Server. But it uploads Only 380235 records, 5 Records are being skipped.
    Second Load
    We have re-generated same file next day, which contains same No of Records (380240), but this time it uploads Only 380233 records, 7 Records are being skipped.
    We found 1 skipped record (based on key columns combination, by cross verifying from source and PSA table) from First load. But same records (combination of key column) is available in second load. It means same records are not being skipped every time.
    Earlier (5 months ago) , We have loaded 641190 Records from flat file in same PSA and all records (641190) were uploaded successfully.
    There is no change is Source, PSA and flat file structure.
    Thanks & Regards
    Bijendra

    Hi Bijendra,
        Please check in the file if at the begining if it has got any excape sign then that record may be skipped so the records may be mssing
    Please check the excape sign like ; if they are present at the beginign that recor entirely will be skipped.
    Regards
    vamsi

Maybe you are looking for

  • Computer no longer connects to router automactically, please help!

    I have a linksys router wrt54gs version 6 and a dell laptop with a dell wireless card 130 WLAN Mini-PCI Card and windows xp.  I've had my router since about april and everything seemed to be working correctly until last week, my computer just stopped

  • Drawing with an Arrow Symbol

    I want to draw a curving, curling path of cursor arrows, all following one another in "single file" in the same direction, from one end of the path to the other. How can I do this?

  • Trouble Booting to Ubuntu Live USB on T440

    Hey, I am having trouble booting to a Ubuntu Live USB on my T440. I turn on the laptop, press enter to interrupt the normal boot, and press F12 to select another boot option. But after selecting the appropritate USB, the screen goes black for a coupl

  • How to represent an average column of mean scores (concern is making an average of an average)

    One number is needed to represent this group; what fomula is best?? 4.26 4.42 4.29 4.46 4.51 4.29 4.40 4.49 4.46 4.51 Cautious about making an average of an average, but Need to create one number representing these mean scores. What fomula is ideal??

  • BEx - I can not see ODS object

    Hi Folks, I think I have a silly problem but I do not find the solution. I created a query for an ODS in DEV and then I migrated it to Production. The problem is when try to open the query in the Bex in production I can not see the ODS so neither the