End users get blank result from VC model calling an R/3 BAPI.
Hello everyone.
We have build a VC model calling a Z*BAPI that we built in the R/3 backend. Everything works fine through DEV and QAS. However in our production environment when an end user attempts to run the VC application and search for a record they get a blank table result. However if one of our core support team users runs the application it returns the search result successfully.
There are no authorizations on the BAPI itself.
I have tried to trap a security trace (ST01) in PRD but have not been able to capture a security trace for a failed attempt. There is no dump (ST22) and nothing in the sys log to indicate a problem (SM21).
Can someone tell me or point me to where I can determine all the authorizations an end user needs in order to run a VC model using a R/3 BAPI?
We are running on EP 7.0 and ECC 6.0.
Thanks,
-Jon
Hi Shay,
When you ask "Have you tried adding the user to the permission list?". Can you be more specific.
Are you talking about the medium level security zone permissions in System Administration -> Permissions -> Portal Permissions -> sap.com/NetWeaver.Portal/medium_safety
For the following objects in the medium_safety folder, assign End User permissions:
com.sap.vc.mmcompiler
com.sap.visualcomposer
com.sap.visualcomposer.portalconnector
If so we have set the permissions to the Authenticated User Group to be "none" and "end-user".
We have also assigned end user rights to the Everyone group to the following PCD folders...
Assign End User permissions to VC Role for the following content:
pcd:portal_content/templates/pages/portalpagetemplate
pcd:portal_content/templates/pages/wdProxyPage
pcd:portal_content/templates/layouts/fullWidth
pcd:portal_content/templates/iviews/wdProxyiView
It still does not work unless the person has content admin assigned. Is there any other permissions (ACLs, PCDs, security zones, etc.) that a person needs in order to use a VC model?
-Jon
Similar Messages
-
With BI7 to 3.0B end user get an additional features
Hi,
we are trying to upgrade to BI7.Apart from designing, do the end user get an additional features compared to earlier versions(3.0B) in the perspective of enduser only.Yes...There are lot many features...
1) Improved query performance through BI accelerator
2) PDF reporting you have Java and ABAP stack installed
3) Flexibility of adding drop down menu within BEx report (after execution)
4) The BEx reports looks more organized than that one 3.x versions.
There are more in the list -
How to get the data from the model node like a table ?
I want to get the data from the model node once a record ,and the node is bound to a internal table in the RFM which I called in the R/3 system. Who can give me some advice to achive it?Thank you!!
Hi,
To get the data from the node:
wdContext.node[your node name].current[node name]_InputElement().get[specific element in the node];
or you van use:
wdContext.current[your node]Element().get[your element in the node];
examples:
wdContext.nodeZ_Mepro_Po_Detail_Stock_Distri_Input().currentZ_Mepro_Po_Detail_Stock_Distri_InputElement().getUcpd_Flag();
wdContext.currentT_Delv_ReqsElement().getShelflife();
regards, -
Problem in Flex to get XML result from web services
Hi all
I am struggling a proplem for a whole day, i hope somebody can help.
I am trying to get the list file of files located on the server, so i use flex to access a ASP.NET ASMX web services, that returns all the file names in a folder.
I can see that web servicese worked perfectly, however when i try to get the result from flex, i could not figure out how to get the real data i wantted
public function LoadImage(e:ResultEvent):void{
imageList.dataProvider = e.result;
the e.result has some addtional tags, such as
<GetImageFileListResponse xmlns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetImageFileListResult>
<images>
<image>01417_ccurve_1280x1024.jpg</image>
<image>1915619295407381096.png</image>
<image>21051802471898733113.png</image>
where GetImageFileList is the operation name used in web service
I am only interested in the data starting from <images> . I don't know why the addtioanl tag has been added.
here is the code i have used in flex.
<mx:WebService
wsdl="http://localhost/Flex/GetImageFiles.asmx?WSDL" id="imageWs">
<mx:operation name="GetImageFileList" result="LoadImage(event)" fault="mx.controls.Alert.show(event.fault.faultString)" resultFormat="
e4x">
</mx:operation>
</mx:WebService>
Thanks in advance!!!Hi,
Just replace the below line in your code and check...
imageList.dataProvider = e.result.GetImageFileListResult.images;
If this post answers your question or helps, please mark it as such.
Thanks,
Bhasker Chari -
I bought the book from the play store. I downloaded the .epub/acsm file from the website onto my phone's sd card.
I tried to open it and import to aldiko but i get error messages all the time.
I contacted someone from Google , and they directed me here.
Please help?WHOOP WHOOP! Thanks for reminding me about Digital Editions for the ebook. I got it finally working on my phone - even though someone from Google said I couldn't do it..
Date: Fri, 18 May 2012 05:12:46 -0600
From: [email protected]
To: [email protected]
Subject: "This content is already fufilled by another user"/Getting an ebook from Play Books to Aldiko?
Re: "This content is already fufilled by another user"/Getting an ebook from Play Books to Aldiko?
created by Frustrated in AZ in Adobe Digital Editions - View the full discussion
If you downloaded the file without using Digital Editions to do it, there'snot much we can help you with because that's the product we deal with. =======================
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4418873#4418873
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4418873#4418873. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Digital Editions by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Getting XML result from Oracle request
We have Oracle 8i Entreprise Edition and We like to get XML result from an Oracle request. Can I use only Oracle 8i Entreprise Edition product or should i use another oracle product to do this job ?
Thank youDownload our XSQL Pages technology with the XSQL Servlet and you'll be in business in no time. If you want to just get XML programmatically from SQL in your own programs, you can try the XML SQL Utility (which XSQL Pages makes use of under the covers). XSQL Pages comes with lots of demos and a tutorial.
-
How to get accurate results from sql code ?
Hello everybody,
I have a problem with some portion of my code.
I get more results than I specify in the where clause.
Here is the sample code:
c.gl_acct_id between '110'||'-'||'6890'||'-'||'69000'||'-'||'%'
and '110'||'-'||'7000'||'-'||'67999'||'-'||'%'
For some reason I also get the following results back:
110-6910-51001-001, and 110-6910-51003-001 But I don't need the 51001 and 51003. How do I specify in sql what range I really want. I was sure that the code above is correct. I guess not.
I would appreciate any help,
Thanks,
SonyaHave you tried using the query either of the following...
1) c.gl_acct_id between '110-6890-69000-000'
and '110-7000-67999-999'
and c.gl_acct_id not like '110-6910-51001-%'
and c.gl_acct_id not like '110-6910-51003-%'
assuming you have only 3 digits at the end of gl_acct.
2)If you know that your acct_id belongs to only 69000 or 67999
then
(c.gl_acct_id LIKE '110-6890-69000-%' OR
c.gl_acct_id LIKE '110-7000-67999-%' )
Plz. let me know if this not what you are looking for.
thanx
rajkiran
Here is the whole script:
select distinct c.gl_acct_id acct_no,
c.gl_acct_desc,
min(a.local_act_beg_bal) local_act_beg_bal,
sum(b.local_act_mtd_dr_amt) debits,
sum(b.local_act_mtd_cr_amt) credits,
nvl(min(a.local_act_beg_bal),0)+sum(nvl(b.local_act_mtd_dr_amt,0))-
sum(nvl(b.local_act_mtd_cr_amt,0)) end_bal
from gl_acct c, gl_acct_bal a, gl_acct_bal b
where c.org_unit_id = '110'
and b.gl_acct_id = c.gl_acct_id
and a.gl_acct_id = c.gl_acct_id
and c.sum_det_ind = 'D'
and c.gl_acct_class_ind in ( 'A' , 'L' , 'Q' , 'I' , 'E' )
and a.year_no = '2001'--:loyear
and a.period_no = '1'--:loperiod
and ( ( b.year_no = '2001'--:hiyear
and b.period_no between '1'--:loperiod
and'13')-- :hiperiod
and c.gl_acct_id between '110'||'-'||'6890'||'-'||'69000'||'-'||'%'
and '110'||'-'||'7000'||'-'||'67999'||'-'||'%'
group by c.gl_acct_id, c.gl_acct_desc
I want to have ability to specify ranges for gl_accoount.
Thanks,
Sonya -
Why can't I get search results from Travelocity and Priceline using FF21?
When I use the Travelocity fight search page, I get an error page each time I use it. It works fine in IE. The same thing happens after getting a list of results from Priceline.com. You click on a flight and an error page appears. Again, it works fine in IE.
Hello,
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Once you get the pop-up, just select "'Start in Safe Mode"''
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you. -
How to get save result from EXECUTE from a dynamic SQL query in another table?
Hi everyone,
I have this query:
declare @query varchar(max) = ''
declare @par varchar(10)
SELECT @par = col1 FROM Set
declare @region varchar(50)
SELECT @region = Region FROM Customer
declare @key int
SELECT @key = CustomerKey FROM Customer
SET @query = 'SELECT CustomerKey FROM Customer where ' + @par + ' = '+ @key+ ' '
EXECUTE (@query)
With this query I want get col1 from SET and compare it to the column Region from Customer. I would like to get the matching CustomerKey for it.
After execution it says commands are executed successfully. But I want to save the result from @query in another table. I looked it up and most people say to use sp_executesql. I tried a few constructions as sampled and I would always get this error:
Msg 214, Level 16, State 2, Procedure sp_executesql, Line 12
Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'.
So the output should be a list of CustomerKeys in another table.
How can I save the results from EXECUTE into a variable? Then I assume I can INSERT INTO - SELECT in another table.
ThanksCREATE TABLE Customer
(CustomerKey INT , Name NVARCHAR(100));
GO
INSERT dbo.Customer
VALUES ( 1, N'Sam' )
GO
DECLARE @query nvarchar(max) = ''
declare @par varchar(10) = 'Name',
@key varchar(10) = 'Sam'
CREATE TABLE #temp ( CustomerKey INT );
SET @query =
insert #temp
SELECT CustomerKey
FROM Customer
where ' + @par + ' = '''+ @key+ ''' '
PRINT @query
EXEC sp_executesql @query
SELECT *
FROM #temp
DROP TABLE #temp;
DROP TABLE dbo.Customer
Cheers,
Saeid Hasani
Database Consultant
Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
[My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
[Twitter] [Facebook] [Email] -
Hello
How can I get the size of a model (from a *.w3d-file). The
model does not contain the properties width, height or length, so I
guess that I have to measure the distance between the models
vertices.
But I can't seem to think of a good way to do it in. I guess
a loop of some kind? But it would seem rather unomptimized to
actually loop through each and every vertex point in the model I
wan't measured.
Any suggestions?The closest thing to model's dimensional properties is the
model's boundingSphere property. It gives a radius of an imaginary
sphere that contains all the vertices of the model; the sphere's
diameter is the distance between the two farthest-apart vertices.
However it includes the model's children in the sphere. Set
yourModel.debug = TRUE to see it.
You could loop through each model, add a mesh deform
modifier, go through each mesh[ ].vertexlist, keep track of each
max and min x, y, and z value, the calculate w, l, h from that. It
would take a little time... you probably wouldn't want to do it
every frame. But you could do it on a keypress or something. -
Q. How to get multiple results from a single column in a recordset using PHP
Hi everyone
Hope someone can help. I have a column called categories and about 5 categories listed. I want to show all products that are listed in say 2 categories. I only have basic php skills so only know how to pass a url value to show the products from 1 category e.g.
Select *
FROM product
WHERE category = colname
$colname = $_GET['category'];
URL...page.php?category=fruit
Questions is how do I get the products from multiple categories to show e.g. all products from categories 'fruit', 'dairy', 'meat'
Your help will be much appreciated as I am getting tired of beating my head against the wall. (should invent a PHP wall pillow and sell it online)
Thanks$colname1 = $_GET['category1'];
$colname2 = $_GET['category2'];
$colname3 = $_GET['category3'];
Select *
FROM product
WHERE category IN ('$colname1', '$colname2', '$colname3')
>Your help will be much appreciated as I am getting tired of beating my head against the wall
My guess is that you are trying to build a web application without having first learned the basics on PHP and SQL. That's certainly the hard way. -
Getting Return values from RFC function call with visual basic
Hi,
I am creating a sample app to connect to a SAP system which call its RFC functions created with ABAP. It was known that the function will return more than 1 return values.
SAP Function name ==> "ZFMTP_RFC_GET_RESULT"
Export parameters (to SAP):
- Student Name [char 10] ==> "STUNAME"
- Student ID [char 20] ==> "STUID"
Return values (From SAP):
- Results [char 10] ==> "RESULT"
- Remarks [char 200] ==> "REMARKS"
i have managed to get sample codes for connecting and call a RFC function with vb but they only get a return value. How do i retrieve multiple return values like the above function "RESULT" and "REMARKS"?
Here's my vb code to accessing the function
Dim R3 As Object
Dim FBFunc As Object
Dim returnFunc As Boolean
Dim connected As Boolean
R3 = CreateObject("SAP.Functions")
R3.Connection.Client = "000"
R3.Connection.User = "BCUSER"
R3.Connection.Password = "minisap"
R3.Connection.Language = "DE"
R3.Connection.System = "dtsystem"
R3.Connection.Applicationserver = "xxx.xxx.xxx.xxx"
connected = R3.Connection.Logon(0, True)
If connected <> True Then
MsgBox("Unable to connect to SAP")
End If
FBFunc = R3.add("ZFMTP_RFC_GET_RESULT")
FBFunc.exports("STUNAME") = "Jonny"
FBFunc.exports("STUID") = "12345"
returnFunc = FBFunc.Call() <<== How do i get the return value? or RESULT and REMARKS of the RFC Function?
thanks alot.
Edited by: Eugene Tan on Mar 4, 2008 7:17 AMHi Gregor,
Thanks for the link....i am having some doubts with the codes, hope you can clarify them for me if you know the codes..
Below is the code snippet.
Set impReturn = CHPASS_FN.Imports("RETURN") <<=== is RETURN the standard keyword to get a return object?
expPassword.Value = currpass
expNewPass.Value = newpass
expFillRet.Value = "1"
''' Call change password function
If CHPASS_FN.Call = True Then
outFile.Write (", Called Function")
Message = impReturn("MESSAGE") <<==== So if i have 3 return values..i just replace with the return value variable names?
outFile.WriteLine " : " & Message
Else
outFile.Write (", Call to function failed")
End If
thanks alot...all your help is very appreciated. -
I used to be able to use my iPad with great results in getting my email. Friday I logged in and went to my Yahoo mail page as usual. The result was a page with nothing on it-a blank page. I tried several times and even went to Yahoo.com and clicked on "mail" but got the same results. I set up my mail app info and that worked but I prefer to use the Safari app to do mail when away from home as I also use my Mac Book at times on some trips. BTW, when I returned home, I tried to use the iPad with my own wireless network here and got the same results. What is going on and how can I fix it? Thank you.
Sadly I looked and the remotes images was on. I toggled it off and then back on again and got the same blank page. Thanks for your ifno.
-
Getting query results from a PL/SQL procedure
Hi! So, I’m a little stumped and I can’t seem to find the answer to what I believe is probably a simple question…
So, here goes… I have a big ol’ union query that I use to create a report on a page, it’s about 25k – not over the 32k limit, but fails to be able to compile every time (I always get a 400 – Bad Request error). I’m not sure why this is happening, but I can remove a union statement and it compiles just fine – so it has something to do with the size of the query. ANYWAY – I’ve resolved that I should put this bad boy into the database as a stored procedure and just call it from Apex, my problem is I can’t figure out quite how to do this with variables, etc.…
Instead of giving you my whole big query, I’ll use the emp table as the concept is the same:
Say we have a query that creates a report on a page:
select empno, ename, job, mgr, hiredate, sal, comm, deptno
from emp
where job = :P_JOB
and hiredate >= :P_HIREDATE;
How would I take this query, create it as a stored procedure on the db, pass the variables from Apex and return the query result set from the stored proc as a report?
I really appreciate any help on this!
Best,
GilcrestHi Gilcrest,
You should create the query as a View and use the view name and the WHERE clause in the report's sql source.
Andy -
How to open a popup and get some data from a model class
Hi experts,
mi problem is the next.
I am opening a popup from a view that is controlled by a controller named identificador.do, the controller class is z_identity_cl.
the window that is opened is other view controlled by nocupentes.do, with a controller class, z_nocupantes_cl.
In the do_init event of the z_nocupantes class i have added the next code:
<i> DATA: cl_parent TYPE REF TO Z_IDENTtity_CL.
Recuperamos el atributo parent
cl_parent ?= me->m_parent.
model is the class i want to recover, it is defined in the attibutes of the class z_identity_cl
model ?= cl_parent->get_model( 'mo' ).</i>
When i open the popup i get the next error:
<i>BSP exception : the object numero_ocup.htm(this is the page i want to open) in URL sap/ZHR_PDWEB_GDPT/numero_ocup.htm is a view. Initialize the controller.</i>
what do i have to do?
any help?
thanks in advanceHi Eduardo,
you should be calling the Controller in the URL not the View. after calling the controlles in the URL create the view in the DO_REQUEST of the Controller. This should resolve the issue.
In the the DO_INIT define the Parent class of the Controller.
METHOD do_init.
DATA: lr_my_parent TYPE REF TO zcl_hr_main_control.
* set (MVC) model
lr_my_parent ?= me->m_parent.
set_model( model_instance = lr_my_parent->model
model_id = 'Z' ).
me->model = lr_my_parent->model.
ENDMETHOD.
method DO_REQUEST.
* datadeclaration
DATA: abs TYPE REF TO if_bsp_page.
* if input is available, dispatch this input to subcomponent.
* this call is only necessary for toplevel controllers.
dispatch_input( ).
* if any of the controllers has requested a navigation,
* do not try to display, but leave current processing
IF is_navigation_requested( ) IS NOT INITIAL.
RETURN.
ENDIF.
* output current view (create, set attibutes, and call)
abs = create_view( view_name = 'to_disp.htm' ).
* set attribute model if needed
abs->set_attribute( name = 'model' value = model ).
* call master views
call_view( abs ). "calls itself
endmethod.
Cheers
Amandeep
Maybe you are looking for
-
How to skip running worker using adctrl
Hi, I am applying 3480000 patch but package PSBVWP1S.pls on worker 1 for product psb username PSB is running from 3 days i need skip this job to continue with patch session can any one help me as of i now we can skip using 8 option in adctrl when wor
-
Hi , I am using ODI 10.1.3.5.4 with Oracle to Oracle data transfer. I tried to create Flex Field. I have followed following steps: 1. In security Manager, Objects Tab, I selected Data Server and added a Flex field as SOURCE_DATABASE_LINK_NAME. 2. In
-
Cq62-423nr cpu upgrade question
hello all: i would like to upgrade my cpu from a single core to a dual core. i need to know which dual core processors are compatible with my notebook. i have a CQ62-423NR ty in advance for any help This question was solved. View Solution.
-
mx:initialize Purpose and Powers ?
Hello Everyone, My roommate told me about the <mx:initialize> block you can use in mxml. I was wondering what this would be used for. I was under the assumption that you could do stuff in the <mx:initialize> block such as declare variables and object
-
AVCHD in Final Cut Express HD?
I just got myself a Canon HG10, I have final cut express HD. Is there a way to get Final Cut Express HD to support AVCHD?