How to Email POWL Reports / Apply Web Dynpro ALV Table Layout Settings
Hi all,
we want to be able to automatically extract POWL reports and email them to users in a batch job.
We can refresh a POWL report using FM POWL_QUERY_REFRESH, and access the raw report data using method CL_POWL_QUERY_ACCESSOR=>GET_CACHED_RESULTS.
However this merely gives us a table of raw data. No view layout (ie. Web Dynpro ALV table layout) settings have been applied, so there is no hiding or arranging of columns, row sorting, calculations or filters.
Ideally we would like to be able to specify a query and view layout. The batch job would then refresh and extract the data, and format the data according to the view layout before sending it on as an attachment in an email.
Does anyone know how to determine and apply Web Dynpro ALV table layout settings to format table data outside of the Web Dynpro environment ?
Thanks & regards,
Grogan
Hi Grogan,
Did you find out how this works..i also have the same issue.
Thanks
Jdsouza
Similar Messages
-
Separatate column of Web Dynpro ALV table using a vertical line
Hi Experts!
I have Web Dynpro ALV table and I have a requirement to add a colored vertical line between two columns as a separator.
Is this possible? Is it possible to adjust border width of individual cells?
I would be grateful for any ideas you may able to share.Both could be achieved by creating custom theme. But those changes will be applicable to tables and ALVs in your applications.
Nitesh -
How to call standard report in web dynpro abap.
Hi All,
I need the output of one standard report e.g RHXSTR00 on web dynpro abap.
How can I achieve this?
Please help!!! Points will be rewarded.
Thanks in advance!
Cheers,
Darshna.Hi Darshna,
The report result is ALV and in most of the cases we generally do not have function modules or any other easy way to get the output.
In such cases the best approach which we follow is, to run this in background mode and generate the spool and display the ouput in PDF.
But if intertactive form is not present in your requirement then we need to debug the logic of the report (if no FM or class present) and get the results and display it in the View.
Best regards,
Suresh -
How to call BI report from web dynpro
Hi ,
How to call BI report from webdynpro application and what are the prerequisites for that .
Please provide an example to work with BI application frame UI element
ThanksHi Rajpal,
Please go through this..
calling BI report
Cheers,
Kris. -
Web dynpro ALV table cell popin
from my understanding, it is possible to create a cell popin for a standard table.
but now i wonder whether is it possible to create a cell popin for an ALV table?My question was about option Filter of ALV report.
May be somebody knows how I can receive Interfacecontroller
attributes: FILTER_VALUES. It should help to filter
table inside code( in my ONFUNCTION method).
Regards
Irena -
Web dynpro ALV table copy selected row
How to copy a selected row into new row with same values.
ThanksHi,
I assume that there is a COPY buttonand there is a single lead seecltion for your alv table.
Now,
data:
lr_node type ref to if_wd_context_node,
lr_element type ref to if_wd_context_element,
lr_element1 type ref to if_wd_context_element,
ls_table type vbak,
ls_table1 type vbak.
lr_node = wd_context->get_chaild_node ( 'FLIGHT ' ).
if lr_node is not initial.
lr_element = lr_node->get_lead_selection ( ).
lr_elemnet1 = lr_node->get_element( index = 4). "supose the index of new row is 4
* you can use the get_element_count to know the record number
endif.
if lr_element is not initial.
lr_element->get_statitc_attributes
importing
static_attributes = ls_table
endif.
if lr_element1 is not initial.
lr_element1->set_staitc_attributes
exporting
STATIC_ATTRIBUTES = ls_table.
endif.
Assume that you have already created a new row...
use code wizard.
Regards,
Lekha. -
Web Dynpro ALV table contents from context comes without filter conditions
Hi Experts,
Please help me to solve this problem.
I set some selfmade functions on tool bar of my WD ALV,
and it works OK, but when I set some filter conditions,
I get same table contents in my method ONFUNCTION.
What can I do?
Thank you very much
IrenaMy question was about option Filter of ALV report.
May be somebody knows how I can receive Interfacecontroller
attributes: FILTER_VALUES. It should help to filter
table inside code( in my ONFUNCTION method).
Regards
Irena -
Hi,
I have a web dynpro alv table that has many columns (about 20) I would like it to be displayed so that the user does not have to scroll right to see all the data.
at the moment columns:
col1 col2 col3 ......col19 col20
i would like the second half of the table under the 1sta half:
col1 col2 col3...col9 col10
col11 col12...col19 col20
Is there any way that i can get the table to be split into two or some other nice way to display without scrolling?You won't be able to do this with a single ALV. I suppose you could have two ALVs and bind them both to the same context. You wouldn't be able to sync the veritcal scrolling between the the two ALVs however. I'm also not sure how usage this design is from a UI design pattern. I would think the acceptible approach would be to use horizontal scrolling within the ALV. You don't have to make the ALV display all columns at once as this can make your entire page very wide and require using the browser scrolling. Instead consider using the set_scrollable_col_count method.
-
Double Click in ALV Report in Web dynpro ABAP4
Hi All,
I am very much new to WDA4 , can anybody plz guide me how to enable double click in ALV Report in Web dynpro ..
Plz help it is urgent .....
Thnks
SahilHi All,
I am very much new to WDA4 , can anybody plz guide me how to enable double click in ALV Report in Web dynpro ..
Plz help it is urgent .....
Thnks
Sahil -
BI Reports in Web Dynpro iView
Hi Experts,
I need a favour from you in estimating small requirement with BI reports & Web Dynpro iView.
My first query, is it possible to build horizontal drilldown menus
Second query, is it possible link the BI Reports from Web Dynpro application
third query, is it possible to put both Web Dynpro iView & BI Reports view in one Portal iView.
If all the above are possible, I have a requirement that should fulfil the below
In a portl iView, I have several BI Reports displays based on called report. But at the moment links to the report are in simple hyper link. Instead of hyperlinks, I want a horizontal menus as hierarchical/child structure. To acomplish this I chose, Web Dynpro as the best solution.
I have some development exeperience in Web Dynpro, but never encounterd such a requirement.
If any one can help me out in estimation, posibilites of the solution that would be a great help for me.
Your help will be highly appreciated.
Thanks in Advance,
Chinna.Hi Chinna,
Check the following threads:
Show BI report in a Web Dynpro App
BI data in Web Dynpro
Re: How to create a Report from WebDympro
Re: BW server details from webdynpro
/community [original link is broken]://Bi,Portal Webdynpro
And a How To Guide:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a303e745-0d01-0010-b280-802bca844b8f
*Second query, is it possible link the BI Reports from Web Dynpro application
third query, is it possible to put both Web Dynpro iView & BI Reports view in one Portal iView.*
You can not assign two types of app in a single iview but you can have multiple iviews assigned to a page.
This will guide you.
Regards.
Rajat -
Displaying reports in web dynpro view
Hai all,
Iam working on a project in webdynpro which is used for the newly joined employees to fill their personal info.After they do that I need to display the reports to the Admin to Process the request for generating employee id.I have never worked with reports in web dynpro.All I need toknow is
--->Coding for getting the reports containing the requests and displaying them in the view.
Also this project is done using SAP HR---IS there any change in coding to retieve data from backend when using SAP HR.
Any help and answers will be appreciated.
Thanks n Regards
Sharanya.RHi,
You can try using UI element Iframe.
URL can be mentioned in source property of Iframe as http://www.google.com.
Re: How to Add URL in a view .
Regards
Manas Dua -
How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000
Post Author: ltkin
CA Forum: WebIntelligence Reporting
Hi,
How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000 ?
Regards,Hi ltkin,
Unfortunately, it is not possible in Xir2 to create Webi reports from stored procedures.
Webi reports can only be created from Universe. So in Business Objects XIR3 we can create a special universe that enables Web Intelligence user's to access stored procedures residing in the database. This is the only way that Web Intelligence user's can access stored procedures.
Please let me know if the above information helps.
Regards,
Pavan -
Creating a report in Web dynpro using OOPS concept
Hi all,
Iam new to web Dynpro, i need to create a report in Web Dynpro using oops concept. can any one guide me regarding it.
Regads,
EasterHi,
Please refer to these links -
DEMO_COMMON_ASSISTANCE1 -Example for standard component
http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
Regards,
Lekha. -
How to call PDF file in Web Dynpro Appl?
How to call PDF file in Web Dynpro Appl?
Hi Gobinath,
1. Create a value attribute of type byte called pdfSource.
2. Insert an UI element called Interactive Form in your layout
3. Set the source property of this Interactive From UI element to the context pdfSource.
4. Insert a button which would open your pdf file.
public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionsubmit(ServerEvent)
IPrivate<viewname>.IContextElement contextElement = wdContext.currentContextElement();
byte[] bytes = contextElement.getPdfSource();
try
File file = new File("C:
temp
example.pdf");
FileOutputStream os = new FileOutputStream(file);
os.write(bytes);
os.close();
catch (IOException e)
// do something
e.printStackTrace();
//@@end
Warm Regards,
Murtuza -
Regarding how to pass the data from web dynpro to workflow
hi gurus,
how to pass the data from web dynpro to workflow.
Regards
vijayCheck this [thread|SAP_WAPI_START_WORKFLOW;
Maybe you are looking for
-
Macbook Pro using Thunderbolt DisplayPort adapter doesn't recognize monitor.
So I've got a curious situation here. We ordered 3 new 13" MacBook Pros Retina (2013 model) and we were testing a cable hookup with a co-workers 13" MacBook Pro Retina (2012) but it doesn't seem to recognize the Monitor as being connected. The setup
-
Calling a method in BPM Object from jsp page
hi all, I try to call a method from BPM Object using <f:invokeUrl > I change server side method properties to yes. and then how can i get request and response object inside the BPM method. Thanks.
-
Windows 7 Driver for HP Photosmart 1218???
Does anyone know how I can get my Photosmart 1218 to work with Windows 7?
-
Problem In Business Partner Creation
Hi to all, I have around 900 BP in BP master which i export from another company. Now i try to create a new BP it gives error that 'This entry already exists in the following tales business master OCRD message (131-183).I checked in dat
-
What is a Pantone process color?
Hi, Hope you're doing well. I am just starting to learn about colors and printing. I have a job I am working on where the printer requires the Pantone colors. The person who originally created the file kept them as CMYK. I have been converting them t