How to Increase the memory size of a File in the Application Server

Hello Abaper's
I have generated a XML file for the data of  internal table (with 10 Records). When i download , i can see the XML file for the Entire 10 Records.
But , while transferring the XML file to Applicationserver , it's  transferring only upto max 4 Records.I     assume that the memory is insufficient to  allocate 10  Records. Can we Increase the Memory size of the File on Application server. OR,  is there any error in My Source Code.
Code i used to Transfer the XML File to Application server.
OPEN DATASET FNAME FOR OUTPUT IN BINARY MODE.
IF sy-subrc EQ 0.
   LOOP AT it_xmltab INTO wa_xmltab.
       TRANSFER wa_xmltab TO FNAME.
   ENDLOOP.
ELSE.
  MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.
ENDIF.
CLOSE DATASET FNAME.
Regards
Jv

Hi,
DATA : filename TYPE rlgrap-filename.
DATA : doc_name TYPE char30.
DATA : bin_size TYPE i.
SELECT matnr matkl meins
       FROM mara INTO TABLE it_mara
       UP TO 10 ROWS.
CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
  EXPORTING
    i_filename           = filename
    i_xml_doc_name       = doc_name
  IMPORTING
    pe_bin_filesize      = bin_size
  TABLES
    i_tab_sap_data       = it_mara         "  contains  10 Records
  CHANGING
    i_tab_converted_data = it_xmltab.
placing XML File in Appl. Server
DATA : FNAME(60) VALUE 'xyz_File'.
DATA : num TYPE i.
DATA : xmldata(256) TYPE x.
  For Writing The data in Application Server
OPEN DATASET FNAME FOR OUTPUT IN BINARY MODE. " ENCODING DEFAULT.
IF sy-subrc EQ 0.
  LOOP AT it_xmltab INTO wa_xmltab.
    TRANSFER wa_xmltab TO FNAME.
  ENDLOOP.
ELSE.
  MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.
ENDIF.
CLOSE DATASET FNAME.
  For Reading The data in Application Server
OPEN DATASET FNAME FOR INPUT IN BINARY MODE. " ENCODING DEFAULT.
DO.
  IF sy-subrc EQ 0.
    READ DATASET fname INTO xmldata.
    WRITE :/ xmldata.
    Clear xmldata.
  ELSE.
    EXIT.
  ENDIF.
ENDDO.
CLOSE DATASET FNAME.
at runtime i can see   
it_mara  --> contain 10 records
it_xmltab --> contain 7 lines (Each line size is 255 char). This table have XML format data,  (unknow format , with all numeric 
                    digits)
it_xmltab is trasferred to application server , but the xml format is generated upto 4 records, and for the remaining records
the XML format is not generated.
the XML data in application server file is
<?xml version="1.0"?><TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY1</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">PC
</MEINS>
</TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY2</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">
PC </MEINS>
</TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000001</MATNR><MEINS Datatype="C" Length="6">EA</MEINS>
</TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000002</MATNR
Regards
JV

Similar Messages

  • What is the memory size in HD 4000 in the new Macbook?

    What is the memory size in HD 4000 in the new Macbook?
    Is it really equal to Geforce 520m?

    I bought a Core i7 Macbook pro 15" mid 2012 non retina model, with 8 GB RAM,
    It has Intel HD 4000 512 MB VRAM and Nvidia GT-650M 1 GB VRAM
    Apple released ( MacBook Air & MacBook Pro Update 2.0 ) for mid 2012 model
    It is not a firmware update...
    The results after the update ... Intel HD 4000 384 MB VRAM instead of 512 MB
    I reinstalled the OS 10.8, 10.8.2 combo update again, and did hide the MacBook pro update 2.0
    The VRAM of the Intel HD 4000 came to 512 MB
    so in my case
    8GB RAM -> 384 VRAM After update
    8GB RAM -> 512 VRAM Before update
    which is better ??

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • Maximum size of a file that  the getResourceAsStream() can read?

    hi guys.before i post this new topic, i have search through the forum,and google. on the web .so reply are appreciated.
    1) getResourceAsStream() method, is there a way to know the maximum size of a file that the getResourceAsStream() can read?
    InputStream          is = getClass().getResourceAsStream("Dream2.gif");
                                  byte[]               byte0          = new byte[10 * 1024];
    bcos the size of my bytearray is hardcoded, if any thing is greater than that size ,my program would crash.so i would like to know if there is a way to do that
    2)if that is not available, are there any methods in j2me using any connection (http or socket),that can know the maximum size of the file that are available??????

    You won't be able to tell how big the resource is using this approach. However, since your resource is in the JAR you will be able to know the size of it before hand.
    Otherwise, use the read(byte[], int, int) method to read the resource in chunks like this:
    int count = 0;
    byte[] bytes = new byte[1024];
    while ((count = read(bytes, count, 1024)) != -1) {
      // do something like write to a ByteArrayOutputStream
    }Although redundant, using this approach you can see that you can keep a count of the number of bytes you've read and thus know the total size of the resource.

  • How to Increase Virtual memory in Windows XP (32 Bit ) O.S

    Hi Team,
    Could any one help me , how i can extend virtual memory in Windows Xp Professional sp3 (32 Bit Edition ) .  I am able to increase virtual memory in my Laptop ( Lenovo T 61, Windows Xp professional  ) up to 8 GB. But in desktop not able to
    increase more than 4 GB.
    is it  any hardware or processor dependency for virtual memory ?
    waiting for response ...
    Regards, Triyambak

    Sir, Follow these steps to Increase the Virtual Memory in XP.
    How to increase Virtual Memory?
    In Windows XP
    1.Click Start, and then click Control Panel.
    2.Click Performance and Maintenance, and then click System.
    3.On the Advanced tab, under Performance, click Settings.
    4.On the Advanced tab, under Virtual memory, click Change.
    5.Under Drive [Volume Label], click the drive that contains the paging file that you want to change.
    6.Under Paging file size for selected drive, click to Custom size check box. You can enter the amount of memory you would like to reserve for Virtual memory by entering the initial and maximum size. 
    7.Click Set
    When you are prompted to restart the computer, click Yes.
    Special Note: You should choose the same amount for the initial size and maximum size. This will Stop your CPU from constantly changing the paging file.
    Regards,
    MCP | MCTS | MCITP

  • Increase JVM memory size in build.xml?

    Hi,
    I want to know if it is possible to increase the JVM memory size in the "build.xml" file of my java fx project itself?If so,how to go about it?
    Thanks a lot.

    I think you can achieve that by specifying <fx:jvmarg>.
    For example:
    <fx:deploy width="${applet.width}"
                   height="${applet.height}"   
                   embedJNLP="true"
                   nativeBundles="all"
                      outdir="${dist.dir}" 
                   outfile="${application.title}"
                   verbose="true">
         <!--
         Increase JVM memory size.
         http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference002.htm#CIAGFFIF
         -->
         <fx:platform javafx="2.2+" j2se="7.0">
              <fx:jvmarg value="-Xms64M"/>
              <fx:jvmarg value="-Xmx512M"/>
         </fx:platform>
    </fx:deploy>Hope that helps!
    Edited by: ytw on Nov 16, 2012 12:30 PM

  • Increasing JVM memory size at runtime

    I want to increase the JVM memory size at runtime.
    I found out that I can do this with oracle.aurora.vm.OracleRuntime.setMaxMemorySize(...)
    Which JAR do I have to put on the classpath to be able to acces OracleRuntime???
    What would be the proper implementation to incerase the memory size?

    aurora.zip

  • How to increase JVM memory for Web Logic 10.3.3 - OSB 11g

    Hello folks,
    I am running OSB 11g on WebLogic 10.3.3 to call some services passing large XMLs requests. These XMLs are something around 10mb each. Unfortunately, I got errors regarding memory.
    I am using Eclipse with OSB plugin to develop, and I have configured the weblogic server to start up it from the eclipse, thus I don't need to start up through command line.
    I would like to know where I can change the memory arguments to start up the JVM which runs the WebLogic server. As I am starting up the server from eclipse, I can't change the memory size args from command line.
    Is there a file where those arguments are stored? or some configuration on WebLogic console which I can increase the Xms and Xmx ?
    The JVM is jrockit_160_17_R28.0.0-679
    This is the eclipse console output when the server is starting up:
    JAVA Memory arguments: -Xms256m -Xmx512m
    WLS Start Mode=Development
    CLASSPATH=C:\Davi\osb\mw_1033\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;;C:\Davi\osb\mw_1033\OSB_OR~1\modules\features\osb.server.modules_11.1.1.3.jar;C:\Davi\osb\mw_1033\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Davi\osb\mw_1033\patch_oepe1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Davi\osb\mw_1033\JROCKI~1.0-6\lib\tools.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\weblogic.jar;C:\Davi\osb\mw_1033\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\webservices.jar;C:\Davi\osb\mw_1033\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Davi\osb\mw_1033\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Davi\osb\mw_1033\osb_ora11g\soa\modules\oracle.soa.common.adapters_11.1.1\oracle.soa.common.adapters.jar;C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Davi\osb\mw_1033\OSB_OR~1\lib\version.jar;C:\Davi\osb\mw_1033\OSB_OR~1\lib\alsb.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-ant.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-common.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-core.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\lib\j2ssh-dameon.jar;C:\Davi\osb\mw_1033\OSB_OR~1\3rdparty\classes;C:\Davi\osb\mw_1033\OSB_OR~1\lib\external\log4j_1.2.8.jar;C:\Davi\osb\domains\INFOLE~1\config\osb;C:\Davi\osb\mw_1033\WLSERV~1.3\common\derby\lib\derbynet.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\Davi\osb\mw_1033\patch_wls1033\profiles\default\native;C:\Davi\osb\mw_1033\patch_oepe1033\profiles\default\native;C:\Davi\osb\mw_1033\WLSERV~1.3\server\native\win\32;C:\Davi\osb\mw_1033\WLSERV~1.3\server\bin;C:\Davi\osb\mw_1033\modules\ORGAPA~1.1\bin;C:\Davi\osb\mw_1033\JROCKI~1.0-6\jre\bin;C:\Davi\osb\mw_1033\JROCKI~1.0-6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Application Virtualization Client;C:\Program Files\Attachmate\Reflection\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Davi\osb\mw_1033\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode)
    Starting WLS with line:
    C:\Davi\osb\mw_1033\JROCKI~1.0-6\bin\java -jrockit -Xms256m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Davi\osb\mw_1033\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=C:\Davi\osb\mw_1033\WLSERV~1.3 -Dwls.home=C:\Davi\osb\mw_1033\WLSERV~1.3\server -Dweblogic.home=C:\Davi\osb\mw_1033\WLSERV~1.3\server -Ddomain.home=C:\Davi\osb\domains\INFOLE~1 -Dcommon.components.home=C:\Davi\osb\mw_1033\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=C:\Davi\osb\domains\INFOLE~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Davi\osb\domains\INFOLE~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Davi\osb\mw_1033\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Davi\osb\mw_1033\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Davi\osb\mw_1033\patch_oepe1033\profiles\default\sysext_manifest_classpath weblogic.Server
    Thanks in advance,
    Davinod
    Edited by: user13631313 on Jan 10, 2011 10:07 AM

    Hi Davinod,
    Yes, the correct place is to change the memory arguments in the "setDomainEnv.cmd", however can you confirm if the changed memory arguments were reflected in the logs or not.
    If yes then you need to try to increase the memory arguments again and test which is the best working memory argument suitable for your environment, this would take some trials.
    However if the memory arguments are still not reflected then try to set it properly as shown below:
    set MEM_ARGS=-Xms1024m -Xmx1024m
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • How to extend RAM memory size in Mac Book pro.

    Sir,
    I have Mac Book Pro.This system have 4 GB RAM only.but I need 8 GB RAM for install Window OS purpose.So How to extend RAM memory size in Mac Book Pro.
    Regards,
    M.Muthukumar

    http://support.apple.com/kb/HT1270

  • HT4101 How is the photo size affected when importing from the SD card to ipad (2) ?

    How is the photo size affected when importing from the SD card to ipad (2) ?
    If they stay the same, any options I can have to "re-size" the photos so that I could use it for a photo storage when traveling?
    Thanks.

    To re-size, you can use:
    https://itunes.apple.com/sg/app/simple-resize/id327776379?mt=8

  • With OS X10.9 the Mail window (after hitting reply or forward) grows ridiculously long, sometimes 4 times the width of the screen and would not allow me to readjust the window size. Any one has the same problem? How shall I go about fixing it? (Thanks)

    With OS X10.9 the Mail window (after hitting reply or forward) grows ridiculously long, sometimes 4 times the width of the screen and would not allow me to readjust the window size. Any one has the same problem? How shall I go about fixing it? (Thanks)

    I'm having the same problem.  I've tried going into the Library and deleting the mail plist file(s), which fixes the problem, but only temporarily.  Would appreciate any help here too!

  • How to read system memory size, processor speed of a system

    Hi all,
    How to read system memory size, processor speed of a system and how to read how much of it are in use in a running system. (using java)
    any help would be great.
    -thanks

    How to read system memory size, processor speed of a
    system and how to read how much of it are in use in a
    running system. (using java)Using Java: not at all. You'll need JNI.

  • How can I login and retrieve my user file from the trash?

    I was trying to find out where all my HD had gone, which a did using ‘What Size’.
    I found what looked like an old backup file so I put the file in the trash.
    It turns out that the file was my user file. So now I can’t login to as the user.
    How can I login and retrieve my user file from the trash?

    The Digital Editions forum is here, in case this is what you are talking about:
    http://forums.adobe.com/community/adobe_digital_editions
    If you are not, I apologize for the misunderstanding.

  • Getting the page size in PDF file

    i want know how do get the page size in PDF file befor placing every page in document
    for example height=297 mm And width=210mm

    This script:
    http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both -pdf-and-indd-files.php
    answers all your questions.
    Peter

  • I would like to change the font size (make it larger) in the Finder SIDEBAR

    I would like to change the font size (make it larger) in the Finder SIDEBAR in Leopard.

    Welcome to Apple Discussions.
    vincentd wrote:
    I could also use a larger font in the Finder side bar. Sceen resolutions increase and systems fonts get accordingly smaller...
    Well, if you normally use the lowest resolution, then yes.
    vincentd wrote:
    Also it CAN be done in iMovie 08, why isn't it possible with other Apple apps?
    I can't answer that question. We don't work for Apple here, we're all just plain users who contribute our time, but you can send Mac OS X Feedback
    -mj
    Message was edited by: macjack

Maybe you are looking for

  • Not playing back in DVD player

    Hello all, I made a DVD in DVD Studio Pro, and it played back perfectly in the DVD player on my mac. Then I went to play it in 2 other DVD players, and it wouldn't recognize the media. I also couldn't play it on a PC player. I have no idea why. Any i

  • Material Master extended to a wrong combination of Plant and Warehouse

    I actually came through something unusual today. I was able to extend the material to extend a material to a plant and warehouse which doesnt have a link between them. I checked it out in the configuration that there was no link between the two. Then

  • Why a tab page show while I specified  tab page access??

    I want to restrict access to the tab to specific users. I edit grant access in tab,select Specify Access Settings and then select user that I want him to see. And I don't mark the check box, Display Tab To Public Users. But when I access this page li

  • Any Oracle/Java/XML developers in Houston, TX interested in getting together ?

    I was just looking for some new collegues and friends. I am currenlty working in Houston, TX and I am interested in getting together with other professionals. If anyone is interested email me at [EMAIL][email protected][EMAIL] . Jason Long Enterprise

  • Obtaining MAC address in C program

    Hello there, I wish to obtain the MAC address of the primary ethernet card on a Solaris OS via C. This program is invoked many times/second so calling an external program is not really suitable. The MAC address is being obtained for the purpose of pr