Calling report program to my workflow method
hi friends
I have writen the logic to find the email id for travel admin now i want to call this REPORT program to my workflow method. How can i do that. I know how to do that in function module but i want to try with report program. How to get the import and export parameter in the report program. I know there is some thing called memory id export but i dont no how to do that. Can any one show with sample code.
Regards
vijay
Hi Vijay,
You can make use of the following sample code.
BEGIN_METHOD ' ' CHANGING CONTAINER.
export itab to memory id 'PQR'.
submit zMM_R_BUDJETDISP AND RETURN."exporting list to memory and return.
END_METHOD.
In your program you can use
import itab from memory ID 'PQR'.
Here Itab is a internal table.
Similarly you can define single data elements as well.
you can use this syntax to import, export parameters.
let me know if you have any queries.
Regards,
Raj
Similar Messages
-
How to call report program from WebDynpro Application
HI
How call report program in WDA.
1. To extract the xml files and store the data in to data base table, program name is "zprogram_application".
When run the se38 it's working fine and save the data in database.
2. When i click "SUBMIT" button the web dynpro application automatically run the Report program "zprogram_application" and save the data into data base table. This is my requirement please give me suggestions.
3. I want run the report program in web dynpro application.
Thank you
V.VENKATESHFrom within the WDA Event handler you can call the program using SUBMIT ... AND RETURN. You might have to be careful with what the program does. It must run as though it is in the background. There is no connection to the client machine - so no SAPGUI calls. You might also consider the addition VIA JOB job NUMBER n... to the SUBMIT command. That will allow you to start the submitted program as a background job. Your WDA can then continue processing as the submitted job runs in parallel.
-
Calling a Report program in Web Dynpro methods
Hi,
Can any one suggest how i can call a Report created in SE38 in Webdynpro?. I tried to call it using Submit statement. But its throwing some error.Hi,
Please refer these links -
https://forums.sdn.sap.com/click.jspa?searchID=29253250&messageID=7731540
report list output on a webdynpro view
Please paste the error or check it in ST22.
Regards,
Lekha. -
Dear Experts,
I have a requirement to show the pdf on the web dynpro abap. I know standard report which calls these forms.
Can it be possible to call the abap report in webdynpro to display the pdf .
Please suggest.
Thanks and Best Regards,
Sahil>Regarding theBranch to the SAPGUI for HTML, I dont know that also how toa chieve this
Are you running within the SAP NetWeaver Portal/NetWeaver Business Client or is the application running standalone in the browser? I would have different recommendations depending upon that answer.
If you are using Portal/NWBC, then you can use the Portal Navigation APIs to navigate to the classic dynpro report iView. Here is the help link on the portal APIs:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b0/f86f4132f15c58e10000000a1550b0/frameset.htm
If you are standalone then you will want to open the URL for the SAPGUI For HTML in a new window (probably using the linkToURL UI element or by opening the URL in a new window with the CREATE_EXTERNAL_WINDOW method of the Window Manager:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/79f82ccbec6fcde10000000a1553f6/frameset.htm
You can create the URL for the SAPGUI for HTML using a helper class like CL_URL. That class has a method for the ITS that makes it easy to pass in parameters. The format of the SAPGUI for HTML URL is also documented in the WIKI:
https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=22375 -
Call Normal Report program in workflow?
Hi all,
My requirement is that i want to call a simple report program in workflow?
eg-when i entered material num ,the data related to that material is displayed from MARA table.
when i execute my workitem ,i want that output of report to be displayed.
i have created a z object in that i called one z method ,in that method i have written,
'SUBMIT PrgName AND RETURN.
but it is not working.
Thanks and Regards,
Arpita.Hi Arpita,
I am not sure if a report program can be called from workflow. But would it be possible for you to convery your report program into a BO method? A BO method can be easily called from a workflow.
Please clarify if you have a different requirement.
Regards,
Saumya -
Calling a Report Program In Web Dynpro Using Submit statment
Hi all,
Can any one suggest how can i call a report program form Web Dynpro using Submit statment. I tried to call it its showing Field symbols not defined error. Is their any other ways to call Report in a Web Dynpro?. I have posted the error message when i tried using SUBMIT ZRR AND RETURN CONTROL
Field symbol has not yet been assigned.
The error occurred on the application server mnghcmsap_HRS_00 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Form: CHECKBOX_OUT of program SAPLKKBL
Form: GEN_LINE_OUT of program SAPLKKBL
Form: DATA_OUT_SIMPLE of program SAPLKKBL
Form: LIST_OUTPUT_NEW of program SAPLKKBL
Form: FIRST_LIST_DISPLAY of program SAPLKKBL
Module: LIST_DISPLAY of program SAPLKKBL
Function: K_KKB_LIST_DISPLAY of program SAPLKKBL
Method: PRINT_BACKEND of program CL_GUI_ALV_GRID===============CP
Method: SET_TABLE_FOR_FIRST_DISPLAY of program CL_GUI_ALV_GRID===============CP
Form: PBO of program SAPLSLVC_FULLSCREEN
Edited by: VINMANO on Jul 22, 2009 2:54 PMHI,
Its possible to call report program from Web dunpro...
chk out dis link,
calling report(se38) in webdynpro abap
By the way are using field symbol anywhere and left it unassigned?
Thanks,
Divya.S -
Can we call a report program in smartforms
hai
I need my report progrm output should be called in smartforms.
i.e my report output is displayed in a table in smartforms
pls give suggestionHi,
You cannot call report program in smartform.
But,you can call the smartform in your report program.
Refer these links:
how to write driver programming in smartforms
what is the basic purpose of driver program
Regards,
Sravanthi -
Embeding a SAP GUI based Report program into EP portal
Hi experts,
I need a help, Is their any way to integrate a GUI based report program into EP portal. If yes can some one post how is it possible to acheive this functionality?.You may try the following options
A. Transaction iView
1.Make a transaction for the report program.
2.Create an iView in Portal for transaction
B. ITS service
1.Make a transaction for the report program.
2.Create an ITS service and pass the transaction name to the parameter ~TRANSACTION in the ITS service
3.Create an iView in Portal for ITS service
This way you will be able to call report program in Portal. -
Insert a link to call a report program.
Hello all!
Im new in ABAP developing, and I have a Z Workflow that I need to put a link in a user decision step.
When the user will accept or refuse an workflow in sbwp transaction, the user wants see a link and when he clicks in this link,
a report program is called.
How can I do it, in this decision step?
Thank you!Hello,
I understand that if a user selects one option(from the decision step), he will receive a mail with the work item. The link from the work item will show him service entry sheet. If he clicks the link, he will see service entry sheet and after that he will see the report.
If i understood right, you can create custom method in the subtype of the object BUS2091. In the method enter the code:
submit "report_name".
Check the syntax of the submit instruction for passing select-options and parameters to the report.
For the other option of the decision step, you can create another custom method.
Efren
Edited by: Efren23 on Jun 20, 2011 1:52 PM -
How to call a badi implementaion from report program
Hi ABAP Guru,
I have ZBADI_FALLBACK_DEF new badi created by me and there two implementation ZBADI_FALLBACK_IMP and ZBADI_FALLBACK_IMP1
Now I am calling this badi from report program
DATA:
W_HANDLE TYPE REF TO ZBADI_FALLBACK_DEF.
* GET BADI - for getting objects..................
GET BADI W_HANDLE.
* CALL BADI - for calling interface methods.
CALL BADI W_HANDLE->ADD.
This is fine,,,
But I want to call only one implementaion ZBADI_FALLBACK_IMP.But here two implementaion is called.Please help....Hi Palash,
Then you create filter BADI and use filter in implementation.
While getting BADI reference use filter
GET BADI W_HANDLE FILTERS
Thanks & Regards,
Arun -
About call a webdynpro program in R/3 report program.
hi,experts
i am searching a report program which was written by my colleague who have left my project.
there is one button displayed on the ALV tool bar of this report program.when i push this button,a message are sent to protal and displayed in tasks,then i log into portal,double click the message,a webdynpro program will be called and used to further process.
i really want to know how i can decide to use which webdynpro program to be call and used. for example,now the R/3 program use the webdynpro program named AAA, i copy BBB from AAA,and want to replace AAA by BBB in this program, how?
i don't know how to meet this simple requirement such as upwards and confused about it. hope anyone can show me some information.
thanks in advance.It is not that simple :).
Actually there is a workflow involvedi n this. On clicking the alv button a workflow gets triggered and the task appears in the SAP Inbox which anyway displayed in the UWL of the Portal.
just try changing the SWFVISU transaction entry for that particular task and change the applicaiton name to your new application name and re-register the system in the UWL Admin Pagem, i hope it works.
If you did not find any entry in SWFVISU, the developer might have exported the XML in UWL Administration page in the portal down load it identify the old applicaiton name nad replace it with your new application name and upload the XML
[Helpful link|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0731bbc-810b-2a10-7fb8-900f16fd3c7d]
Abhi -
How to call the Report program into Function module
Hi Experts,
Actually I want to create the DataSource. But I have only the ALV report program. I need to create function module but I dont know how to call the ALV report program using in function module
So could you please any one send the Document or step by step method?
Advance Thanks,
SathisIf the report is just based out of a table than create a Generic Extractor using View.
If its an InfoSet query than create a Generic Extractor on that InfoSet.
If its an ABAP report than create a Generic Extractor using FM
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33 -
Calling a Report Program from Web Dynpro
Hi all,
I have a requirement, where i have to call a report program from web dynpro?. Wether its possible to call a report program in web dynpro?. Is we can call it, how this functionality has to be achived?Hello,
Yes it is possible to call report using SUBMIT statement from one of the method defined in COMPONENTCONTROLLER's method tab.
Once you define the method with SUBMIT statement then call that method with proper event.
Rest configuration will remain same for ABAP webdynpro.
Hope this helps.
Thanks,
Augustin. -
Itz possible to call one report program into another program
hi guys,
i had a doubt that can i call a report program into another report program by declaring their name into the second program like as we calling Includes ,function modules and like class and their methods .
if anybody done this or know how to do this, give me the details and explination about this friends
if it possible with screenshots and codings
Thanks & Regards
SaigijeoPlease search before posting, do not ask basic questions here.
Always do your own work before turning to the community with specific problems.
Thread locked.
Thomas
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] -
Calling Webdynpro application from report program
Hi All,
I am working with report program which displays ALV grid and if i select a row and click the button in application toolbar it should navigate to webdynpro application.
This webdynpro application should get loaded with the datas that i ve selected in the ALV output.
for eg., in alv display
select carrid connid
X 10 10
20 20
Webdynpro Application
carrid 10
connid 10
Kindly help me in acheving this.Hi,
SET/GET parameters wont work in WD Envoirment, because WDA programs are executed in browser and that doesnt has a connection to SAP GUI.
You may use the shared memory to transfer work area from the report program, and import the work area agin in the WDA in the WDDOINIT method of the controller where you want to set the fields.
data: send type string.
send = 'enter file name here'.
export send TO shared memory indx(XY) id 'wda'.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = 'http://SSR11S07.8000/sap/bc/webdynpro/sap/ztest_wda1 '.
And in the WDDOINIT method of the controller, you may import the variable.
data receive type string.
import send = receive from shared memory indx(xy) id 'wda'.
Then you may use the method set_attribute to set the value to respective UI element on the screen.
Regards,
Runal
Maybe you are looking for
-
Is it possible to play music videos on the Music App of the iPad 2? Or create a playlist for the Video App? or sort the music videos by artist, genre, album, etc.?
-
XML File download through an iview
Hi All, I've written an iview that builds up the data for an xml file and tableview report. The should be able to click a link on the iview and a window pops up and they can save the XML data to a local file. I have two problems, the first is I am un
-
Server returned code (500) with message Internal Server Error and content
Hi cracks, I am trying to run the web service InternalRequestSRMUpdateRequestConfirmation_In an get following error : Server returned code (500) with message <Internal Server Error> and content type <text/html; charset=utf-8>. any idea? rgds Vincent
-
Https 1.4.1 post fails but works in 1.3
I have a simple app that runs fine on 1.3.1_04 but it does not run on 1.4.* When I debug I notice 1.3 passes SSL as the protocol and 1.4 passes TLSv1. Does anyone know how to resolve this problem? Can I use HttpURLConnection? Do I need to use sockets
-
SAP Business One Development/Implementation
Hi all, as I was searching through SAP site, I am having trouble of finding the documents regarding SBO development/programming/implementation. (I meant other than TB1300 or SDK) Are there any documents provided by SAP officially? Thanks, have a grea