on 10-22-2007 8:21 AM
Hi,
I have an ABAP report and I want to diplay the output on BSP...
but from time to time I have to refresh the BSP data (for refreshing I don't have problem) refreshing is meaning that I have to bring the data from reprot to the BSP.
Basically, there is an interaction between ABAP report and BSP to exchange the data.
please, I need a help... this is an Urgent development....
thanks, all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Call a report in your BSP application in Event handler ( i.e. OnInilization if Pagewith flow logic or use DO_REQUEST in MVC )
Go to Template in menu bar --> Ins. Statement open ...there you have to select Othere Patterns then select REPORT
Here, you can call report and to display purpose use table view (internal table)
Thnx
Suriya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you for your fast response..
maybe i didn't give the correct description ....
the flow like this...
1- from the ABAP report i do my selection and my calculation into an internal table.
2- this data in the internal table i want to display it on BSP.
3- after some time i want to refresh the page this mean i have to go back to the report and get the refreshed data and display it on the BSP.
this is the that meet my requirments .... please advise,
1. use the same logic (code) for your calculation in the bsp itself (write the abap code in oninitialization event.
2. use javascript settimeout funtion to refresh your page which will trigger oninitialization and your code will re-execute again and fetch new values.
you dont need another abap report for calculation purpose
thanks Raja...
call the abap report and get the results back to BSP page.
to make things clear...
1- i must run the BSP page from the ABAP report (i don't have any problem)
2- pass internal table from the report to BSP page (how i can pass)
3- recieve the internal table in the BSP page to Display it (how i can rcieve interanl table)
4- display data on BSP page ( i don't have any problem)
5- once i refresh the page i want bring the latest data from the abap report to the page and to bring the latest data it is mean i have to run the report each time i refresh the page (How).
note: i can't apply the report logic in the page for functional reason.
thanks.
thanks,
basiclly, I want to refresh my BSP page from an ABAP report...
from BSP page i will create a selection screen that meet the ABAP selection screen then submit it and return the result back to the BSP and display on the page,
how to pass parameters and select option to ABAP report and return the result back to my BSP...
please, i need it ASAP.
really i appreciate it.. (:
So what you are saying is that the user will only run the BSP page and inturn BSP page will run the abap program and get the results and show it in bsp page?
if yes, just use submit <abapprogram> exporting to list to memory and the import the list from memory and show it in bsp page .
for refreshing the content, you can use javascript settimeout function which will refresh your bsp page and inturn the bsp page will rerun your abap to get new set of data.
Raja
many thanks for you... this is the one Exporting / Importing.
now almost my my first BSP is finished, the remaining problem is:
(1) how i can color the row based on the values in BSP page. for example,
int_employee-salary "is salary fields of employee record"
if int_employee-salary > 5000
colore the record with red
elseif int_employee-salary > 10000
colore the record with green
......... etc.
i found this link but i didn't understand...
http://help.sap.com/saphelp_nw70/helpdata/en/28/4bae407e69bc4ee10000000a1550b0/frameset.htm
Message was edited by:
Lezarazo Thoram
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.