on 06-19-2009 7:12 PM
Hi,
I want to call the abap report in a webdynpro abap component controller methods which is already developed in se38.Is this posible?? if posible how to pass the input and how can i get the output.
Could anybody please help me regarding this issue.
Thanks
revati
Hi Revathi,
It is quite easy.The web dynpro methods are just ABAP codes, right?
So just call the executable programs like you call them in normal ABAP codes with SUBMIT.
SUBMIT zreport with p_param1 = 'value'
with p_param2 = 'value' and return.
If your report outputs a list and you want the output in an internal table, then export that list in memory.
SUBMIT zreport EXPORTING LIST TO MEMORY.
Use the FM to retrieve from memory.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = itab_list
EXCEPTIONS
not_found = 4
OTHERS = 8.
Then you can bind this to a table or show in ALV.
Hope this helps.
Regards,
Arpan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Actually I have two report programs:
1. To extract the xml files and store the data in to data base, program name is zprogram_application.
When i click "EXTRACTION" button the web dynpro application automatically run the this program "zprogram_application".
I want run the report program and get message extraction successfully.
These two programs when execute every time i have to go se38 report program and run I don't want to go every time that's why i am creating web application and run the two program in web application.
Thank you
V.VENKATESH
Hi Gurus,
Now I need to call SAP Script through Webdynpro.
What can i do...!
Thanks.
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Revathi,
its not possible i think so , you can develop your requirement in FM , and easily consume in webdynpro abap by service call .
regards
chinnaiya P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.