Linking MIME Repository object(Excel sheet) to WAD
Hi,
I have a requirement to set an hyperlink in the existing report. If we clicks on the hyperlink it should open an excel file which contains flat file data. Flat file is placed in application server/Mime repository.
I have a solution in mind which is not accepted by the client manager. Designed a new data flow for the flat file data and created a query. Linked this new query to the Hyperlink in WAD, then it works.
Kindly provide alternative solutions to achieve the above requirement.
Thanks in advance.
Regards,
Prasad.
Edited by: venkata prasad on Nov 18, 2011 9:13 AM
Hi,
To achieve the requirement, we need to keep the excel file in KM repository and provide the link in script web item.
The sample command code is:
function executeJS_OPEN_URL_R( currentState, defaultCommandSequence )
var commandSequence = new sapbi_CommandSequence();
var commandOPEN_URL = new sapbi_Command( "OPEN_URL" );
commandSequence.addCommand( commandOPEN_URL );
window.open("/irj/go/km//XXXfilename");
("/irj/go/km//XXXfilename") - this is the file path which we saved our excel in KM repository. Portal people will place the file in KM repository.
Regards,
Prasad.
Similar Messages
-
How to read a MIME Repository Object in ABAP ?
Hi all,
How can I read a MIME Repository Object in ABAP code ?
Thanks.Hi,
check the package SMIMES, there you can find classes and function modules to acess the mime repository.
Regards,
CW -
What authorization object is required for MIME repository objects?
Hello
Can someone tell me what authorization object is required for displaying MIME repository objects?
Thanks,
József.Hi,
This thread may help you.
Re: Authorizations for stylesheets/MIME?
Thanks,
JituK -
Dynamic Link MIME images into Excel Bex
We have images in the MIME repository for the different materials that we sell. We have a requirement to link these images into queries/workbooks so that a user can see a picture of the material they are looking at in the report. It was relatively simple to do this using WAD, but we would like to also do this using the excel front end. Does anyone have any ideas on if/how to insert MIME objects into a workbook or query at query runtime using the Excel frontend?
do u have an answer to this i have a similar req. Let me know and also if u know how to do in WAD pls pass on ths stes greatly appreciated send me an Email to [email protected]
-
Image in MIME Repository is not showing on WAD or Webreport
Hi,
The image logo.gif is stored and can be shown in MIME Repository /sap/bw/Customer/Images. I have developed a webtemplate in WAD 7.0 addresses to those images by
<img alt="logo" src="/sap/bw/Mime/Customer/Images/logo.gif />
It is not showing i WAD nor in webreport when it is executed from WAD.
I have tried <img alt="logo" src="bwmimerep://sap/bw/Mime/Customer/Images/logo.gif />
it does not work neither.
I have also tried to test the URL directly on the webbrowser without success
http:// (application server with port number)/sap/bw/Mime/Customer/Images/logo.gif
What is the problem? How to make it work?
Thanks and best regards,
Zabrinahi,
maybe the folder containing your logo is not served, so try this:
tcode SICF and search if your folder is served or not (grayed), if it's grayed then right click the main service (sap) deactivate and activate again.
you can also try to put your logo in folder under /sap/bw/bex
hope it helps. -
Create Object Excel.Sheet
When I create an Excel.Sheet object, it's creating an Excel 2003 workbook. How do I get it to create an Excel 2007 workbook instead. Is that a BASIS setting somewhere?
That's an OLE2 connection with the Excel installed on the presentation server. I guess you have excel 2007 installed. So maybe your program saves "as excel 2003" instead of "excel 2007".
-
Link labview data with excel sheets
I would like to save the output of a cluster(containing strings and numeric data) in a specific format(each data in respective columns)
in an excel sheet.
how do I do it in labview??
I tried mathscript, is there any other way? If there isnt can u suggest how can I use it to solve the above mentioned issue.
similarly, can I recieve data in real time from excel sheets??
pls suggest.
Solved!
Go to Solution.I think you should use the ActiveX to fullfill your requirements.
You can refer to this example
<LabVIEW Folder>\examples\comm\ExcelExamples.llb\Excel Macro Example.vi
Use activeX to write and read data.
Best Regards
Hu Yu -
Linking Text to Objects Between Sheets
I'm a Numbers newbie, and am starting a home inventory project. I would like to make text inventory entries in the first sheet and be able to link the text cell (or row, for that matter) to a picture of the item in subsequent sheets. I used to do this type of thing all the time in Excel, but I can't seem to come up with a way to do it in Numbers. Any thoughts?
Thanks for your response, Thomas. Attached is an Indesign file that helps to illustrate the problem. I've created a couple of hyperlinks for [III.1] and [III.2] and can use Go to Source and Go to Destination in the Hyperlinks panel to see that they work. Ideally, all bracketed references should be sources that jump to the corresponding unbracketed references (at the end of the document) as destinations. It would also be nice if one could then jump back, where a complication arises from the fact that there may be several [III.1] references going to the single III.1 destination. (If only there were a handy Back button in the Adobe reader.)
Since the entire document has hundreds of sources to link to hundreds of destinations (and back, if possible), it's an obvious job for scripting, but just as obviously a rather big task for an inexperienced person who got the question dropped in his lap only last week.
I appreciate any guidance you can give me.
--TB -
Linking captivate to excel sheet?
Is there a way to link captivate to an excel sheet - where if a person puts in an identifying number; captivate jumps to a set slide?
What I'm trying to do is the following: I have an excel sheet with the 2 columns: Column 1 - EE ID and Column 2 - another number from 1-30. When the person puts in their EE ID (and is validated by Captivate), Captivate 'reads' the excel sheet and looks at Column 2 and jumps to a set page in the captivate project. Is this doable?If I understand correctly, you want a person to jump to a particular slide depending on the ID they type into a box. Each ID corresponds to a specific Captivate slide, which no overlaps. (ID #1 and ID#2 don't both go to slide 4.)
Normally I'd use an Advanced Action. Instead of thinking of things as related information in columns that Captivate has to look at, think of it as instructions telling Captivate to make a series of decisions based on whether or not certain conditions are met. The person types their information in a text box, clicks a button, and Captivate executes the Advanced Action and goes through the process of deciding what to do: "If the EE ID entered is 1, go to slide 4. If the EE ID entered is 2, go to slide 5. Etc."
For more information about Advanced Actions and variables, check out Lilybiri's blog: http://blog.lilybiri.com/
Of course, I did say I'd normally use an Advanced Action. From how you've explained your scenario, it sounds like there would be many, many decisions to combine in one Advanced Action. (At least 30.) These days when things become that complicated I start thinking of ways to use JavaScript to make my life easier, either alone or in conjunction with an Advanced Action.
Anyway, first things first. Did I describe what you want to be able to do correctly, or did you mean something else? -
Dear Abaper's,
i have requirement to store image (*.JPG) in SAP database so i m using following function, store a file in MIME public folder, but i have one more requirement to display this image through TCODE.
have u any idea to display image in MIME repository object.
Please help me to solve this problem.
Regards,
Abhilash
R_MIME_REP = CL_MIME_REPOSITORY_API=>IF_MR_API~GET_API( ).
LR_MIME_REP->PUT(
EXPORTING
I_URL = 'SAP/PUBLIC/img/Test.jpg' "p_path
I_CONTENT = LV_CONTENT
EXCEPTIONS
PARAMETER_MISSING = 1
ERROR_OCCURED = 2
CANCELLED = 3
PERMISSION_FAILURE = 4
DATA_INCONSISTENCY = 5
NEW_LOIO_ALREADY_EXISTS = 6
IS_FOLDER = 7
OTHERS = 8 ).Create one Report with the reference of the report : DEMO_PICTURE_CONTROL
Create the T Code for the report from SE93..
Its solved... -
Issue in WAD 7.0 regarding opening document from MIME repository
Hi Experts,
I am facing an issue in WAD 7.0 regarding opening document from MIME repository..
My requirement
I want to have a button , on clicking of this button one excel file ( already located at MIME Repository) should open in a new window.
To achieve the same, I have added one button. and also added one java script web item in my web template.
And as per my understanding, I need to write command/code in the script web item.
I have tried with several standard commands available, but not yet succeeded.
Please suggest the appropriate command or code , that I can put into the java script web item.
Also please provide me, if there is any other solution.
Thanks and Regards,I think you might be posted in the frong forum, what is WAD 7?
this forum is for WebIntelligence related questions, part of Business Objects software suite. -
WAD 7.0 issue regarding opening document from MIME repository
Hi Experts,
I am facing an issue in WAD 7.0 regarding opening document from MIME repository..
My requirement
I want to have a button , on clicking of this button one excel file ( already located at MIME Repository) should open in a new window.
To achieve the same, I have added one button. and also added one java script web item in my web template.
And as per my understanding, I need to write command/code in the script web item.
I have tried with several standard commands available, but not yet succeeded.
Please suggest the appropriate command or code , that I can put into the java script web item.
Also please provide me, if there is any other solution.
Thanks and Regards,
Biswarup GhoshYes I tried it at first with Script Item but it did not work. I am not sure how should I change the path because of the portal:
"/sap/bw/Mime/Customer/.../file.htm" - this path is not working anymore
Another option that you mentioned I do not want to use. I have about 20 different html files in MIME repository so I would have to create 20 different web application. I do not like this solution.
Regards
Erwin -
Header and footer in excel sheet (ole object)
How can we generate footer and header in an excel sheet with ole object ?
Thankshi brian,
Excel Upload Alternative - KCD_EXCEL_OLE_TO_INT_CONVERT
*Title : Excel Uploading
TYPES: BEGIN OF t_datatab,
col1(25) TYPE c,
col2(30) TYPE c,
col3(30) TYPE c,
col4(30) TYPE c,
col5(30) TYPE c,
col6(30) TYPE c,
col7(30) TYPE c,
col8(30) TYPE c,
col9(30) TYPE c,
col10(30) TYPE c,
col11(30) TYPE c,
END OF t_datatab.
DATA: it_datatab TYPE STANDARD TABLE OF t_datatab INITIAL SIZE 0,
wa_datatab TYPE t_datatab.
Data : p_table type t_datatab occurs 0 with header line.
DATA : gd_scol TYPE i VALUE '1',
gd_srow TYPE i VALUE '1',
gd_ecol TYPE i VALUE '256',
gd_erow TYPE i VALUE '65536'.
DATA: it_tab TYPE filetable,
gd_subrc TYPE i.
field-symbols : <fs>.
*Selection screen definition
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_file LIKE rlgrap-filename
DEFAULT 'c:\test.xls' OBLIGATORY. " File Name
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
REFRESH: it_tab.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File'
default_filename = '*.xls'
multiselection = ' '
CHANGING
file_table = it_tab
rc = gd_subrc.
LOOP AT it_tab INTO p_file.
so_fpath-sign = 'I'.
so_fpath-option = 'EQ'.
append so_fpath.
ENDLOOP.
START-OF-SELECTION.
PERFORM upload_excel_file TABLES it_datatab
USING p_file
gd_scol
gd_srow
gd_ecol
gd_erow.
END-OF-SELECTION.
END-OF-SELECTION.
LOOP AT it_datatab INTO wa_datatab.
WRITE:/ wa_datatab-col1,
wa_datatab-col2,
wa_datatab-col3,
wa_datatab-col4,
wa_datatab-col5,
wa_datatab-col6,
wa_datatab-col7,
wa_datatab-col8,
wa_datatab-col9,
wa_datatab-col10,
wa_datatab-col11.
ENDLOOP.
*& Form UPLOAD_EXCEL_FILE
upload excel spreadsheet into internal table
-->P_TABLE Table to return excel data into
-->P_FILE file name and path
-->P_SCOL start column
-->P_SROW start row
-->P_ECOL end column
-->P_EROW end row
FORM upload_excel_file TABLES p_table
USING p_file
p_scol
p_srow
p_ecol
p_erow.
DATA : lt_intern TYPE kcde_cells OCCURS 0 WITH HEADER LINE.
Has the following format:
Row number | Colum Number | Value
i.e. 1 1 Name1
2 1 Joe
DATA : ld_index TYPE i.
Note: Alternative function module - 'ALSM_EXCEL_TO_INTERNAL_TABLE'
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = p_file
i_begin_col = p_scol
i_begin_row = p_srow
i_end_col = p_ecol
i_end_row = p_erow
TABLES
intern = LT_INTERN
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'Error Uploading file'.
EXIT.
ENDIF.
IF lt_intern[] IS INITIAL.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'No Data Uploaded'.
EXIT.
ELSE.
SORT lt_intern BY row col.
LOOP AT lt_intern.
MOVE lt_intern-col TO ld_index.
assign component ld_index of structure
p_table to <fs>.
move : lt_intern-value to <fs>.
MOVE lt_intern-value TO p_table.
AT END OF row.
APPEND p_table.
CLEAR p_table.
ENDAT.
ENDLOOP.
ENDIF.
ENDFORM. "UPLOAD_EXCEL_FILE
thanks
abdul -
Create link to excel sheet from ssrs
Hi!
I,m trying to create a link from SSRS to an excel sheet that is placed on a server (in my case the same server as Sql is running)
\\csedb30\BusinessWarehouse\VDC\Actual\exceltest.xlsx. I have made links to url sites and to other reports within reporting services, But this time i would like to use a
textbook control in a report and when the user click on the texbox it should open up the excel sheet in the same way that a hyperlink works in excel. The problem seems to be that i have to link to a source on a server not a URL adress.
Is there any solution to this.
Best regards
Arne
Arne OlssonHi Arne,
In this scenario, you just need to put file:\\csedb30\BusinessWarehouse\Linktest.xlsx in the Go to URL expression. Don't put "=" in the expression,
and the path will be underlined. And you need to redeploy the project to make it work. After you click the textbox, the path will be shown in the browser.
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
How to link output page to output excel sheet?
Hi,
I have written a program where the output is downloaded as an excel sheet.There are 2 option in the output
either we can display the output in the form of a ALV or we can download it into an excel sheet.
Now,I want to know how I can link that excel sheet to the ALV display output,which should finally display
the alv as the first page and the downloaded sheet as the next page.
Regards,
swain19Hi,
You can link output type to your zprogram through NACE transaction.
There you need to select the 'Application' and click on the 'Output types' push button.
for ex:
go to txn NACE and choose V3(Billing) then it will take you to the next screen there you can provide
your ZOutput type or choose a existing one and double click on it.
Now it will take you to the output type, there you will find 'Processing routines'.
In processing routines you can link your program to corresponding medium of processing like Fax or Print output.
If you want anymore help, you can always get back to me.
Regards,
Jalendhar
Maybe you are looking for
-
Help? Satellite M645 Overheatin​g
Hey guys! I'm a Toshiba user from Brazil, and I have a little problem (by the way, can become a very big problem i think) and maybe u guys can help me, my notebook its overheating, i got no shutdown's BUT the heat its very high i don't monitor
-
Getting photos from my ipad back to my Mac that are NOT in camera roll.
Our hard drive failed and my back up files were corrupt so I lost my entire digital life including my iphotos. I had set up my ipad to sync several folders from iphoto to my ipad when I did an itunes sync. All of these photos and folders are curr
-
Help!!! I'm having a problems getting a site to work in IE7. It works fine in Firefox, but in IE7, not a chance. Here's the Link Once in the site, go to the Gallery. Click on any of the two thumbnails on the left. A window will open with a short blur
-
I want to change normal order into expire order
Hi, I am oracle apps developer working in istore 11i module and i new to this forum.My question is i need to change normal order into expire order for this what are all the profile i need change .Please guide me Thanks in advance. DV.Balaji
-
I have 2 computer authortized in iTunes, but my new laptop isn't one of them... I have tried to authrorize it, but it didn't work.. Where in the 'store' do I go to authorize this computer, please?