How to call BEx workbooks from EP?
Hi!
How to call BEx workbooks from EP (in new window)?
P.S. For creation iView for workbooks I use "Role Upload" in Portal (System Administrator -> Transport -> Role Upload). Automatically created iView (for workbooks), unfortunately, do not work (bad argument in RRMXP transaction).
Maxim
The role migration does not do this properly so you will have to do this manually.
Create a transaction iview using transaction RRMX. Then add the following to the Application Parameter field
WBID=XXXXXXXXXXX (the workbook ID).
Then change the AutoStart Parameter to True.
Viola!
Similar Messages
-
Calling Bex Workbooks from the Web Dynpro
Hi All,
I'm calling Bex Workbooks from my dynpro using the following code:
create reentrance ticket
call function 'CREATE_RFC_REENTRANCE_TICKET'
importing
ticket = l_ticket
exceptions
ticket_logon_disabled = 1
ticket_creation_failed = 2
kernel_too_old = 3
others = 4.
check sy-subrc = 0.
system number
call function 'GET_SYSTEM_NUMBER'
importing
instancenumber = l_sysno.
create the shortcut
CONCATENATE '[System]' cl_abap_char_utilities=>cr_lf
'GuiParm=' sy-host ` ` l_sysno cl_abap_char_utilities=>cr_lf
'Client=' sy-mandt cl_abap_char_utilities=>cr_lf
'[User]' cl_abap_char_utilities=>cr_lf
'Name=' sy-uname cl_abap_char_utilities=>cr_lf
'at="MYSAPSSO2=' l_ticket '"' cl_abap_char_utilities=>cr_lf
'Language=' sy-langu cl_abap_char_utilities=>cr_lf
'[Function]' cl_abap_char_utilities=>cr_lf
'Title=' cl_abap_char_utilities=>cr_lf
'Command=*RRMXP WBID=' l_workbookid cl_abap_char_utilities=>cr_lf
'Type=Transaction' cl_abap_char_utilities=>cr_lf
'[Configuration]' cl_abap_char_utilities=>cr_lf
'GuiSize=Normal window' cl_abap_char_utilities=>cr_lf
'Workplace=true' cl_abap_char_utilities=>cr_lf
'[Options]' cl_abap_char_utilities=>cr_lf
'Reuse=0' cl_abap_char_utilities=>cr_lf
into l_content.
lo_conv = cl_abap_conv_out_ce=>create( ).
lo_conv->write( data = l_content ).
l_content_x = lo_conv->get_buffer( ).
concatenate l_workbookid `.sap` into l_filename.
cl_wd_runtime_services=>attach_file_to_response(
i_filename = l_filename
i_content = l_content_x
i_mime_type = `application/octet-stream`
i_in_new_window = abap_false
i_inplace = abap_true ).
Most of the time it's working fine - but some user experience a "Host Unknown" failure ?? - I suspect than it has something to do with contacting Excel, but I can't figure out exactly what goes wrong. The users have all needed componets of course, and they can run Workbooks from SAP GUI without getting this error.
Thanx Ahead.Look at below link: it might help you.
[WAD URL Call for BEX|/thread/268199 [original link is broken];
Raja -
Call Bex Workbook from browser through ActiveX or OLE
Hello. I have to run bex workbook from browser. I found out that I can do it through ActiveX and "SAPBEX.XLA!SAPBEXgetConnection", but I didn't succeed. Can anybody help me out?
Vanessa,
Please do not raise the same post across forums ..
/thread/1257238 [original link is broken]
the above thread is being considered as duplicate and being deleted - because this particular post has been raised in the correct forum.. -
How to copy BEx Workbooks from one user's favourites to another user's
Is there a way to copy BEx Workbooks (Excel Analyzer) from one user's 'Favourites' to another user's Favourites?
A user is away on vacation and we need to get at a couple of workbooks that are stored only in that user's Favourites. We do not have access to that user's user id and password.
Were on BW version 3.5.Thanks Ravi.
We are aware that if a workbook is assigned to a Role then other users can access the workbook.
In order to assign the workbook to a Role, we need to be able to see it in the first place.
The workbook is currently saved only in a specific user's Favourites, and that user is away on vacation. We can not assign it to a Role unless we sign on as that user. We do not have the user's logonid and password.
So we are still interested in finding out how to copy from that user's Favourites, perhaps via a program or via the Administrator Workbench. -
How to call Bex Browser from CRM
Hi
I would call the Bex Browser from a CRM user menu.
could you help me?
thanks!
S.Hi!
as far as i know about CRM system there is no posibilty to directly access BEx analyzer from crm gui. although there are some places we require this functionality like in CRM campaign management where we show some BW reports.
with regards
ashwin
<i>PS n: Awarding points is the way of saying thanks in SDN. you can award points to the helpfull answers by clicking the proper radio button displayed beside the answers on the left side. selecting yellow awards 2 points, selecting green awards 6 points and selecting blue awards 10 points to the person who answered and it is good to close the threads which have an answers which helps other sdners to concentrate on the un answered questions instead of spending time on posts which already have a solution</i>
Message was edited by: Ashwin Kumar Gadi -
How to migrate the Workbooks from BW3.1 to BI7
Dear Team,
How to Migrate the workbooks from Bw3.1 to BI7. We have recently upgraded to BI7. What are necessary steps and necessary cares needs to take for this.
Best Regards,
SGMigration is manual. When you open up a 3.x component in a 2004s tool in migrates it. There is no automatic migration available
Rolling out the New SAP NetWeaver 2004s BI Frontend Tools
Migrating Advanced BEx Analyzer Workbooks - What VBA is Supported?
Hope it Helps
Chetan
@CP.. -
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 a package from the Report in Oracle Application Express
How to call a package from the Report in Oracle Application Express
Hello,
What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
Or do you want to execute a procedure when something happens on the page, like clicking a button?
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-) -
How to call business service from xquery transformation in OSB ??
Hi All,
How to call business service from xquery transformation in OSB ??
I need to assign the response variable of Business Service to a target element in XQuery Transformation Mapper file.
It's urgent.
Regards,
Jyoti NayakTransformation is to mapping the source and target of 2 different schemas.
In your case you should have a XQuery transformation between, your Business Service output schema and the target schema.
Thanks,
Vijay -
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 -
How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)
Hello
We use SRM Server 5.5 with classic scenario.
We want to call RFC in R/3 from webdynpro ABAP.
How can we do that?
We are developing the web report using webdynpro abap.
So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).
When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro. So we call the R/3 RFC to display the PR, PO data.
But I tired to call the RFC in R/3, We could not call it.
How to call the RFC from R/3 to SRM, when we use webdynpro abap?
Thank you,
Best Regards,
SH.Hi
<b>Please look at the following threads as well -></b>
WebDynpro in SRM
BAPI's /RFC's in SRM
BAPI to Change Shopping Cart by RFC
SRM60 and webdynpro
Webdynpro Services Exception
WebDynpro using BAPI has an error
SRM60 and webdynpro...
<b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>
<u>For getting Purchase requistion data, use the function modules -></u>
META_REQUISITION_CHANGE Change purchase requisition
META_REQUISITION_CREATE Create Requisition
META_REQUISITION_DELETE Delete/close purchase requisition
META_REQUISITION_GETDETAIL Display requisition details
META_REQUISITION_GETITEMS Display requisition items
META_REQUISITION_GETRELINFO Get Releasease Info for requisitions
<u>For getting Purchase order data, use the function modules -></u>
META_PO_CREATE Create purchase order
META_PO_DELETE Delete reservation
META_PO_GETDETAIL Display purchase order details
META_PO_GETITEMS Display purchase order items
META_PO_GETRELINFO Display purchase order release information
Hope this will definitely help. Do let me know.
Regards
- Atul -
How to call javascript function from PL/SQL procedure
Can anybody advice me how to call javascript function from PL/SQL procedure in APEX?
Hi,
I have a requirement to call Javascript function inside a After Submit Process.
clear requirement below:
1. User selects set of check boxes [ say user want to save 10 files and ticks 10 checkboxes]
2. user clicks on "save files" button
3. Inside a After submit process, in a loop, i want to call a javascript function for each of the file user want to save with the filename as a parameter.
Hope this clarify U.
Krishna. -
How to call oracle function from ejb3
i'm trying to call an oracle query-function from ejb3.
The oracle function:
create or replace FUNCTION getSecThreadCount(secId in NUMBER,avai in NUMBER)
RETURN SYS_REFCURSOR is cur SYS_REFCURSOR;
m_sql VARCHAR2(250);
BEGIN
m_sql:='select count(thrId) from thread where secId='|| secid||'
and thrAvai='|| avai;
open cur for m_sql;
return cur;
END;
I'v tried several ways to call it,but all failed:
1. the calling code:
public Object getSectionThreadCount(int secId,int avai){
Query query=manager.createNativeQuery("{call getSecThreadCount(?,?) }");
query.setParameter(1, secId);
query.setParameter(2, avai);
return query.getSingleResult();
but i got the exception:
Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query; nested exception is: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
Caused by: java.sql.SQLException: ORA-06550: row 1, col 7:
PLS-00221: 'GETSECTHREADCOUNT' not procedure or not defined
ORA-06550: row 1, col 7:
PL/SQL: Statement ignored
2. the calling code:
@SqlResultSetMapping(name = "getSecThreadCount_Mapping")
@NamedNativeQuery(name = "getSecThreadCount",
query = "{?=call getSecThreadCount(:secId,:avai)}",
resultSetMapping = "getSecThreadCount_Mapping",
hints = {@QueryHint(name = "org.hibernate.callable", value = "true"),
@QueryHint(name = "org.hibernate.readOnly", value = "true")})
public Object getSectionThreadCount(int secId,int avai){
Query query=manager.createNamedQuery("getSecThreadCount");
query.setParameter("secId", secId);
query.setParameter("avai", avai);
return query.getSingleResult();
but i run into the exception:
Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query; nested exception is: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
Caused by: java.sql.SQLException: lost in index IN or OUT parameter:: 3
By the way, i have successfully called the function from hibernate. And i use oracle 11g, JBoss5 RC1.
Could anyone tell me how to call the function from EJB3?
Thanks.Here's a working model:
package.procedure: (created in example schema scott)
CREATE OR REPLACE package body data_pkg as
type c_refcursor is ref cursor;
-- function that return all emps of a certain dept
function getEmployees ( p_deptId in number
return c_refcursor
is
l_refcursor c_refcursor;
begin
open l_refcursor
for
select e.empno as emp_id
, e.ename as emp_name
, e.job as emp_job
, e.hiredate as emp_hiredate
from emp e
where e.DEPTNO = p_deptId;
return l_refcursor;
end getEmployees;
end data_pkg;
/entity class:
package net.app.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedNativeQuery;
import javax.persistence.QueryHint;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
@SuppressWarnings("serial")
@Entity
@Table (name="emp")
@SequenceGenerator(name = "EmployeeSequence", sequenceName = "emp_seq")
@NamedNativeQuery( name = "getEmpsByDeptId"
, query = "{ ? = call data_pkg.getEmployees(?)}"
, resultClass = Employee.class
, hints = { @QueryHint(name = "org.hibernate.callable", value = "true")
, @QueryHint(name = "org.hibernate.readOnly", value = "true")
public class Employee implements Serializable
@Id
@Column(name="emp_id")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "EmployeeSequence")
private int id;
@Column(name="emp_name")
private String name;
@Column(name="emp_job")
private String job;
@Column(name="emp_hiredate")
private Date hiredate;
// constructor
public Employee (){}
// getters and setters
public int getId()
return id;
etc...session bean:
package net.app.entity;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import net.app.entity.Employee;
import net.app.iface.ScottAdmin;
@Stateless
public class ScottAdminImpl implements ScottAdmin
@PersistenceContext
private EntityManager entityManager;
@SuppressWarnings("unchecked")
public List<Employee> getEmployeesByDeptId(int deptId)
ArrayList<Employee> empList;
try
Query query = entityManager.createNamedQuery("getEmpsByDeptId");
query.setParameter(1, deptId);
empList = (ArrayList<Employee>) query.getResultList();
return empList;
catch (Exception e)
e.printStackTrace(System.out);
return null;
}client:
package net.app.client;
import java.util.List;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import net.app.entity.Employee;
import net.app.iface.ScottAdmin;
public class ScottClient
public static void main(String[] args)
try
// create local interface
InitialContext ctx = new InitialContext();
ScottAdmin adminInterface = (ScottAdmin) ctx.lookup("ScottAdminImpl/remote");
// select employees by deptno
int deptno = 20;
List<Employee> empList = adminInterface.getEmployeesByDeptId(deptno);
// output
System.out.println("Listing employees:");
for (Employee emp : empList)
System.out.println(emp.getId() + ": " + emp.getName() + ", " + emp.getJob() + ", " + emp.getHiredate());
catch (NamingException e)
e.printStackTrace(System.out);
}Basically you just ignore the refcursor outbound parameter.
This is a stored function, have yet to try outbound refcursor parameters in stored procedures...
Edited by: _Locutus on Apr 2, 2009 2:37 PM -
How to call WEB Service From SAP
Hi Friends,
How to call WEB Service From SAP.
Thanks in advance,
Murali Krishna KHi,
if you mean calling a web service in Web Dynpro ABAP, see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d7/951b42f828df2ce10000000a1550b0/frameset.htm">documentation</a>, if you mean calling a web service in general, this is not the correct forum. This here is the Web Dynpro ABAP forum, for general questions on ABAP, use the ABAP forum.
Regards, Heidi -
How TO CALL c++ EXECUTABLE FROM XI(VERY iMPORTANT)
hI ALL
pLEASE DO GIVE SUGGESTIONS AND DOCCUMENTATION LINKS THAT <b>HOW TO CALL c++ EXECUTABLE FROM XI</b> .THIS IS VERY IMPORTANT AND YOUR HELP WILL BE REWARDED.
WITH REGARDS
SUBRATO KUNDUHi Subrato,
AFAIK you can call C / C++ methods in Java using Java Native Interface (JNI).
Please refer the following links for how to do the same.
<a href="http://www.nag.com/IndustryArticles/CallingCLibraryRoutinesfromJava.pdf">For C:</a>
<a href="http://www.javaworld.com/javaworld/javatips/jw-javatip17.html">For C++:</a>
Regards,
Ananth
Maybe you are looking for
-
The customer is using AT&T as the host, it seems to automatically map to the a mobile site when on a phone or tablet, could the mapping to a tablet site be on AT&T's end? I never setup the tablet or mobile site through Muse.
-
I created a global variable that contains a result of a query. I used it in a procedure using SQL but when I run the prcedure I have the following error : com.sunopsis.sql.SnpsMissingParametersException: Missing parameter Could you tell me how to use
-
Package not found error...please help!!!!
I am trying build an application using Apache Http server and tomcat. I have created a package called 'employee' under web-inf/classes. I have also put my servlet under web-inf/classes. In my servlet if I use the statement 'import emplyee.*' it gives
-
Hi Floks, We are getting core dump and server is getting down. If i can run same program with same variant working couple of times sequentially after that getting this issue. Thanks, Anil.
-
When I attach and send a picture Mail reduces the size so much that the receiver cannot see it. I would like to scan receipts and forward them for business use (to get reimbursed). How can I force Mail to send scanned pictures of my receipts the full