How calc bin size of tab???

I have a data type xstring with binary code and I have to download a file to local in binary mode.
I use:
  DATA: BEGIN OF li_tab OCCURS 0,
         line TYPE xstring,
        END OF li_tab.
          data: tab_bin type xstring.    "Binary data
  DATA: ld_bin_filesize TYPE i.
  MOVE tab_bin TO li_tab-line.
  APPEND li_tab.
En primer lugar si recupera el directorio de local
donde se almacenará el fichero
        p_filename = 'C:windows     emp ile.pdf'.
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
   bin_filesize                    = ld_bin_filesize
      filename                        = p_filename
   filetype                        = 'BIN'
IMPORTING
  FILELENGTH                      =
    TABLES
      data_tab                        = li_tab.
But the file not open in my computer because are corrupted.
Can We help me??
thanks

This example will help you.
Binary download table
DATA: BEGIN OF line_bin,
         data(1024) TYPE X,
      END OF line_bin.
DATA: data_tab_bin LIKE STANDARD TABLE OF line_bin.
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
      FILENAME                         = fullpath
       FILETYPE                         = 'BIN'
    IMPORTING
      FILELENGTH                       = length
    TABLES
      DATA_TAB                         = data_tab_bin
   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.

Similar Messages

  • My tab under inspector disappeared, I can't see my font size or paragraph spacing anymore. How do I get my tab back?

    On pages, my tab under inspector disappeared, I can't see my font size or paragraph spacing anymore. How do I get my tab back?

    The Inspector Icon does not have a "tab", it is just a shortcut button.
    Menu > View > Show Inspector
    command option i does the same thing showing and hiding the Inspector.
    Because the Inspector/s are movable windows, if you can't see them they maybe somewhere off your screen or half tucked away partially out of sight.
    Peter

  • How to change the font size from tabs ???

    Hi
    I found a tip to change the CSS in the apache directory in the forum here.
    but i can´t find the directory on my hard disk/oracle directory
    i got this version installed:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    can i change the font size of tabs/regions etc in any other way??

    Hi,
    The font size is defined by the style class used for the tab cells (tabs are normally created as cells in a table).
    To do this, the simplest solution may be to edit the page template:
    1 - Go to Shared Components/Templates
    2 - Select the page template(s) that you are using (you will have to do this for each template that you've used that uses tabs)
    3 - Scroll down to "Standard Tab Attributes" - you'll see two sections: Current Tab and Non Current Standard Tab.
    In Current Tab, you'll have something like:
    <a href="#TAB_LINK#" class="t12standardtabcurrent">#TAB_LABEL#</a>
    In Non Current Standard Tab, you'll have something like:
    <a href="#TAB_LINK#" class="t12standardtabnoncurrent">#TAB_LABEL#</a>
    After the class="...." attribute add in style="font-size:12px" (use whatever px value you want)
    4 - You should repeat the process for Current Parent Tab and Non Current Parent Tab as these contain the same settings
    5 - Apply your changes
    Regards
    Andy

  • To reset the size of tabs in t:panelTabbedPane

    How do i reset the size of tabs in <t:panelTabbedPane>?

    Hi sap gurus,
    any suggestions  for this.
    Thanks in advance

  • How do I use Panorama / Tab Groups with the keyboard?

    Yes I know that CTRL-SHIFT-E opens the panorama window, and then I can use the mouse to organize my tabs into groups.
    But how do I do this with the keyboard?
    I've [http://lifehacker.com/#!5719596/switch-between-tab-groups-in-firefox-with-a-keyboard-shortcut read] [http://ubuntuforums.org/showthread.php?t=1705714 that] Ctrl-`should move me through tab groups. That doesn't work for me on my Danish keyboard. (Where the ' and ` chars are weird. But is how they are on a valid standard Danish keyboard) I've tried changing the keyboard to USA and then moving through tab groups works fine.
    In short: Pretend I don't have a mouse. How do I use Panorama / Tab Groups?

    Sorry. These are both known bugs:
    [https://bugzilla.mozilla.org/show_bug.cgi?id=587010 Bug 587010] - Add keyboard UI for manipulated groups and tabs in Tab Candy
    and
    [https://bugzilla.mozilla.org/show_bug.cgi?id=626594 Bug 626594] - shortcut for switching tab groups is badly accessible on many non-US keyboard layouts

  • How to I get new tabs to open to the correct home page?

    When I open new tabs they just go to a Google Search page, which is very frustrating, especially when I open a new tab and try to type in the URL bar but as soon as it finishes loading Google it blanks out what I typed in and goes to the Google site. In other words, "blank" new tabs do not open to the Favorites page or even my home page. They open to Google. How do I change that? In other words, how do I get new tabs to stop opening to Google and start opening to either my home page or the Favorites screen? Thanks!

    You can modify the <b>browser.newtab.url</b> pref on the <b>about:config</b> page and set it to the desired page to open.
    *http://kb.mozillazine.org/about:config
    See also this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites
    If you do not keep changes after a restart or otherwise have problems with preferences, see:
    *http://kb.mozillazine.org/Preferences_not_saved
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I use a Tab key to maximize a frame?

    How can I use a Tab key (vk_tab) pressed on the focused frame to actually maximize the frame... what action should it have attached to it?
    thanks!

    tab is the focus traversal key, so will be consumed before getting to your listener
    try this instead
        KeyboardFocusManager.getCurrentKeyboardFocusManager()
         .addKeyEventDispatcher(new KeyEventDispatcher(){
            public boolean dispatchKeyEvent(KeyEvent e){
              if(e.getID() == KeyEvent.KEY_PRESSED)
                if(e.getKeyCode() == KeyEvent.VK_TAB ) f.setExtendedState(JFrame.MAXIMIZED_BOTH);
              return false;
        });

  • How to show all view tab (Main Report and all Sub Report) in Visual FoxPro 9

    I use ActiveX from Crystal Report Developer XI for viewer in Visual FoxPro 9 and I already know how to show Main Report by using command:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the MyReport.rpt there is two subreport name :
    1. MySubReport1
    2. MySubReport2
    My Question is :
    How to show all view tab (Main Report and all Sub Report) at the 1st time we call ViewReport?
    I try to using command :
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub=oRptOpen.OpenSubreport("MySubReport1")
    oRptSub=oRptOpen.OpenSubreport("MySubReport2")
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    but only show Main Report (view tab name : Preview)?
    Did I miss any command before I call oRptView.ViewReport?

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • How do I close all tabs at one time without closing Firefox completely?

    How do I close all tabs at one time without closing Firefox completely?

    Open a new window. Go to the other window with all the tab. Close it. You now only have that newly open window.
    Hub

  • How do I keep multiple tabs from loading all at once when I open Firefox?

    How do I prevent multiple tabs from loading every time I access Firefox? These are open tabs, but I do not want them to open simultaneously every time I want to open a new tab. Then I have to minimize each one in order to access other applications on my desktop. Please advise.

    Tools > Options -> General - Startup = select what you want Firefox to do on startup there
    '''Blank Page''' or '''Homepage''' ''(as long as those pages aren't all your Homepages)'' are alternatives to '''''windows and tabs from last time'''''
    Or as Vivek.Wilfred mentioned, upgrade to Firefox 8.0.1 where you have abother option - Don't load tabs until selected.

  • How do I open several tabs at the same time?

    How do I open several tabs at the same time?

    Can't you open more than one tab?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • On I-Mac, how can I close all tabs at the same time?

    On I-Mac, how can I close all tabs at the same time?
    I use Mozilla Firefox for internet.

    Not an Apple product, have you visited:
    https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-qu ickly

  • How to add a new tab for the project?

    Dear All Experts,
        Could you tell me how to add a new tab for the project?
        Pls refer to the screenshot as below:
    Thanks!
    Xinling Zhang

    Hi,
        The new tab in cj20n , and the new tab can only be displayed in the highed level.Pls refer to below
        And in cj02, there is no this tab also in the wbs detailed screen,
    Thanks!
    Xinling

  • How can I edit text tabs in Photoshop...?

    how can I edit text tabs in Photoshop like in Illustrator that I can choose to view the tab rulers and edit the alignment on the tabs?
    is it possible? otherwise I can't understand why I can use the tabs at all...
    thanks!

    No, tab-formatted text is not editable in the manner you desire. As for your question - tab is just a character like any other. You are simply taking a given kind of implementation for granted, nothing more, but that must not necessarily be the case for all programs. An evil programmer just could assign the tab key to forward delete or any other fancy function just as he could make your space key draw funky symbols from a different Unicode range, if you get my meaning... so simply take it the way it is. If editable formatting is high on your wishlist:
    http://www.adobe.com/go/wish
    Mylenium

  • How to create a new tab in CRMD_ORDER for custom fields

    Hi Expert,
    I have added custom fields in crmd_customer_ i through EEWB .
    Now i want to display the fields in a new tab in CRMD_ORDER.
    can you please guide me how to create a new Tab step by step procedure.
    Thanks & Regards,
    Avi

    Dear Avi,
    please be aware that crmd_order is no longer supported since crm2007 (6.00). That means EEWB is not the right tool to add customer fields because only WEBUI is supported. There you can use the AET tool to create own fields or tables via configuration.
    However please see note 1037748 where you get more information and help.
    Best regards
    Rene

Maybe you are looking for

  • PO price: info record conditions

    Hello all, Our buyers maintain info record pricing, and they want the PO price to be determined only by info record conditions, even when the condition period has ended. In other words, if the condition period ends today, a PO created today would use

  • Cant change wallpaper ios 8.1.3 it crashes setting

    after updating ios 8.1.3 iphone 5 i tried to change my wallpaper by selecting choose a new wallpaper and then when i select stills it takes me back to home 

  • Integrating Web Services Manager with Oracle Portal and SSO

    Hi, I wanted to throw this out there and make sure I was on the right track and also if somebody can point me to some resources online that might help. Basically, we have OWSM acting as a Gateway securing some web services. Oracle Portal is integrate

  • Replacement floppy and keyboard

    I have just bought a PB3400c and I've been told the keyboard doesn't work. Can anyone tell me where I can get a replacement somewhere in europe? I would also like a floppy drive for it. Are these easy to get hold of?

  • CATT ECC6.0 Control data is obsolete

    The catt I use was created in 4.6c. Since the upgrade at ECC6.0, it displays the message after each running : "Control data is obsolete, rerecord (VERBS-NAME: CREATEOBJECT CATT: create) Error ATT377 in application transaction IW24 Message no. TT350 C