Unable to Save the Data Using BexSetData
Hi All,
I have a issue regarding saving plan data,
Design: I got a Workbook with several tabs, each tab has a input ready Query and has a layout as below
A formatted user facing worksheet containing; an area where the user enters their plan data with a BEx save data button, an input ready query and a worksheet containing the BExSetData formulas that reference the values entered on the user facing worksheet.
Issue: When i try to enter the value in the user facing sheet, the data is shown in the BexSet Data Sheet with out any problem,
But when i try to save the data the data is not saved into the cube.
Can any one please give some ideas of possible cause.
One more question is the input ready query doesn't have any references to other sheets, will this be a reason for the data not saved?
Please through some ideas.
Thanks
GC
Hello,
I think it is problem with the buffer:
Check the notes 1136163, 1138864, 1146957, 1179076.
please check the below;
Delta buffer query in RSRT for BI-IP ("<infoprovider>/!!1<infoprovider>)
Planning query donu2019t show the current data
Thanks.
With regards,
Anand Kumar
Similar Messages
-
Unable to retrive the data using self join
I am trying to find the time taken to close a ticket. The ticket goes through various stages: NEW, INPROCESS, CLOSED, REOPENED. If the ticket is reopened then the next stage would be INPROCESS and then CLOSED.
The CC_TICKET_INFO table contains information about the last stage of the ticket. CC_TICKET_HISTORY table contains information about all the stages of the ticket.
The challenge here is if the ticket is reopened then it should be counted as 2 instances instead of 1.
First instance from stages: NEW --> INPROCESS --> CLOSE
Second instance from stages: REOPEND --> INPROCESS --> CLOSE.
Follwoing SQL is to generate the data:
CREATE TABLE CC_TICKET_INFO
TICKET_ID VARCHAR2(20 BYTE) NOT NULL
, TICKET_STATUS VARCHAR2(60 BYTE)
, created_date timestamp(6)
, LAST_CHANGED timestamp(6)
, ASSIGNED_TO VARCHAR2(20)
, CONSTRAINT PK_CC_TICKET_INFO PRIMARY KEY
ticket_id
CREATE TABLE CC_TICKET_HISTORY
TICKET_ID VARCHAR2(20 BYTE) NOT NULL
, TICKET_STATUS VARCHAR2(60 BYTE)
, CREATED_DATE TIMESTAMP(6) NOT NULL
, ASSIGNED_TO VARCHAR2(255 BYTE)
, CREATED_BY VARCHAR2(60 BYTE)
, CONSTRAINT PK_CC_TICKET_HISTORY PRIMARY KEY
TICKET_ID
, CREATED_DATE
insert into cc_ticket_history values ('D21207155', 'NEW', '6/28/2013 17:28:59', null, 'jsg-st');
insert into cc_ticket_history values ('D21207155', 'INPROCESS', '6/28/2013 17:48:19', 'ah-eg', 'ah-eg');
insert into cc_ticket_history values ('D21207155', 'CLOSED', '6/28/2013 18:54:23', 'ah-eg', 'ah-eg');
insert into cc_ticket_history values ('D21207155', 'REOPENED', '7/2/2013 19:55:04', 'ah-eg', 'jsg-st');
insert into cc_ticket_history values ('D21207155', 'INPROCESS', '7/2/2013 20:11:17', 'sr-eg', 'sr-eg');
insert into cc_ticket_history values ('D21207155', 'CLOSED', '7/2/2013 23:06:16', 'sr-eg', 'sr-eg');
insert into CC_TICKET_INFO values ('D21207155', 'CLOSED', '6/28/2013 17:28:59', '7/2/2013 23:06:16', 'sr-eg');
I want to find the time difference betwen '6/28/2013 18:54:23' and '6/28/2013 17:28:59' (First instance)
and between '7/2/2013 23:06:16' and '7/2/2013 19:55:04' (Second instance)
The closest I am getting is the through this query:
select L.ticket_id, L.CREATED_DATE, R.CREATED_DATE as close_date, L.TICKET_STATUS, R.TICKET_STATUS from cc_ticket_history L RIGHT join cc_ticket_history R on (L.rowid < R.rowid) where (L.TICKET_STATUS = 'NEW' AND R.TICKET_STATUS ='CLOSED') OR (L.TICKET_STATUS = 'REOPENED' AND R.TICKET_STATUS ='CLOSED');
Can it be done through SQL?select ticket_id,ticket_status,created_date,
case when ticket_status = 'CLOSED'
and lead(ticket_status) over (partition by ticket_id order by created_date) = 'REOPENED'
then lead(created_date) over (partition by ticket_id order by created_date) - created_date
when ticket_status = 'REOPENED'
and lag(ticket_status) over (partition by ticket_id order by created_date) = 'CLOSED'
then created_date - lag(created_date) over (partition by ticket_id order by created_date)
end time_difference
from cc_ticket_history
where ticket_status in ('CLOSED','REOPENED')
TICKET_ID
TICKET_STATUS
CREATED_DATE
TIME_DIFFERENCE
D21207155
CLOSED
28-JUN-13 06.54.23.000000 PM
+000000004 01:00:41.000000
D21207155
REOPENED
02-JUL-13 07.55.04.000000 PM
+000000004 01:00:41.000000
D21207155
CLOSED
02-JUL-13 11.06.16.000000 PM
Regards
Etbin -
Unable to save the data in a .CSV format
Hi All,
I am trying to pull some data with the help of the sql query from the database and then trying to save this string of data in csv file by using the following code as shown below.The problem iam facing here is that while the file Save as window opens stating to be saved as .CSV format but when i try to save it ,it doesnt givme a csv option ,only html option appears.Can any one help me on this..,,,,,,,,,,,,?
<%@include file="jtfincl.jsp" %>
<%@page session="false" %>
<%@page import="java.io.PrintWriter"%>
<%@page import="oracle.apps.ibe.util.RequestCtx"%>
<%@page import="oracle.apps.iri.iribe.postsales.IrIbeOrderSearch"%>
<%@page import="oracle.apps.ibe.util.*" %>
<%@page import="java.io.IOException" %>
<%
pageContext.setAttribute("_securePage", "true", PageContext.REQUEST_SCOPE);
pageContext.setAttribute("_guestNotAllowed", "true", PageContext.REQUEST_SCOPE);
pageContext.setAttribute("_unapprovedNotAllowed", "true", PageContext.REQUEST_SCOPE);
RequestCtx rCtx = RequestCtx.start(request, response);
int status = Session.checkContextValues(request, response);
if(RequestCtx.userIsAnonymous()) {
signin(out, pageContext, request, response, false);
return;
// Set the response type which in this case will be a .csv file
response.setContentType("application/csv");
response.setHeader("Content-disposition","attachment;filename=SearchResults.csv");
String queryStartDate = request.getParameter("queryStartDate");
String queryEndDate = request.getParameter("queryEndDate");
String queryField = request.getParameter("queryField");
String queryOperator = request.getParameter("queryOperator");
String queryValue = request.getParameter("queryValue");
String queryOrderByField = request.getParameter("queryOrderByField");
String showOpenOrdersOnly = request.getParameter("showOpenOrdersOnly");
IrIbeOrderSearch orderSearch = new IrIbeOrderSearch(
queryStartDate,
queryEndDate,
queryField,
queryOperator,
queryValue,
queryOrderByField,
showOpenOrdersOnly
orderSearch.initialise();
java.util.ArrayList results = orderSearch.getItemTrackerSearchResults();
out.println("The result array size is======="+results.size()) ;
// Output the results as the page resonse as a csv file
try
write(results, response.getWriter());
catch(exception e)
out.println("The stack trace is======="+e.printStackTrace()) ;
if(IBE_logEnabled) IBEUtil.log("iribeCOtdOrdSearchExport.jsp","Inside the exception"+e.toString);
%>
<%!
* This method will take a ResultSet and JspWriter object and print out the details of the ResultSet as a
* comma seperated value file.
* @param results
* @param writer
public static void write(java.util.ArrayList results, PrintWriter writer) {
if(results == null || results.size() == 0) {
writer.print("No Data Available");
return;
String [] data = null;
String output = "";
if(IBE_logEnabled) IBEUtil.log("iribeCOtdOrdSearchExport.jsp","Inside the write method");
for(int i = 0; i < results.size(); i++) {
data = (String []) results.get(i);
output = "";
for(int j = 0; j < data.length; j++) {
// If its not the last column
if(j != data.length - 1) {
output += formatField(data[j]) + ",";
// If it is the last column
} else {
output += formatField(data[j]);
writer.println(output);
writer.flush();
* Format a string value so that it becomes a valid field in a .csv file. This involves making sure that any null
* data is treated as an empty string, that any quotes are padded and if the file contains any commas that the
* field is surrounded by quotes.
* @param value
private static String formatField(String value) {
String output = null;
// Check for null values
if(value == null) {
output = "";
} else {
output = value;
// Pad any existing quotes
output = output.replaceAll("\"", "\"\"");
// If there is a space or commas then add surrounding quotes
if(output.startsWith(" ") || output.endsWith(" ") || output.indexOf(",") != -1) {
output = "\"" + output + "\"";
return output;
%>
<%!
void signin(
JspWriter out,
PageContext pageContext,
HttpServletRequest request,
HttpServletResponse response,
boolean reauth
) throws IOException, SQLException, FrameworkException {
String query = IBEUtil.passQueryString(request, null).toString();
String uri = request.getRequestURI();
String targetJsp = uri.substring(uri.lastIndexOf("/") + 1);
String ref = null;
if ("true".equals(pageContext.getAttribute("_securePage", PageContext.REQUEST_SCOPE))) {
ref = RequestCtx.getSecureFormAction(targetJsp);
} else {
ref = RequestCtx.getNonSecureFormAction(targetJsp);
if(!query.equals("")) {
ref = oracle.apps.jtf.util.Utils.encode(ref + "?" + query);
String redirect = RequestCtx.getSecureURL("ibeCAcpSSOLogin.jsp", "ref=" + ref + (reauth ? "&reauth=t" : ""));
// don't add the ref if the session expired and restarted
RequestCtx rCtx = RequestCtx.getRequestCtx();
if(rCtx.startRequestException!=null) {
redirect = RequestCtx.getSecureURL("ibeCAcpSSOLogin.jsp", "ibe_se=t"+(reauth ? "&reauth=t" : ""));
RequestCtx.end(request);
response.sendRedirect(redirect);
regds
manish
%>This would occur if you were using IE and the requested URL doesn't contain the filename part. The real web browsers would pick up the filename from the response header flawlessly.
Having said that, this kind of logic doesn't belong in a JSP. Use Java classes (Servlet, Bean, DAO). Further on, JSP/Servlet related questions should be posted in the JSP/Servlet forum. -
Unable to Get the Data Using For All Entries
Hi everybody, i am using for all entries in a program. but when i am writing a code using for all entries i am getting an error as
Where condition does not refers to the FOR ALL ENTRIES tables...
SELECT KUNNR
NAME1
ORT01
LAND1
FROM KNA1 INTO TABLE ITAB1 WHERE KUNNR IN S_KUNNR.
IF NOT ITAB1 IS INITIAL.
SELECT VBELN
ERDAT
KUNNR
FROM VBAK INTO TABLE ITAB2 FOR ALL ENTRIES IN ITAB1 WHERE KUNNR = IT_KNA1-KUNNR.
ENDIF.
can anybody help out in this
regards
hyder aliThe correct one may be like this:
SELECT KUNNR
NAME1
ORT01
LAND1
FROM KNA1 INTO TABLE ITAB1 WHERE KUNNR IN S_KUNNR.
IF NOT ITAB1 IS INITIAL.
SELECT VBELN
ERDAT
KUNNR
FROM VBAK INTO TABLE ITAB2 FOR ALL ENTRIES IN ITAB1 WHERE KUNNR = ITAB1-KUNNR. "modified here
ENDIF.
Edited by: XuJian84 on Mar 9, 2010 4:25 AM -
Error while sending the data using input schedule
Dear Friends,
I am unable to send the data using input schedule due to following error is occur while sending the data.
The Error Message : Member (H1) of dimension (ENTITY) is not a base member (parent or formula)
Can anyone please help me to resolve the above error.
Thanks and regards,
MD.Hi,
You are trying to send data to a parent/node, you can only send data in BPC to lowest-level children (base mamabers) of any dimension.
"H1" is a parent in the entity dimension so you should try sending to a child.
Tom. -
Unable to load the data into Cube Using DTP in the quality system
Hi,
I am unable to load the data from PSA to Cube using DTP in the quality system for the first time
I am getting the error like" Data package processing terminated" and "Source TRCS 2LIS_17_NOTIF is not allowed".
Please suggest .
Thanks,
SatyaprasadHi,
Some Infoobjects are missing while collecting the transport.
I collected those objects and transported ,now its working fine.
Many Thanks to all
Regards,
Satyaprasad -
how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"
It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.
-
How to save the data to sap abap using Adobe Flex
Hi Everybody......
I am new to Adobe flex with sap abap.
How to save the data in sap abap using Adobe Flex coding is Action Script and using RFC web service.
Please give me any suggisions on that.
Thank you
Venkatesh VHi Venkatesh,
Try with folowing coding...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
initialize="initApp()">
<mx:Label x="10" y="23" text="Airline" width="90" id="lblAirline"/>
<mx:TextInput x="108" y="21" id="txtAirline"/>
<mx:Button x="10" y="49" label="Get Data" id="btnGetData" enabled="false" click="getData()"/>
<mx:DataGrid x="10" y="97" id="dgFlightData" dataProvider="">
</mx:DataGrid>
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.rpc.AbstractOperation;
import mx.rpc.events.FaultEvent;
import mx.rpc.soap.LoadEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.soap.WebService;
[Bindable] public var flightData:ArrayCollection;
private var flightWS:WebService;
private function initApp():void{
flightWS = new WebService();
flightWS.wsdl = "http://uscib20.wdf.sap.corp:50021/sap/bc/soap/wsdl11?services=ZGTEST&sap-client=000";
flightWS.addEventListener(FaultEvent.FAULT,onWSError);
flightWS.addEventListener(LoadEvent.LOAD,onWSDLLoaded);
flightWS.addEventListener(ResultEvent.RESULT,onFlightWSGotResult);
flightWS.loadWSDL();
private function getData():void{
var operation:AbstractOperation = flightWS.getOperation("ZGTEST");
var input:Object = new Object();
input.Airline = txtAirline.text.toUpperCase();
operation.arguments = input;
operation.send();
private function onWSError (event:FaultEvent):void{
private function onWSDLLoaded(event:LoadEvent):void{
btnGetData.enabled = true;
private function onFlightWSGotResult(event:ResultEvent):void{
flightData = event.result.SFLIGHT;
]]>
</mx:Script>
</mx:Application>
Regards,
Vinoth -
Hi,
I have the following situation. I need to be able to save the data I write in a table (front panel) when desired.
This allows me to modify, add new data, etc in the "Table" when wanted and to SAVE the latest information when wanted.
I need to save all the table data by using ONLY one button.
Thanks for the help!
Kind regards,
Amaloa S.Hi,
Thanks for the feedback. :-)
Your answered helped.
In this case I need to save the Data into an ARRAY.
Now I have the following issue. I will try to explain:
Suppose that I have following:
1. Several GROUPS of Data like this:
ER-1234
ER-3245
ER-4786
ER-9080
2. Each GROUP has the following ELEMENTS:
A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
So it would be like
ER-1234: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
ER-3245: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
ER-4786: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
ER-9080: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
3. An each ELEMENT has DATA that I need to save, BUT! that I need to be able to get by specifying the group and the element.
A:
2,3 2,4 2, 8, 2,8
2,2 2,3 2, 7, 2,6
2,1 2,6 2, 6, 2,7
2,5 2,4 2, 5, 2,3
How can I save the ELEMENT "A" Data with the label of the GROUP and the ELEMENT so that I can recongnize it when I need to get the DATA again?
Thanks for the help!
Best regards,
Amaloa. -
Hi i have an I pod and i had used it as hard disk also. Now when ever i connect it with my Laptop it shows restore to factory setting....i wanted to knwo is there any way i can save the data which i had already stored in the I pod. I dont want to loose that data???
sure pretty simple. make a backup of your current settings
http://support.apple.com/kb/HT1766?viewlocale=en_US
then restore device from old backup you need pics off of
then import pics to computer
http://support.apple.com/kb/HT4083
you may need to save pics to camera roll first
then restore the new backup and sync pics back to phone via itunes
Peace, Clyde -
i had iphone 5s which was accidently dropped in water i dont know if it could be fixed or not but is it possible to save my data using i clouds without fixing the phone
if you set it up to sync with iclouds in terms of contacts and calendar and the likes in advanced the data is still in icloud
if you set it up to backup to iclouds since you only get 5GB free storage you would likely had paid to get more or used very little storage on your phone then the backup is still in iclouds
about if it can be fixed then read
iPhone 5 water - how screwed am i -
Unable to save the ALV layout variant and display of selection screen on F4
Hi All,
The end user wants to directly select the layout variant (SLIS_VARI). I have used the following code to display the layout variant on selection screen. But, I am unable to save the variant on ALV. Whenever I am trying to select the layout variants (by doing F4 on selection screen) its displaying "No Layout found".
Following is the code for displaying layout variant:
PARAMETERS: p_var TYPE slis_vari.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var.
PERFORM f4_variant CHANGING p_var.
FORM f4_variant CHANGING c_variant TYPE slis_vari.
DATA: ls_variant TYPE disvariant,
l_exit TYPE char1.
ls_variant-report = sy-repid.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = ls_variant
i_save = 'A'
IMPORTING
e_exit = l_exit
es_variant = ls_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF l_exit EQ space.
c_variant = ls_variant-variant.
ENDIF.
ENDIF.
ENDFORM. " f4_variant
and following is the code for displaying the ALV:
FORM edition_alv.
ws_variant2 = ls_variant.
* Call ALV editor in list mode
IF p_list = 'X'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = ws_extract1-report
i_callback_user_command = ws_user_command
is_layout = ws_layout
it_fieldcat = wt_fieldcat
it_sort = wt_sort
i_save = 'A'
is_variant = ws_variant2
it_events = wt_events[]
TABLES
t_outtab = wt_edition.
* Call ALV editor in grid mode
ELSE.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = ws_extract1-report
i_callback_user_command = ws_user_command
it_fieldcat = wt_fieldcat
it_sort = wt_sort
i_save = 'A'
is_variant = ws_variant2
it_events = wt_events[]
TABLES
t_outtab = wt_edition.
ENDIF.
ENDFORM.
I am not sure whats going wrong, but I am unable to save variants.
Please help.
Thanks,
Vishal.The F4 will display you the existing layouts only. So you need to save the layout first & then execute the report again & check if you are getting F4 values for that field.
The Layout needs to get stored with variant.
Regards,
Mahesh -
How do I save IRS pdf forms so that I can fill in and save the data
when I downlaod a US government IRS form I am unable to fill in the form, save the data and print, I have tried saving as a pdf from the print menu and using the tools menu none of which works
I know there is an app called PDFPen that is supposed to fill in PDF forms. PDFPen is available in the App Store, but it is not free.
I have no financial interest in PDFPen. I also don't know if there is some cheaper way to fill in the forms. -
Unable to set the date & time screensaver in nokia...
I enabled the settings in the phone. Once the keypad is locked, the backlight goes off and unable to see the date & time screensaver. The screen saver is visible only after i press any key.
This is normal behavior most of nokias phone will go black after a period of time to save battery...
If i have helped at all a click on the white star below would be nice thanks.
Now using the Lumia 1520 -
Unable to change the data in PSA
Hello All,
I have a delta failure because of invalid characters in one of the field and now i wanted to change the PSA. I have deleted the request from all data targets and started changing the error record, it is not showing all columns from PSA hence i am unable to change the data in required field.
Could you please let me know how will i see all columns from PSA. Thanks
Regards,AshokHi Ashok,
To increase/decrease the number of columns that are displayed on the menu from the Settings option select Change display variants
Also if you want to see say all the failed records you can sort the order of the data using the Status column
Maybe you are looking for
-
I have been organizing my photos in iPhoto and have written descriptions for them. In the past, with an older version of iPhoto, I would burn a CD. When I would put the CD back in my computer, the description would also be on the CD. Now, I am bur
-
Windows 8.1 Update (with WinPE 5.1) ADK + SCCM 2012 R2 and WinXP
Hello, I see new ADK version (8.1 Update) is released http://www.microsoft.com/en-US/download/confirmation.aspx?id=39982 It contains WinPE 5.1 and new USMT (which version?), does it support migration from WinXP to Win7? Previously I used USMT5 (inste
-
Transfering songs from ipod to new computer
Hello..Please forgive me but I not very computer literate...I have a new computer and want to put the 101 songs that are currently on my Ipod classic onto the itunes playlist for the new computer. How do I go about doing this?? Using the SYNC functio
-
Access DB connection using Tomcat 4.0
Hi, How to configure server.xml so that the servlet can connect to my microsoft access database using JNDI, in which the server is Tomcat 4.0? What is the listener port? Oracle's port is 1521, access is ?
-
[svn:fx-4.x] 14696: Temporary FTETextField Fix
Revision: 14696 Revision: 14696 Author: [email protected] Date: 2010-03-10 19:08:30 -0800 (Wed, 10 Mar 2010) Log Message: Temporary FTETextField Fix http://bugs.adobe.com/jira/browse/SDK-25669 - FTETextField relies on the render event Temporary