Program to execute BLT in xMII from SAP R/3
Hi all,
This an extension of [Calling Services and Queries in SAP xMII 11.5 from ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f101377-0c01-0010-269f-c3ee905d583b] by Bimal Mehta.
I have made the code ready to use since it takes lot of time to have the declaration and checking and all.
Can anyone tell me how to post this as a Blog or in the Wiki ?
REPORT ZCALL_XMII_TRANS .
parameters: p_trans(50) type c , " xMII Transaction
p_rfcdes type rfcdest DEFAULT 'SAP_XMII'," RFC Destination Created
p_user(10) type c , " xMII User Name
p_pass(10) type c . " xMII Password
* Data Declaration for RFC Connection
data : i_rfc_destination type rfcdest.
data : client type ref to IF_HTTP_CLIENT .
* Data Declaration for Path, UserName, Password
data : path type string.
data: if_query_field type TIHTTPNVP with header line,
it_query_field type TIHTTPNVP .
data: i_user_name(5),
* Transaction to be called in SAP xMII
i_transaction type string,
* Password of xMII
i_user_password type string,
if_str type string,
if_query type string.
* This method checks for Existing RFC Connection of Name
* i_rfc_destination and passes the parameters to CLIENT
* Assign Parameters to Variables
i_transaction = p_trans.
i_rfc_destination = p_rfcdes.
i_user_name = p_user.
i_user_password = p_pass.
CALL METHOD
CL_HTTP_CLIENT=>CREATE_BY_DESTINATION
EXPORTING
DESTINATION = i_rfc_destination
IMPORTING
CLIENT = client
EXCEPTIONS
ARGUMENT_NOT_FOUND = 1
DESTINATION_NOT_FOUND = 2
DESTINATION_NO_AUTHORITY = 3
PLUGIN_NOT_ACTIVE = 4
INTERNAL_ERROR = 5
others = 6.
IF SY-SUBRC <> 0.
write: / 'Destination Not Found'.
ENDIF.
* set request method
CALL METHOD client->request->set_header_field
EXPORTING
name = '~request_method'
value = 'GET'.
*build request path to XAcute Transaction
path = '/Runner'.
clear if_query_field.
if_query_field-name = 'OutputParameter'.
if_query_field-value = '*'.
append if_query_field to it_query_field.
clear if_query_field.
if_query_field-name = 'Transaction'.
* This is the Business Logic Transaction to be called in xMII
if_query_field-value = i_transaction.
append if_query_field to it_query_field.
if not i_user_name is initial.
if_query_field-name = 'XacuteLoginName'.
* User name for the xMII
if_query_field-value = i_user_name. " User Name
append if_query_field to it_query_field.
if_query_field-name = 'XacuteLoginPassword'.
perform get_password
using i_user_password
changing if_str.
if_query_field-value = if_str.
append if_query_field to it_query_field.
endif.
* build query string
if_query = cl_http_utility=>fields_to_string( fields = it_query_field
encode = 0 ).
* build path
*/Runner?OutputParameter=*&Transaction=<Transaction Name>
* &XacuteLoginName=<uname>&XacuteLoginPassword=<password>
concatenate path '?' if_query into path.
condense path.
* Sets Header Field for the method with the Path
CALL METHOD client->request->set_header_field
EXPORTING
name = '~request_uri'
value = path.
* send request
call method client->send
EXCEPTIONS
http_communication_failure = 1
others = 4.
if sy-subrc <> 0.
call method client->close( ).
WRITE / 'HTTP_COMMUNICATION_FAILURE'.
endif.
* get response
CALL METHOD client->receive
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3
OTHERS = 4.
if sy-subrc <> 0.
call method client->close( ).
WRITE / 'HTTP_COMMUNICATION_FAILURE'.
endif.
call method client->close( ).
if sy-subrc <> 0.
write 'NO_XML_DOCUMENT'.
else.
write: / 'Execution Completed'.
endif.
*& Form get_password
* get password string from base64 encoded value
* -->i_password_encoded: encoded password
* <--e_password: decoded password
FORM get_password USING i_password
CHANGING e_password.
data: i_pwd type string,
e_pwd type string.
i_pwd = i_password.
e_pwd = cl_http_utility=>decode_base64( encoded = i_pwd ).
e_password = e_pwd.
ENDFORM. " get_password
https://www.sdn.sap.com/irj/sdn/submitcontent
Similar Messages
-
Is there any standard program or FM to configure mail from SAP?
Hi Experts,
Is there any standard program or FM to configure mail from SAP?
Regards
Ramesh VHi Ramesh,
PFB.
You can use function SO_NEW_DOCUMENT_SEND_API1
Have a look at URL-> http://sapr3.tripod.com/abap011.htm
Check the below forum:
http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
Regards,
Faisal. -
Any Program to connect JAVA for DB from SAP
Any Program to connect JAVA for DB from SAP,
Rather than JCO Is there any other option,
Please tell that option ,
and how to do that,
thank you,
Regards.
Jagrut BharatKumar ShuklaHello Al Mamun,
SM59 is for RFC (remote function call).
If you are looking for ODBC-like connection, would you consider Tcode DBCO, then use native ABAP code to connect to the remote SQL server?
Best regards,
Victor -
Problem in retrieving multiple records SAP xMII from SAP using BAPIS
Hi friends,
In SAP xMII i called BAPI_USER_GETLIST by passing import parameters 10 and y.In r/3 BAPI returned 10 rows but In xMII it was returned only one Record.
i want to display 10 records in sap xmii
1) I created to connection ECC5 in Dataservices-->SAPSERVERConfiguration
2)In BLS we placed JCO Interface inside Sequence
3)In BLS I used ECC5 connectrion(using JCO Interface) and called BAPI_USER_GELLIST
4)In Links-->Transaction created two input values for "maxnoofrows","withusername" and output value is "userid".
Input what i mapped
Transaction>"maxnoofrows" =====SAPJCOINTERFACE->Request>BAPI_USER_GETLIST>INPUT-->MAX_ROWS
Transaction>"withusername" =====SAPJCOINTERFACE->Request>BAPI_USER_GETLIST>INPUT-->WITH_USERNAME
Output what i mapped
SAPJCOINTERFACE->Response>BAPI_USER_GETLIST>TABELS>USERLITS >ITEM>USERNAME=====Transaction-->userid
5)Saved the Transaction.
6)In Query Template -->xactuateQuery selected
7)In Datasource Query mode was selected ,Inputrarams i passed 10 and y as parameters.
It was returned one user id from R/3 inSAP xMII
please help me to retrive all 10 rows from r/3
Regards
Srikanthhi,
What is the data type of Transaction output (userid)?
Make this as XML type.
The format which BAPI returns the result does not match with xMII XML format.
Create a xMII XML document and configure with column name as userid. and by using repeater and XML row add all tho values to the document. Then assign whole doument to transaction output.
Hope this will help to resolve the issue.
Regards,
Kishore -
Need to start a program in Oracle System (External) from sap program
Hi guys,
I need to start a program in another oracle based system from sap program by writing native sql statements.
Does anyone have idea how to do this.
Rgds,
RamHi,
Here is another sample for procedures.Kindly reward points by clicking the star on the left of reply,if it is useful.
Code Sample for writing a procedure with input and output parameters
REPORT zzz_jaytest.
* Getting the regno and total as input parameters
PARAMETERS : p_regno(10) TYPE c DEFAULT 'R1000',
p_total TYPE i.
data : v_total type i.
* In this procedure, we are updating the total of a regno given as input.
* Here two parameters used in the procedure are input parameters.
* We are updating the record of regno entered in selection screen and
* adding the total entered to the already existing total. We have to give semicolon
* for the statement inside procedure.
exec sql.
CREATE or replace PROCEDURE PROC1 ( p_regno in char, p_total in number )
IS
BEGIN
UPDATE stu_det SET total = total + p_total where regno = p_regno;
END;
endexec.
* This is the code to execute the procedure for update.
* While executing the procedure, the parameter variable should be
* preceded with colon :
EXEC SQL.
EXECUTE PROCEDURE PROC1 ( in :p_regno, in :p_total )
ENDEXEC.
* In this procedure, we are selecting the details for the regno entered
* as input. Here p_regno is input parameter and v_total is used as output
* parameter. So that we can use the retrieved value of v_total in our
* ABAP program
exec sql.
CREATE or replace PROCEDURE PROC2 (p_regno in char, v_total out char)
IS
BEGIN
select total into v_total from stu_det
where regno = p_regno;
END;
endexec.
* This is the code to execute second procedure.
EXEC SQL.
EXECUTE PROCEDURE PROC2 ( in :p_regno, out :v_total )
ENDEXEC.
write : / 'Total of ', p_regno, ' is ', v_total. -
How to retrieve the data from SAP database.
Hi Pals,
How to retrieve data from SAP R/3 System to my third party software. I will make my query little bit more clear. There is a list of assets entered and stored in the SAP system. For example 3 mobile phones.
1) Mobile 1- Nokia
2) Mobile 2 - Samsung
3) Mobile 3 u2013 Sony
Now think I do not know what all assets is there. I have to retrieve the data and get it on my third party software. Just display the list of assets. Lets say SAP XI is also there. Now how will I map it and get the details.
Please give me step by step method.
N.B: Just to read the data from SAP database.
Please make the flow clear step by step.
Thanking you
AKHi,
You can use RFC or ABAP Proxy to make synchronous call with SAP.
Under RFC or ABAP Proxy Program you can get the data from SAP tables. Direct access to SAP Database is not preferrable even if its possible.
The better way to go for RFC or PROXY.
You will send the request from Third party system and the it will be as input parameters from RFC/ Proxy it will response based on it.
This got it all..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
HTTP to RFC - A Starter Kit
/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
Refer
Thanks
Swarup
Edited by: Swarup Sawant on Jun 4, 2008 9:32 AM -
Importing of material master from SAP to MDM
Hi all
we are working for a scenario where we need to import data from SAP R/3 to MDM using IDoc and XI.MDM already provides standard T codes for collective generation of IDocs for vendor and customer master( what i mean is single IDoc is generated for a selection of mastres) but no such option is there for material master.
This means in the READY folder in case of material we will have say 1000s of xml files in case we are importing 1000 records from R3.
What is the way out??It becomes difficult to import all files one by one.What are different options we have?
regards-
RaviHi Ravi,
Go to the transaction MDM_CLNT_EXTR.
Select Extraction Object:MATERIAL_EXTRACT
Give Target sytem ( XI Sytem)(This should create with SALE transactio, ALE IDOC Settings)
Distribution Mode:I
Create a variant for this and save
Come to the same transacction again, select the saved variant.
Press ENTER button
Click 'Start Extraction ' button.
Then this program will send all the material from SAP R/3 system to the target system.
Regards,
Nikhil -
Hi,
There is a requirement wherein one folder is created on presentation server ( Desktop ) in which we are putting excel files from
SAP ABAP using FM GUI_DOWNLOAD and now that folder contain file in excel forma lets say that folder name is INPUT. We have also created one more folder named OUTPUT and now the requirement is there is one executable converter file .exe in another folder lets say CONVERTER . Now the requirement is i need to execute that .exe file on excel file which it will then convert into necessary format which can be uploaded in bank site. The command works fine from windows i need to incorporate and execute the same command from SAP Kindly suggest any Function module,syntax or class n method exists for same.
The command which executed successfully from windows command prompt is
c:\>CONVERTER\ converter.exe C:\INPUT\FILE.XLS C:\OUTPUT\
The same command i need to execute it from SAP Report
Thanks
ParagHi:
Try with this:
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
application = u2018C:\CONVERTER\converter.exeu2019
parameter = u2018C:\INPUT\FILE.XLS C:\OUTPUT\u2019
minimized = u2018Xu2019
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
bad_parameter = 3
file_not_found = 4
path_not_found = 5
file_extension_unknown = 6
error_execute_failed = 7
synchronous_failed = 8
not_supported_by_gui = 9
others = 10. -
JCO.Server Error while trying to execute a RFC program from SAP
Hi,
We are connecting to an external registered server program from SAP via Web Methods.
The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
Number - 10
LUname - dev01
TPName - sapgw00
User - KRAORANE
Status - CONNECTED
Symbolic - PRDB2B
Conversation - 86520353
Prot - REG
SAP return code - 0
CPIC rtn code - 0
The external program returns results as expected.
However sometimes the RFC fails and returns the message JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS.
We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
-KiranHi,
Please see the below links..
JCO.Server Error while trying to execute a RFC program from SAP
Re: JCO.Servcer could not find server function
Re: JCO.Server could not find server function 'SET_SLD_DATA'
/people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
Re: interfacing SAP with an existing java applications
http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
http://www.sapgenie.com/faq/jco.htm
Regards
Chilla.. -
Hi SAP gurus,
I have a requirement where in we have a DOS exe Program but Dont have source code of it. The Program takes some input values, Calculates and Gives the output result. We need that Program to be called from SAP so that we can pass the input values from SAP and get the results back into SAP.
It would be great if you can help me out in this. Answers will be rewarded.
Thanks,Check FM WS_EXECUTE.
REPORT ZEXAMPLE.
DATA: V_PGM(100) VALUE 'C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\WINWORD.EXE',
V_FNAME LIKE RLGRAP-FILENAME VALUE 'C:\DOCUMENT.DOC'.
CALL FUNCTION 'WS_EXECUTE'
EXPORTING
COMMANDLINE = V_FNAME
PROGRAM = V_PGM
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6.
IF SY-SUBRC NE 0.
WRITE:/ V_FNAME, 'NOT OPENED WITH', V_PGM.
ELSE.
WRITE:/ 'EXTERNAL APPLICATION CALLED SUCCESSFULLY'.
ENDIF. -
Create a table and upload data in MS ACCESS from SAP ABAP programming?
Hi All,
How to create a table in MS ACCESS database and Upload SAP database table data into MS ACCESS table using ABAP programming?
Explain: My client requirement is " If he/she runs a ABAP Program, that will create a table and upload data into MS ACCESS Database table in background. "
Could you please give the solution or code? I know the program RIACCESS and I went through the SAP Note 583698.
Is this only solution for this? Or Any other possibilities?
Please give me solution.
Thanks in advance.Hi,
It is not possible to create tables in a non SAP schema from inside SAP.
The SAP-Oracle license also does not allow you to create the table (see note 581312):
the following actions, among other things, are therefore forbidden at database level:
Creating database users
Creating database segments
Querying/changing/creating data in the database
Using ODBC or other SAP external access methods
Please refer following link,
[Ckick Here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
You can also do it by LSMW,
If you are using Access 97, you can download directly into an access
database from SAP. See program RIACCESS for details. You have to establish
an RFC destination PS_ACCESS_1 and 2.
There are then a couple of function modules. Go to SE37 and put in
msaccess and hit PF4.
The following is from the readme file: sapgui/ps/readme.sap
For the MS-Access interface SAP delivers 4 files:
WDPSASTR.EXE This is an RFC server program that is called by SAP R/3
(PS module). This program creates a MS Access database. The structure
information of the tables is transferred from R/3. In addition to
these tables a table named DDIC is created. This table contains the
structure information and should in no case be modified or deleted.
WDPSATAB.EXE This is an RFC server program that is called by SAP R/3
after WDPSASTR. This program filles the tables of the database with data.
There must not be made any changes of the structure of
the tables between the calls of WDPSASTR and WDPSATAB.
WDPSAZET.EXE This is an RFC client program that triggers work/time
confirmations in the PS module of SAP R/3 (like transaction CN27 Collectiv
confirm).
WDPSAMAT.EXE This is an RFC client program that triggers material
confirmations in the PS module of SAP R/3 (like transaction MB1A - Goods
Please also refer following links,
[Click here|Upload data from MS Access tables, to SAP tables.;
Before using the program "RIACCESS", you need to install the PS utilities, which are part of SAPGUI install CD.
It is available in the "SAPGUIPS directory".
Then do the followings :
1. Select transaction code SALE -> Systems in network-> Define RFC Destination.
2. You will need two RFC destinations (TCP/IP connections for the front-end workstation).
Setup the two RFC destinations PS_ACCESS_1 and PS_ACCESS_2 and you'll have to get them to point to
wdpsastr.exe and wdpsatab.exe respectively.
3. Then execute RIACCESS and choose PS_ACCESS_1 to generate access tables.
The system must also be able to access the RFC-DLL files (librfc2.dll, librfc3.dll, librfc4.dll, librfc5.dll, librfc6.dll, vrfc.dll).
Please note that Access only supports tables with up to 255 fields. -
Calling Non SAP programe from SAP program
Hi Experts...
Can we cal Non SAP programs Like Windows EXE programs from ABAP programs ?
If yes Then How .....
Regards ...
..AshishHi Ashish ,
Ya we can call a non SAP program from SAP program.
For example we can call a EXE program from the SAP program using the RFC connection created in SM59.
In Sm 59 you can create a TCP/IP connection and give the path of the executable there. -
How does execute PHP Script from SAP?
I've already installed SAPRFC and run SAP Function from PHP successfully. But failed when tried execute PHP script from SAP (SM59). Anyone can help me for a clear instruction for this problem?
ThanksHi Max,
here is the Source:
[code]
#!/usr/bin/php -q
<?php
// SAPRFC - Server example
// PHP server function RFC_READ_REPORT
// Require: CGI version PHP, RFC destination defined in SAP R/3 (SM59)
// http://saprfc.sourceforge.net
// Interface definiton for RFC_READ_REPORT
// (generated by saprfc.php - option Generate PHP)
$DEF_RFC_READ_REPORT = array (
array (
"name"=>"SYSTEM",
"type"=>"EXPORT",
"optional"=>"0",
"def"=> array (
array ("name"=>"","abap"=>"C","len"=>8,"dec"=>0)
array (
"name"=>"TRDIR",
"type"=>"EXPORT",
"optional"=>"0",
"def"=> array (
array ("name"=>"NAME","abap"=>"C","len"=>40,"dec"=>0),
array ("name"=>"SQLX","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"EDTX","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"VARCL","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"DBAPL","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"DBNA","abap"=>"C","len"=>2,"dec"=>0),
array ("name"=>"CLAS","abap"=>"C","len"=>4,"dec"=>0),
array ("name"=>"TYPE","abap"=>"C","len"=>3,"dec"=>0),
array ("name"=>"OCCURS","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"SUBC","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"APPL","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"SECU","abap"=>"C","len"=>8,"dec"=>0),
array ("name"=>"CNAM","abap"=>"C","len"=>12,"dec"=>0),
array ("name"=>"CDAT","abap"=>"D","len"=>8,"dec"=>0),
array ("name"=>"UNAM","abap"=>"C","len"=>12,"dec"=>0),
array ("name"=>"UDAT","abap"=>"D","len"=>8,"dec"=>0),
array ("name"=>"VERN","abap"=>"C","len"=>6,"dec"=>0),
array ("name"=>"LEVL","abap"=>"C","len"=>4,"dec"=>0),
array ("name"=>"RSTAT","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"RMAND","abap"=>"C","len"=>3,"dec"=>0),
array ("name"=>"RLOAD","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"FIXPT","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"SSET","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"SDATE","abap"=>"D","len"=>8,"dec"=>0),
array ("name"=>"STIME","abap"=>"C","len"=>6,"dec"=>0),
array ("name"=>"IDATE","abap"=>"D","len"=>8,"dec"=>0),
array ("name"=>"ITIME","abap"=>"C","len"=>6,"dec"=>0),
array ("name"=>"LDBNAME","abap"=>"C","len"=>20,"dec"=>0)
array (
"name"=>"PROGRAM",
"type"=>"IMPORT",
"optional"=>"0",
"def"=> array (
array ("name"=>"","abap"=>"C","len"=>40,"dec"=>0)
array (
"name"=>"QTAB",
"type"=>"TABLE",
"optional"=>"0",
"def"=> array (
array ("name"=>"LINE","abap"=>"C","len"=>72,"dec"=>0)
// Create list of PHP server functions
$GLOBAL_FCE_LIST[RFC_READ_REPORT] = saprfc_function_define(0,"RFC_READ_REPORT",$DEF_RFC_READ_REPORT);
// PHP server function
function RFC_READ_REPORT ($fce)
$REPORT = saprfc_server_import ($fce,"PROGRAM");
saprfc_table_init ($fce,"QTAB");
$fd = fopen ($REPORT,"r");
if (!$fd)
return ("NOTFOUND"); // raise exception "NOTFOUND"
while (!feof($fd))
$LINE = fgets ($fd,73);
saprfc_table_append ($fce,"QTAB",array("LINE"=>$LINE));
fclose ($fd);
saprfc_server_export ($fce,"SYSTEM","PHP");
return (true);
// Call script with: ./server.php -a phpgw -g hostname -x sapgw00
$rfc = saprfc_server_accept ($argv);
// Dispatch one function call
$rc = saprfc_server_dispatch ($rfc,$GLOBAL_FCE_LIST);
saprfc_close ($rfc);
?>
[/code]
Regards
Gregor
Message was edited by: Gregor Wolf -
Executing Sabrix Reports from SAP CPS
Does anyone know if we can executing Sabrix Reports from SAP CPS?
Thanks,
BhushanNo. That was the first option I could think of. Executing it with ABAP Program.
I dont have much information about Sabrix System but what I understand is that automated tax reporting solution which runs batch processes in background during
night and email report with desired data in an excel spreadsheet format. Sabrix doesn’t have a custom solution to generate reports. They have suggested leveraging 3rd party tools for such requirement. -
Executing Excel Macros from SAP
Hi all Experts,
I have created a program which tranfers data from different internal tables into Different Worksheets of a single workbook.
Now, Can some one please tell me how to Execute macros from SAP.
Regards,
AJTo execute an Excel macro follow these steps.
1. Create macro inside Excel Workbook where you transferred your information.
2. Use following instruction to execute the desired macro you create:
DATA: EXCEL TYPE OLE2_OBJECT.
CREATE OBJECT EXCEL 'Excel.Application'.
CALL METHOD OF EXCEL 'Run' EXPORTING #1 = 'WRITE_SHEET_CELL'
#2 = 'VALUE1'
#3 = 'VALUE2'
#4 = 'VALUE3'.
In previous example, macro WRITE_SHEET_CELL was created first. The macro name must be in uppercase.
Regards.
Rafael Rojas.
Maybe you are looking for
-
Clients disconnect because of Capabilites change
Hi all, recently we migrated AIR-LAP1131AG APs from a 4402 WLC running 4.1.185.0 release to a 5508 running 7.6.130.0. After we did that some clients constantly disconnected and reconnected. I strongly assume it has something to do with the additional
-
New Keyboard Shortcut Webapp for Motion 5
Hi all, To help you memorize all keyboard shortcuts for Motion 5 (and Final Cut Pro X), here's a nifty online tool that visualizes them: http://keycommands.info/motion-5-keyboard-shortcuts.php Cheers
-
Changing supervisor name, changing the employee Job also
Hi All, We are facing a problem in the Employee assignment. When we are changing employee supervisor details, employee job also getting changed to different job. Can any one having idea abt this change. Thanks and Regards, Joshna.
-
Hi I want to download Adobe Edge Animate, but it doesn't show up anywhere, not on the Creative Cloud App overview page and not in the Adobe Application Manager. What is wrong???
-
Hello, I I am a knitwear designer and what I want to do is create a knitting chart with 40 squares and 40 rows. I want to place an image into this graph and see how it looks (most softwares with put the image in but the result is blurry mess that tak