Change output codepage of BACS files

Hi All,
I am smoothing out BACS processing methods and notice that part of the job here is to open the BACS files produced by SAP and resave the file as ANSII encoding from unicode (the files are saved to the App server as opposed to temse). this is because our BACS-tel software cannot read unicode.
Is there a codepage method for ANSII built in to SAP? i have had a look around OBPM3 and have noticed that there is no value in the "code page" field. I assume it is just using 4102 by default?
If i can switch the format to output straight in to ANSII i will be a very happy man!!
Many thanks

Hi,
you can convert data with the help of the following tools:
1) SAP note 747615  Tool for converting files from one code page to another
2) SAP note 752859 sapiconv - a tool for converting the encoding of files
3)  Class CL_ABAP_CONV_X2X_CE
Best regards,
Nils Buerckel
SAP AG

Similar Messages

  • How to write the code to send the report output to the local file.

    dear all,
    how to write the code to send the report output to the local file.
    Thanks & Regards,
    Jyothi.

    Hi,
    Try this , it will display report and download the file as well. Just vhange the path and execute
    TYPE-POOLS : SLIS.
    DATA : IT_SCARR TYPE TABLE OF SCARR,
           IT_FCAT  TYPE SLIS_T_FIELDCAT_ALV.
    SELECT *
    FROM SCARR
    INTO TABLE IT_SCARR.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    *   I_PROGRAM_NAME               =
    *   I_INTERNAL_TABNAME           =
        I_STRUCTURE_NAME             = 'SCARR'
    *   I_CLIENT_NEVER_DISPLAY       = 'X'
    *   I_INCLNAME                   =
    *   I_BYPASSING_BUFFER           =
    *   I_BUFFER_ACTIVE              =
      CHANGING
        CT_FIELDCAT                  = IT_FCAT
    * EXCEPTIONS
    *   INCONSISTENT_INTERFACE       = 1
    *   PROGRAM_ERROR                = 2
    *   OTHERS                       = 3
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    *   I_INTERFACE_CHECK              = ' '
    *   I_BYPASSING_BUFFER             =
    *   I_BUFFER_ACTIVE                = ' '
    *   I_CALLBACK_PROGRAM             = ' '
    *   I_CALLBACK_PF_STATUS_SET       = ' '
    *   I_CALLBACK_USER_COMMAND        = ' '
    *   I_STRUCTURE_NAME               =
    *   IS_LAYOUT                      =
       IT_FIELDCAT                    = IT_FCAT
    *   IT_EXCLUDING                   =
    *   IT_SPECIAL_GROUPS              =
    *   IT_SORT                        =
    *   IT_FILTER                      =
    *   IS_SEL_HIDE                    =
    *   I_DEFAULT                      = 'X'
    *   I_SAVE                         = ' '
    *   IS_VARIANT                     =
    *   IT_EVENTS                      =
    *   IT_EVENT_EXIT                  =
    *   IS_PRINT                       =
    *   IS_REPREP_ID                   =
    *   I_SCREEN_START_COLUMN          = 0
    *   I_SCREEN_START_LINE            = 0
    *   I_SCREEN_END_COLUMN            = 0
    *   I_SCREEN_END_LINE              = 0
    *   IR_SALV_LIST_ADAPTER           =
    *   IT_EXCEPT_QINFO                =
    *   I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER        =
    *   ES_EXIT_CAUSED_BY_USER         =
      TABLES
        T_OUTTAB                       = IT_SCARR
    * EXCEPTIONS
    *   PROGRAM_ERROR                  = 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.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
      EXPORTING
    *    BIN_FILESIZE              =
        FILENAME                  = 'C:\Documents and Settings\sap\Desktop\Hi.xls' " Change path
    *    FILETYPE                  = 'ASC'
    *    APPEND                    = SPACE
    *    WRITE_FIELD_SEPARATOR     = SPACE
    *    HEADER                    = '00'
    *    TRUNC_TRAILING_BLANKS     = SPACE
    *    WRITE_LF                  = 'X'
    *    COL_SELECT                = SPACE
    *    COL_SELECT_MASK           = SPACE
    *    DAT_MODE                  = SPACE
    *    CONFIRM_OVERWRITE         = SPACE
    *    NO_AUTH_CHECK             = SPACE
    *    CODEPAGE                  = SPACE
    *    IGNORE_CERR               = ABAP_TRUE
    *    REPLACEMENT               = '#'
    *    WRITE_BOM                 = SPACE
    *    TRUNC_TRAILING_BLANKS_EOL = 'X'
    *  IMPORTING
    *    FILELENGTH                =
      CHANGING
        DATA_TAB                  = IT_SCARR
    *  EXCEPTIONS
    *    FILE_WRITE_ERROR          = 1
    *    NO_BATCH                  = 2
    *    GUI_REFUSE_FILETRANSFER   = 3
    *    INVALID_TYPE              = 4
    *    NO_AUTHORITY              = 5
    *    UNKNOWN_ERROR             = 6
    *    HEADER_NOT_ALLOWED        = 7
    *    SEPARATOR_NOT_ALLOWED     = 8
    *    FILESIZE_NOT_ALLOWED      = 9
    *    HEADER_TOO_LONG           = 10
    *    DP_ERROR_CREATE           = 11
    *    DP_ERROR_SEND             = 12
    *    DP_ERROR_WRITE            = 13
    *    UNKNOWN_DP_ERROR          = 14
    *    ACCESS_DENIED             = 15
    *    DP_OUT_OF_MEMORY          = 16
    *    DISK_FULL                 = 17
    *    DP_TIMEOUT                = 18
    *    FILE_NOT_FOUND            = 19
    *    DATAPROVIDER_EXCEPTION    = 20
    *    CONTROL_FLUSH_ERROR       = 21
    *    NOT_SUPPORTED_BY_GUI      = 22
    *    ERROR_NO_GUI              = 23
    *    others                    = 24
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
      EXPORTING
        DOCUMENT               = 'C:\Documents and Settings\sap\Desktop\Hi.xls' "Change path
    *    APPLICATION            =
    *    PARAMETER              =
    *    DEFAULT_DIRECTORY      =
    *    MAXIMIZED              =
    *    MINIMIZED              =
    *    SYNCHRONOUS            =
    *    OPERATION              = 'OPEN'
    *  EXCEPTIONS
    *    CNTL_ERROR             = 1
    *    ERROR_NO_GUI           = 2
    *    BAD_PARAMETER          = 3
    *    FILE_NOT_FOUND         = 4
    *    PATH_NOT_FOUND         = 5
    *    FILE_EXTENSION_UNKNOWN = 6
    *    ERROR_EXECUTE_FAILED   = 7
    *    SYNCHRONOUS_FAILED     = 8
    *    NOT_SUPPORTED_BY_GUI   = 9
    *    others                 = 10
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • PP CS5 - handling and output of h264 (DSLR) files?

    Hi all, new to PP (Mac OS 10.6.8, MacPro 1,1, 10 gig ram, RAID5 eSATA).  Starting to work with my copy of CS5, beginning the evaluation process to migrate from FCP7.
    I have a couple of questions about using DSLR native h264 files directly in the timeline.
    I've got a sequence, about 1 hour in length, of all the camera original files strung together.  While I'm reviewing, watching, etc., I notice a little progress bar in the lower right corner that keeps telling me PP is "conforming MVI_xxxx".  What is it doing?  As a bit of explanation, you may or may not know that h264s are verboten in FCP7, and I generally transcode them to ProRes for edit.  One of my attractions for switching to PP is that I'm attracted to using h264 natively, but wonder if it's truly an efficient way to edit?
    Secondly...I have the finished stringout sequence, and now I want to output it to a file so my client can review the raw footage.  My initial test last night sucked...it took a bit over 8 hours to export a rather large (2.4 gig, 872x540 - though I'd set MediaEncoder to export a 960x540 field) h264 movie...which seems like maybe it was re-encoding my h264 files?
    In the FCP world, I would have:
    a) transcoded the h264 to ProRes (or whatever I was editing in) previous to edit;
    b) created my stringout sequence;
    c) exported a reference movie (quick, easy);
    d) encoded using Squeeze, Flip-4-Mac or Compressor
    So how do I do these steps, or something approximating them, in PP CS5?

    Yes that is fine. Premiere needs to conform certain files in order to give proper playback.
    Best not to start editing before conforming is done.
    One on the reasons I can think of its taking so long is you changed the resolution on export, it has to scale the footage (assuming the original is HD)
    And CS5 is a relative old version of Premiere it only supports Nvidia videocard to enable CUDA even with the hack,.

  • What is the best HD output format for .MTS files?

    Hi guys,
    I'm in trouble with .MTS files taken from a Sony videocam.
    Everything works and I get my final movie in mpeg2 (or H.264) Blu-ray and the final BDisk looks pretty.
    But a friend of mine has edited some of these clips with Sony Vegas and his video is more definited than mine.
    I tried in many ways to change some output settings like "same as source HD" or changing bitrates, GOP, VBR (single or double) in HD 1080i setting (yes, the clips are interlaced)........... but my final results are everytime less definited than Sony does with just a (bloody) default setting.
    Any idea to improve the output quality of these files?
    Thanks in advance
    Giorgio

    Hi Bill,
    nice to hear you.
    Unfortunately these tips have not given me an help.
    My way of doing is:
    Check the input files (format, interlaced or progressive, bitrate, framerate, fields, pixel, extension name etc.....) with MediaInfo.
    Open the proper Premiere project (in this case AVCHD 1080i square pixel)
    Edit and output using Mpeg2 Blu-ray  or H.264 Blu-ray using the best settings I can..
    In this case I've tried ALSO to output a movie as much as possible similar to the input format, looking at the GOP also (premiere gives as default  M3 N15, but the source is M2 N13): no way indeed!!!!
    My fear is that Pr doesn't hold .MTS files properly as Vegas does.
    Strange: Vegas is a Sony product as the videocam I've taken the files from.
    I hope I'm doing something wrong but I'm afraid I had to edit this files with Vegas.
    Tell me I'm wrong, please
    Giorgio

  • Import settings - changing output format

    When importing CDs to itunes, the filenames that are created are in the format "Track number Song title.mp3", such as "03 Roxanne.mp3". Is there a way to change the output so that the file name would be "Artist - Track number - Song title.mp3", such as "The Police - 03 - Roxanne.mp3"? Thanks.

    The iTunes ripping capability unfortunately offers no flexibility in file naming. Sorry. However, you can rip with another tool and add the resulting files to your iTunes library, and the filenames will remain.

  • Cant change words in my pdf file??

    why cant I  change words in my pdf file? it takes me to another page to convert files to word only and the wrong files I might add

    As PDF is not a word processing file format applications that work PDF cannot perform word processing activity.
    What can be done when using Acrobat XI is the touchup of characters and character strings.
    However if the PDF content is the output image of scanner that content is an image / a picture of text.
    To work images / pictures you'd use a photo editor (such as Photoshop Elements or such).
    You fail to specify what application you are using (Acrobat XI or Adobe Reader XI).
    If you have Acrobat you can perform OCR using Acrobat's ClearScan. The output of ClearScan OCR lends itself to doing "touchups".
    If you have Acrobat you can export the OCR output to a Word file. Needed / desired cleanup can be done using Word.
    If you have Adobe Reader you cannot modify PDF page content, create PDF or export PDF page content.
    With this situation you'd want to be subscribed to one of Adobe's online subscription services.
    There is ExportPDF and PDF Pack. With either you can go to the service's web site, sign in and then upload the PDF for processing.
    If the PDF content needs OCR you'd direct the service to do that.
    The output is a Word file. You'd for sure have to cleanup the Word file but that'd be standard word processing.
    Be well...

  • Codepage of .hql file in New-AzureHDInsightHiveJobDefinition -File makes a difference

    Put the following contents into a myquery.hql file:
    dfs -copyToLocal /HiveQL/myparameters.hql ;
    source myparameters.hql;
    select * from dim_date where DATE = "${hivevar:beginDate}";
    If you save that .hql file as ANSI, then then the following succeeds. If you save it as UTF8, then the following fails with an error:
    FAILED: ParseException line 1:3 cannot recognize input near 'dfs' '-' 'copyToLocal'
    Here's the PowerShell to run that .hql file.
    $hiveJobDefinition = New-AzureHDInsightHiveJobDefinition -File "/HiveQL/myquery.hql"
    $hiveJobStarted = Start-AzureHDInsightJob -Cluster $appSettings["ClusterName"] -JobDefinition $hiveJobDefinition
    $hiveJobFinished = Wait-AzureHDInsightJob -Job $hiveJobStarted -WaitTimeoutInSeconds 86400
    $stdOut = Get-AzureHDInsightJobOutput -Cluster $appSettings["ClusterName"] -JobId $hiveJobStarted.JobId -StandardOutput
    $stdErr = Get-AzureHDInsightJobOutput -Cluster $appSettings["ClusterName"] -JobId $hiveJobStarted.JobId -StandardError
    Any idea why something so simple as the codepage of the file breaks this? Is it documented anywhere? Is this a bug? Can it be fixed?
    http://artisconsulting.com/Blogs/GregGalloway

    Maheshwar-
    Using the HDInsight tools for Visual Studio 2013, when I create a new Hive Query file, it creates it as UTF8. I don't know if there's a Visual Studio setting to change that or not. Then when I upload that to blob storage (with any Azure storage management
    tool which will just preserve the codepage of the file you upload) and run it using
    New-AzureHDInsightHiveJobDefinition it fails. Changing that file to ANSI before upload will work when run via
    New-AzureHDInsightHiveJobDefinition.
    Yes, that hive query succeeds if run from the Query Console website. Since I'm pasting in the query, I don't think codepage comes into play. It also succeed if I submit it from the HDInsight tools for Visual Studio because I believe those tools convert
    it to ANSI before upload from what I've been able to trace with Fiddler.
    I confirm it's UTF8 not UTF32 or UTF16. I haven't tried those to see if they fail.
    Thanks,
    Greg
    http://artisconsulting.com/Blogs/GregGalloway

  • I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings?

    I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings? Please help. Thanks.

    You should have asked this before you tried: Changing username or short name- User Account and Short Name- OS X- How to change user account name or home directory name.

  • Not able to save report output in a text file and RTF file

    I am using Oracle Developer6.0 . I am facing problem with reports. I am invoking reports from form using run_product.
    1. I could not able to save the report in text file . Whenever i try to save the report output in a text file.It gives dump and application get closed.
    2. In RTF format , it execute the query which i have given at the design time while creating a report . But while running i am passing query either through lexical parameter or passing value of where criteria user parameters. It display the output for the specified value. But when i save this report output in rtf file . It execute design time query and save that in a rtf file.
    If any body is having any idea about it . Please let me ASAP . It is very urgent for me.
    Thanks in advance

    Try the following:
    Do not generate the report to .rep file, but rename/copy the .rdf file to .rep file and execute it.

  • How can I change Output Method and Mailbox# programmatically (without GUI)?

    We have several iR5075s and about 300 workplaces. For security reasons we only allow "Store" output method. So every user has access to some printers and for every printer they need to reconfigure printing preferences.
    For convenience we'd like to do the following automatically (via Group Policy or scripts):
    1) Change "Output Method" to "Store".
    2) Set the correct mailbox number.
    The problem is that the related settings seem to be stored in registry as a binary blob (HKCU\Printers\Connections\<printer name>\DevMode). I've been searching for a while but I couldn't find anything that would explain what's what in that blob.
    Any clues?
    Or maybe there's another way?
    P.S. I'm familiar with scripting, regular expressions, etc. Acquiring the necessary parameters (such as mailbox#) is not a problem at all. I only need to know where and what I should change (in registry or elsewhere).
    [Edit] Update: Actually it seems the settings are stored in HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider\<user sid>\Printers\Connections\,,<server name>,<printer name>\RemotePrinterCache. It's also a binary blob though.
    Eventually I'll reverse engineer it enough for my goals. I just don't understand why it must be so complicated...

    https://mega.co.nz/#!5QQWmaTI!cryW-pykueRNffdDYnj1OpxiHgG0mcAqLOh4Gmt2PJk
    But I'm not sure how useful you'll find it. I wrote it as a temporary solution (we're now migrating to UniFlow) and it's anything but universal. At best, I guess, you'll be able to salvage some of my code while writing your own.

  • Error message by periodic weekly: No output from the 1 file processed

    Hi there,
    since four weeks, I got a problem with the maintenance script periodic weekly. Up to December 22nd, the script did, what it should do: rebuilding the database of locate and whatis, rotating log-files. Since one week later, I got the error message: No output from the 1 file processed.
    Normally, I use Anacron to do the job. When I noticed the problem, I tried to start the script with Tinker Tool System getting the same result. Another try using the Terminal (sudo periodic weekly) also failed. The commands locate and whatis are working, locate.updatedb and makewhatis also. I'm running 10.4.8; in the past, I did not have such problems. Anyone with an idea or solution?
    Thanks
    Klaus
    MacBook Pro   Mac OS X (10.4.8)  

    Hi Gary,
    here is the output you were asking for:
    Last login: Thu Jan 25 20:03:55 on console
    Welcome to Darwin!
    DeepThought:~ dirk$ sudo /private/etc/periodic/weekly/500.weekly; echo $?
    Password:
    Sorry, try again.
    Password:
    Rebuilding locate database:
    Rebuilding whatis database:
    find: /usr/local/man: No such file or directory
    makewhatis: /usr/share/man/man1/fetchmailconf.1.gz: No such file or directory
    Rotating log files: ftp.log lpr.log mail.log netinfo.log ipfw.log ppp.log secure.log
    access_log error_log
    Running weekly.local:
    Rotating psync log files:/etc/weekly.local: line 17: syntax error near unexpected token `)'
    /etc/weekly.local: line 17: `if [ -f /var/run/syslog.pid ]; then kill -HUP 0 80 79 81 0cat /var/run/syslog.pid | head -1); fi'
    2
    DeepThought:~ dirk$ ls -loe /private/etc/periodic/weekly/500.weekly
    -r-xr-xr-x 1 root wheel - 2532 Jan 13 2006 /private/etc/periodic/weekly/500.weekly
    DeepThought:~ dirk$
    It seems, Rogers idea, PsynX respectively the deficient uninstalling by me is responsible for my problems, is correct. Should I remove the whole file weekly.local or should I only remove the content? I prefer removing the whole file, because it was created while installing PsyncX. The date of creation is the same as the date of installing the app (December 25).
    Klaus
    By the way: it seems to me, the solution of my problem is in sight. So I want to thank you all for the amazing aid I got from you!

  • Issue with PO change output - Service line items

    Hi All,
    This is issue with PO change output. We have PO with line item 10, 20 and item 10 has 4 service line items. PO is approved and initial print out is taken.
    Some one goes and makes changes to 1st service line items of PO line item 10.
    A change output gets triggered. When this output is printed, it prints line item 10 details. This is standard functionality as this item is changed. But its printing all the service line items for this PO line item. Consider a case where there are 3000 service lines for a PO item. If I add 1 service item to this PO line item, the change form prints 3001 services for that line item. There were no changes done to first 3000 service line items.
    Currently PO change form takes care of changes at PO line item but it does not take care of changes at service line item level.
    Is there any setting that needs to be done for this so that it only considers the changes at Service line item level also.
    Regards,
    Shahu

    If you're using a standard form, send a message to SAP. Otherwise make a change in the form.

  • Changes in server side java file not reflecting in Client side java code?

    Hi friends,
    iam using eclipse IDE, JBoss server, SWING GUI and Oracle DB
    ( looks like : SWINGGUI (Client) <--> EJB's (serverside) <---oracle )
    my problem is , when i make change in server side bean file, that changes are not reflecting in GUI programs.
    (for ex: iam adding settr and getter for a field and using that in GUI program. but its not identifying that setter or getter).
    please tell me what should i do for every change done to server side program, that should reflect / available to GUI?

    my problem is , when i make change in server side bean file, that changes are not reflecting in GUI programs.
    (for ex: iam adding settr and getter for a field and using that in GUI program. but its not identifying that setter or getter).what do you mean it's not "identifying" the methods?
    you have to call those methods you know
    are you getting NoSuchMethodError?
    please tell me what should i do for every change done to server side program, that should reflect / available to GUI?you haven't posted any code or error messages that might help us debug

  • Existing cross Reference: how to change the name of the file it refers to?

    Hi everybody,
    I am a professional translator.
    One client of mine sent me a complete FrameMaker 9 book file for translation.
    I translated the content via a CAT-Tool and now am in the process of checking if cross references and markers are ok directly into the file.
    I noticed that many cross references are linked to another file of the book. But in the process of translating each file separately, I gave them a slightly different name (I added the language at the end) so as to be able to recognise them eventually.
    Now I have this problem: I cannot find in the cross reference interface where to change the name of the file into the new one the cross reference is supposed to refer to.
    Am I right in wanting to change the file reference? If so, how do I do that?
    Or is it better to avoid this task and rename the translated file into their original names ? Would it work then?
    Thanks for your help.

    ... book file ...
    ...  each file separately, I gave  them a slightly different name (I added the language at the end) ...
    I'm guessing that you renamed the component files by means other than using the Edit > Rename File from the Book menu.
    If so, do over. Rename from the Book menu. It automatically revises all the cross-references in all the component files.
    In a Book, the only thing that's safe to rename with the file manager is the .book file itself.

  • How do I know if time machine is backing up my apple mail? I need to have copies of all of my emails, so there I have a lot of mail files. I was told that if I change computers, that the mail files will all be on time machine. Is this true? Thanks, Dave

    Is there a way to verify  if time machine is backing up my apple mail?  I was told that if I change computers, that the mail files will all be on time machine and can be easily be put on a new computer using my time machine backups.  Is this true? Thanks, Dave

    Having deleted some Mail messages by mistake, I have had to recover them from TM. I can tell you that the recovery of mail messages will be done at the mailbox level. In my case it was half of the messages in a mailbox. So I recovered the complete mailbox from TM. Then I copied the messages from the recovered mailbox back into the mailbox I use in Mail. I hope that helps.
    Please be aware that TM is a backup application and not an archival application. What that means is that if your TM drive gets full, it will get rid of older files which could be mail messages to make space for newer backups. You might want to consider archiving your mail instead of using TM if you need to maintain your mail messages for extended periods of time.
    Allan

Maybe you are looking for