SAP Automation GUI Interface Files
Hi,
I am trying to locate the files I need for the SAP Automation GUI Interfaces (BC-FES-AIT).
The files are guilib.dll, guilib.lib, guilib.h.
Does anyone know where I can get these files?
Thanks, Chris
Hello people,
Could you somebody help me in this question ?
The SAP Automation is supported in the ERP 6.0 ?
One user in our company is asking to implement an application that use SAP Automation (http://help.sap.com/saphelp_46c/helpdata/de/8c/20e2ab493311d1894a0000e829fbbd/frameset.htm) in order to call RFC in our R/3 4.6c. In the end of this year we are going to migrate to ERP 6.0 and I'm not sure that this kind of technology is supported in this version.
The application is an 3rd party software from T-Systems developed in Powerbuilder and comunicate with R/3 using RFC.
Thanks in advance
Regards
Sérgio Herculano
[email protected]
Similar Messages
-
Hi,
I need to use SAP automation GUI to load some data. Anybody having document to how to load please send me the link.
Thanks
Sa_Rhi Sa_R,
what u need specifically to load?
try to search in these web:
http://help.sap.com/saphelp_nw70/helpdata/en/69/f7e5377eec360be10000009b38f8cf/frameset.htm
Regards
Allan Cristian
Message was edited by:
Allan Cristian -
SAP Java Gui in Solaris 10 x86.
Who run the Java Gui in Solaris 10 x86?
After I installed Java Gui in Solaris 10 x86 and run guilogon, when I connect the server I created, I got the error message:
Attempt to load shared library /opt/SAPClients/SAPGui7.00/binlibJPlatin.so failed.
The library file exists, so either the program
don't has the privileges to access the library
or the library is not loadable by the shared object loader
Technical information:
Error location: GuiJniLoader.loadPlatinLibrary()
Error message: /opt/SAPClients/SAPGUI7.00/bin/libJPlation.so:ld.so.1:java:fatal:/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so:wrong ELF data format:ELFDATA2MSB
After I confirm the dialog, another error message appears:
JniAgiLibAdaptor.<init>: Cannot load JNI library.
I checked the supported OS, it doesn't contains Solaris 10 X86, but I think Solaris 10 was open source, just like linux, why doesn't SAP Java Gui support Solaris 10 X86? And now , how can I solve this problem?What you see is what happens when the Java runtime running on Solaris 10 x86 tries to load a library which is compiled for SPARC.
Because of the native parts in SAP GUI for Java, compilations and installers are required for each OS - HW combination.
The supported platforms can be seen in SAP note 954572. For Solaris only SPARC is currently supported.
Because of the effort needed for compiling, testing, support etc. it is required to focus on OS - HW combinations widely used on desktop machines and Solaris 10 on x86 currently does not seem to be one of those. -
Creating GUI interface for cof
I am attempting to create a GUI interface on Labview that will read the measurements from a load cell ( Futek model L2331) that is connected
through a DAQ interface and will output Coefficient of friction measurements vs time. I would also like to be able to save the data to a file (eg...excel).
Can anyone help me out with this?
JCWhat I suspect you need, more for comparison than anything else, is the Force in Newtons not the strain in µ strain.
So one technique is to leave the input in volts and then figure out how many grams of weight gives how many volts from the load cell, and applying the necessory factors to give the force in Newtons unless of course your working in Christian units (lbs force).
Either way, strain or volts you are going to have to calibrate the input. Unless the factors are all ready supplied. to arrive at the following
"The
coefficient of friction is simply µ = Fspring /Fnormal
= Fspring /(mblock ·g
), g=9.81 m/s²" Notice that there is no mention of strain here but force.
Strain is defined as: - "The relative deformation of an object subjected to stress. Hence, strain is dimensionless."
Don't forget to get the sense of compression and tension correct for the displayed units. -
Parse XML Inbound Interface file
What are SAP best practices to parse XML Inbound Interface file?
Currently we are parsing XML Inbound file with custom ABAP code, but it is somewhat cumbersome and requires maintenance.
We do not any middleware that can parse file for us.
Is there is any best way we can handle this without lot of maintenance..You can do it thro XLST..
Check this links..
Upload XML to internal table and vice versa in SAP 4.6C
/people/r.eijpe/blog/2005/11/10/xml-dom-processing-in-abap-part-i--convert-an-abap-table-into-xml-file-using-sap-dom-approach
YOu can do it through XLST. it is supported in ABAP from 4.7. you can create a XSLT, and read you XML, then CALL TRANSFORMATION to convert a XML into ABAP data structure.
reference link:
http://help.sap.com/saphelp_nw04/helpdata/en/fd/9d7348389211d596a200a0c94260a5/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bb/576670dca511d4990b00508b6b8b11/content.htm
Reward each helpful answer.
Raja T
Message was edited by:
Raja Thangamani -
SAP Business One Interface.
Hi everybody, I'm new in SAP Business One. We are working with other third to party warehouse management software, and we have to create an interface with it. The warehouse system works with tables in its own data base, where we have to put the sales orders, and it has other tables where it puts the information that we need to create the invoices. How can i do that?
Regards.Fernando
What you are talking about is really a big integration project.
Using the SDK Tool you can download the Sales Order transaction from SAP as a XML file and then extract the Sales Order information from the XML to your Warehouse tables.
Once the warehouse transactions like Receiving / Delivery is done this has to be brought into SAP as a Goods Receipt PO or Delivery document referencing the PO / Sales Order respectively.
You need to go through the SDK training material / help files. These get installed when you install the SDK components from the SAP Product CD. The same can also be found in the document resource center.
https://websmp108.sap-ag.de/smb/sbo/documentation
A completely understanding of the SDK functionality would be a good first step before starting on the integration itself.
Best wishes
Suda -
Runniing Application with GUI interface
Before when i have run a application it has been through the DOS terminal , thus without a GUI. My experince with GUI has been with Applets and running them through a browser or the appletviewer.
The question is how do I run an application program with a GUI interface for testing purposes etc.
Any help would be great cheers.You can run your application from the command line just like from you DOS terminal programs. All you need is the main method defined for you application in some class file. For example:
public static void main( String[] args ) {
JFrame frame = new JFrame();
frame.getContentPane().add( new JLabel("Hello world" );
frame.pack();
frame.setVisible( true );
Then run this code by:
java my.test.HelloWorld
charlie -
hello
How to download SAP FrontEnd GUI Latest update C4 HF21 (6405.5.21.8936)?
I try to open service.sap.com/swdc? but it is need authorization! if the authorizaion is needed, how to get it?
Thanks
Tom.leeThanks Samrat !
We have purchased SAP Frontend for windows6.4, The file version is 6400.2.1.2885, I think we were now customer of SAP, We want to get the patche C4 HF21 (6405.5.21.8936), If we can, Could you tell me how we can get the authorization! for /swdc or some other way to get the patche C4 HF21 (6405.5.21.8936).
Thanks
Tom -
Dealer Commissions interface file
Hi,
I got a requirement like Process the input interface file from Dealer Commissions to enter GL info into SAP by formatting BDC records which are to be used by transaction F-02 in a batch mode.
can any ony one explain me what is the requirement actually??.
logic is mentioned that
1)process input file
2)load work table ....etc.
can any one help me in this.
thanq.There are standard programs for uploading/interfacing into the F-02/FB01 transactions.
You have the choice of standard BDC program from SAP - rfbibl00
or class method AcctngGLPosting.Post
or class method AcctngDocument.Post
or bapi BAPI_ACC_DOCUMENT_POST
The rfbibl00 program uses the batch mode (sm35). -
Problem when applying my changes at the CCA Administrator GUI Interface
Hi when i´m trying to save my changes at the CCA Administrator GUI interface(TAW) i´m receiving the error below:
04 Ago 2009 11:17:39,968 [ ERROR com.taw.clients.am.AdminSuperBean $Revision: 5 $.processHashtable(AdminSuperBean.java:504) - Unable to process the Hashtable
java.lang.NullPointerException
at com.taw.clients.am.AdminSuperBean.constructSqlQuery(AdminSuperBean.java:796)
at com.taw.clients.am.AdminSuperBean.processHashtableAdmin(AdminSuperBean.java:562)
at com.taw.clients.am.AdminSuperBean.processHashtable(AdminSuperBean.java:500)
at com.taw.clients.am.AdminSuperBean.processHashtable(AdminSuperBean.java:493)
at com.taw.clients.am.configuration.CompanyDefaultSecurityBean.processRequest(CompanyDefaultSecurityBean.java:212)
at com.taw.clients.am.CompanyBean.processRequest(CompanyBean.java:1771)
at jsp_servlet._administrationmanager.__company_edit._jspService(__company_edit.java:1289)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3392)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Please anyone know how can i fix it ?
Regards,
Marcelo Henrique
Experti - BrazilHi below the contents of the web.xml file, let´s to try to fix this trouble together.
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app>
<context-param>
<param-name>webContainer</param-name>
<param-value>Weblogic</param-value>
</context-param>
<context-param>
<param-name>disableMessageSynchronization</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>busConnection</param-name>
<param-value>experti-labsrv</param-value>
</context-param>
<context-param>
<param-name>noResourceBundle</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>reportServerUrl</param-name>
<param-value>http://experti-labsrv/TAW</param-value>
</context-param>
<context-param>
<param-name>isReportServer</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>applicationPath</param-name>
<param-value>C:\bea\user_projects\domains\experti_domain\app\TAW</param-value>
</context-param>
<context-param>
<param-name>URLstoragePath</param-name>
<param-value>http://experti-labsrv/TAW/Storage</param-value>
</context-param>
<context-param>
<param-name>storagePath</param-name>
<param-value>/Storage</param-value>
</context-param>
<context-param>
<param-name>debugLogFile</param-name>
<param-value>\WEB-INF\logs\CallCenterAnywhere.log</param-value>
</context-param>
<context-param>
<param-name>debugMaxNumberLogFiles</param-name>
<param-value>5</param-value>
</context-param>
<context-param>
<param-name>debugMaxLogFileSize</param-name>
<param-value>1000</param-value>
</context-param>
<context-param>
<param-name>debugTracelevel</param-name>
<param-value>DEBUG</param-value>
</context-param>
<context-param>
<param-name>debugLogPattern</param-name>
<param-value>%d{DATE} [%t] %-5p %c.%M(%F:%L) %x - %m</param-value>
</context-param>
<context-param>
<param-name>databasePlatform</param-name>
<param-value>ORACLE</param-value>
</context-param>
<!-- Needs to be removed for MSSQL-->
<context-param>
<param-name>databaseDatasource</param-name>
<param-value>cca813</param-value>
</context-param>
<context-param>
<param-name>databaseSchema</param-name>
<param-value>mhpAdminCC813</param-value>
</context-param>
<!-- <context-param>
<param-name>databaseUser</param-name>
<param-value>mhpcc813</param-value>
</context-param>
<context-param>
<param-name>databasePassword</param-name>
<param-value>mhpcc813</param-value>
</context-param> -->
<context-param>
<param-name>databaseDatasourceReadOnly</param-name>
<param-value>cca813</param-value>
</context-param>
<context-param>
<param-name>databaseSchemaReadOnly</param-name>
<param-value>mhpAdminCC813</param-value>
</context-param>
<!-- <context-param>
<param-name>databaseUserReadOnly</param-name>
<param-value>MHPCCRead813</param-value>
</context-param>
<context-param>
<param-name>databasePasswordReadOnly</param-name>
<param-value>MHPCCRead813</param-value>
</context-param> -->
<context-param>
<param-name>weblogic.httpd.inputCharset./*</param-name>
<param-value>UTF-8</param-value>
</context-param>
<context-param>
<param-name>ftpConnectMode</param-name>
<param-value>active</param-value>
</context-param>
<servlet>
<servlet-name>ProxyDispatcher</servlet-name>
<servlet-class>com.taw.web.ProxyDispatcher</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>ProxyPingHandler</servlet-name>
<servlet-class>com.taw.web.ProxyPingHandler</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>ProxyLoginHandler</servlet-name>
<servlet-class>com.taw.web.ProxyLoginHandler</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<servlet-name>ProxyLoginDataHandler</servlet-name>
<servlet-class>com.taw.web.ProxyLoginDataHandler</servlet-class>
<load-on-startup>4</load-on-startup>
</servlet>
<servlet>
<servlet-name>ProxyContactHandler</servlet-name>
<servlet-class>com.taw.web.contact.was.ProxyContactHandler</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet>
<servlet-name>WebServiceChat</servlet-name>
<servlet-class>com.taw.web.service.WebServiceChat</servlet-class>
<load-on-startup>6</load-on-startup>
</servlet>
<servlet>
<servlet-name>ReportServlet</servlet-name>
<servlet-class>com.taw.clients.reports.ReportServlet</servlet-class>
<load-on-startup>7</load-on-startup>
</servlet>
<servlet>
<servlet-name>CustomReportServlet</servlet-name>
<servlet-class>com.taw.clients.reports.CustomReportServlet</servlet-class>
<load-on-startup>8</load-on-startup>
</servlet>
<servlet>
<servlet-name>ImageServlet</servlet-name>
<servlet-class>net.sf.jasperreports.j2ee.servlets.ImageServlet</servlet-class>
<load-on-startup>9</load-on-startup>
</servlet>
<servlet>
<servlet-name>ProxyRequestHandler</servlet-name>
<servlet-class>com.taw.web.ProxyRequestHandler</servlet-class>
<load-on-startup>10</load-on-startup>
</servlet>
<servlet>
<servlet-name>glue-console</servlet-name>
<servlet-class>electric.console.ConsoleServlet</servlet-class>
<init-param>
<param-name>soapServletContext</param-name>
<param-value>/services</param-value>
</init-param>
<load-on-startup>11</load-on-startup>
</servlet>
<servlet>
<servlet-name>glue-soap</servlet-name>
<servlet-class>electric.server.http.ServletServer</servlet-class>
<init-param>
<param-name>httpRegistryRoot</param-name>
<param-value>/</param-value>
</init-param>
<load-on-startup>12</load-on-startup>
</servlet>
<servlet>
<servlet-name>JnlpDownloadServlet</servlet-name>
<servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
<init-param>
<param-name>logLevel</param-name>
<param-value>DEBUG</param-value>
</init-param>
<init-param>
<param-name>logPath</param-name>
<param-value>C:\bea\user_projects\domains\experti_domain\app\TAW\WEB-INF\logs\jnlpdownloadservlet.log</param-value>
</init-param>
<load-on-startup>13</load-on-startup>
</servlet>
<servlet>
<servlet-name>ProxyMessageHandler</servlet-name>
<servlet-class>com.taw.web.ProxyMessageHandler</servlet-class>
</servlet>
<servlet>
<servlet-name>ProxyWebCallback</servlet-name>
<servlet-class>com.taw.web.webcallback.ProxyWebCallback</servlet-class>
</servlet>
<servlet>
<servlet-name>ProxyDial</servlet-name>
<servlet-class>com.taw.web.dial.ProxyDial</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ProxyDispatcher</servlet-name>
<url-pattern>/ProxyDispatcher</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ReportServlet</servlet-name>
<url-pattern>/ReportServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyPingHandler</servlet-name>
<url-pattern>/ProxyPingHandler</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyLoginHandler</servlet-name>
<url-pattern>/ProxyLoginHandler</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyLoginDataHandler</servlet-name>
<url-pattern>/ProxyLoginDataHandler</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyContactHandler</servlet-name>
<url-pattern>/ProxyContactHandler</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>WebServiceChat</servlet-name>
<url-pattern>/WebServiceChat</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyRequestHandler</servlet-name>
<url-pattern>/ProxyRequestHandler</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyMessageHandler</servlet-name>
<url-pattern>/ProxyMessageHandler</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyWebCallback</servlet-name>
<url-pattern>/ProxyWebCallback</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyDial</servlet-name>
<url-pattern>/ProxyDial</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>glue-soap</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>glue-console</servlet-name>
<url-pattern>/console/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JnlpDownloadServlet</servlet-name>
<url-pattern>*.jnlp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JnlpDownloadServlet</servlet-name>
<url-pattern>*.jar</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CustomReportServlet</servlet-name>
<url-pattern>/CustomReportServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ImageServlet</servlet-name>
<url-pattern>/imageServlet</url-pattern>
</servlet-mapping>
<filter>
<filter-name>XSS</filter-name>
<filter-class>com.taw.web.filter.CrossScriptingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>XSS</filter-name>
<url-pattern>/AdministrationManager/*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>XSS</filter-name>
<url-pattern>/index.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>XSS</filter-name>
<url-pattern>/InteractionManager/*.jsp</url-pattern>
</filter-mapping>
</web-app> -
Dynamically build web GUI interface
Hi,
I am planning to build web GUI interface. Instead of desiginning statically, I want to store GUI meta data in a xml file and build web GUI from the meta data.
I would like to know if there any java tools available already to build web GUI from meta data.
THanks
RRHi,
I am planning to build web GUI interface. Instead of
desiginning statically, I want to store GUI meta data
in a xml file and build web GUI from the meta data.
I would like to know if there any java tools
available already to build web GUI from meta data.
THanks
RRWell, if you use Swing with a JApplet then you are dynamically creating the user interface. The components are added at runtime, not when you compile the programs. All you need to do is drive which controls to add by some stored data. The same is true for HTML if you generate your pages at runtime (i.e. not just static HTML files). -
Problem Configuring from CUE GUI interface.
Hello all,
I am installing a CUE-AIM module. I have configured Ip connectivity between the module and the router. i have all GUI files in flash, but i cannot get to the GUI interface of the CUE. I can however reach the GUI on CCME.
I have attached a copy on the sh run and show flash.
I really need you help.If I'm not mistaken (and this might just be the way we decided to configure it) but I believe that you need to enter a static route to the service module which points to the service engine and then configure the default gateway of the CUE service module pointing to the service engine. The service engine itself can use an unnumber i/f taken from a physical address or a loopback (preferred). Then on your network, either through static or advertised via routing protocol, they will go to CUE via the service engine IP address, not the actual CUE ip address.
Here's the design guide. We ended up using a small network (4 hosts) for the service engine and the service module.
http://www.cisco.com/en/US/products/sw/voicesw/ps5520/products_implementation_design_guide_chapter09186a00804993bf.html
Here are the particulars:
interface FastEthernet0/0
ip address b.68.10.1 255.255.255.0
interface Service-Engine4/0
ip unnumbered FastEthernet0/0
service-module ip address b.68.10.10 255.255.255.0
service-module ip default-gateway b.68.10.1
ip route b.68.10.10 255.255.255.255 Service-Engine4/0 -
Hello Experts,
I just remind all that I am a new SAP user and I need to know what software development kit should I use to create new Graphic User Interface as an Add-on for SAP Business One.
Thanks.Hi
You can use screen painter to create a GUI interface .
It comes with SAP as a part of installation .
Go to Adminsitration --Addon --Add on adminstration -> Screen Painter
Install Screen painter . once it is installed , you can see under menubar >>Tools
Hope this what you are looking for
Thank you
Bishal -
Please provide information on what is Automation GUI, how it is useful for Recording and Playing back the scripts.
Provide information onSynactive GUIXT and what is the process to run as a batch?
Thanks in ADVANCE.Hi Kishore,
If you mean SAPGUI driver to record controls like tree structure and so on, refer this help link.
In this below link'
Select Developing Test Scripts --> Testing Applications --> Using SAPGUI (Record) to Record Transactions
http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
Thanks and Kind Regards
Mohan -
HOW TO DOWNLOAD SAP OUTPUT TO EXCEL FILE
Hi SAP Gurus,
I would like to ask if you have any Function Module or codes on how to download SAP Output into Excel file. Thanks! Hope you could help me.You can transfer the contents of internal table to excel using this code..
data: begin of itab occurs 0,
vbeln like vbak-vbeln,
posnr like vbap-posnr,
end of itab.
select vbeln
posnr
from vbap
up to 20 rows
into table itab.
* EXCEL sheet using OLE automation.
INCLUDE OLE2INCL.
* handles for OLE objects
DATA: H_EXCEL TYPE OLE2_OBJECT, " Excel object
H_WORK TYPE OLE2_OBJECT,
H_SHEET TYPE OLE2_OBJECT,
H_CELL TYPE OLE2_OBJECT,
V_COL LIKE SY-TABIX. " column number of the cell
DATA:
V_STEP(30),
V_FILE LIKE RLGRAP-FILENAME.
* tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
* PERCENTAGE = 0
TEXT = 'Creating Excel...'
EXCEPTIONS
OTHERS = 1.
* start Excel
V_STEP = 'Starting Excel'.
CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
PERFORM ERR_HDL.
SET PROPERTY OF H_EXCEL 'Visible' = 1.
* CALL METHOD OF H_EXCEL 'OPEN' EXPORTING #1 = 'C:DMC_REC.XLS'.
* PERFORM ERR_HDL.
* tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
* PERCENTAGE = 0
TEXT = 'Adding Data to Excel...'
EXCEPTIONS
OTHERS = 1.
* Get the list of workbooks
V_STEP = 'Preaparing Excel'.
CALL METHOD OF H_EXCEL 'WORKBOOKS' = H_WORK.
PERFORM ERR_HDL.
** Add new workbook (create a file)
CALL METHOD OF H_WORK 'ADD'.
PERFORM ERR_HDL.
* Get the created worksheet
************************Sheet Number
CALL METHOD OF H_EXCEL 'WORKSHEETS' = H_SHEET EXPORTING #1 = 3.
************************Sheet Number
PERFORM ERR_HDL.
* Activate (select) the first sheet
CALL METHOD OF H_SHEET 'ACTIVATE'.
PERFORM ERR_HDL.
* tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
* PERCENTAGE = 0
TEXT = 'Adding Data to Excel...'
EXCEPTIONS
OTHERS = 1.
* output column headings to active Excel sheet
V_STEP = 'Adding data to Excel'.
LOOP AT ITAB.
V_COL = SY-TABIX.
PERFORM FILL_CELL USING 1 V_COL ITAB-vbeln.
PERFORM FILL_CELL USING 2 V_COL ITAB-posnr.
ENDLOOP.
V_STEP = 'Releasing Excel'.
FREE OBJECT H_EXCEL.
PERFORM ERR_HDL.
H_EXCEL-HANDLE = -1.
*& Form ERR_HDL
* text
* --> p1 text
FORM ERR_HDL.
IF SY-SUBRC <> 0.
WRITE: / 'Error in processing Excel File:', V_STEP.
STOP.
ENDIF.
ENDFORM. " ERR_HDL
*& Form FILL_CELL
* text
* -->P_1 text
* -->P_1 text
* -->P_1 text
FORM FILL_CELL USING ROW COL VAL.
CALL METHOD OF H_EXCEL 'Cells' = H_CELL
EXPORTING #1 = ROW #2 = COL.
PERFORM ERR_HDL.
SET PROPERTY OF H_CELL 'Value' = VAL .
PERFORM ERR_HDL.
ENDFORM. " FILL_CELL
Maybe you are looking for
-
I predominently use my ipod to listen to my favourite podcasts. I download podcasts onto my Home PC using iTunes and then synch the podcasts onto my ipod again using iTunes. This all works fine. Occassionally I want to connect my ipod to my Work PC v
-
SL Read Only Group Calendars in iCal?
We've been using the wiki-based group calendars for a bit with SSL and/or Kerberos AD logins. Now I have a request that: *Only some people can read. *Only some people can read/write. *Using AD credentials (Win2k8) *All via iCal on 10.5 I found how to
-
Adding indexes to a table is slowing down query performance.
I am running a query against a table which contains approx. 4 million records in it. So I created 4 indexes on the table and noticed that the performance on my query drastically decreased. I went back and began remove and creating the indexes in diff
-
How to structure photo files on disk (PrEl 9)
Hi Rather new user of Photoshop Elements..running version 9 I'm in progress grouping the files in some sort of logical folder structure on disk....the idea I have is then to use "Keyword tags" in PrEl and take usage of the possibility of creating a s
-
News App & Subscriptions not Syncing
I use Google Reader. The News application on the Thunderbolt doesn't seem to sync with my read/unread items in Google Reader. It pulls the correct subscriptions down with the correct and most current articles, but it doesn't mark them as read or un