How to upload files to dashboard obiee 11g
hi,
can anyone explain how to upload files to obiee dashboard.
thanks in advance..
refer this link .
http://total-bi.com/2011/02/external-files-obiee-dashboard/
Similar Messages
-
How to upload file from Application Server?
Dear Friends,
How to upload file from Application Server?
Plz. with example...
Regards,
Dharmeshhi,
check the code for upload from application server.
tables: kna1.
types: begin of s_file,
customer type kna1-kunnr,
country type kna1-land1,
name type kna1-name1,
region type kna1-regio,
end of s_file.
*--Internal tables
data: it_file type s_file occurs 0 with header line.
*-- Selection screen
selection-screen: begin of block b1 with frame title text-001.
parameter: p_file type rlgrap-filename default 'C:/customer.txt'
obligatory.
selection-screen: end of block b1.
*-- At selection screen
at selection-screen on value-request for p_file.
perform file_help using p_file.
*-- Process File
start-of-selection.
perform upload_file using p_file.
*-- write File data to o/p
end-of-selection.
perform write_data.
*& Form file_help
form file_help using p_p_file.
data: l_filepath type ibipparms-path.
call function 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
importing
file_name = l_filepath
p_p_file = l_filepath.
endform. " file_help
*& Form upload_file
form upload_file using p_p_file.
call function 'WS_UPLOAD'
exporting
filename = p_p_file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = it_file
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
no_authority = 10
others = 11
if sy-subrc <> 0.
message i001.
endif.
endform. " upload_file
*& Form write_data
form write_data .
loop at it_file.
write:/ it_file-customer, it_file-country, it_file-name,
it_file-region.
endloop.
endform.
regards,
keerthi. -
How to upload file in a server
Hi,
How to upload file to server through reporting. Plz guide me and what would be the probable code.
ThanksHi,
Try this Report Program.
*& Report ZUPLOADTAB *
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop.
Regards,
Padmam. -
How to upload file in webdynpro abap alv
Hello Friends,
how to upload file in webdynpro abap alv
Regards
Narendra
Moderator message: please search for available information, post in correct "Web Dynpro ABAP" forum if still required.
Edited by: Thomas Zloch on Jun 6, 2011 11:55 AMHi Narendra,
You ahve to search before posting. This discussed many times.
You need to use file upload ui element to upload data. and display in alv.
Please go thorugh this..
http://wiki.sdn.sap.com/wiki/display/WDABAP/UploadandDownloadfilesinWebdynproABAP
Re: Upload .xls file in WDABAP
http://forums.sdn.sap.com/click.jspa?searchID=72307893&messageID=5425671
Cheers,
Kris. -
Filter two different columns in a Dashboard, OBIEE 11g
Hi everyone,
I have read many times this forum, but I this is my first post. I have a problem with OBIEE 11g and I hope you guys could help me.
In the dashboard I have created, there is an analysis table which has the following columns:
(1) Month - (2) Doctor's Name - (3) Num. of Appointments Month 1 - (4) Num. Appointments Month 2
The point is that I want the users to choose in their dashboard a month to filer column (3) and a month to filter column (4), so they can have a comparative view of the number of appointments for each month. I have tried to do this with prompts, but what happened is that the prompt filtered ALL the columns, not just one of them.
So, is there any way of filtering just one column? I mean, when in the dashboard view, not in the analysis creation view.
Thank you in advanced! :)
Javier
Edited by: user13724353 on 07-jun-2011 7:30Hang on a minute... I think this is possible.
Set up two dashboard prompts to populate 2 presentation variables for your first and second months.
Once you have a presentation variable you can fix the value of column 3 and 4 using the "Filter using" syntax (check the functions list when you edit the column formula). By using Filter using you should be able to pass in the value of your presentation variable.
Paul
http://total-bi.com -
Upload Data Model in OBIEE 11g
Hi All,
I working on OBIEE 11.1.1.5 .
I have one data model file abc.xdmz, i want to upload this file in BI publisher.
But When I select data madel from new, then we have only upload options 1) .xml file and 2) schema.
I am not able to get how to upload data model in bi publisher.
please guide me
Thanks and Regards
PrashantPrashant,
Hi i know this is old post, however i am experiencing the exact issue.
Did you ever resolve this? If so, can you please let me know
thank you -
How to upload the xlf dashboard to the intranet
Hi all,
I want to upload the dashboard to the intranet in order the customer can acces it directly from there.
Is it possible? Can anybody tell me how can i do that?
Thanks in advance,
DiegoHi,
Yes it is possible to upload your swf files (not xlf) to internet. You can do this by locating a website which lets you upload a swf file and then gives you a url of the swf file.
http://www.ebaumsworld.com/flash/featured/ is a free swf I' ve found, you may register an account and give it a try.
You can then use the url of this uploaded file to show your dashboard.
Hope this helps.
Regards
Nikhil -
How to upload file from desktop or C drive and send as attachments
Hello Experts,
Please tell me
How to upload jpg or gif or drawing files from desktop or any drive and store into R/3 by the same time I have to send mail as a attachment.
I heard that FM
SO_NEW_DOCUMENT_ATT_SEND_API1 is only to send as a attachment what ever the data is present in the internal table only.
please help me on that.I m using this code its having attachment but I m not able to open the file. Please help me
I m using gui_upload to upload the file
PROGRAM ZTEST
no standard page heading line-size 255.
DATA: xfile TYPE string.
data : t_IW51 LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
DATA: DOC_CHNG LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.
data : email type table of BAPIADSMTP.
PARAMETERS : file LIKE rlgrap-filename OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
CLEAR file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = file.
xfile = file.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = xfile
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = t_IW51.
Creation of the document to be sent
File Name
DOC_CHNG-OBJ_NAME = 'SENDFILE'.
Mail Subject
DOC_CHNG-OBJ_DESCR = 'Send External Mail'.
Mail Contents
OBJTXT = 'Minimum bid : $250000'.
APPEND OBJTXT.
OBJTXT = 'A representation of the pictures up for auction'.
APPEND OBJTXT.
OBJTXT = 'was included as attachment.'.
APPEND OBJTXT.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
Creation of the document attachment
(Assume that the data in OBJBIN is in BMP format)
*OBJBIN = ' \O/ '. APPEND OBJBIN.
*OBJBIN = ' | '. APPEND OBJBIN.
*OBJBIN = ' / \ '. APPEND OBJBIN.
OBJBIN[] = t_IW51[].
DESCRIBE TABLE OBJBIN LINES TAB_LINES.
OBJHEAD = 'PICTURE.PDF'.
APPEND OBJHEAD.
OBJBIN[] = t_IW51[].
Creation of the entry for the compressed attachment
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 1.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'PDF'.
OBJPACK-OBJ_NAME = 'PICTURE'.
OBJPACK-OBJ_DESCR = 'Representation of object 138'.
OBJPACK-DOC_SIZE = TAB_LINES * 255.
APPEND OBJPACK.
Completing the recipient list
RECLIST-RECEIVER = 'email_id have to enter here'.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
RECLIST-RECEIVER = 'ENTEG01'.
RECLIST-REC_TYPE = 'P'.
APPEND RECLIST.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
commit_work = 'X'
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST
*EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
*OTHERS = 99.
CASE SY-SUBRC.
WHEN 0.
WRITE: / 'Result of the send process:'.
LOOP AT RECLIST.
WRITE: / RECLIST-RECEIVER(48), ':'.
IF RECLIST-RETRN_CODE = 0.
WRITE 'The document was sent'.
ELSE.
WRITE 'The document could not be sent'.
ENDIF.
ENDLOOP.
WHEN 1.
WRITE: / 'No authorization for sending to the specified number',
'of recipients'.
WHEN 2.
WRITE: / 'Document could not be sent to any recipient'.
WHEN 4.
WRITE: / 'No send authorization'.
WHEN OTHERS.
WRITE: / 'Error occurred while sending'.
ENDCASE. -
How to upload file from a client machine to server machine
hei evryone!
can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
any sample code/ ideas would be much appreciated.Thx!!!!hei evryone!
can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
any sample code/ ideas would be much appreciated.Thx!!!! -
How to upload file from one machine (windows) to another (linux)through cre
How to upload a file from windows platform to linux platform.
on both platforms sun app server is running.
from creator is there any methode to open ftp port and uploadhttp://www.google.com/search?q=jdbc+blob
Blob processing varies between databases; see also examples for whatever database you are using, e.g.
http://www.google.com/search?q=jdbc+blob+oracle
If you are storing text data instead of binary data, replace "blob" by "clob" in the searches. -
How to upload files residing in a folder on local file system .
Hi, I have a problem when trying to upload files.
I have a folder in my local system and have n files in it. Now if i use the file upload element i need to click n times to upload these files. So i want to achieve programatically to upload all the files in a folder given the folder name to the application. Is this possible or is there any restriction to achieve this through webdynpro.
Also how to know programatically all the names of files and folders in a particular folder during web dynpro session.
Regards,
Vinay.Hi Vinayaka,
Watch these links..
Uploading multiple files using the FileUpload UI element
Files...
Regards,
Karthick K Eswaran
Display files in web browser -
How to Hide a column in OBIEE 11g
Hi,
I am trying to hide a column of presantation layer table in OBIEE 11g. But it is not working.
I am doing the follwoing.
Open the permission tab of the column.
Given no access to Everyone.
Given No access the user/Application Role.
When i go to web, the column is getting displayed in the table list. But, when i select the column and press the result button, it is not giving the result.
It means, by doing the above steps it is restricting the data but visibility of column is already there.
Same way it works for OBIEE 10g. Could you please let me know this feature has been removed from 11g or if it is still there then how we can achieved that.
Thanks in Advance
NirajHi Niraj,
It's a bug in OBIEE 11.1.1.5.
Bug 12352010: RESTRICTED COLUMNS SHOULD NOT SHOW IN SUBJECT AREA
It is fixed in the version 11.1.1.6.
Regards,
Sandeep
Edited by: Sandeep Saini on Mar 28, 2012 12:16 AM -
How to upload file to server physical directory
Dear Sir,
My Software Details:
Oracle9i Release 1
Oracle9iAS 1.0.2.2.2
Solaris 8
I have a web application developed using PL/SQL.
How do i upload a file from user to a server physical directory through Oracle9iAS without storing in database?
I can do this if file is uploaded to a 9ias upload table.
But i'm looking for solution on uploading file straight to the physical server directory.
Please advise.
Thanks.
Regards,
Jap Boon ChurnHi Jap,
You won't be able to do this with modplsql if that is what you are asking. modplsql only uploads file into the database.
With that said, however, you can write your own CGI/Servlet/Perl program that does the uploading of files into the server physical directory. In your program, you will need to handle HTTP POST requests so that you can parse out the file contents and write it out onto the file system.
I am sure there is already some CGI/Servlet/Perl program out there that does this. If you search on Google, you should be able to find some and modify it to your needs. Hope that helps. Thanks.
Eric. -
How to upload file to the R/3 server
Hi Experts,
I need to upload scanned documents to the R/3 server.I am using File upload UI element. can anybody tell me how to upload to a server.And at the same time how to download the uploaded content.
Awaiting for the reply.
Regards,
Ramanan.P
Edited by: Ramanan Panchabakesan on Sep 9, 2008 2:14 PMstoring:
The data of your uploaded document is stored in your context node.
Read this data, turn it into a table with one of the SCMS* functions.
store it in a table, or write it into a file. Whichever you choose.
downloading again:
read all data from your table or file
turn it into an xstring using one of the SMCS* functions
put the xstring in the context node bound to your downloadfile element
The principle is deadsimple. The only thing that really matters is where you want to store the file. And that is more of technical ABAP R/3 question, if not a functional question than a webdynpro for abap one. -
How to upload file using *cl_gui_frontend_services* method
hi
i want to upload an image file using this method
and i want to save it in MIME Repository (/SAP/BC/BSP/SAP/PRASHANT)
DATA:
itab TYPE TABLE OF sflight.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = 'C:\temp\winter.jpg'
filetype = 'ASC'
has_field_separator = '|'
CHANGING
data_tab = itab
IF sy-subrc = 0.
WRITE:/ 'success'.
ENDIF.
So plz tel me how i set given path to upload file using this method .Hi Prashant,
Go through the [Link|https://forums.sdn.sap.com/click.jspa?searchID=24477690&messageID=6684222].
Hope this is helpful.
Regards,
Abhinav
Maybe you are looking for
-
How can i record 2 sources at the same time ?
Hello. I am a piano tutorial guy on youtube and am always trying to improve on the quality of my vids and so i go tan HD cam to record the videos in HD (canon HV30) . I also have this little app called "midikeys" and all it does is show a piano layou
-
Calculation based on Internal Table Row ID
Hi, I have internal table, i want to do some calculation based on Internal table Row ID, wich will create system automaticlly and this id will uniq. I want to use this id in my program. So how can i do this. Ranveer.
-
SAML Sender-Vouches errors when using with OWSM
Hi, We have configured OWSM Policy 'SAML - Verify WSS 1.0 Token' with Allow signed assertions only. We have created jks Trust store location and configured policy to refer to the file with appropriate password. We have created proxy security to Sende
-
Deja vu, all over again. WEDU has spotted the arrival of Windows Embedded Compact 7 Wave 2; Unfortunately, I have installed shared source - and like when Wave 1 arrived, the shared source update doesn't seem to be available via WEDU; last time, this
-
Hi I am Macbook Pro user and have 8GB of RAM. I was trying to use the photomerge panaroma in PS Elements 11. If I choose yes for the 'clean edges' i.e. would you like to to automatically fill in the edges of your panaroma then PSE says 'could not fil