CR_GUI_FRONTEND_SERVICES== GUI_DOWNLOAD inconsistently creates CRLF.

Hello SDN Community,  I am using CL_GUI_FRONTEND_SERVICES==>GUI_DOWNLOAD in an ABAP report to download an internal table to a file.  I am running this same report in several different instances that have been created/upgraded at various times over the past few years.
I noticed that in some of the instances there would be a CRLF at end of each record.  (records on seperate lines in notepad)
   Displayed message "### bytes transferrred".  
   Source code was "MESSAGE  S028(FES) WITH filelength."  
   this code had Last Change date of 07.02.2006 in my sytem.
And in the others, there would be no CRLF  (could see wrapping in notepad).
   Displayed message "### bytes transmitted, code page 1160".  
   Source code was "message s032 (fes) with filelength dy_file_encoding".
   this code had Last Change date of 12.06.08 in my system.
The GUI_DOWNLOAD method calls the function module GUI_DOWNLOAD.  You can find (one or the other of) the aforementioned messages at the end of the function module code in your system.
So my question is...   Does  anyone have any insight into why this method produces different output at different points in time?  Eg.- For code installed in 2006, output had CRLF at end-of-each-record and for code installed in 2008, output does not have CRLF at end-of-each-record.
Best Regards,
Dean Atteberry.

Closing question.

Similar Messages

  • Method GUI_DOWNLOAD not creating CRLF at end-of-each-line of output

    Hello SDN Community,  has anyone experienced CL_GUI_FRONTEND_SERVICES=> GUI_DOWNLOAD not putting the CRLF at end of exported lines?  This can be seen when you view the output file in notepad (the file contents wrap) or an editor with hex view enabled  (0A0D).
    I have tried running an ABAP that runs this method and on some people's laptop's the file wraps and on others the file is formatted (as would be expected) as per the CRLF's. 
    My understanding is that the GUI_DOWNLOAD method should provide the CRLF's.   And on my laptop (running Vista and SAP ECC 6.0 back-end) it wraps the output because there are no CRLF's in the file.
    Your experiences would be appreciated.
    Thank you,
    Dean Atteberry.

    Thank you, Alejandro, for your comments.  I am using two systems - on one it works and on the other it does not.
    The one that works is an SAP ECC 6.0 where the CL_GUI_FRONTEND_SERVICES class has a Last Change date of 03.07.2006.
    The one do not work is SAP ECC 6.0 where the CL_GUI_FRONTEND_SERVICES class has a Last Change date of 07/08/2009.
    If I look at the code in GET_PLATFORM, it is verry different between the two systems.
    On the one that works, it executes following code and platformID has value of '5'.  This later used to assign the correct value for CRLF variable which is used to concatenate to end of records  (value is '0A0D').
    ELSE.
    *     SAP GUI for Windows
          IF ACTIVEX IS NOT INITIAL.
    * returns Windows Platform
    * VER_PLATFORM_WIN32s             0
    * VER_PLATFORM_WIN32_WINDOWS      1       (Win95/98)
    * VER_PLATFORM_WIN32_NT           2
            CALL METHOD HANDLE->CALL_METHOD
              EXPORTING
                METHOD     = 'GetWindowsPlatform'
                P_COUNT    = 0
                QUEUE_ONLY = ' '
              IMPORTING
                RESULT     = platformID
              EXCEPTIONS
                OTHERS     = 1.
            IF SY-SUBRC <> 0.
              RAISE CNTL_ERROR.
            ENDIF.
    On the one that does not work, it executes following code.  In the debugger, when control comes back from CL_GUI_CFW=>FLUSH call, I can see the PLATFORMID variable change to '15'.  This is moved to M_PLATFORM and ultimately is used later in a case statement to assign the appropriate value to CRLF variable. 
    HOWEVER, THERE IS NO "WHEN 15" statement in the CASE statement - IT ONLY GOES UP TO '14'.   Because of this, no value is assigned to the CRLF variable and when subsequently this variable is concatenated to the output line, there is no CRLF (0A0D) at the end of the line.  Because the CRLF variable is blank.  [see coding snippets at end-of-note]
    Is there an better place than General ABAP forum to discuss this?  Possibly this item might benefit from the attention of SAP developers?
    Following are code snippets illustrating findings from debugging...
    This shows the FLUSH statement that causes '15' to appear in the PLATFORMID variable.
    IF bPLATFORMEX = ABAP_TRUE.
            CALL METHOD HANDLE->CALL_METHOD
              EXPORTING
                METHOD     = 'GetPlatformEx'
                P_COUNT    = 0
                QUEUE_ONLY = ' '
              IMPORTING
                RESULT     = PLATFORMID
              EXCEPTIONS
                OTHERS     = 1.
            CALL METHOD CL_GUI_CFW=>FLUSH
              EXCEPTIONS
                CNTL_SYSTEM_ERROR = 1
                CNTL_ERROR        = 2
                others            = 3.
            IF SY-SUBRC <> 0.
              RAISE CNTL_ERROR.
            ENDIF.
            MOVE PLATFORMID TO M_PLATFORM.
    This shows the method GET_LF_FOR_DESTINATION_GUI, where you can see that values only go up to 14.  [look in attributes for CL_GUI_FRONTEND_SERVICES to see attribute values]
    CASE PLATFORM_ID.
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_WINDOWSXP.   <---- this is '14'
            MOVE CL_ABAP_CHAR_UTILITIES=>CR_LF TO GUI_CRLF.
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_NT50.
            MOVE CL_ABAP_CHAR_UTILITIES=>CR_LF TO GUI_CRLF.
         <...lines snipped...>
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_TRU64.
            MOVE CL_ABAP_CHAR_UTILITIES=>NEWLINE TO GUI_CRLF.
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_OS2.
            MOVE CL_ABAP_CHAR_UTILITIES=>NEWLINE TO GUI_CRLF.
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_UNKNOWN.
            RAISE CNTL_ERROR.
        ENDCASE.
      ENDIF.
      MOVE GUI_CRLF TO LINEFEED.
    This shows the FORM put_char_linebuffer you can see CRLF being concatenated to output line...
    prc_column_idx = prc_column_idx + 1.
        ENDWHILE.
        CONCATENATE prc_encoded_string prc_encoded_crlf
          INTO prc_encoded_string IN BYTE MODE.
      ENDIF.
    * Add data lines
      LOOP AT par_data_tab ASSIGNING <f_data_tab>.
        PERFORM put_char_linebuffer USING <f_data_tab>
                                          par_write_field_separator
                                          par_trunc_trailing_blanks
                                          par_col_select
                                          par_col_select_mask
                                          par_write_lf
                                          strDecimal
                                          strDatFormat
                                          par_dat_mode
                                          par_trunc_trailing_blanks_eol
                                    CHANGING converter
                                             prc_encoded_string.
        IF par_write_lf IS NOT INITIAL.
    *     Add CR to line.
          CONCATENATE prc_encoded_string  prc_encoded_crlf
              INTO prc_encoded_string IN BYTE MODE.
        ENDIF.
      ENDLOOP.
    * Write BOM if requested and Unicode encoding
      CLEAR prc_bom_string.

  • How to use '|' delimited as seprator in GUI_DOWNLOAD ? Plz suggest me ,,

    how to use '|' delimited as seprator in GUI_DOWNLOAD ? Plz suggest me ,,
    i want the output should be seprated by '|' delimited when i download the file.

    Hi,
    We will pass the seperator to the WRITE_FIELD_SEPARATOR parameter as
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    filename = v_file
    write_field_separator = '|'
    TABLES
    data_tab = itab[] . "Our internal talbe filled with data
    Re: Why Function GUI_DOWNLOAD can create XML file but not a flat file?
    Award points if useful
    Thanks,
    Ravee...

  • Urgent : doubt on gui_download

    hi guys,
    i am using gui_download to download the details into a local file ..
    when i am downloading into the local file . the matnr containing so many zeros in front when i download into a text file. but my problem is when i download into excel the matnr is right alligned but my requirement is to have the matnr left alligned in the output excel ...if there are any usefull answers please reply

    Hi gokul,
    1. GUI_DOWNLOAD
        always creates a TEXT File
       whether we give extension .TXT or .XLS
    2. Microsoft excel automatically detects the type of file,
        whether it is .txt or xls
        and opens accordingly.
    3. In excel, by default, the numbers are always right aligned,
        so it shows right.
       We cannot control the alighment directly from gui_download,
       bcos the format of file is always text,
       and microsoft excel.
    regards,
    amit m.

  • Gui_download - last line

    Hi,
    The function module gui_download always create a blank line at the end of file created.
    But I need a file without this last line.
    How can I do that ?
    Thanks !

    I solved this problem with BIN mode.
    See this code example
    DATA: FILESIZE TYPE I.
    CALL FUNCTION 'SCMS_TEXT_TO_BINARY'
    IMPORTING
       OUTPUT_LENGTH         = filesize
      TABLES
        TEXT_TAB              =   i_record
        BINARY_TAB            = i_Record
          filesize = filesize - 1. "TRUNCATED LAST LINE!!!
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          BIN_FILESIZE = filesize
          filename                = l_file
          filetype                = 'BIN'
         TRUNC_TRAILING_BLANKS = 'X'
         TRUNC_TRAILING_BLANKS_EOL = 'X'
         WRITE_LF_AFTER_LAST_LINE = ' '
       TABLES
          data_tab                = i_record
    Hope this can help you.

  • Cl_gui_frontend_services= gui_download - issue with german special char

    Hello,
    we are using cl_gui_frontend_services=>gui_download to create from an itab an excel file.
    We face the issue that in this excel file german special characters like Ä, Ü, Ö, ß are not displayed correctly.
    I think we need to use a different codepage. But which one?
    could you please give us a short coding example how to call cl_gui_frontend_services=>gui_download.
    Thanks a lot
    Kind regards
    Manfred

    Hi,
    Check the system is unicode or non-unicode . Codepage for Unicode system is ' 4102' and non-unicode is '1100'.
    Below are the sample code for the GUI_download with Class.
    DATA:  l_filename    TYPE string,
           l_filen       TYPE string,
           l_path        TYPE string,
           l_fullpath    TYPE string,
           l_usr_act     TYPE I.
    l_filename = SPACE.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
      EXPORTING
        DEFAULT_FILE_NAME    = l_filename
      CHANGING
        FILENAME             = l_filen
        PATH                 = l_path
        FULLPATH             = l_fullpath
        USER_ACTION          = l_usr_act
      EXCEPTIONS
        CNTL_ERROR           = 1
        ERROR_NO_GUI         = 2     
        NOT_SUPPORTED_BY_GUI = 3
        others               = 4.
    IF sy-subrc = 0
          AND l_usr_act <>
          CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME                        = l_fullpath
       FILETYPE                        = 'DAT'
      TABLES
        DATA_TAB                        = T_DOWNL
    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.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDIF.
    Edited by: Sumodh P on May 11, 2010 5:24 PM

  • Captivate 6 | A dozen or more bugs here or just strange "undocumentated features"

    These are issues / bugs or bizarre nehaviours - some of them may be down to newbiew issues, but not many, read on if you dare...
    Setup
    MacBook Pro 17
    Adobe Captivate 6.0.1.240
    Firefox 19 (also Safari 6.0.2 and Chrome 24.0.1.1312.57 (but as you will see below there is no way to Tell Captivate these browsers exist and are installed)
    Flashplayer 10.0.2.54 - but I have no interest in flash and all the testing has been eithe pure HTML or HTML5
    Here we go...
    The disabled / crippled close minimise buttons of the MAC OS do not follow the correct convention and therefore confusing unnecessarily to new users. (Conventions are there for a reason)
    Inserting fully www3 compliant animated gifs, results in gifs that don't animate] EVEN in browser preview. This is incredibly bad for web based previews.
    GIF images scale down very poorly (ending up jagged) - even with modest scale down
    The "click Y or click anywhere doesn't work" typing Y does not work (probably because the Get_focus  property for the active preview has been lost by the program)
    The quiz review button is inconsistent - sometimes it shows the ticks and crosses other times it doesn't
    Slide master is confusing, with inserted graphics only appearing on some slides in the "film strip" thus it is simpler to ignore slid masters and add images directly to the individual actual slides
    The placing of A), B) C) etc seems to result in them being buried under radio buttons if the project size is at or below about 350px width. Even above this it does not seem possible to either remove them (as they still are placed clumsily) or move them to the correct position (it is almost as if the text settings (properties) of multiple quo ice answer bullet points is not getting applied to the A), B) C) etc labels, just the text
    Is the JS created unique to the project ? If so does this mean that in Moodle (for example) the header has to get stuffed with a JS file for every quiz instead of calling a standard library lie jQuery?
    The placing of the (quiz review) red cross and the green ticks is all over the place and the sizes are very inconsistent (creating something of a real layout mess) - sometimes the same buttons just don't even show up?
    Publshing the project into a neat folder seems to result in dozens of unused images (e.g. arrows and blue circles) being copied into the folder?
    The publish tools complains about certain browsers e.g. Firefox latest version but does not state what elements are at fault in the project - leaving you to guess if there really is an incompatible component or whether all of those pre-check tick boxes in the audio, video preferences of Captivate are to blame.  There is no indicator of graceful degradation of features
    I have been unable to find anywhere the setting that allows me to choose the browser to test this on - since it complains that the latest firefox is no good. Any suggestions? Its not in preferences nor publish - both places where users would have looked.
    Has anyone put a Captivate quiz into Moodle and knows where all the hundreds of files and folders from a Captivate project must go?

    Re:
    The quiz review button is inconsistent - sometimes it shows the ticks and crosses other times it doesn't - did you find a solution? I'd dearly like to be able to tidy up the ticks!
    Thanks
    Sharon

  • Error: FES025.  Codepage could not be determined

    Hi,
    I have a number of programs that run using an include containing the function GUI_DOWNLOAD to create files lacally or on the server.  The programs work perfectly in foreground but their purpose is to run as jobs every night and create the files on the server, which returns the job as CANCELLED and the log reads;
    11.12.2008 09:00:17 No se ha podido determinar code page (Codepage could not be determined)
    11.12.2008 09:00:17 El job ha sido cancelado tras excepción de sistema ERROR_MESSAGE.
    When I execute the program in foreground using a message log I recieve a message on the status bar indicating;
    Transfered 913 bytes, code page 1160.
    I'm not quite sure what the code page does.  I read another forum which explained that it has something to do with the character set.
    Is there any way can assign the code page myself in the program?
    Regards,
    Simon

    OPEN DATASET gv_file FOR INPUT IN TEXT MODE ENCODING DEFAULT
                                WITH SMART LINEFEED.
      ENDIF.
    *If the Presentation Server is selected on the selection screen
      IF p_local EQ gc_x.
        LOOP AT gt_text_file INTO wa_text_file.
          CLEAR wa_text_table.
          SPLIT wa_text_file-line AT gc_comma  INTO   wa_text_table-objectid
                                                      wa_text_table-lifnr
                                                      wa_text_table-matnr
                                                      wa_text_table-ebelp
                                                      wa_text_table-tdname
                                                      wa_text_table-spras
                                                      wa_text_table-textid
                                                      wa_text_table-object
                                                      wa_text_table-line.
          APPEND wa_text_table TO gt_text_table.
        CLOSE DATASET gv_file.

  • Date in filename

    am using gui_download to create flat file.i want to store file with file name with date on report run i.e. if we run report on 29062006 then file should be stored with name 29062006.txt

    Do like this:
    concatenate sy-datum '.txt' to pfile1.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        = p_file1
        FILETYPE                        = 'ASC'
      APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = 'X'
      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                      = bin_filesize
      TABLES
        DATA_TAB                        = int_update
       FIELDNAMES                      = 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
    Regards,
    ravi

  • Downloding Internal Table to Excel Issue

    Hi guys,
    I want to know how can i download an internal table to excel, in which i have only one field declare as string. The values in the string are delimiter by # and i want to separated it in the excel in columns.
    Ej.
    DATA: BEGIN OF t_asc_file OCCURS 100,
            string TYPE string,
          END OF t_asc_file,
          it_asc_file LIKE t_asc_file OCCURS 0,
          wa_asc_file like line of it_asc_file.
    CONCATENATE wa_asc_file-string '#Importe#Mon.Soc.PA#Base Emisora %' INTO wa_asc_file-string.
      APPEND wa_asc_file TO it_asc_file.
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
    *      BIN_FILESIZE              = BIN_FILESIZE
          filename                = fullpath
          filetype                = 'ASC'
    *      APPEND                    = APPEND
          WRITE_FIELD_SEPARATOR = 'X' "CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
    *      HEADER                    = HEADER
    *      TRUNC_TRAILING_BLANKS     = TRUNC_TRAILING_BLANKS
    *      WRITE_LF                  = WRITE_LF
    *      COL_SELECT                = COL_SELECT
    *      COL_SELECT_MASK           = COL_SELECT_MASK
    *      DAT_MODE                  = DAT_MODE
    *      CONFIRM_OVERWRITE         = CONFIRM_OVERWRITE
    *      NO_AUTH_CHECK             = NO_AUTH_CHECK
    *      CODEPAGE                  = '1160' "CODEPAGE
    *      IGNORE_CERR               = IGNORE_CERR
    *      REPLACEMENT               = '#'
    *      WRITE_BOM                 = WRITE_BOM
    *      TRUNC_TRAILING_BLANKS_EOL = TRUNC_TRAILING_BLANKS_EOL
        IMPORTING
          filelength              = wa_filelength
        CHANGING
          data_tab                = it_asc_file
        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.
    This code only downloads all the information into the first column of excel.
    Thanks in advance.
    Eric

    Hi Guys,
    I know that the GUI_DOWNLOAD automatically creates the fields in separated columns when you have the internal table already separated by the fields you need.
    In this case the fields that i need to download will vary from time to time, so i thought it was better to declare my internal table with one field as string. I debug the download option that has SAP in transaction KEU5, and it does work. This transaction has an internal table with one field declare as string, and each field is separated by "#".
    I don't see the reason why it works in the standard and not for me, but in order to save time, i will create generic fields to my internal table.
    Regards,
    Eric
    PD. If somebody knows how to resolve this problem would be highly apreciated.

  • Output file as a text file with tab delimited and fixed length fields

    Hi all,
    I have developed a custom report which outputs an excel file on the user desktop who executes that report.Now i need to create an additional (second) excel file with almost the same data as the first file.
    Im using the FM GUI_DOWNLOAD to create the file.i need have the 2nd file as txt file(seperated by space/tab delimited) and also i want the fields to have fixed length.For this format of the file,what parameters do I need to pass to the FM ?
    BR,
    SRM Tech.

    Thanks for the prompt reply.
    Also in the sel screen,Im entering the path where  the o/p file needs to be downloadede.g. C:/Output_folder/Output.xls...Now if I need a text file,do I need to give the fielname as C:/Output_folder/Output.txt.?

  • How to display more than 12 numbers in one single  column  of excel

    hi,
    i lokesh, i am using gui_download for downloading excel sheet. actually during download one of my field contains 18 numbers, so in excel, in that particular column it shows as a 3.0000E18 and also for example: actually property number is 100000000000005263, it shows as a 1.0000E18, if i click on the 1.0000E+18, at the top it shows as a 10000000000000005000. it does not show last 3 numbers like 263.
    what i want is during run time i want to display property number as a 100000000000005263 in one column.
    any body knows for this solution pls let me know.

    Hi,
    You're using gui_download to create a file which you then have to import into Excel?  If so, then you can format the field as 'Text' during the import process.  The default cell-category is 'General', which will treat numeric values as numbers, causing the problem you describe.
    If you do not want to give users this task, then one idea is to put some non-numeric character(s) into the cell, e.g. 'PN 100000000000005263' - where PN stands for property number.

  • Issue in generic data source creation in BW

    Hello all,
    I am trying to create Data source in BW through TABLE,this time I am getting error messae.....
    ...."Invalid extract structure template YECMCRDAT of DataSource YECMCRDAT"
    Message no. R8359
    Diagnosis
    You tried to generate an extract structure with the template structure YECMCRDAT. This operation failed, because the template structure quantity fields or currency fields, for example, field CRED_LIM refer to a different table.
    Procedure
    Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
    PLease any one give me solution for this.
    Thanks In Advance...
    Sekhar Reddy.

    Hi Sekhar,
    as the message suggests, it seems that your source of data for gen DS in BW is a table, which is missing with a unit for one of the key figure.
    To avoid this inconsistency, create a view and add the unit feild to this alson with the table.
    Also, mention the reference to this unit from the standard units table of BW.
    Ultimately, try creating Gen DS over this view.
    You need to also ensure that the unit is passed with a value during transformations, else this will show an ERR in the report output.
    Naveen.A

  • Increase pdf font size when downloaded as local file.

    When I downloaded PDF from ALV output .The font size in pdf is very small because output table have large data ..
    Is there any way so we can change the page size and increase the font  size.

    Hi,
    Are you using two FM  convert_abapspooljob_2_pdf and gui_download to create spool and download/convert in PDF ?

  • Download the korean text file using ANSI as encoding

    Hi Experts,
    i am using gui_download to create a txt file using ANSI as its encoding, the data that i need to download contains korean characters (double-byte characters), when the txt file is created, the korean characters were changed into ### symbols.
    Can someone help me on how to correctly download the data with korean characters without making the korean characters into sharp # symbol.
    Please note that the encoding should be in ANSI.

    I don't think if your are using ANSI , you will get korean characters correctly.
    otherwise
    first call fm SCP_CODEPAGE_FOR_LANGUAGE giving language as import parameter . then you will get the corresponding codepage from this fm.
    then
    use this codepage in the import parameter CODEPAGE of fm GUI_DOWNLOAD

Maybe you are looking for

  • Which is better || or concat

    Can anyone explain which thing is better || operator or concat function? Thanks in advance.

  • Update to 10.6.7 not available

    I noticed this morning that my iMac is sitting on version 10.6.6.  After running Software Update a couple of times with no updates available, I started to get concerned. I am downloading the 10.6.7 update now, but just wondering if this sound like it

  • Indexing Services 2003 Compatibility Question

    Hello, Is Indexing Services 2003 compatible with Windows Server 2012 R2?  (We have a legacy application that uses it still.) If so, how do you configure Indexing Services 2003 in Windows Server 2012? Also is Indexing Services 2003 the same thing as W

  • Can you help with unresponsive tools?

    I just upgraded mackbook 10.1 and lightroom 1  to maverick 10.9 and Lr 5. I only used it once...was acclimating and using adjustment brush with delight.... 2nd time back tools are unresponsive; the crop sometimes receptive to a click yet is not fully

  • Setting *.* in file type

    How do I set the 'file type' to *.* or all files instead of *.lvm?