REUSE_ALV_GRID_DISPLAY Download to XML

I'm trying to export an ALV report into XML format from our ECC 6 system.  From the export->spreadsheet option, I selected the 2003 XML spreadsheet format; however, when Excel 2010 starts up, it displayed a "Problem During Load" pop up box with the text "Table" in it.  I  recently upgraded to Office 2010.
G

Looks like I need to load the latest SAP GUI to correct the problem.

Similar Messages

  • Problema para fazer download do XML (Firefox, Chrome, Safari)

    Oi Pessoal,
    Queria ver se alguém tem alguma dica... no monitor web, em vários clientes diferentes, conseguia acessar normalmente o download do XML: clicava no botão "Download XML" na visão de detalhes da NF-e, abre-se o menu com "NF-e" habilitado, "NF-e cancelada" e "NF-e inutilizada" desabilitados (normalmente). Clicando no "NF-e", abre outra janela que abre o popup para fazer o download do arquivo, onde escolho se abre ou salva o arquivo.
    Depois de atualizar o Firefox para a versão 7.0.1 (tanto no Windows como no Mac), o digníssimo do Firefox não abre mais o menu, logo, não consigo fazer o download.
    Antes disso funcionava normal (tive que ajustar as configurações de popup, adicionar os servers na lista de exceções, mas funcionava). Conseguia acessar no Firefox, no Safari, Chrome => esses no Mac, e IE e Firefox no windows.
    Agora, com o Firefox morto, restavam os outros... pra minha suspresa, os clientes que atualizaram o SP20 por conta da NT2011.004, passaram a não mais abrir nem no Safari nem no Chrome, ou seja, só no IE está funcionando!
    Será que houve alguma atualização no SP20 que fez com que desse problema em todos os browsers (-IE)? Ou é só coincidência e azar meu?
    sigh.....
    Abraços,
    Eduardo

    Bom dia Eduardo,
    Não sei se pode resolver, mas faça um teste aplicando a SAP Note 1638529 XML downloaded as XHTML in IE 9
    O problema se apresentou no internet explorer 9, por isso a descrição.
    Atenciosamente, Fernando Da Ró

  • Problemas para download do XML em massa no GRC NFe 10.0

    Boa tarde
    Fizemos o upgrade de versão do GRC 1.0 para 10.0 e entramos em Produção na segunda-feira, 19/02.
    Estamos tendo dificuldades para efetuar o dwonload em massa dos arquivos. Temos um programa Z que parou de funcionar e quando estamos indo pela opção do Menu
    WDY_APPLICATION - Download Archived XML nem todas as notas estão sendo exportadas
    Ex.: para um determinado CNPJ temos mais de 240 notas de saída aprovadas e só estamos conseguindo exportar 12 arquivos XML
    Alguém tem alguma idéia/dica para a solução?
    Temos que enviar os XMLs em atraso e fazendo o download individual está sendo inviável.
    Grata,
    Denise

    Olá Henrique
    Identificamos o problema através de debug da função /XNFE/OUTNFE_XML_MASS_DATA.
    O parâmetro de seleção está invertido. Se digitarmos o emissor no lugar do recebedor o programa funciona.
    É erro no standard. O curioso é que ninguém reportou esse erro. Não devem estar usando o programa de download em massa.
    De qualquer forma obrigada pela ajuda.
    Denise

  • Download a XML file from Web Services Using Flex

    Hi All...
    I am new for flex, im developing a windows application using Flex/Air, i have connected the web services with user authentication, now I want to download a xml file using web services in flex,
    how can i do this?? please reply...
    Thanks in advance
    Vasanth

    Hi All....
    I have done this myself using sample tutorials...
    here is the code for your reference guys
              plyLoginName = txtEmailIdDownload.text;                
                     var urlpath:String = new String("your url p?LoginName=");
                    urlpath = new String(urlpath.concat(plyLoginName));
                    urlpath = new String(urlpath.concat("&PlayerType="));
                    urlpath = new String(urlpath.concat(chkseasonvalue));
                    Alert.show(urlpath);
                var request:URLRequest = new URLRequest(urlpath)
                var fileRef:FileReference = new FileReference();           
                fileRef.download(request,"yourfilename.xml");
                Alert.show('File downloaded Successfully');   
                 txtEmailIdDownload.text = "";
                txtPWDownload.text = "";
    thanks
    Vasanth

  • Downloading an XML file from Website through BPEL/ADAPTER

    Hi,
    I want to download an xml file from one webpage through BPEL. I am using jdeveloper 10.1.3.3 to create a BPEL process and Adapters.
    Is there anyway to download the xml file from the site through FUSION middleware.

    what do you mean download, is it a site where you click a hyperlink then down load the file.
    This is not possible as this is invoked by human intervention. SOA suite is invoked by events. If you want to perform this kind of function you would need to create a jave service to perform this.
    Is there any posibility that there is a FTP link that you could use?
    cheers
    James

  • Downloading an XML file from Website through FUSION middleware

    Hi,
    I want to download an xml file from one website through BPEL. I am using jdeveloper 10.1.3.3 to create a BPEL process and Adapters.
    How can i download the xml file from the site through FUSION middleware?

    Another option would be to write a smal Java class the uses URLConnect to connect to the URL in question and use WSIF to bind it to the BPEL process.
    Just google for sample code.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                           

  • To download SOAP/XML file at runtime....

    Hi,
      My porgram is consuming a web service, provided by an external party, by calling the method of the corresponding proxy class. The problem is I want to capture the SOAP/XML file that is generated at runtime when the proxy method is called.
    Could you please suggest me a way by which I can download the XML file. Is it possible?
    Regards,
    Vara

    Hi Vara,
    One solution is to activate logging and tracing and to see the payload in the log viewer. Consider that this could lower the performance of the system.
    Another solution could be to use some kind of [packet analyzer|http://en.wikipedia.org/wiki/Packet_sniff] ...
    Hope this helps,
    Rossen

  • Why did you send me a download in XML format, instead of WORD?

    Why did you send me a download in XML format?

    balancedphoto, I just sent you a private message. Please check your inbox. :: Yuri

  • Downloading the XML

    Hi all,
    I am facing a problem while dowmloading an XML.
    When i click on the link for downloading the XML it is giving me the option for Open, save and cancel and when i click on save, it will save the XML but the blank window screen remains there .
    In webdynpro view Layout I have set the property <b>Target</b> as <b>_parent</b> and <b>behaviour</b> as <b>allowspace</b> and when i change the <b>behaviour</b> property to <b>openinspace</b> on click of link for downloading XML it will directly display the XML without any option for Open, Save or Cancel.
    Please response, this is really urgent
    Thanks in advance

    i think the behaviour property z allowSave
    chk it
    http://help.sap.com/saphelp_nw70/helpdata/en/58/0cc24133c06324e10000000a1550b0/frameset.htm

  • Smart form downloaded into .xml file ??.

    Hi all,
    When a smart form is downloaded, it gets downloaded as a .xml file.
    My question is, how does it get converted to .xml file.
    <i>Is there any</i> <u>function module</u> that is called and <i>if so</i> <u>what</u> is the function module.

    Hi,
    You can download into XML format. However, it's not sure about uploading. Refer to the program <b>'SF_XSF_DEMO'</b>.
    In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
    Feel free to revert back.
    --Ragu

  • Woolamaloo will not download site XML

    Last week all was perfect, however as of yesterday (no recent updating) Woolamaloo will not download site XML. Woolamaloo version 1, MAC Pro 2 Quad Xenon. Other Macs in my office have no problem connecting.

    Would it be possible to chat with you offline? I have two ideas ... one would be faster to get going, the other would be a little more work for me ... and for you, but it might be the wiser course.
    Just e-mail me at [email protected] ... or post your e-mail address and I'll get in touch with you.

  • Help........ How to download an XML file (URL) over HTTP within ESB?

    Hi,
    There is a requirement to download an XML file from the Web using Fusion middleware. The XML file is available as a URL, and is updated daily.
    http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
    We need to check if this is download is possible from within ESB.
    One Oracle consultant reported this to be slightly tricky, but possible through HTTP Binding. We never could get in touch with him again.
    So open to the forum.
    So please suggest your opinions, and icing on the cake if you can also point to some tutorial or sample code.
    Thanks,
    Amit

    just run a wget on the file and then you can pick it up with a file adapter, I note there is no XSD association with it.

  • Error: Unable to download document : "xml/motd.xml"

    Hi,
    I got the following error messages when downloading patches on my sunUC clients:
    # smpatch download -i 118833-36
    Error: Unable to download document : "xml/motd.xml"
    Cannot connect to retrieve xml/motd.xml: Bad Request
    Unable to display any message of the day notices from Sun Microsystems. Refer to the log file for additional information.
    118833-36 has been validated.
    I looked at all the log files in /var/sadm/spool and couldn't find anything related to the error messages.
    The patch 118833-36 was downloaded and installed fine.

    Moderador,
    Based on your request, I run 4 test scenarios that might provide some useful information.
    Content of /var/sadm/spool/patchsvr
    root@b3osdsun01:/root# ls -laR /var/sadm/spool/patchsvr
    /var/sadm/spool/patchsvr:
    total 36
    drwxr-xr-x 6 root sys 512 Sep 9 05:36 .
    drwxr-xr-x 8 root sys 7168 Feb 24 12:39 ..
    drwxr-xr-x 2 root root 3072 Feb 24 09:52 Database
    drwxr-xr-x 2 root sys 1024 Feb 24 06:11 Misc
    drwxr-xr-x 2 root sys 3072 Feb 24 00:03 Patches
    drwxr-xr-x 2 root root 2560 Feb 24 09:52 entitlement
    /var/sadm/spool/patchsvr/Database:
    total 1208
    drwxr-xr-x 2 root root 3072 Feb 24 09:52 .
    drwxr-xr-x 6 root sys 512 Sep 9 05:36 ..
    -rw-r--r-- 1 root root 291567 Oct 14 07:18 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2FDatabase%2Fcurrent.zip
    -rw-r--r-- 1 root root 0 Oct 1 12:29 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2FDatabase%2Fcurrent.zip32460
    -rw-r--r-- 1 root root 0 Oct 1 12:30 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2FDatabase%2Fcurrent.zip32462
    -rw-r--r-- 1 root root 0 Oct 1 12:39 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2FDatabase%2Fcurrent.zip32464
    -rw-r--r-- 1 root root 0 Oct 1 12:48 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2FDatabase%2Fcurrent.zip32466
    -rw-r--r-- 1 root root 0 Oct 1 13:01 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2FDatabase%2Fcurrent.zip32468
    -rw-r--r-- 1 root root 0 Oct 1 13:08 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2FDatabase%2Fcurrent.zip32470
    -rw-r--r-- 1 root root 298728 Feb 23 17:11 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip
    -rw-r--r-- 1 root root 0 Feb 23 20:57 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip261
    -rw-r--r-- 1 root root 0 Feb 23 21:00 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip264
    -rw-r--r-- 1 root root 0 Feb 23 21:09 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip267
    -rw-r--r-- 1 root root 0 Feb 23 21:11 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip269
    -rw-r--r-- 1 root root 0 Feb 23 21:18 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip272
    -rw-r--r-- 1 root root 0 Feb 23 21:19 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip274
    -rw-r--r-- 1 root root 0 Feb 23 21:21 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip276
    -rw-r--r-- 1 root root 0 Feb 23 21:24 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip279
    -rw-r--r-- 1 root root 0 Feb 23 21:29 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip281
    -rw-r--r-- 1 root root 0 Feb 23 21:46 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip284
    -rw-r--r-- 1 root root 0 Feb 23 22:11 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip286
    -rw-r--r-- 1 root root 0 Feb 23 22:31 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip289
    -rw-r--r-- 1 root root 0 Feb 23 23:05 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip292
    -rw-r--r-- 1 root root 0 Feb 24 00:01 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip295
    -rw-r--r-- 1 root root 0 Feb 24 00:01 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip296
    -rw-r--r-- 1 root root 0 Feb 24 00:01 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip297
    -rw-r--r-- 1 root root 0 Feb 24 05:44 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip301
    -rw-r--r-- 1 root root 0 Feb 24 05:48 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip304
    -rw-r--r-- 1 root root 0 Feb 24 06:11 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip307
    -rw-r--r-- 1 root root 0 Feb 24 08:12 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip309
    -rw-r--r-- 1 root root 0 Feb 24 09:43 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip311
    -rw-r--r-- 1 root root 0 Feb 24 09:52 https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2FDatabase%2Fcurrent.zip313
    /var/sadm/spool/patchsvr/Misc:
    total 14228
    drwxr-xr-x 2 root sys 1024 Feb 24 06:11 .
    drwxr-xr-x 6 root sys 512 Sep 9 05:36 ..
    -rw-r--r-- 1 root root 3611154 Oct 14 07:18 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2Fdetectors.jar
    -rw-r--r-- 1 root root 3646470 Feb 23 17:12 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar
    -rw-r--r-- 1 root root 0 Feb 23 20:57 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar262
    -rw-r--r-- 1 root root 0 Feb 23 21:09 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar266
    -rw-r--r-- 1 root root 0 Feb 23 21:18 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar271
    -rw-r--r-- 1 root root 0 Feb 23 21:21 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar277
    -rw-r--r-- 1 root root 0 Feb 23 21:46 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar283
    -rw-r--r-- 1 root root 0 Feb 23 22:11 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar287
    -rw-r--r-- 1 root root 0 Feb 23 23:05 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar291
    -rw-r--r-- 1 root root 0 Feb 24 00:01 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar294
    -rw-r--r-- 1 root root 0 Feb 24 05:44 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar302
    -rw-r--r-- 1 root root 0 Feb 24 06:11 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar306
    /var/sadm/spool/patchsvr/Patches:
    total 1292618
    drwxr-xr-x 2 root sys 3072 Feb 24 00:03 .
    drwxr-xr-x 6 root sys 512 Sep 9 05:36 ..
    -rw-r--r-- 1 root root 46475761 Oct 1 10:50 113886-38.jar
    -rw-r--r-- 1 root root 43498410 Feb 23 21:01 113886-42.jar
    -rw-r--r-- 1 root root 42888423 Oct 1 10:52 113887-38.jar
    -rw-r--r-- 1 root root 40807581 Feb 23 21:02 113887-42.jar
    -rw-r--r-- 1 root root 151954 Oct 1 10:53 118557-06.jar
    -rw-r--r-- 1 root root 69163583 Feb 23 21:03 118666-11.jar
    -rw-r--r-- 1 root root 10514183 Feb 23 21:03 118667-11.jar
    -rw-r--r-- 1 root root 188662 Oct 1 10:48 118683-01.jar
    -rw-r--r-- 1 root root 236302 Oct 1 10:56 118706-01.jar
    -rw-r--r-- 1 root root 196150 Oct 1 10:56 118707-04.jar
    -rw-r--r-- 1 root root 419527 Oct 1 10:56 118708-13.jar
    -rw-r--r-- 1 root root 105696 Oct 1 10:56 118711-02.jar
    -rw-r--r-- 1 root root 295738 Oct 1 10:56 118712-10.jar
    -rw-r--r-- 1 root root 302061 Feb 23 21:02 118712-13.jar
    -rw-r--r-- 1 root root 496152 Oct 1 10:56 118777-06.jar
    -rw-r--r-- 1 root root 95092 Oct 1 10:53 118812-03.jar
    -rw-r--r-- 1 root root 166160 Feb 24 00:02 118815-05.jar
    -rw-r--r-- 1 root root 80428 Oct 1 10:56 118830-01.jar
    -rw-r--r-- 1 root root 34095003 Oct 8 09:41 118833-24.jar
    -rw-r--r-- 1 root root 54413206 Feb 24 00:03 118833-36.jar
    -rw-r--r-- 1 root root 1808265 Oct 1 10:53 118918-19.jar
    -rw-r--r-- 1 root root 1822253 Feb 24 00:02 118918-24.jar
    -rw-r--r-- 1 root root 96695 Oct 1 10:56 118945-01.jar
    -rw-r--r-- 1 root root 91763 Oct 1 10:56 118981-03.jar
    -rw-r--r-- 1 root root 5573200 Oct 8 09:42 119059-18.jar
    -rw-r--r-- 1 root root 5576430 Feb 23 21:03 119059-21.jar
    -rw-r--r-- 1 root root 114774 Oct 1 10:57 119063-01.jar
    -rw-r--r-- 1 root root 1189956 Feb 23 21:00 119081-25.jar
    -rw-r--r-- 1 root root 13288480 Oct 1 10:57 119115-18.jar
    -rw-r--r-- 1 root root 14743306 Feb 23 21:03 119115-22.jar
    -rw-r--r-- 1 root root 4273087 Oct 1 10:56 119117-22.jar
    -rw-r--r-- 1 root root 4617883 Feb 23 21:02 119117-29.jar
    -rw-r--r-- 1 root root 8607487 Oct 1 10:56 119213-09.jar
    -rw-r--r-- 1 root root 8618010 Oct 14 07:18 119213-10.jar
    -rw-r--r-- 1 root root 8660261 Feb 23 21:01 119213-11.jar
    -rw-r--r-- 1 root root 1356682 Oct 1 10:45 119254-27.jar
    -rw-r--r-- 1 root root 1361281 Feb 24 00:01 119254-34.jar
    -rw-r--r-- 1 root root 101596 Oct 1 10:56 119309-03.jar
    -rw-r--r-- 1 root root 1270965 Feb 23 21:04 119397-06.jar
    -rw-r--r-- 1 root root 494252 Oct 1 10:53 119470-08.jar
    -rw-r--r-- 1 root root 1827070 Oct 1 10:56 119546-07.jar
    -rw-r--r-- 1 root root 1160825 Oct 1 10:56 119548-05.jar
    -rw-r--r-- 1 root root 1939955 Oct 1 10:52 119578-29.jar
    -rw-r--r-- 1 root root 61172 Feb 23 21:02 119703-08.jar
    -rw-r--r-- 1 root root 39643171 Oct 1 10:56 119757-04.jar
    -rw-r--r-- 1 root root 751835 Oct 1 10:53 119850-20.jar
    -rw-r--r-- 1 root root 751901 Oct 8 09:42 119850-21.jar
    -rw-r--r-- 1 root root 541532 Oct 1 10:56 119900-02.jar
    -rw-r--r-- 1 root root 797869 Oct 1 10:57 119903-02.jar
    -rw-r--r-- 1 root root 1720037 Oct 1 10:48 119963-07.jar
    -rw-r--r-- 1 root root 1737070 Feb 23 21:03 119998-02.jar
    -rw-r--r-- 1 root root 91104 Oct 1 10:52 120056-02.jar
    -rw-r--r-- 1 root root 90969 Oct 1 10:53 120061-02.jar
    -rw-r--r-- 1 root root 51318 Feb 23 21:01 120068-02.jar
    -rw-r--r-- 1 root root 302460 Oct 1 10:56 120099-07.jar
    -rw-r--r-- 1 root root 54484 Oct 1 10:53 120294-01.jar
    -rw-r--r-- 1 root root 71490 Oct 1 10:53 120346-04.jar
    -rw-r--r-- 1 root root 999740 Oct 1 10:53 120467-05.jar
    -rw-r--r-- 1 root root 795638 Oct 1 10:53 120469-05.jar
    -rw-r--r-- 1 root root 16139832 Oct 1 10:52 120543-05.jar
    -rw-r--r-- 1 root root 16258980 Oct 8 09:42 120543-06.jar
    -rw-r--r-- 1 root root 16253320 Feb 23 21:03 120543-08.jar
    -rw-r--r-- 1 root root 493214 Feb 24 00:02 120719-02.jar
    -rw-r--r-- 1 root root 270675 Oct 1 10:48 120753-02.jar
    -rw-r--r-- 1 root root 84612 Oct 1 10:48 120780-02.jar
    -rw-r--r-- 1 root root 320258 Oct 14 07:18 120791-05.jar
    -rw-r--r-- 1 root root 58715 Oct 1 10:52 120887-06.jar
    -rw-r--r-- 1 root root 102087 Feb 24 00:02 121002-03.jar
    -rw-r--r-- 1 root root 1175840 Oct 1 10:52 121081-05.jar
    -rw-r--r-- 1 root root 1176987 Feb 23 23:05 121081-06.jar
    -rw-r--r-- 1 root root 61029 Oct 1 10:56 121095-01.jar
    -rw-r--r-- 1 root root 87618400 Oct 1 10:47 121104-01.jar
    -rw-r--r-- 1 root root 1604794 Oct 14 07:18 121118-08.jar
    -rw-r--r-- 1 root root 1756896 Feb 23 21:02 121118-11.jar
    -rw-r--r-- 1 root root 25377 Oct 1 10:48 121136-01.jar
    -rw-r--r-- 1 root root 43541 Oct 1 10:52 121302-01.jar
    -rw-r--r-- 1 root root 1349725 Oct 1 10:45 121308-07.jar
    -rw-r--r-- 1 root root 766128 Oct 1 10:45 121430-11.jar
    -rw-r--r-- 1 root root 33454 Oct 1 10:52 121474-01.jar
    -rw-r--r-- 1 root root 39156 Oct 1 10:53 121556-01.jar
    -rw-r--r-- 1 root root 54439 Oct 1 10:53 121557-01.jar
    -rw-r--r-- 1 root root 38531 Oct 1 10:53 121558-01.jar
    -rw-r--r-- 1 root root 64667 Oct 1 10:53 121559-01.jar
    -rw-r--r-- 1 root root 455467 Oct 1 10:56 121563-02.jar
    -rw-r--r-- 1 root root 73619 Oct 1 10:52 121693-03.jar
    -rw-r--r-- 1 root root 78784 Feb 23 21:04 121734-05.jar
    -rw-r--r-- 1 root root 26983 Feb 23 23:05 121901-01.jar
    -rw-r--r-- 1 root root 328956 Oct 8 09:42 122027-08.jar
    -rw-r--r-- 1 root root 334464 Feb 23 21:01 122032-04.jar
    -rw-r--r-- 1 root root 5622658 Oct 8 09:42 122212-10.jar
    -rw-r--r-- 1 root root 5712006 Oct 14 07:19 122212-12.jar
    -rw-r--r-- 1 root root 5724049 Feb 23 21:02 122212-17.jar
    -rw-r--r-- 1 root root 73018 Oct 1 10:53 122363-01.jar
    -rw-r--r-- 1 root root 39118 Oct 1 10:53 122515-01.jar
    -rw-r--r-- 1 root root 77359 Oct 1 10:53 122517-02.jar
    -rw-r--r-- 1 root root 81527 Oct 1 10:53 122523-03.jar
    -rw-r--r-- 1 root root 63877 Oct 1 10:53 122525-02.jar
    -rw-r--r-- 1 root root 195842 Oct 14 07:18 122669-01.jar
    -rw-r--r-- 1 root root 42365 Oct 14 07:18 122761-01.jar
    -rw-r--r-- 1 root root 197594 Oct 14 07:18 122860-01.jar
    -rw-r--r-- 1 root root 10965819 Oct 8 09:42 122911-02.jar
    -rw-r--r-- 1 root root 475616 Feb 23 21:01 123186-02.jar
    -rw-r--r-- 1 root root 108231 Oct 1 10:53 123304-02.jar
    -rw-r--r-- 1 root root 30541 Oct 1 10:53 123334-02.jar
    -rw-r--r-- 1 root root 34196 Oct 1 10:53 123360-01.jar
    -rw-r--r-- 1 root root 223934 Oct 14 07:18 124206-02.jar
    -rw-r--r-- 1 root root 51848 Feb 23 21:03 124244-01.jar
    -rw-r--r-- 1 root root 578669 Feb 23 21:12 124614-01.jar
    -rw-r--r-- 1 root root 437290 Feb 23 21:00 124630-03.jar
    -rw-r--r-- 1 root root 307636 Feb 23 21:03 124922-02.jar
    -rw-r--r-- 1 root root 41967 Feb 23 21:01 124943-01.jar
    -rw-r--r-- 1 root root 55028 Feb 23 21:03 124997-01.jar
    -rw-r--r-- 1 root root 657450 Feb 23 21:01 125011-01.jar
    /var/sadm/spool/patchsvr/entitlement:
    total 12
    drwxr-xr-x 2 root root 2560 Feb 24 09:52 .
    drwxr-xr-x 6 root sys 512 Sep 9 05:36 ..
    -rw-r--r-- 1 root root 121 Oct 14 07:18 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2Fentitlement_lps
    -rw-r--r-- 1 root root 0 Oct 1 12:29 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2Fentitlement_lps32461
    -rw-r--r-- 1 root root 0 Oct 1 12:30 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2Fentitlement_lps32463
    -rw-r--r-- 1 root root 0 Oct 1 12:39 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2Fentitlement_lps32465
    -rw-r--r-- 1 root root 0 Oct 1 12:48 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2Fentitlement_lps32467
    -rw-r--r-- 1 root root 0 Oct 1 13:01 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2Fentitlement_lps32469
    -rw-r--r-- 1 root root 0 Oct 1 13:08 https%3A%2F%2Fgetupdates.sun.com%2Fsolaris%2F%2Fentitlement_lps32471
    -rw-r--r-- 1 root root 187 Feb 23 17:12 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps
    -rw-r--r-- 1 root root 0 Feb 23 20:58 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps263
    -rw-r--r-- 1 root root 0 Feb 23 21:00 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps265
    -rw-r--r-- 1 root root 0 Feb 23 21:10 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps268
    -rw-r--r-- 1 root root 0 Feb 23 21:12 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps270
    -rw-r--r-- 1 root root 0 Feb 23 21:19 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps273
    -rw-r--r-- 1 root root 0 Feb 23 21:19 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps275
    -rw-r--r-- 1 root root 0 Feb 23 21:21 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps278
    -rw-r--r-- 1 root root 0 Feb 23 21:25 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps280
    -rw-r--r-- 1 root root 0 Feb 23 21:30 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps282
    -rw-r--r-- 1 root root 0 Feb 23 21:47 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps285
    -rw-r--r-- 1 root root 0 Feb 23 22:12 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps288
    -rw-r--r-- 1 root root 0 Feb 23 22:31 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps290
    -rw-r--r-- 1 root root 0 Feb 23 23:05 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps293
    -rw-r--r-- 1 root root 0 Feb 24 00:01 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps298
    -rw-r--r-- 1 root root 0 Feb 24 00:01 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps299
    -rw-r--r-- 1 root root 0 Feb 24 00:02 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps300
    -rw-r--r-- 1 root root 0 Feb 24 05:45 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps303
    -rw-r--r-- 1 root root 0 Feb 24 05:49 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps305
    -rw-r--r-- 1 root root 0 Feb 24 06:12 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps308
    -rw-r--r-- 1 root root 0 Feb 24 08:12 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps310
    -rw-r--r-- 1 root root 0 Feb 24 09:43 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps312
    -rw-r--r-- 1 root root 0 Feb 24 09:52 https%3A%2F%2Fgetupdates1.sun.com%2F%2Fentitlement_lps314
    root@b3osdsun01:/root#
    SCENARIO 1
    - Did NOT restart the sunUC proxy server
    - run smpatch analyze from two sunUC clients
    - source URL = http://solaris3.ny.frb.org:3816/
    Results of client B1STSUN02
    root@b1stsun02# patchadd -p | grep 121118
    Patch: 121118-06 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWppror SUNWpprou SUNWppro-plugin-sunos-base SUNWupdatemgru SUNWupdatemgrr
    Patch: 121118-08 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWppror SUNWpprou SUNWppro-plugin-sunos-base SUNWupdatemgru SUNWupdatemgrr
    Patch: 121118-11 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWppror SUNWpprou SUNWppro-plugin-sunos-base SUNWcsmauth SUNWupdatemgru SUNWupdatemgrr
    root@b1stsun02# smpatch get
    patchpro.backout.directory - ""
    patchpro.baseline.directory - /var/sadm/spool
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source http://solaris3.ny.frb.org:3816/ https://getupdates1.sun.com/
    patchpro.patchset - current
    patchpro.proxy.host - ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port - 8080
    patchpro.proxy.user - ""
    root@b1stsun02# smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=true
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    ... Caught IO Exception.
    ((HttpURLConnection)connection).getResponseCode() : 503
    ((HttpURLConnection)connection).getResponseMessage() : Servlet PatchServer is currently unavailable
    Error: Unable to download document : "xml/motd.xml"
    Cannot connect to retrieve xml/motd.xml: Servlet PatchServer is currently unavailable
    Unable to display any message of the day notices from Sun Microsystems. Refer to the log file for additional information.
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    ... Caught IO Exception.
    ((HttpURLConnection)connection).getResponseCode() : 503
    ((HttpURLConnection)connection).getResponseMessage() : Servlet PatchServer is currently unavailable
    ... Caught IO Exception.
    ((HttpURLConnection)connection).getResponseCode() : 503
    ((HttpURLConnection)connection).getResponseMessage() : Servlet PatchServer is currently unavailable
    Failure: Cannot connect to retrieve detectors: Servlet PatchServer is currently unavailable
    root@b1stsun02#
    Results of client B1ISFSUN02
    root@b1isfsun02# patchadd -p | grep 121118
    Patch: 121118-06 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWppror SUNWpprou SUNWppro-plugin-sunos-base SUNWupdatemgru SUNWupdatemgrr
    Patch: 121118-10 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWppror SUNWpprou SUNWppro-plugin-sunos-base SUNWcsmauth SUNWupdatemgru SUNWupdatemgrr
    Patch: 121118-11 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWppror SUNWpprou SUNWppro-plugin-sunos-base SUNWcsmauth SUNWupdatemgru SUNWupdatemgrr
    root@b1isfsun02# smpatch get
    patchpro.backout.directory - ""
    patchpro.baseline.directory - /var/sadm/spool
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source http://solaris3.ny.frb.org:3816/ https://getupdates1.sun.com/
    patchpro.patchset - current
    patchpro.proxy.host - ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port - 8080
    patchpro.proxy.user - ""
    root@b1isfsun02# smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=true
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    ... Caught IO Exception.
    ((HttpURLConnection)connection).getResponseCode() : 503
    ((HttpURLConnection)connection).getResponseMessage() : Servlet PatchServer is currently unavailable
    Error: Unable to download document : "xml/motd.xml"
    Cannot connect to retrieve xml/motd.xml: Servlet PatchServer is currently unavailable
    Unable to display any message of the day notices from Sun Microsystems. Refer to the log file for additional information.
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    ... Caught IO Exception.
    ((HttpURLConnection)connection).getResponseCode() : 503
    ((HttpURLConnection)connection).getResponseMessage() : Servlet PatchServer is currently unavailable
    ... Caught IO Exception.
    ((HttpURLConnection)connection).getResponseCode() : 503
    ((HttpURLConnection)connection).getResponseMessage() : Servlet PatchServer is currently unavailable
    Failure: Cannot connect to retrieve detectors: Servlet PatchServer is currently unavailable
    root@b1isfsun02#
    SCENARIO 2
    - same as scenario 1 except source URL = http://solaris3.ny.frb.org:3816/solaris/
    Results of client B1STSUN02
    root@b1stsun02# smpatch set patchpro.patch.source=http://solaris3.ny.frb.org:3816/solaris/
    root@b1stsun02# smpatch get
    patchpro.backout.directory - ""
    patchpro.baseline.directory - /var/sadm/spool
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source http://solaris3.ny.frb.org:3816/solaris/ https://getupdates1.sun.com/
    patchpro.patchset - current
    patchpro.proxy.host - ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port - 8080
    patchpro.proxy.user - ""
    root@b1stsun02# smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=true
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    ... Caught IO Exception.
    ((HttpURLConnection)connection).getResponseCode() : 400
    ((HttpURLConnection)connection).getResponseMessage() : Bad Request
    Error: Unable to download document : "xml/motd.xml"
    Cannot connect to retrieve xml/motd.xml: Bad Request
    Unable to display any message of the day notices from Sun Microsystems. Refer to the log file for additional information.
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    Key 1 : Content-Type = application/octet-stream
    Key 2 : Date = Sun, 25 Feb 2007 15:13:56 GMT
    Key 3 : Server = Apache Tomcat/4.0.5 (HTTP/1.1 Connector)
    Key 4 : Transfer-Encoding = chunked
    Key 5 : PatchProServletCompletionCode = 0
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    Key 1 : Content-Type = application/octet-stream
    Key 2 : Date = Sun, 25 Feb 2007 15:14:18 GMT
    Key 3 : Server = Apache Tomcat/4.0.5 (HTTP/1.1 Connector)
    Key 4 : Transfer-Encoding = chunked
    Key 5 : PatchProServletCompletionCode = 0
    119081-25 SunOS 5.10: CD-ROM Install Boot Image Patch
    124630-03 SunOS 5.10: System Administration Applications, Network and Core Libraries Patch
    119254-34 SunOS 5.10: Install and Patch Utilities Patch
    113886-42 OpenGL 1.3: OpenGL Patch for Solaris (32-bit)
    113887-42 OpenGL 1.3: OpenGL Patch for Solaris (64-bit)
    120543-08 SunOS 5.10: Apache 2 Patch
    124244-01 SunOS 5.10: /usr/bin/rm patch
    124997-01 SunOS 5.10: /usr/bin/tip patch
    124614-01 SunOS 5.10: sconadm proxy: UnknownHostException
    118371-08 SunOS 5.10: elfsign Patch
    120068-03 SunOS 5.10: in.telnetd patch
    119115-23 Mozilla 1.7 patch
    root@b1stsun02#
    [b]Results of client B1ISFSUN02
    root@b1isfsun02# smpatch set patchpro.patch.source=http://solaris3.ny.frb.org:3816/solaris/
    root@b1isfsun02# smpatch get
    patchpro.backout.directory - ""
    patchpro.baseline.directory - /var/sadm/spool
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source http://solaris3.ny.frb.org:3816/solaris/ https://getupdates1.sun.com/
    patchpro.patchset - current
    patchpro.proxy.host - ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port - 8080
    patchpro.proxy.user - ""
    root@b1isfsun02# smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=true
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    ... Caught IO Exception.
    ((HttpURLConnection)connection).getResponseCode() : 400
    ((HttpURLConnection)connection).getResponseMessage() : Bad Request
    Error: Unable to download document : "xml/motd.xml"
    Cannot connect to retrieve xml/motd.xml: Bad Request
    Unable to display any message of the day notices from Sun Microsystems. Refer to the log file for additional information.
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    ... Submitting download request against a Non-GUUS server
    Key 1 : Content-Type = application/octet-stream
    Key 2 : Date = Sun, 25 Feb 2007 15:17:41 GMT
    Key 3 : Server = Apache Tomcat/4.0.5 (HTTP/1.1 Connector)
    Key 4 : Transfer-Encoding = chunked
    Key 5 : PatchProServletCompletionCode = 0
    Key 1 : Content-Type = application/octet-stream
    Key 2 : Date = Sun, 25 Feb 2007 15:17:42 GMT
    Key 3 : Server = Apache Tomcat/4.0.5 (HTTP/1.1 Connector)
    Key 4 : Transfer-Encoding = chunked
    Key 5 : PatchProServletCompletionCode = 0
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    Effective proxy host : ""
    Effective proxy port : "8080"
    Effective proxy user : ""
    ... Submitting download request against a Non-GUUS server
    Key 1 : Content-Type = application/octet-stream
    Key 2 : Date = Sun, 25 Feb 2007 15:18:27 GMT
    Key 3 : Server = Apache Tomcat/4.0.5 (HTTP/1.1 Connector)
    Key 4 : Transfer-Encoding = chunked
    Key 5 : PatchProServletCompletionCode = 0
    124614-01 SunOS 5.10: sconadm proxy: UnknownHostException
    118371-08 SunOS 5.10: elfsign Patch
    120068-03 SunOS 5.10: in.telnetd patch
    119115-23 Mozilla 1.7 patch
    root@b1isfsun02#
    SCENARIO 3
    - RESTART sunUC proxy server
    - same two sunUC clients
    - source URL = http://solaris3.ny.frb.org:3816/
    Results of restarting sunUC proxy
    root@b3osdsun01:/root# patchsvr stop
    Shutting down Local Patch Server
    root@b3osdsun01:/root# patchsvr start
    Starting Local Patch Server
    root@b3osdsun01:/root# patchsvr enable
    root@b3osdsun01:/root# patchsvr status
    enabled
    root@b3osdsun01:/root#
    Results of clientB1STSUN02
    root@b1stsun02# smpatch set patchpro.patch.source=http://solaris3.ny.frb.org:3816/
    root@b1stsun02# smpatch get
    patchpro.backout.directory - ""
    patchpro.baseline.directory - /var/sadm/spool
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source http://solaris3.ny.frb.org:3816/ https://getupdates1.sun.com/
    patchpro.patchset - current
    patchpro.proxy.host - ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port - 8080
    patchpro.proxy.user -

  • Is there a way to download an XML file from internet to internal table.

    Hi,
    We have Two system that first is "R/3 4.6C"   and   second is  "WebAS 6.20" and prior is first.
    I tried so much ways, i searched Function modules, classes, transactions ...
    But i have not found a way to download and XML file from internet like "http://www.tcmb.gov.tr/kurlar/today.xml" to internal table.
    is it possible to do ?
    if not, i will do with Delphi and RFC but i dont want to do this outside from SAP.
    thanks
    ibrahim

    Hi Ibrahim Bhai,
    I am Facing same kind of issue of getting Data of url into internal table.
    I want to know what are the settings that need to be made in SM59 to achieve this.
    What are the parameters that need to be passed while call to FM 'http_get' .
    Full Points will be rewarded.
    In Advance Thanks.
    With Regards,
    Shahrukh.

  • ALV list downloading to XML file

    hi experts,
    im working on ALV reports. i have displayed the list using grid, im also displaying the subtotals and grand total also.
    its all working fine.
    my problem is, when i try to download it using  list -> export -> spreadsheet, im getting only the data. the top of page, end of list and totals are not getting into the xml file.
    can some one help me to solve this problem please.
    one more problem is when i download using local file button (ctrlshftF9) im gtting header footer and all. but here the problem is its getting some additional coloms and also a list header, which i didnt gave. how to avoid those. please help me to slove these problems.
    thanks in advance.

    hi,
    i cannot understand y u r not getting totals and headings in xml file.
    check this sample program,i have downloaded now to desktop and iam getting all headings,subtotals and totals.
    REPORT  ZGM_ALV_SUBTOTAL_TEXT                   .
    *& Table declaration
    TABLES: ekko.
    *& Type pool declaration
    TYPE-POOLS: slis. " Type pool for ALV
    *& Selection screen
    SELECT-OPTIONS: s_ebeln FOR ekko-ebeln.
    *& Type declaration
    Type declaration for internal table to store EKPO data
    TYPES: BEGIN OF x_data,
           ebeln  TYPE char30,  " Document no.
           ebelp  TYPE ebelp,   " Item no
           matnr  TYPE matnr,   " Material no
           matnr1 TYPE matnr,   " Material no
           werks  TYPE werks_d, " Plant
           werks1 TYPE werks_d, " Plant
           ntgew  TYPE entge,   " Net weight
           gewe   TYPE egewe,   " Unit of weight                          
           END OF x_data.
    *& Internal table declaration
    DATA:
      i_ekpo TYPE STANDARD TABLE OF x_data INITIAL SIZE 0,
    Internal table for storing field catalog information
      i_fieldcat TYPE slis_t_fieldcat_alv,
    Internal table for Top of Page info. in ALV Display
      i_alv_top_of_page TYPE slis_t_listheader,
    Internal table for ALV Display events
      i_events TYPE slis_t_event,
    Internal table for storing ALV sort information
      i_sort TYPE  slis_t_sortinfo_alv,
      i_event TYPE slis_t_event.
    *& Work area declaration
    DATA:
      wa_ekko TYPE x_data,
      wa_layout     TYPE slis_layout_alv,
      wa_events         TYPE slis_alv_event,
      wa_sort TYPE slis_sortinfo_alv.
    *& Constant declaration
    CONSTANTS:
       c_header   TYPE char1
                  VALUE 'H',                    "Header in ALV
       c_item     TYPE char1
                  VALUE 'S'.
    *& Start-of-selection event
    START-OF-SELECTION.
    Select data from ekpo
      SELECT ebeln " Doc no
             ebelp " Item
             matnr " Material
             matnr " Material
             werks " Plant
             werks " Plant
             ntgew " Quantity
             gewei " Unit
             FROM ekpo
             INTO TABLE i_ekpo
             WHERE ebeln IN s_ebeln
             AND ntgew NE '0.00'.  IF sy-subrc = 0.
        SORT i_ekpo BY ebeln ebelp matnr .
      ENDIF.
    To build the Page header
      PERFORM sub_build_header. "* To prepare field catalog
      PERFORM sub_field_catalog. "* Perform to populate the layout structure
      PERFORM sub_populate_layout."* Perform to populate the sort table.
      PERFORM sub_populate_sort."* Perform to populate ALV event
      PERFORM sub_get_event.
      END-OF-SELECTION.
    * Perform to display ALV report
      PERFORM sub_alv_report_display.
    *&      Form  sub_build_header
          To build the header
          No Parameter
    FORM sub_build_header .
    Local data declaration
      DATA: l_system     TYPE char10 ,          "System id
            l_r_line     TYPE slis_listheader,  "Hold list header
            l_date       TYPE char10,           "Date
            l_time       TYPE char10,           "Time
            l_success_records TYPE i,           "No of success records
            l_title(300) TYPE c.                " Title
    Title  Display
      l_r_line-typ = c_header.               " header
      l_title = 'Test report'(001).
      l_r_line-info = l_title.
      APPEND l_r_line TO i_alv_top_of_page.
      CLEAR l_r_line.
    * Run date Display
      CLEAR l_date.
      l_r_line-typ  = c_item.                " Item
      WRITE: sy-datum  TO l_date MM/DD/YYYY.
      l_r_line-key = 'Run Date :'(002).
      l_r_line-info = l_date.
      APPEND l_r_line TO i_alv_top_of_page.
      CLEAR: l_r_line,
             l_date.ENDFORM.                    " sub_build_header
    *&      Form  sub_field_catalog
          Build Field Catalog
          No Parameter
    FORM sub_field_catalog .
    Build Field Catalog
      PERFORM sub_fill_alv_field_catalog USING:     '01' '01' 'EBELN'
      'I_EKPO' 'L'
         'Doc No'(003) ' ' ' ' ' ' ' ',     '01' '02' 'EBELP' 'I_EKPO' 'L'
         'Item No'(004) 'X' 'X' ' ' ' ',     '01' '03' 'MATNR' 'I_EKPO' 'L'
         'Material No'(005) 'X' 'X' ' ' ' ',     '01' '03' 'MATNR1' 'I_EKPO'
         'L'
         'Material No'(005) ' ' ' ' ' ' ' ',
         '01' '04' 'WERKS' 'I_EKPO' 'L'
         'Plant'(006) 'X' 'X' ' ' ' ',     '01' '04' 'WERKS1' 'I_EKPO' 'L'
         'Plant'(006) ' ' ' ' ' ' ' ',     '01' '05' 'NTGEW' 'I_EKPO' 'R'
         'Net Weight'(007) ' ' ' ' 'GEWE' 'I_EKPO'.ENDFORM.
    " sub_field_catalog*&----
    *&     Form  sub_fill_alv_field_catalog
    *&     For building Field Catalog
    *&     p_rowpos   Row position
    *&     p_colpos   Col position
    *&     p_fldnam   Fldname
    *&     p_tabnam   Tabname
    *&     p_justif   Justification
    *&     p_seltext  Seltext
    *&     p_out      no out
    *&     p_tech     Technical field
    *&     p_qfield   Quantity field
    *&     p_qtab     Quantity table
    FORM sub_fill_alv_field_catalog  USING  p_rowpos    TYPE sycurow
                                            p_colpos    TYPE sycucol
                                            p_fldnam    TYPE fieldname
                                            p_tabnam    TYPE tabname
                                            p_justif    TYPE char1
                                            p_seltext   TYPE dd03p-scrtext_l
                                            p_out       TYPE char1
                                            p_tech      TYPE char1
                                            p_qfield    TYPE slis_fieldname
                                            p_qtab      TYPE slis_tabname.
                                           Local declaration for field
                                           catalog
      DATA: wa_lfl_fcat    TYPE  slis_fieldcat_alv.
      wa_lfl_fcat-row_pos        =  p_rowpos.     "Row
      wa_lfl_fcat-col_pos        =  p_colpos.     "Column
      wa_lfl_fcat-fieldname      =  p_fldnam.     "Field Name
      wa_lfl_fcat-tabname        =  p_tabnam.     "Internal Table Name
      wa_lfl_fcat-just           =  p_justif.     "Screen Justified
      wa_lfl_fcat-seltext_l      =  p_seltext.    "Field Text
      wa_lfl_fcat-no_out         =  p_out.        "No output
      wa_lfl_fcat-tech           =  p_tech.       "Technical field
      wa_lfl_fcat-qfieldname     =  p_qfield.     "Quantity unit
      wa_lfl_fcat-qtabname       =  p_qtab .
      "Quantity table
      IF p_fldnam = 'NTGEW'.
        wa_lfl_fcat-do_sum  = 'X'.
      ENDIF.
      APPEND wa_lfl_fcat TO i_fieldcat.
      CLEAR wa_lfl_fcat.
    ENDFORM.
    " sub_fill_alv_field_catalog*&----
    *&      Form  sub_populate_layout
          Populate ALV layout
          No Parameter
    FORM sub_populate_layout .  CLEAR wa_layout.
      wa_layout-colwidth_optimize = 'X'.
    " Optimization of Col width
    ENDFORM. " sub_populate_layout*&----
    *&      Form  sub_populate_sort
          Populate ALV sort table
          No Parameter
    FORM sub_populate_sort .
    Sort on material
      wa_sort-spos = '01' .
      wa_sort-fieldname = 'MATNR'.
      wa_sort-tabname = 'I_EKPO'.
      wa_sort-up = 'X'.
      wa_sort-subtot = 'X'.
      APPEND wa_sort TO i_sort .
      CLEAR wa_sort.
    Sort on plant
      wa_sort-spos = '02'.
      wa_sort-fieldname = 'WERKS'.
      wa_sort-tabname = 'I_EKPO'.
      wa_sort-up = 'X'.
      wa_sort-subtot = 'X'.
      APPEND wa_sort TO i_sort .
      CLEAR wa_sort.
    ENDFORM.
    " sub_populate_sort*&----
    *&      Form  sub_get_event
          Get ALV grid event and pass the form name to subtotal_text
          event
          No Parameter
    FORM sub_get_event .
      CONSTANTS : c_formname_subtotal_text TYPE slis_formname VALUE
    'SUBTOTAL_TEXT'.  DATA: l_s_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 4
        IMPORTING
          et_events       = i_event
        EXCEPTIONS
          list_type_wrong = 0
          OTHERS          = 0.
    Subtotal
      READ TABLE i_event  INTO l_s_event
                        WITH KEY name = slis_ev_subtotal_text.
      IF sy-subrc = 0.
        MOVE c_formname_subtotal_text TO l_s_event-form.
        MODIFY i_event FROM l_s_event INDEX sy-tabix.
      ENDIF.ENDFORM.
    " sub_get_event*&----
    *&      Form  sub_alv_report_display
          For ALV Report Display
          No Parameter
    FORM sub_alv_report_display .
      DATA: l_repid TYPE syrepid .
      l_repid = sy-repid .
    This function module for displaying the ALV
    report
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = l_repid
          i_callback_top_of_page   = 'SUB_ALV_TOP_OF_PAGE'
          is_layout                = wa_layout
          it_fieldcat              = i_fieldcat
          it_sort = i_sort
          it_events                = i_event
          i_default                = 'X'
          i_save                   = 'A'
        TABLES
          t_outtab                 = i_ekpo
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
       MESSAGE i000 WITH 'Error in ALV report display'(055).
      ENDIF.
      ENDFORM.
    " sub_alv_report_display*&----
          FORM sub_alv_top_of_page
          Call ALV top of page
          No parameter
    FORM sub_alv_top_of_page.                                   "#EC CALLED*
    *To write header for the ALV
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = i_alv_top_of_page.
    ENDFORM.
    "alv_top_of_page*&----
    *&      Form  subtotal_text
          Build subtotal text
          P_total  Total
          p_subtot_text Subtotal text info
    FORM subtotal_text CHANGING
                   p_total TYPE any
                   p_subtot_text TYPE slis_subtot_text.
    Material level sub total
      IF p_subtot_text-criteria = 'MATNR'.
        p_subtot_text-display_text_for_subtotal
        = 'Material level total'(009).
      ENDIF.
    Plant level sub total
      IF p_subtot_text-criteria = 'WERKS'.
        p_subtot_text-display_text_for_subtotal = 'Plant level total'(010).
      ENDIF.
    ENDFORM.                    "subtotal_textSelection screen:

Maybe you are looking for