Call a BSP page and save the output
I have a BSP page, and an other one that acts as a report. From the first one I would like to call the second one to save its output as binary data. Can anyone help? Thaks in advance.
This code may help you.
report = 'ZREPORT'.
submit (report) LINE-SIZE 360
with
s_bukrs = '0030' sign 'I'
with s_bldat between FROM_DATE and to_date sign 'I'
EXPORTING LIST TO MEMORY and return.
call function 'LIST_FROM_MEMORY'
tables
listobject = LISTOBJECT
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
store listobject in data base or export to memory.
Similar Messages
-
How to write code to print and save the output in my GUI?
I had been searching on code to program print and save commands to print and save the output from the GUI but to no avail. Can someone help me?
The output will be link from the previous GUI page. Hence the output is a page with Jtable and a button for print to print the information in the JTable.
-
Capturing the output of a jsp page and save that output in a WORD .doc file
Hi,
This is Naveen. I got stuck up with a problem/doubt. URGENT ! URGENT !
My doubt is how to capture the output of a jsp page(the content is dynamic generated) and save that output to a MS-Word doc file.
I know that therez an option of using Servlets Filters, but this concept is supported by Servlet 2.3 spec. and not earlier. And we are working on previous spec. and our web-servers also supports the prev. version and not the 2.3 version.
If incase, therez a third-party utility for free usage, suggestions are appreciated.
Hope most of them came across this kind of functional requirement. If anyone of them succeeded in this, please express ur bitter experience if any, faced during the coding.
Thanks in Advance for help.
NaveenYou can set the MIME content type as .doc and try to open the Page.
res.setContentType("application/vnd.ms-excel"); to generate the Page output as Excel
res.setContentType("application/vnd.ms-word"); to generate the Page output as MS Word doc
Hope this helps.. -
Schedule webi document to printer and save the output in shared drive
Hi all,
Is it possible to schedule a webi document via java BOE SDK, run at once, save the output in pdf format in a shared drive and at the same time, send the output to printer? Or I need to run the webi document to run 2 times? Thanks.
Best regards,
GraceHi Adam,
How about can I schedule a webi document to printer only? In Crystal report, I can do this but seems for webi, no such function?
Best regards,
Grace -
I need to convert thousands (yes, really) of wma files to m4a. The wma files are all located in different folders and each converted m4a file needs to end up in the same folder as its respective original wma file. Does anyone know of an application that can do this?
Thanks,
WillI'm not completely sure that MPEG Streamclip can convert AVCHD footage (.mts files). If MPEG Streamclip doesn't do the job, then get a copy of Clipwrap, which was designed for transcoding .mts files to QuickTime/Apple Intermediate Codec (that's the format/codec you need to convert the .mts files to for use in FCE).
-
How to call a BSP page or webdynpro from a WAD Template button
Hi All,
I want to implement a button on a web template which when called involes a BSP page or a web dynpro and displays the BSP page or webdynpro in a popup window.
Thanks
KarenHi Karen,
What you could do is create a bsp application which receives workbook id as url parameter.
From WAD create a link to this BSP page and pass the wbook id in the url.
Within the BSP you can then read the excel as binary string like below
Select * from rsrwbstore into table wb_tab where workbookid = wbid.
You can then set wb_tab-clustd as the response of the page with mime type to 'application/vnd.ms-excel'. which will open as excel
Take a look on this weblog,
/people/durairaj.athavanraja/blog/2006/02/06/read-sap-table-data-from-bw-webtemplate-ajax-in-bw-webtemplate
Hope it Helps,
Regards,
Amit -
Adding numbers in a file a and saving the output in another file.!
can any one pls tell me how to add numbers from a textfile and save the output in another textfile. i'm new with java so pls help out..
Hi Friend,
your statement is not clear, it's bit confuse
this is my unserstanding,
you want to open a file and read the values then add numbers,
latter save the sum in a new file.let me know if this is the thing, I can help u
with Cheers
Prasanna -
I keep getting a warning stating that the document could not be auto saved in pages. The file has been changed by another application. Then it says click save any way to keep your changes and save the changes made by the other application as a version, or click revert to keep the changes from the other application and save your changes to a version.
What in the heck does all that mean, and why are they trying to behave like a Windows product or a Microsoft office product. I just don't get it.
Why is another application changing my documents? It's like they've created a virus within their own programs. It's a pain in the neck and makes no sense.I am also having the issue of a warning saying "could not be auto-saved in Pages. The file has been changed in another application. I then hit "save anyway", the warning will go away for a time, sometimes minutes, sometimes hourr, but then the warming reapprears saying the same thing. This is not the case with all Pages documents but it is the case with many.
Working with a Retina Macbook Pro and current software
These are newly created documents -
I Have a samsung smart TV and use TVO to record free to air programmes .
i would like to purchase from iTunes using my iPad , a TV series called outlander but do not know how to transfer and save the episodes to my TIVO
please helpMany videos in the iTunes store are protected so that they can only be viewed on Apple Devices signed into your iTunes account. If that is the case then your TiVo will not be able to read the files. If you know how to get a video file onto your TiVo from a flash drive, then just plug a flash drive into your Mac and drag one of the videos from inside the iTunes window onto the icon for the flash drive on your Desktop or in the left sidebar of a Finder window. That will copy the actual file onto the flash drive.
-
I am using both PSE 13 and Lightroom 5. When I use Lightroom as an external editor and save the photo, it shows up in PSE13 as an edited file but does not look any different. Why doesn't it appear edited?
People who have Photoshop, but don't have Lightroom, need ACR so that they can use Raw files. Without ACR they could do nothing with those (they may also like having ACR so that they can work on other kinds of image using the same kinds of adjustments and techniques, as are used with Raw files).
People who have Lightroom, can get access to Raw files regardless whether ACR is present or not. They can use Lightroom on other kinds of image also, using the same methods. LR can pass images directly into Photoshop without passing via ACR (or else does so transparently, which amounts to substantially the same thing).
ACR does not, strictly speaking, even need to be installed for this external editing to happen. In fact, not even PS needs to be - since a different image editor can be used instead, while still retaining the Adobe Raw conversion etc.
Lightroom "subcontracts out" specialised external tasks, in this workflow, but is still your "main contractor": the image is otherwise located, viewed, managed, adjusted/presented and output entirely using LR.
So IMO we can divide image processing into:
operations that involve pixels and layers and layer masks and adjustment layers etc (of the kind done inside Photoshop)
operations that involve parametric edits (of the kind done in ACR where you are not using a Lightroom based workflow; otherwise, done inside Lightroom)
When PS is called in, that's because those tasks are impossible or unsuitable to do in Lightroom. But those tasks can't be done in ACR either - by definition, since LR and ACR have exactly the same image processing "feature set".
Lightroom is irrelevant to the Bridge + ACR + PS workflow. This workflow requires both your PS and your ACR to be current enough, to support your Raw format etc.
ACR and Bridge are irrelevant to the LR + (image editor) workflow. It is in this case, only LR which needs to be current enough to support your Raw format etc.
RP -
Calling a BSP page from ABAP programme
Dear Friends...
I am cslling a BSP... from an ABAP program... for that I have used this class and also a function module to ckeck.. actually from the abap program it invoks the BSP page very nicely and as my logic for invoking the BSP is a part of the Business Object and it is associated with the Enterprise portal so... when i reach the ep and trigger that business object to instantiate the BSP page from my calling logic of abap... it goes to the ITS and port 80 or something and didnt produce the BSP.. and only the blank screen was there...kindly help me how i am supposed to instantiate the BSP from properly from ABAP by interfacing the EP... my code is given below...
data :
lv_url type string.
concatenate
'http://sapdevbp.sbic.co.za:8041/sap(bD1lbiZjPTIwMA==)'
'/bc/bsp/sap/z_updatemng/bp.htm?bpid=' object-key-businesspartnerid
into lv_url.
call method cl_gui_frontend_services=>execute
exporting
document = lv_url
exceptions
others = 1.
please help....
me...
regards
NaimInstead of hard coding the URL try to get the URL of the BSP application with the below code
CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
EXPORTING
bsp_application = '<BSP application name'
bsp_start_page = <start page e.g default.htm>
bsp_start_parameters = params " any parameter you want to pass along with url
IMPORTING
local_url = url.
Then try out passing the URL to the execute function -
Calling multiple BSP pages from parent BSP page
Hi ,
I have created 2 BSP pages and i want to call the 2nd BSP page from the 1st BSP page depending upon the user's company code. Please help me on this .
I would really appreciate you quick response on this.
Regards,
SanjeevHi,
Do you want to have both pages displayed at the same time?
What about a popup or (i)frames?
If not, what about navigation to the second page if a certain value is filled in:
if var eq 'value'.
navigation->goto_page('page2.htm' ).
endif.
Eddy
Discover the new S(D)N search plugin for Internet Explorer 7 AND Firefox 2 in this <a href="/people/eddy.declercq/blog/2006/11/13/the-beloved-in-sweet-harmony log</a> -
Proving the Input values in a table with a dropdown and save the values
Hi Experts,
I have a requirement to create a table which is empty (in BSP)and I want to enter the values in a table, for eg: Unit , RegNo, Regvalidity date, item categories. are the coulum names.But I have to display the values in the categories column in dropdown.
Finally I enter the values in a table and select the values in a categorie column and save the values in a ztable.
Please provide me solution how to proceed with this requirement?.
Thanks ,
Regards,
KiranHi Kiran,
For creating blank tabel in BSP use the iterator. See the beolow link for information on creating balnk lines using iterator,
http://help.sap.com/saphelp_nw04/helpdata/en/2a/31b98a35a111d5992100508b6b8b11/frameset.htm
the code in render_cell_start method of iterator class should be something like,
initially you render all cells as blank so that the blank table is created in page.
when a row is selected you render unit, reg no., reg validity date as inputfield and categories as dropdown listbox.
Dropdown in Tableview
link might help you for DDLB in tableview.
Search the forum and blogs for more code samples.
Regards,
Anubhav -
How to save the output of a concurrent proram automatically
Hi Friends,
We have a requirement to save the output of a concurrent program to a specific folder for a reporting purpose. whenever we run that concurrent program it should save the out file in the network folder \\out_files\con_prg like that
instead of storing it in its default folder in unix.(or I should recoganize which out file is for my concurrent program from the default folder and to move it to windows shared network folder). If it is one time , I can do it manually. But I need to schedule that concurrent program to run every day and transfer the output to the windows folder.
Our system is Oracle Apps 11i , Data base 9i in Solaris.
If you have any idea or sugesstion for this , please share it with me here.
Thanks in advance,
Vimal...Hi
Thanks for the reply. I can get the name from the fnd_concurrent_requests table, But how can I identify which is the one submitted by me. Because there is possibility of multiple submission by the users with different parameters.
I can give you more details.
We are having a BI report (not oracle) for AR Aging Report details. It has a staging table to get the data from Oracle EBS.
My job is to run Our Customized AR Aging Report with 2 different parameters like sysdate and the same date for last month.
Get the output file and processs it (for this we are using VB Script) to populate the staging table from where the BI report get the data.
So far I am doing this manually for more than a month.
The Users wants to have all the above mentioned process to be combined as a single concurrent program , so that they can submit easily and populate the data any time of the day like other Oracle Standard reports.
The BI report can be viewed any time of the day by more than 15 users and also AR Aging report can be run so many times in a day by another set of users.
In this situation how can I get the exact output file of the request submitted by me.
Thanks,
Vimal... -
Procedure to save the output of a query into excel file or flat file
Procedure to save the output of a query into excel file or flat file
I want to store the output of my query into a file and then export it from sql server management studio to a desired location using stored procedure.
I have run the query --
DECLARE @cmd VARCHAR(255)
SET @cmd = 'bcp "select * from dbo.test1" queryout "D:\testing2.xlsx;" -U "user-PC\user" -P "" -c '
Exec xp_cmdshell @cmd
error message--
SQLState = 28000, NativeError = 18456
Error = [Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'user-PC\user'.
NULL
Goel.AmanHello,
-T:
Specifies that the bcp utility connects to SQL Server with a trusted connection using integrated security. The security credentials of the network user,
login_id, and password are not required. If
–T is not specified, you need to specify
–U and –P to successfully log in.
-U:
Specifies the login ID used to connect to SQL Server.
Note: When the bcp utility is connecting to SQL Server with a trusted connection using integrated security, use the
-T option (trusted connection) instead of the
user name and password combination
I would suggest you take a look at the following article:
bcp Utility: http://technet.microsoft.com/en-us/library/ms162802.aspx
A similar thread regarding this issue:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b450937f-0ef5-427a-ae3b-115335c0d83c/bcp-connection-error-sqlstate-28000-nativeerror-18456?forum=sqldataaccess
Regards,
Elvis Long
TechNet Community Support
Maybe you are looking for
-
Weird Message from Repairing Permissions
Had a new iMac for about a month. For a lark I did a repair permsissions - mainly as a speed test. I got a message that "CoreServices...as been changed. Unable to repair" (Yes, "has" was mispelled) Hovering over the line showed that the file in quest
-
Unable to create a hyperlink to a YouTube page
I'm unable to create a working hyperlink to a YouTube page. I have permission to link to the content. What might be the issue here?
-
The download button as described on the HELP page doesn't appear on the page listing my purchase. The HELP instructions list that such a button must be clicked to down load an item. I have made 3 purchases of the same song in an attempt to download i
-
Is there a way to preserve the album order and format when it moves from Photos to iPhoto for easy export sharing or advanced sideshow treatments? Can I create the albums on the iPad in iPhoto and format with custom photo ordering? Or do I have to ca
-
Hello, I'm a YouTuber from Poland who puts on my channel movies (named commonly gameplays) from variety of games. I rendered about 250 gameplays using Premiere Pro CS5.5 and CS6. Except for the raw video from the game, I also render my gameplays addi