How to call module program from report?
Hi ,
I have a requirement in which i have to develop a report which calls SM13 tcode and executes that Tcode and takes the output of SM13 into an internal table.And this internal table needs to be sent to user through an email.
Can anyone please help me out.
Not a do-my-work-for-me site....Read the rules, search the forum.....
Similar Messages
-
How to call a form from report? in 6i
How to call a Form from Report? In Developer 6i of oracle. Plz tell me tex.
try this
declare
AppID PLS_INTEGER;
begin
AppID := DDE.App_Begin('ifrun60 module=myform.fmx userid=scott/tiger@mydb maximize=no', DDE.App_Mode_Maximized);
exception when others then
srw.message(1,'Errror');
end;Baig
[My Oracle Blog|http://baigsorcl.blogspot.com/] -
How to call java program from ABAP
Hi Experts,
My requirement is to call java programs from ABAP. For that i have set up SAP JCO connection by using this link http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/739. [original link is broken] [original link is broken] [original link is broken] Connection gets sucessfully. After this how to call java program from ABAP as per our requirement. Please help me out.
Also i tried this way also.. but while executing the DOS Command line appear & disappear in few seconds. So couldnt see the JAVA output. Please help me out to call java programs in ABAP..
DATA:command TYPE string VALUE 'D:Javajdk1.6.0_20 injavac',
parameter TYPE string VALUE 'D:java MyFirstProgram'.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
application = command
parameter = parameter
OPERATION = 'OPEN'
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
OTHERS = 8.
Thanks.This depends on the version of your Netweaver Java AS. If you are running 7.0, you will have to use the Jco framework. The Jco framework is deprecated since 7.1 though. If you want to build a RFC server in 7.1 or higher, it is adviced that you set it up through JRA.
Implement an RFC server in 7.0:
http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm
Implement an RFC server in 7.1 or higher:
http://help.sap.com/saphelp_nwce72/helpdata/en/43/fd063b1f497063e10000000a1553f6/frameset.htm -
Calling dialog program from report
Hi All,
I need to call dialog program from report and do not want the initial screen to be shown and execute the dialog program. can this be possible, if yes please let me know this to do this, when I tried using leave to transaction its showing the initial dialog screen.
Thanks in advane
jogHi,
Create a Z trnsaction Code for the Transaction you want to call.
Go to SE93. Give Transaction name and click on create.
Select start object as 'Transaction with Variant' or 'Transaction with Parameter'.
On second screen give transaction name and check the <b>check box for 'Skip initial screen'</b>.
Find out the initial screen for the transaction and mention it.
Now, you can call this Z transaction in your program. -
How to call a program from FM which acts as popup?
Hi,
I need to call a program from FM and once the program is called it needs to be opened as a popup. Maybe we need to assign size when we call from FM or do we need to give size in the program it self?
I know i can either use the Submit command or Call Transaction command. But that it self will open a full screen which i dont want. It needs to be of a smaller size.
Any help will be appreciated.
ThanksHi,
Try this,
REPORT ZEX_POPUPSCREEN .
*& POPUP SCREEN
* Table Declaration
TABLES VBAK.
* Start of Selection
START-OF-SELECTION.
SELECT * FROM VBAK.
WRITE / VBAK-VBELN HOTSPOT ON.
ENDSELECT.
* Display the screen
AT LINE-SELECTION.
WINDOW STARTING AT 10 10
ENDING AT 40 25.
WRITE:/ 'VBAK-VBELN, VBAK-KUNNR'.
Regards,
Nikhil. -
How to call 'C' programs from stored procedures?
Hi
Did anybody tried to call 'C' programs
from oracle stored procedures?
If anybody knows, can you please send
how to configure the listener.ora and
tnsnames.ora. If its possible post all the
information from the begining with examples.
thanks....Oracle JDBC did not support return a result set, if you are using Oracle 9i, you can use pipeline function, then using the TABLE() function the get the row.
Good Luck.
Welcome to http://www.anysql.net/en/ -
How to call one program from another program
Hai,
How to call one program through another program.
Example.
I have two programs 1.ZPROG1 2. ZPROG2.
When i execute ZPROG1 at that time it should call ZPROG2.Hi ,
u can use submit statement to call a program .
DATA: text TYPE c LENGTH 10,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
regards,
Santosh thorat -
HOW TO CALL A FORM FROM REPORTS?
How to call a FORM6i form from Oracle Reports6i? Is it at all possible?
Regards.
Satyaki De.Hi Jakub,
I don't mean to say that you cannot do what you said in your response above.
But what I want to say that Oracle does not support forms to be called from reports.
DDE package is meant for different purpose.
Dynamic Data Exchange (DDE) is a mechanism by which applications can communicate and exchange data in Windows. DDE client support is added as a procedural extension to Reports Builder. The PL/SQL package for DDE support provides application developers with an Application Programming Interface (API) for accessing DDE functionality from within PL/SQL procedures and triggers.
Thanks,
Raj
http://www.oraclebrains.com -
How to call another program from LabVIEW?
Hi!
Is there anyone that can answer my question? I have found a similar thread where the user needed to call labVIEW from some program but I want to do the opposite.
I made a program in labVIEW that communicates via COM-ports (serial communication) with the processor I use at the job (Ubicom´s IP2022).
Now I want to add more funcionality to this program. I want to be able to program re-program IP2022 through this LabVIEW application.
The programming is done via an Ethernet-dongle. I start a program called IP2kProg, I write the ip-address of the dongle and the program-file (.elf) downloads at this address. But how can I do this from
LabVIEW, do I need to open IP2kProg or can I send some values to it via LabViEW?
Ant suggestions?
Thanks, AmirAmir,
There are couple of options:
1. If your IP2kProg program has a command-line interface, you can use LabVIEW's System Exec.vi and send the commands and parameters to it.
2. If the IP2kProg has an API / exported functions, you can call them from LabVIEW using the Call Library Function Node.
Hope this gives you some ideas.
-Khalid -
How to call java program from javascript
Hi,
I have an java program which will transform one xml to another xml using XSLT.
I want to call this java program from Javascript? Is this possible? Please suggest me.
Thanks,
Gopalis it not possible?
do i have to refresh the page and read in the values like...
<%
String ename = request.getParameter( "EmployeeName");
session.setAttribute( "ename", ename);
%>and then call the class from here?
looking around ive come across ajax but i dont know how to use it and what you need to install and if its compatable with tomcat and jsp?
is ajax better or not really worth it?
i have anything up to 100 fields that need saving at one save click -
How to call WD program from a headerless WD screen
Hi Experts,
For the MSS worklist, I have created a custom WD headerless screen. In this screen, I have created one linktoURL UI element. When the user clicks on the screen, URL is called using following code. This code is working fine in Development. How I can remove the hardcoding related with https://ruepd.mycompany.com:50001. As for Quality the URL will be different say https://abcpd.mycompany.com:50001. Please help.
public static void wdDoModifyView(IPrivateAutoSettlementAppView wdThis, IPrivateAutoSettlementAppView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
//@@begin wdDoModifyView
wdContext.currentContextElement().
setUrl("https://ruepd.mycompany.com:50001/irj/portal?" +
"NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.mycompany.all.folder.mycompany%2Fcom.mycompany.ep.folder.enterprise_portal%2Fcom.mycompany.portal.folder.roles%2Fcom.mycompany.portal.folder.employee_self_service%2Fcom.mycompany.portal.role.employee_self_service%2Fcom.mycompany.portal.workset.employee_self_service%2Fcom.mycompany.portal.workset.area_travel_expenses%2Fcom.mycompany.portal.page.create_expense_report&DynamicParameter=trip_number%3D"+
(wdContext.currentContextElement().getTripNumber()).replaceAll("^0*","") +
"%26mode%3Dcreate&TarTitle=Create%20Expense%20Report");
One alernative is to create a push button and then use the navigate absolute. However navigate absolute code does not work for headerless WD screen.
How I can convert headerless into non - headerless screen. As the screen is being called from Worklist. I does not have any control on making the screen non headerless screen.
The questions are
1) Is there is any way to keep the code as shown above and remove "https://ruepd.mycompany.com:50001" by some variable. So that we can avoid hard coding the value of https://ruepd.mycompany.com:50001
2) How to change the screen from hearless screen to non headerless screen. In this case I will use navigate absolute
3) Can we use navigate absolute in case of headerless screen. FYI - I have checked and found that I can not use it in headerless screen
Regards,
GaryHi,
I am using following code:
String hostName = TaskBinder.getCurrentTask().getProtocolAdapter().getServerName();
if (hostName.equalsIgnoreCase("development.mycompany.com"))
wdContext.currentContextElement().
setUrl("https://ruepd.mycompany.com:50001/irj/portal?" +
"NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.mycompany.all.folder.mycompany%2Fcom.mycompany.ep.folder.enterprise_portal%2Fcom.mycompany.portal.folder.roles%2Fcom.mycompany.portal.folder.employee_self_service%2Fcom.mycompany.portal.role.employee_self_service%2Fcom.mycompany.portal.workset.employee_self_service%2Fcom.mycompany.portal.workset.area_travel_expenses%2Fcom.mycompany.portal.page.create_expense_report&DynamicParameter=trip_number%3D"+
(wdContext.currentContextElement().getTripNumber()).replaceAll("^0*","") +
"%26mode%3Dcreate&TarTitle=Create%20Expense%20Report");
if (hostName.equalsIgnoreCase("quality.mycompany.com"))
wdContext.currentContextElement().
setUrl("https://ruepd.mycompany.com:50001/irj/portal?" +
"NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.mycompany.all.folder.mycompany%2Fcom.mycompany.ep.folder.enterprise_portal%2Fcom.mycompany.portal.folder.roles%2Fcom.mycompany.portal.folder.employee_self_service%2Fcom.mycompany.portal.role.employee_self_service%2Fcom.mycompany.portal.workset.employee_self_service%2Fcom.mycompany.portal.workset.area_travel_expenses%2Fcom.mycompany.portal.page.create_expense_report&DynamicParameter=trip_number%3D"+
(wdContext.currentContextElement().getTripNumber()).replaceAll("^0*","") +
"%26mode%3Dcreate&TarTitle=Create%20Expense%20Report");
Is it a correct approach?
Regards,
Gary -
How to call module pool from Bussiness event.
Hi SDN,
I have a reqd where ....through a business transaction event..I need to call a module pool screen.
I will also need to pass few internal tables present in the business event to the module pool screen.
Please tell me the steps or a code segment
Regards
Bidyut
Edited by: bidyut dutta on Nov 25, 2008 8:34 AMHi Bidyut,
You mean to say that you would like to call a module pool program in thsi event....?
Can you please elobrate your requirement....
If you need to call a module pool program then you can call that program by using the satement called SUbmit.
Give some condition like
If it is true
Submit the Zmodulepool program.....
Regards,
Kittu -
Urgent: How to use ORA_FFI to call exe program from Report 6i
We follow report help to use ORA_FFI but it does not work. Kindly help to advise sample code for using it.
Stevenu can solve this problem with lexical parameter.
create a user parameter and use it as lexcical parameter.
create a ur on form with form builder instead of report default parameter form and run reprport with parameters.
here is an exmple that i used.
if :Month is not null and :year is not null and :sjnl_no is not null then
declare
plist paramlist;
begin
plist := get_parameter_list ('list_1');
if not id_null(plist) then
destroy_parameter_list (plist);
end if;
plist := create_parameter_list ('list_1');
add_parameter (plist, 'P_where', text_parameter,'and (doc_no='||:SJNL_NO||')and to_char(doc_date,''MON-YYYY'')='''||:MONTH||'-'||:Year||'''');
add_parameter (plist, 'DESTYPE', text_parameter,:des_type);
run_product(REPORTS,'sale_journal', SYNCHRONOUS, RUNTIME, FILESYSTEM, plist);
exit_form;
end;
else
Message ('Select Moth, Year and Document No. first.');
end if;
Qadeer -
How to call ABAP programs from Excel
Hello everyone,
Currently I'm investigating the integration of Excel and ABAP program. I find it's easy to call Excel from ABAP program, but does anyone of you know how I can first open and do some actions in an Excel sheet first, and then, for example, when I press the save button, the data will be transferred back to ABAP system? I think when openning the Excel, the logon of the backend system is needed.
I've ever seen this functionality in some BW-reporting tools, but I cannot remember the details.
Thank you very much and best regards,
Leonyes in BW we are having this concept of creating wookbooks & queries.
If u have BW server Go to Transaction RRMX - u will get a Microsoft Excel sheet.
Here it allows u to logon to the SAP system.
For details see this link.
<a href="https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=2553631">https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=2553631</a>
<a href="https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=519862">https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=519862</a> -
How to call Abap Program from Javascript or html ?
Hi All,
I have developed a program using html, abap and javascript. I want to call an abap program while clicking on the button.
How can I do it ?Hi Rajesh,
What kind of program it is? is it a report or a transaction?
If it's transaction, you can call the transaction as below from a link or button.
http://<host>:<port>/sap/bc/gui/sap/its/webgui?~transaction=<transaction>
Please replace the parameters in <..> with appropriate values before testing.
Regards,
Ravi
Maybe you are looking for
-
The computer I started my itunes account on crashed. I would like to put all my old music onto my new computer but I cant get into the old computer to import. Is there anyway to get my old music another way?
-
Database filled fields to a pdf form, how can i setup fields to receive ?
have a database that has a pdf form filler that can send filled fields to a form designed pdf, how can i setup fields to receive the specific fields ?
-
I just made my account and when I try to log in it tells me "unknown network error" what do I do?
-
Modbus tcp read holding registers not returning requested quantity
Background: I have a customer using an ELAU motion system - they are recording data to Holding Registers that they want to be able to read on a cRIO to match up with some analog data from FPGA (I have digital handshaking happening for that). LabVIEW
-
Will CPS run on Free BSD?