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.
Similar Messages
-
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 -
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. -
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
vijayHi 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 -
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] -
How to call legacy system screen in web dynpro for java?
Now I'm using Netweaver CE for building BPM (Business Process Management).
In BPM system, I wana call legacy system screen(ERP, C/S , Web, etc..) in web dynpro.
I'v already known how to call legacy system method and data.( using RMI, SOAP and RFC )
But I don't konw how to call legacy system screen.
If there is no way calling legacy system screen, I will have to build every screen using web dynpro.
It's so terrible.
So I think there is a way calling legacy system screen.
It's just my opinion.
If It can call legacy system screen in web dynpro, please let me know how to call it.
Or, If there is no way calling legacy system, how solve I this problem?
Thank you reading my question.I assume that with "legacy system screen" you mean ABAP Dynp sceens. Of cause it would be attractive to integrate into new BPM processes. However there is a conceptional issue: You could easily integrate them e.g. into a WebDypro using a URL to to the so-called WebGUI (the ITS that makes Dynp screens Web enabled).
However the Dynp screen store all there state in the ABAP backend. This information is not available to to the process engine, e.g. to set the Task to completed or to use the data in Output Mapping.
In fact you need a way to wrap the how UI transaction into a WebDynpro screen including data flow. -
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 -
HI Masters , I need information for file upload program in web dynpro java
Hi masters,
i need some inforamtion and documentation on file upload program in web dynpro javaHi surya,
You can follow this procedure to upload the file
i) Take One Context Attribute named as "D1" of Type "binary".
ii) Take one FileUpload UI Element in the Layout Tab.
iii) Bind FileUpload UI Element's data Property to the taken Context Attribute. Here it is "D1".
iv) Take one Button UI Element in the Layout Tab named "Upload" and in the Action of that Button write the following Code.
v) The following code Generates one Folder in the Server & inside that Folder given file is Uploaded.
File ff=new File("FolderXYZ"); // Creates One Folder with the given Name ( Here Folder name is "FolderXYZ")
ff.mkdir();
try
byte b[]=null;
IWDAttributeInfo objAttinfo=null;
IWDModifiableBinaryType binType=null;
File f=null;
FileOutputStream fos=null;
if(wdContext.currentContextElement().getD1()!=null)
b=wdContext.currentContextElement().getD1();
objAttinfo=wdContext.getNodeInfo().getAttribute(IPrivateAttachView.IContextElement.D1);
binType=(IWDModifiableBinaryType)objAttinfo.getModifiableSimpleType();
f=new File(ff.getName()+"
"+binType.getFileName());
fos=new FileOutputStream(f);
fos.write(b);
fos.flush();
fos.close();
objMessageManager.reportSuccess("File uploaded to server");
} catch (Exception e)
objMessageManager.reportException("Unable to upload file to server, error is:"+e,false);
return;
The Uploaded file is stored in the folder & that folder is stored in the Server's following Path.
<Your Server>\c$\usr\sap\J2E\JC00\j2ee\cluster\server0
You can access your Uploaded file from the following Path
<Your Server>\c$\usr\sap\J2E\JC00\j2ee\cluster\server0\FolderXYZ
Regards
Sagar Ingalwar -
I want to write ABAP Program in web dynpro Using se80 tra.code
hi
I want to write ABAP Program in web dynpro Using se80 tra.code and to Create URL for the same.
Please let me know the steps to do.
ThanksHi Shiva,
I understood , you want to create a Webdynpro Applicaiton and run it.
this will help you
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-88669007f130
Regards
Abhimanyu -
Dear SAP Crew,
In dynamic action, we can call routines through indicatiors.
In that routine, Can we call a report program or schemas???
Kindly clarify with some scenario.
Thks & Rgds
Krish SathyaHi Krish,
In the routine you should be able to SUBMIT the program/report you need to execute.
Cheers,
Aditya -
Calling a report program in another program.
can we call on report program in another report program. If yes, please give me the right syntax. Thanks in Advance.
Hi,
Use SUBMIT AND RETURN statement. In below given codes,
I'm sending an internal table t_spfli to a memory id abc. After that I'm calling another program by using SUBMIT <program name> AND RETURN.
Check these two programs
PROGRAM 1
REPORT z_abap_memory.
DATA:
w_carrid TYPE spfli-carrid,
BEGIN OF fs_spfli,
carrid LIKE spfli-carrid,
connid LIKE spfli-connid,
fltime LIKE spfli-fltime,
END OF fs_spfli.
DATA:
t_spfli LIKE
TABLE OF
fs_spfli.
SELECT-OPTIONS:
s_carrid FOR w_carrid.
START-OF-SELECTION.
PERFORM get_spfli.
PERFORM disp_spfli.
AT LINE-SELECTION.
IF sy-lsind EQ 1.
EXPORT t_spfli TO MEMORY ID 'ABC'.
SUBMIT z_ABAP_MEMORY1 AND RETURN.
ENDIF.
END-OF-SELECTION.
PERFORM disp_spfli.
*& Form get_spfli
* text
* --> p1 text
* <-- p2 text
FORM get_spfli .
SELECT carrid
connid
fltime
FROM spfli
INTO TABLE t_spfli
WHERE carrid IN s_carrid.
ENDFORM. " get_spfli
*& Form disp_spfli
* text
* --> p1 text
* <-- p2 text
FORM disp_spfli .
LOOP AT t_spfli INTO fs_spfli.
WRITE: / fs_spfli-carrid,
fs_spfli-connid,
fs_spfli-fltime.
HIDE:
fs_spfli-carrid,
fs_spfli-connid.
ENDLOOP.
ENDFORM. " disp_spfli
PROGRAM 2
REPORT z_abap_memory1.
DATA:
BEGIN OF fs_spfli,
carrid LIKE spfli-carrid,
connid LIKE spfli-connid,
fltime LIKE spfli-fltime,
END OF fs_spfli,
fs_fl LIKE fs_spfli.
DATA:
BEGIN OF fs_flight,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
END OF fs_flight.
DATA:
t_spfli LIKE
TABLE OF
fs_spfli.
DATA:
t_fl LIKE t_spfli.
DATA:
t_flight LIKE
TABLE OF
fs_flight.
IMPORT t_spfli FROM MEMORY ID 'ABC'.
t_fl = t_spfli.
SELECT carrid
connid
fldate
FROM sflight
INTO TABLE t_flight
FOR ALL ENTRIES IN t_spfli
WHERE carrid = t_spfli-carrid
AND connid = t_spfli-connid.
LOOP AT t_flight INTO fs_flight.
WRITE: / fs_flight-carrid,
fs_flight-connid,
fs_flight-fldate.
ENDLOOP.
Regards
Abhijeet -
Calling one report program from another
Hi All,
i am calling one report program from my program & exporting it's output to SAP-SPOOL using SUBMIT statement. I want to fetch the spool no in my program for this spool. Please guide me how this can be achieved? i have tried SYST- SPONO but it's not working.
Thanks & Regards,
Chetan.Hi,
Initially check this it might be helpful to u.
http://help.sap.com/saphelp_sm40/helpdata/en/30/cc154219fce12ce10000000a1550b0/content.htm.
Even use the function module slike Job_open , Job_close this is also one of the methid to achive spool requests.
Regards,
Sana.
Reward with points if found helpful.. -
Show BI report in a Web Dynpro App
Hello,
I would like to insert a BI report into a Web Dynpro App, this is because I have some specials requirements like using a dynamic tree for selecting the user desired report and pass two parameters to this report via URL for example, this is why I cant use standard BW iView to show this reports.
Any hint, suggestion or advice is really appreciated here.
Best regards.Hi Ramien,
See this link,
Re: BW server details from webdynpro
Hope this helps you
Regards
Rohit -
Call an ABAP Program from Web Application designer
Hi Gurus,
I have an requirement in which I need to fetch an CSV file from the server and place the file into an internal table in R/3.I got the function module and wrote the program for this,but now I need to call this ABAP program from Web Application designer.
To make it more explicit ,I need to call an ABAP Program /function module from the WAD.I am new to WAD Please help.
AnkitHi Ankit,
take a look:
/thread/725385 [original link is broken]
WAD and ABAP
How to call a ABAP or ABAP Class from the WEB
/people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
Regards
Andreas -
Calling an ABAP report from a web-dynpro view
Hi,
I have a web dynpro view that i would like to call an ABAP program from. Any ideas how i can do this? Thanks,
Samir
Edited by: Samir Vora on Feb 18, 2008 11:12 AMHello Samir,
that would mean mixing two different ui technologies and hence it not possible. You can start the report in background though. Please refer to [this list of restrictions and limitations|http://help.sap.com/saphelp_nw70/helpdata/en/46/82091e304559dbe10000000a1553f6/content.htm] regarding the usage of certain ABAP statements.
Best regards,
Thomas
Maybe you are looking for
-
as the title says
-
How to set an screen variant as default for my user?
Hello, For example in t-code FB50 we have 4 screen variants. The default screen variant is 1. How can I change the default sreen variant for my user only ? Thanks, Alexandre
-
I'm using Windows NT4. I installed Oracle 8 succesfully but when I tried to install Developer v6, it's unsuccesful. The installation cuts-off. I tried removing oracle 8 and installing Developer v6 first, the installation was succesfull. But when I in
-
QPSP Manager cannot be installed.....
I have tried to install QPSP manager with no success. I always get this error, i am not sure what to do. This is error i get. "uic: File generated with too old version of Qt Designer" and then follwed by Error: Makepkg was unable to build qpspmanager
-
Headset not detected in Windows 7
Hi everyone! I'm having annoying problem with my Windows 7 Home Premium 64bit OS. It doesn't recognize my headset even though it's plugged to the rear panel of my Sound Blaster Audigy 2 ZS sound card. It however detects the microphone properly. In pl