Display report from FM
Hi All,
I have the data in internal table inside the Function module.
I want to display the records in internal table when this FM is executed.
Which are the different ways in which i can display data from internal table.
WRITE statement and othe selection screen events doesn't work in Function module.
Thanks
Shital
hi
try using fm 'POPUP_WITH_TABLE' inside ur fm.
CALL FUNCTION 'POPUP_WITH_TABLE'
EXPORTING
ENDPOS_COL = 20
ENDPOS_ROW = 20
STARTPOS_COL = 10
STARTPOS_ROW = 10
TITLETEXT = 'abc'
IMPORTING
CHOICE =
TABLES
VALUETAB = itab
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
plz reward points if it helps
Similar Messages
-
Display reports from BW using WAD on blackberry
Hi All,
I have to display reports from BW using WAD on blackberry
can any one please guide me how to do it?
awaiting Reply
Thanks & Regards
Prasadyou have to integrate SAP Mobile infrastrcture with BW system to achive this.
-
How to display report from SQL query string
<p>I am a new user at this forum, my name is Muneer.</p><p>I have a doubt please help me</p><p>I am develoing an Institute Management System (Plat form VB.Net 2003), that can add participant details, course details, Account details so and so....</p><p>my problem is i have a VB.net form ,that form include combo box and flex grid.</p><p>when i select a text from combobox, data will be display in flexgrid its ok. but i want same out in Report.</p><p>when i try to make it showing all data please help me asap. how can i pass data to report.</p><p>I am using ADODB.Connection method with Access Database.</p><p>waiting ur valuable reply</p><p>Muneer</p>
This sample passes ado data to a report.
[http://diamond.businessobjects.com/node/2052Â | /node/2052]
Rob Horne
Rob's blog - http://diamond.businessobjects.com/blog/10</p> -
Authorization-Display report from InfoProvider-ODS
Hello,
Currently, I got some problems displaying data through the reports which were created from InfoProvider-ODS.
The authorization team already configure the authorization objects. Unfortunately, there was no data display from the queries at all.
One concern related to the authorized configuation is:
from checking authorization for dealer report in ODS model, we use auth. object: ZBPCODE which is dealer id value.
but it's not required only dealer id value, it require "*" for this object.
How do I limit in this authorization case?
Any suggestion would sincerely appreciate.
Thank you very much
-WJ-Closed without solution!
-
Display Columns from WBS and Activities in the same Report
Does anyone know how to display Columns from a WBS and an Activity together so that they can be output to Excel?
I need WBS Code, Actual Start, Actual Finish and Performance % Complete from the WBS and Activity Codes from Activities.
I can produce them in a report but this gives me all the activities in a heirarchical format which then necessitates deleting the activity lines in Excel
The Performance % complete which I want is available in Activities at the Summary Level but the Activity Codes are not at this level
I could put the Activity Codes in as Project Codes at the WBS level but this will require a lot of maintenance
Maybe someone knows an easy way to do this?
John
Edited by: user9088233 on Feb 3, 2010 11:50 PMuser9088233,
Your request interested me so I gave it the old college try. There are several ways to go about this task but here's one that is fairly quick and easy.
I carefully read your description of what you need from P6. I've built a test layout using the fields that you outlined. Here's what I came up with. This should bypass the issue of having to create a P6 export. My solution is to build a customized layout in P6 and copy that info and paste it into an Excel spreadsheet.+
Open P6
Open neccessary projects & open a new layout containing these columns:
....Project, WBS,Activity ID, Activity Name, Perf. %, & (any codes or user defined codes)
Group & Sort by: Project, WBS
....*Display Options* = "Show Group Totals" & "Show Summaries Only", Choose "OK"
....*Edit*, Select, All, Copy
Open Excel
....Paste Highlighted data into your new worksheet.
Hope this helps but it's usually hard to understand exactly what you need unless I can view your data,
Good Luck & let me know how it turns out,
p3_scheduler
Edited by: p3_scheduler on Feb 8, 2010 2:40 PM -
Report not displaying data from one of the infoproviders
Hi Experts,
Issue: Report not displaying data from one of the infoproviders
I have a report 'ReportA' which has multiprovider MP1 as the source.
MP1 has two Infocubes IC1, IC2 in its design.
Now, when i execute the report, data from IC1 is displayed. But no data from IC2 is displayed.
Is there a setting i need to enable in MP1 ? or is there anything else that needs to be enabled ?
Please reply.
Regards,
Suraj S NairHi All,
When i display data directly from the multi provider, without any restrictions, i cannot view the data from infocube IC2.
I feel its not an issue with the Query. It must be a problem with the setting in the Multiprovider MP1.
Infocube IC2 is a copy of Infocube IC1. Multiprovider MP1 first only had IC1 in its design. It was recently IC2 was also included.
I checked the Characteristics, all of them are assigned corectly.
Now, this issue sure has something to do wiht the setting of Multiprovider or please correct me if wrong.
Regards,
Suraj S Nair -
Displaying xml publisher report from adf page.
I am using jdev 10.1.3.3
I have an requirment of displaying an xml publisher report on click of command button.
any suggestion.how this can be achived.
according to my understanding.
if we create a folder in our web server which oc4j in our case.and we transfer the xml report through FTP in that folder.can we able to pick the report from that folder.
can we display or call that report.please let me know??
Is that possible.????????????
any help would be helpfullReally appreciate your response. Can you pls give little more details.
1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
Appreciate any help -
CG02 Report from Template error when starting the display application
System info: SAP GUI 720 (patch 10007878), ECC 6.0, SAP_APPL/EA-APPL 605, WWI 2.7 (patch 20000084)
Hi, folks.
I was able to execute CG02 'Report from Template' function. My local MS Word 2003 would open successfully to display the report as expected. Suddenly, I couldn't do that anymore. I'm now getting msg "An error occurred when starting the display application" (C$772). And I didn't change anything.
Any clue to what has happened or why it is happening? In my Word, I have 'C:\Program Files\SAP\FrontEnd\SAPgui\wwi' set as the file location for User templates. What else should I check?
Thanks in advance.Hi, Caroline.
Thanks for pointing me (back) to it! (I've encountered a similar issue with the same param back in 2010...)
I'm positive that the problem started after I tried to run the transaction code (of my custom report program that does the CG02 'Report from Template' function) from the web gui ('You Can Also' menu function). Somehow, the standard SAP fms within It changed the param ESWWI_INST value from 'EXISTFRONT' to 'WWISERVER'. So when I ran CG02 and the WWI server is not available yet, I received the error msg. -
Display Document from BI Server in Crystal Report
Hi all,
I accessed BI Query from BI server in Crystal Report. We can upload any comments or documents to the query. I want to display the document and comments in Crystal Report from the BI server.
Is it possibel? If possible how can i do this?
Thanks & Regards,
Hemalatha JAs I see there was no response on these issue although it is marked as answered. I'll give a hint for the ones that might want to try this.
One could extract the metadata and documents from the tables names to be found in the tables SDOKLOTAB and SDOKPHTAB (as an example, for InfoObject documentation we have the tables BDSLOIO8, BDSLOIOT8, BDSLOPR8, BDSPHIO8 and BDSPHF8) or one could export the metadata from the BI repository (though, this is a manual approach).
Edited by: marius.grunca on Apr 27, 2009 5:58 PM -
Cannot display the Crystal Report from BW..very Urgent
Hello Friends,
We are executing the Crystal report XI report from BW 3.50 but cannot displaying andgiving the error messgae as follows....
<b>Service cannot be Reached</b>
<b>What has happened?
URL http://sapprodbw.company.com:8112/sap/bw/sap/bw/ce_url call was terminated because the corresponding service is not available.
Note
The termination occurred in system I12 with error code 404 and for the reason Not found.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:sapprodbw_I12_12-v:0-s:404-r:Notfound
HTTP 404 - Not found
Your SAP Internet Communication Framework Team</b>
I'm getting the above error could plz help me .. its very urgent task for us..
Thanks in advance for your valuable time...
Sreedhar G.Hi Dinesh,
I started all the services and i checked the Test service of ICF its giving the same above error and service cannot be rezched...BASIS is also workin on the same issue but getting ...
Any help...
Message was edited by: sreedhar Gunda -
Parameter form display while calling reports from form
Dear All,
I am running reports from form using run_report_object. I do not want to see parameter form while running the report. How do I do that.
Thanks in Advance
Gaurav ShahHi, try to set paramform=NO in your parameter list
Daniel -
Calling report from form. Need PDF output
I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
ThanksThanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
win_api_environment.read_registry must be declared. Is there some package I need to attach?
Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
Thanks
The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
IS
vcServerApp varchar2(40);
vcServerTag varchar2(600);
vcCommand varchar2(2000);
iArgPos pls_integer;
dummy NUMBER;
BEGIN
-- 1 get the Server App for .PDF files
vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
-- 2 get the executable
vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
vcServerApp||'\SHELL\OPEN\COMMAND';
vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
-- 3 Sort out how to specify the Filename
iArgPos:= instr(vcCommand,'%1');
if iArgPos = 0 then --no substitution Var on the command line
vcCommand := vcCommand||' '||vFile;
else
vcCommand := substr(vcCommand,1,(iArgPos-1))||
vFile||substr(vcCommand,(iArgPos+2));
end if;
-- 4 Run using Winexec (or Host if preferred).
win_api_shell.winexec(vcCommand);
EXCEPTION
when no_data_found then
abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
END;
Chad
I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
Thanks -
Error while creating a report from personal files.
Hi All,
We are trying to insert a report from excel file( Env BO XIr3 Desktop intelligence)
Poping up with error "Too many data to display"
Is there any data limit or data size limit or no of rows limit.
Thanks in advance...Hi Rachna,
Can you try one thing can you restrict the values to less then 16000 to check the behavior.
What is the excel version is it 2007 Excel.
Are you trying to use an excel sheet which have more then 256 columns
Regards
Kultar -
FRM-92101 error while running report from a button or menu
Hi All,
I am getting the error FRM-92101 while running report without parameter from a button or menu. I am using Developer Suit 10g. I get the error as it shows there has some configuration problem in my form. Will you please help me anyone how can i solve the problem. My previous forms running very well both with parameter and without parameter.
ArifHello Sir,
Thanks for your cooperation. I have solved my problem by myself. The fact was that, when i tried with the following code which made my report---
SELECT br.bid, br.bname, br.branchtxnstatus, dif.difference
FROM branch br,
(SELECT gladbrid branchid,
SUM
(CASE
WHEN ga.gl_acc_categry IN ('L', 'I')
THEN gd.gladbalance
ELSE -1 * gd.gladbalance
END
) AS difference
FROM glaccount ga, glaccountdetail gd
WHERE ga.glid = gd.gladglid
GROUP BY gladbrid) dif
WHERE dif.branchid = br.bid AND br.branchtxnstatus = :Br_Status
and dif.difference!=0
ORDER BY br.bid;
and the code against the button or menu item is---
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
BEGIN
repid := FIND_REPORT_OBJECT('ASSET');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
/*Display report in the browser*/
WEB.SHOW_DOCUMENT('http://192.168.0.21:8889/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
ELSE
message('Error when running report');
END IF;
Clear_message;
END;
Clear_message;
which has shown the error FRM-92101 and didn't run the report.
In that case I have changed the query to run the report. first of all i create a view following the query and build the report using a simple select query. that's etc. my report running fine now.
It is mentioned that there had no error on my codes.
Arif -
Reports from SAP BPC NW 7.5
Hi All,
Our Landscape:
SAP ECC EhP1
SAP BW 7.10
SAP BOBJ XI 3.1 (WebI/Crystal/Xcelsius)
SAP BPC NW 7.5
We are new to BPC. We would like to know where do we need to develope the reports on BPC data. Can some one help me on this. If some one have any best practices or options that where we can develope the reports, pls let me know
Like we can do reporting directly on BPC with only couple of reports from BW/BOBJ or all reports from BW/BOBJ.
Here we are planning to use BW as warehouse solution and BOBJ tools for reporitng on BW data.
Thanks,
BalaHi Bala,
BPC is a planning & a reporting tool. It can also be used for Consolidation. As mentioned in the previous reply, the data in BW has to be made available in BPC Application (cube) to be able to report it out.
You might need to create transformation files and conversions files between your BW cubes and the BPC cubes to realise the data transfer to BPC application (cube). Note, BPC cubes are automatically generated when you create an application from the BPC front end.
Please refer to some good introductory blogs available on SDN to get to know the BPC terminology and BW terms. Then BPC has an reporting tool in itself. You can create reporting using EVDRE for example which displays the data landed in BPC cubes. This typically will have actual data (loaded from BW), plan data (planned through Input Schedules or flat file data loads).
Hope this give some brief idea.
Thanks
Maybe you are looking for
-
Bapi for customer wise material stock on date
hi all, is there any bapi to find customer wise material stock as on date.as logic as MB5B
-
SES report based SES sheet and Posting date wise
Hi All, Please let me know is there any standard report is available to view the SES sheets created against a PO and within a date range (posting date based). I have tried below T-Codes but i am not getting Posting date field in these codes. 1.ME2S
-
Complex Restrictions in Select-options
Hi Team, I've coded SELECT-OPTIONS in my web dynpro(ABAP) and want to disable the complex selection button/link (displayed just before the actual field). This link takes the user to either "Exclude" the selection or other options like "GE", "BT" etc.
-
Hi ABAPers, I want to have a sample program for SAP Java connectivity. I know SAP has a JCo but how to go about it. We have another system which needs to communicate with SAP 4.6C. Also, I would like to know whether while reading tables from other sy
-
Has Adobe fixed bugs writing Tags to files in PSE11?
There have been longstanding bugs in the PSE Organizer regarding the writing of Tags and other metadata to files. Specifically, the two bugs that I am aware of are: Writing to certain types of RAW files fails completely. In my case, writing to Nikon