Creating text file for upload to bank

Post Author: kevin belyea
CA Forum: General
I'm creating a .rpt that requires specific formatting to be uploaded into banking software for automatic payment processing. There are a couple of specifics that I've been stumbling on. Here they are:
1. I need to remove  the leading $ from a string. The string is displaying as $0000002233 which is correctly stated as a 10-character filed for the amount of $22.33
2. Any idea on how to format a julian date? For example today's date would be displayed as 07282  (2007 282/365)
Any help for this new poster would be appreciated.
Kevin

Post Author: kevin belyea
CA Forum: General
Thanks for the quick reply.
The first solution worked great. - Thanks
The second solution worked partially in that it returned the following value 00282. I would like to pickup the last two digits of the year (07). It looks like it is picking up the middle two characters. I tried a couple of variations of the formula but no luck. Any suggestions?
Kevin

Similar Messages

  • Error while uploading standard text files for the Global rule set

    Hi all,
    As part of Post Installation Activities we have uploaded standard text files for business process, functions, risks and rule set obtained with the installable Software.
    While uploading the text files we have uploaded the Basis Functions Authorizations first and then R/3 text files.
    When we checked no actions are appearing in the rule architect under respective functions except for the BASIS Module.
    Is this because we have uploaded the Basis functions before the R/3 text files?If yes, how to replace the Basis with the R/3 ones.
    We tried to replace the Basis function authorizations by re-uploading the R/3 text files again but we got the below error message u201CORA-00001:unique constraint (SAPSR3DB.SYS_C004479) violatedu201D
    Can somebody please help in this regard how to get the standard rule set in our system?
    Thanks and Best Regards,
    Srihari.K

    Hi Sri,
    you should upload first the static text files and the authorization objects first and then the GRC standard rule set files following the instructions of the SAP Configuration Guide available in Service Market Place under http://service.sap.com/instguides .
    The GRC standard rule set contains files named Basis_functions_action.txt and R3_function_action.txt. The first one contains ONLY function definitions in terms of transcation codes for basis only, whereas the second one contains functions definition for basis AND ERP modules. The same holds for the *_function_permission.txt files. There are also function definition files for other SAP solutions such as APO, CRM, HR  etc.
    You can open a customer message and request a deletion script for the rule sets files you have uploaded already. After their application of this script all rule set data will be deleted from your database. If you have uploaded static text and authorization files correctly, you can then upload the GRC standard rule set files as needed again.
    best regards,
    Frank

  • Creating text file from table

    Hi all
    I have a table LFA1 with headers LIFNR, MANDT, NAME1, NAME2, ...., . That table contains data and I need to create text file that collects all headers with all data, where each field is separated by TAB.
    thanks for your help.

    Here is program for KNA1.
    *"Table declarations...................................................
    tables:
      kna1.                              " General Data in Customer Master
    *"Selection screen elements............................................
    select-options:
      s_kunnr for kna1-kunnr.            " Customer Number 1
    *" Type declarations...................................................
    types:
      begin of type_s_customer_details,
        name        like kna1-kunnr,
        address     like kna1-adrnr,
        title       like kna1-anred,
        createdon   like kna1-erdat,
        createdby   like kna1-ernam,
      end of type_s_customer_details.
    Internal table to hold General Data in Customer Master data         *
    data:
      t_customer_details type table
                           of type_s_customer_details
                         with header line.
                          START-OF-SELECTION EVENT                      *
    start-of-selection.
      perform select.
    *&      Form  select
    This subroutine selects information from database and exports the    *
    data into presentation layer                                         *
    There are no interface parameters to be passed to this subroutine.  *
    form select .
      select kunnr
              adrnr
              anred
              erdat
              ernam
         into table t_customer_details
         from kna1
        where kunnr in s_kunnr.
      if sy-subrc ne 0.
        write : / 'DATABASE SELECTION FAILED'.
      else.
        call function 'GUI_DOWNLOAD'
          exporting
      BIN_FILESIZE                    =
           filename                        = 'd:\customer_details.txt'
           filetype                        = 'ASC'
      APPEND                          = ' '
      WRITE_FIELD_SEPARATOR           = ' '
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
    IMPORTING
      FILELENGTH                      =
          tables
            data_tab                        = t_customer_details
      FIELDNAMES                      =
         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
           others                          = 22
        if sy-subrc <> 0.
          write : / 'Upload Failed' , sy-subrc.
        else.
          write : / 'Upload Completed'.
        endif.
      endif.
    endform.                               " SELECT

  • I am getting error while creating Control file for a fla file upoad in HANA

    Hi Experts,
    I am getting the following error when I try to create crtrol file for a flat file extraction in SAP HANA.
    Could not execute 'import data into table P935718."COPATBL" from 'COPATBL.csv' record delimited by '\n' fields ...'
    SAP DBTech JDBC: [257] (at 14): sql syntax error: incorrect syntax near "into": line 2 col 1 (at pos 14)
    Here is the code I have used to create control file after I creating the table.
    import data
    into table P935718."COPATBL"
    from 'COPATBL.csv'
        record delimited by '\n'
        fields delimited by ','
        optionally enclosed by '"'
    error log 'P935718.COPATBL.err'
    p935718 is my user ID, COPATBL is my table created, COPABL.CSV is a flat file.
    Please help me in this regard.
    Thanks,
    Guna

    Hello,
    guessing from the error message it looks that you are trying to execute "import data" as SQL command.
    Please note that import data is NOT SQL command but it is syntax for control file. You need to create file with this syntax on server and then use command: IMPORT FROM '/<path>/<filename>.ctl'
    In a shortcut:
    1.- create comma separated CSV file with your data - <source cvs>.csv
    2.- upload CVS file to HANA server
    3.- create the control file <filename>.ctl:
    import data
    into table <schema>."<table name>"
    from '<source cvs>.csv'
    record delimited by '
    fields delimited by ','
    optionally enclosed by '"'
    error log '<file name>.err'
    4.- execute command:
    IMPORT FROM '/<path>/<filename>.ctl'
    Please check following threads:
    How to load CSV files into HANA
    Will HANA supports Bulkload
    Tomas

  • Problem in creating text file from report file

    Hello Everybody...
    I have problem in creating text file.
    I had set System Parameter as below
    DESTYPE : File
    MODE : Character
    DESNAME : gayu.txt
    And ruler setting
    Units : Character Cells
    Character Cell Size : Horiziontal = 7
    Vertiacle =12
    GridSpacing : 1
    no of snap points per grid spacing : 1
    but when i run report it will give error
    "REP_1219 M_2 or R_2 has no size -- length or width zero"
    so is there any solution of that
    or another way to convert report into text file?....

    Hi Folks,
    Please don't go after that Error as its a very deceptive one. Please don't go for altering your design Or changing the size of items in your layout.
    Similar errors I have come across in reports. I think its due to file transfer type. You might have transferred the file in Binary and your File Mode I am seeing it as CHAR.
    This normally happens while making the Report Format as "Text". Either you change that format which I think is possible in your case as your basic requirement is making a report output of CHAR type.
    Please check for this error in Metalink and proceed accordingly. I could fix similar errors when I changed Format type to PDF(from text).
    Regards
    Shibu

  • Cannot create text file acrobat reader X

    Hi,
    I am trying to create a text file for logging purposes. The creation of the text file works fine in Reader 8 & 9, but not in Reader X. I am just putting the file in the current directory of the pdf (for now on the Desktop), so it should have access/privileges to create the file.
          ASFile pFile;
       ASPathName volatile PathName = NULL;
       PathName = ASFileSysCreatePathName(ASGetDefaultFileSys(), ASAtomFromString("Cstring"), "testA.txt", 0);
       if (!PathName)
         ASRaise (ASFileError(fileErrOpenFailed));
       AVAlertNote("A");
       ASInt32  ret1 = ASFileSysOpenFile(NULL, PathName, ASFILE_CREATE|ASFILE_WRITE, (ASFile*)&pFile);
       if (ret1 != 0)
          AVAlertNote("A1");
          char  buf[33];
          sprintf(buf,"error %d",ret1);
          AVAlertNote(buf);
          return 0;
       AVAlertNote("B");
    In reader X the alert sequence is:
    "A" -> "A1" -> "error 1074593797"
    Instead of just "A" -> "B"
    Any help would be appreciated.
    Regards,
    Magda

    You need to read up on the new Sandbox in Reader X.

  • How to create text file of report in 10g

    Hi,
    I want to create text file of report in character mode and print that text file, without view it on screen.
    i want to do this in Oracle developer 10g and run this report on web.
    what coading i required to do for this pls. help me.

    Hello,
    Execute the Reports with the parameters MODE=CHARACTER DESTYPE=PRINTER DESNAME=<printer name>
    Regards

  • Wrong period values in Text template for upload of Plan data (KP06/KEPM)

    Hi,
    We are facing an issue in the upload template in text format for Upload of Cost Centre Planning data (Transaction KP06) in ECC 6.0.
    We have some User defined layouts for Excel upload of plan data. If we save the file as a text (tab delimited) file, the Period values above the Column"Period" do not correspond to the correct periods in ECC 6.0. for e.g. the values above Period 1, Period 2, Period 3 are shown as 6, 5, 4 instead of the correct values 1,2,3. These values are considered by the system for uploading the Planning value in the appropriate Periods and hence the values entered in the Column Period 1 in the text file are incorrectly uploaded by the system in Period 6 based on the values generated by the system in the text file.
    However, we do not encounter this issue in the 4.6C system where the values are correctly shown.
    We are facing a similar issue with the text upload template for Sales Planning data in CO-PA (Transaction KEPM), where the values generated by the system do not correspond to the correct period.
    Regards,
    Rajaram

    Hi Christian,
    Thanks for the quick reply, i followed your earlier reply in the below thread and resolved the issue. Thanks.
    How to delete CO plan data
    Hi Ajay,
    Thank you, We are uplaoding through KP06, Menu -->Extras --> Excel Planning --> Upload.
    Regards,
    Raj

  • Enable to create ldt file for specific program using FNDLOAD submit request

    hi ALL ,
    i am trying to create .ldt file for specific program but the things is that following program creating .ldt file for all the program which are available on instance .
    please suggest me if i did anything wrong in my code ...
    DECLARE
    req_id fnd_concurrent_requests.request_id%TYPE;
    BEGIN
    fnd_global.apps_initialize (user_id => 1012001,
    resp_id => 20420,
    resp_appl_id => 1
    req_id :=
    fnd_request.submit_request
    (application => 'FND',
    program => 'FNDLOAD',
    description => NULL,
    start_time => NULL,
    sub_request => FALSE,
    argument1 => 'DOWNLOAD' ---Mode - UPLOAD
    argument2 => '@fnd:patch/115/import/afcpprog.lct'
    -- -LCT File
    argument3 => '/tmp/concqueues.ldt' -- -
    argument4 => 'PROGRAM',
    argument5 => 'XXFUJI'
    ,argument6 => 'XXSAG_FILE_DATA'
    DBMS_OUTPUT.put_line ('req_id= ' || req_id);
    COMMIT;
    END;
    thanks in advance
    sagar

    thanks for your reply ... Alex
    ... but... no i don't wanna create concurrent program for fndload neither i want to use FNDLOAD script ... the above FNDLOAD Submit request program worked for me and using that i have created ldt but my problem is that program is creating ldt for all program which are registered , it's not picking my my file which i pass as a parameter ...please have look into my code ...
    and please suggest me ..
    thanks
    sagar

  • What is the difference between: "Place..." or "Add files for Upload..."?

    Where can I get information about the detailed differences between the commands "Place..." and "Add Files for Upload..." of the Files menu?
    Understand that in both cases the files are linked and not embedded. But what further differences are there?
    I came across this issue because widget 039 (Animated Image Rollovers) from MuseThemes works only if you use the "Add Files for Upload..." option.
    Thanks,
    Daniel

    Hi Daniel,
    There are a few differences in both the options-
    Place is used to add content to page (rendered) while Add Files for Upload... is used to upload files to your site but not on page (not rendered).
    Placed images are published to /images folder on the server while images added using Add Files for Upload... option are published to the /assets folder on the server.
    Placed images have a chance of getting renamed (if resized/interpolated in Muse) upon publish while images added using Add Files for Upload... retain their names.
    Place can be used to add limited file formats like jpg/png/psd/swf/oam etc while you can upload almost any type of file using Add Files for Upload...
    You don't see Placed content in the Hyperlinks dropdown for linking while files added using Add Files for Upload... show up in the Hyperlinks dropdown so that you may link to them and allow download.
    Both serve different purposes and Add Files for Upload... is preferred by Widget Developers because it gives more control over uploaded content and assurance that file location and name will be as expected.
    Hope the above give you clarity on the basic difference.
    Cheers,
    Vikas

  • Error while importing a text file for a list of values

    Hi Experts,
    While importing a text file for a list of values in designer, I am getting error message as below:
    "Invalid setting in Excel key of the Engines section of the Windows Registry. (3433)".
    I am using BO XI R3. Universe Designer version : 12.1.0.882
    Any suggestion ?
    Regards

    plzzzzzzzzzzzzzzzzz.............sme1 help me out

  • ADD FILES FOR UPLOAD - IMAGE PATHS DO NOT WORK IN WIDGETS

    Hi There
    I'm trying to add my own images to a widget I bought from Qooqee - the Wrapper_v2 image slider. But when I try to add my own images with the image path it doesn't work. I've tried adding the image with 'Add Files for Upload' - and then using the full path which I get from right clicking on it in the assets panel - but it still doesn't work.
    Most of the widgets require you to either specify the image path, or an external URL. I do not want to use a third party image hosting site to get URL's for every image I want to use on the site - so I just need to know what I'm doing wrong with the Add files for Upload - why do my file paths not work in the widgets?

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    This Cloud forum is not about help with program problems... a program would be Photoshop or Lighroom or Muse or ???
    Also, you need to ask for help from the widget maker

  • I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway inst

    I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway installing PSE-10 or uninstalling it. If I send the  PDF file that has been automatically converted to a PSE-10 the person I send the file to can not open it because they do not have PSE-10. What can I do to stop PSE-10 from converting my PDF files? Don't tell me to upgrade PSE-10 I tried their on-line program and  it is too advance for a hobby photographer like myself and their Help Desk is impossible to reach.

    Hi,
    Can you please share the logs?
    You can use the Adobe  Log Collector tool (Log Collector Tool) and share the corresponding zip file @ [email protected]
    Thanks,
    Shikha

  • Creating setup file for java

    Somebody tell me how to create setup file for the software which is made by using java programming. We can create jar file for that purpose but I want to create setup file or exe file.

    open source
    - izpack (windows, linux, macos) www.izforge.com or org
    - nsis.sf.net (winblows only)
    commercial
    - www.zerog.com 's InstallAnywhere

  • Can i create different file for my movies

    I need to create diferent file for movies, but i don't know how to do it

    i want to creat like a play list but for movies, can i do that

Maybe you are looking for

  • Questions on DOT with 865PE Neo2

    I did the "Load High Performance Defaults" for the first time. Just wondering if everyone experiences the same results?? I have read many thread here on problems, but want to post some positive results and in the same breath have some questions. I ha

  • Can't change the 'compilation status' for multiple items in iTunes 8.

    Hi there, I've got an issue regarding the disappearance of the compilation 'tick box' when changing multiple items. Its there when you click on 'get info' for the individual track but its no longer there (in iTunes 8) when I want to change the compil

  • Double Photo's on Photostream

    How can help with this Q? When I make a photo with my Iphone and when I look into the Photostream of my Ipad then I see double photo's? The same photo but then upload in photosteam twice on my Ipad. How can I prevent this of happening. On my PC the p

  • Site does not render in browser the same as preview

    I have build a Muse site.  All looks good on preview.  But when I publish, one page on which I am using html to to iframe in some product data goes crazy. Any ideas on how to fix.

  • Can i use the buttons in JOptionPAne instead of default

    sir i want to change means insert icon on the the ok and cancel buuton instaed of JOptionPane buuttons can i do and how? thanks