How to Call Report RBDMON00/ Tcode BD87 and copy output in to externel DB
Hello,
for a student project y have to to write the output of some ABAP Reports and Function Modulesin an externel Database.
This time its about the Transaction Code "bd87" programmname "RBDMON00".
I've tried to write an RFC Function Module which calls the programm with:
SUBMIT RBDMN00
EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
CALL FUNCTION 'LIST_TO_ASCI'
But theres always an exception Raise in the Function 'LIST_FROM_MEMORY' that theres nothign in the List.
I don't understand why, with other reports it works great.
Or is there any other way the get the output from Tcode bd87.
Is ther any body outher who can help me?
Thank you very.
Greets
JP
Sorry I'm realy new in SAP and ABAP, can you show me an example how to read out the the Idoc headers out of EDIDC table.
Or is there any other way to get the entries for example from the table "IDoc entries in tRFC queue" and the other tables behind bd87?
thanks for your patience.
Similar Messages
-
How to call Reports in oracle forms 10g
Dear All,
How to call Reports in oracle forms 10g.
I am using Oracle Forms 10g Reports 10g and Database 10 and and Operating system Windows XP.
Please give me the Solution.
Thanks and Regards,
FaziludeenHi Omkar,
Please check the following code.
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
plid ParamList;
BEGIN
plid := Get_parameter_List('tmp');
IF NOT Id_Null(plid) THEN
Destroy_parameter_List( plid );
END IF;
plid := Create_parameter_List('tmp');
add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
repid := FIND_REPORT_OBJECT('POL_REP');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
v_rep := RUN_REPORT_OBJECT(repid,plid);
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;
WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
'||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
'¶mform=no');
END;
I am used to Start the Report sever 'Rwserver Server=prod_Report_Server Start'
OracleAS Report Services
Version :- 10.1.2.0.2
Name :- prod_report_server
Status :- Server is Shutting down
Jobs in Queue 0
Active Engines 0
I got the Following Error when I trying to run the Report
FRM-41211: Integration error:SSL failure running another product
Thanks and Regards,
Faziludeen -
How to call Report 6i/9i Oracle Standard Report into Discoverer 10g
How to call Report 6i Standared report into Duscoverer 10g as there is a requirement to create or transfer Oracle Standard report into Discoverer.
1) Account Analysis Subledger Details(180 Char) - Standard Report 6i as i want the same report in Discoverer 10g.
2) Aging Report -- 7 bucket --Standard report in 6i,how to transfer in Discoverer 10g.
Is is possible to Transfer from Report 6i to Discoverer or How to Create this report in Discoverer 10g.
Please advice,
SushantWell, if I had to do it, here's how I'd start.
1. Get the SQL from the Oracle Report and then create a database view that's more generic based on the SQL but still gets the answers.
For example, you'd not code many conditions, etc. but the database view would be pointing to the correct Oracle Apps tables / views.
Once you've got the view, bring it in to Disco Admin, etc. and create a report from it that now adds the extra conditions needed. That way you can use the underlying concept without hard coding things like dates, etc. which you would ask the user at run time.
However ... as you may well know ... Oracle Reports can do some 'strange and/or powerful things' on the fly and, for example, it may be something like a temporary table generated for the report, etc. so may become a much bigger issue.
2. If you have NoetixViews views then they'll most likely already have the views for these queries already created as they're reasonable for what's needed in an Oracle environment.
3. I'd see if there is already a pre-defined BIS view that covers this as well. Again, you're in an area that's pretty popular so if a BIS view already covers much of the same info then you've got a create view 'head start' already. Check views owned by Apps starting with the application plus FV or FG (the one you'd really want) such as: GLFG_Budgets_To_Actuals to see what I mean.
Russ -
How to call Report output in Modulepools
hi
can any one suggest me
How to call Report output in Modulepools
i have a push button in modulepool after clicking that pushbutton i need a report output
how to do this
Thanks & Regards
kalyanHi Kalyan,
From Module pool program you have to go display A Report output..
So at User-Command of PAI use LEAVE TO LIST PROCESSING.
Regarding this check the Demo program DEMO_LEAVE_TO_LIST_PROCESSING.
And for further reference please check this SAP Help
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9d2f35c111d1829f0000e829fbfe/frameset.htm
For more help please check this thread
Re: LEAVE TO LIST-PROCESSING
Hope this would help you.
Good luck
Narin -
hi gurus.
please tell me how we call reports in script.
thanks,
subhasisHi,
we can call report thro' sapscripts by following way,
Calling ABAP Subroutines: PERFORM
for eg.
Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
/: DEFINE &TOT_PRICE&
/: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
Then write the variable where ever you want it to be printed (mostly it will be in footer window)
Then create subroutine pool program and you have to write the code.
FORM F_GET_PRICE tables int_cond structure itcsy
outt_cond structure itcsy. data : value type kbert.
statics value1 type kbert.
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
To know more, have a look at this thread ..
Re: SAP Script: Display Total calculated on page 2 in page 1 -
How to schedule reports to be run and sent from Ad-hoc query.
Dear Abapers,
I got a requirement in which the user wants to know how to schedule reports to be run and sent from Ad-hoc query.
Regards
VenkatAsk him to look more carefully at the menu : Quickview > Execute > Exec. in background, then click on schedule
Regards,
Raymond -
Hi,how to call reports in bdc
hi experts,
please tell me how to call reports in bdc.
nobody give me replay for this .
thank u in advance.Hi..,
Your question is incorrect !!.. what do you mean by calling programs in BDC.. we usually call transactions in BDC .... BDC means a program (report) in which we call a sequence of screens of a particular transaction <b>programatically not manually</b>.
check this program..
data :
t_bdcdata type standard table
of bdcdata
initial size 0.
data:
wa_bdcdata type bdcdata.
perform bdc_dynpro using 'SAPLSETB' '0230'.
perform bdc_field using 'BDC_CURSOR'
'DATABROWSE-TABLENAME'.
perform bdc_field using 'BDC_OKCODE'
'=ANZE'.
perform bdc_field using 'DATABROWSE-TABLENAME'
'EKPO'.
perform bdc_dynpro using '/1BCDWB/DBEKPO' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=SEOP'.
perform bdc_field using 'LIST_BRE'
'250'.
perform bdc_field using 'MAX_SEL'
'200'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_CURSOR'
'06/04'.
perform bdc_field using 'BDC_OKCODE'
'=DMA2'.
call transaction 'SE16' using t_bdcdata mode 'A'.
Start new screen *
form bdc_dynpro using program dynpro.
clear wa_bdcdata.
wa_bdcdata-program = program.
wa_bdcdata-dynpro = dynpro.
wa_bdcdata-dynbegin = 'X'.
append wa_bdcdata to t_bdcdata.
endform. "Form BDC_DYNPRO
Insert field *
form bdc_field using fnam fval.
clear wa_bdcdata.
wa_bdcdata-fnam = fnam.
wa_bdcdata-fval = fval.
append wa_bdcdata to t_bdcdata.
endform. " Form BDC_FIELD
regards,
sai ramesh -
How do I report a bad app and get my money back
How do I report a bad app and get my money back
http://www.apple.com/support/itunes/contact/
-
How to call Sri Lanka mobile phones and land-lines...
How to call Sri Lanka mobile phones and land-lines from skype? When i am in overseas how to use skype to call to Sri Lanka mobile phones and land-lines? Can i know the process, how to get skype credit?, how to get subscriptions?, what are the rates for mobile phones and land-lines?
CajoTech wrote:
Were unable to call corporative landline numbers in Finland (010 and 020 numbers). We have 1 package for landline calls inside finalnd and the other one for making calls to mobile phones. Any idea what else do we need?
Hello and welcome to the Skype Community.
Your account shows that you have an Unlimited World Subscription which includes calls to private landlines in Finland. Your Subscription does not include calls to corporate landlines or to cellphones in Finland. To call corporate landlines you need to Buy Skype credit and to call cellphones either credit or a specific Skype subscription
TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
I recommend that you always run the latest Skype version: Windows & Mac
If my advice helped to fix your issue please mark it as a solution to help others.
Please note that I generally don't respond to unsolicited Private Messages. Thank you. -
How to call reports 6i or forms 6i directly from oracle procedure
Hi,
Hi,
Env: 6.0.8.25.2 (forms 6i/reports 6i)
Database: Oracle 10g r2
We are running a client server environment and not web based.
I want to run the forms 6i or reports 6i directly from a database procedure/function and not by creating a procedure inside a form and then call a report.
Looking for calling forms6i/reports 6i directly from sql*plus commands used inside the PLSQL database procedure/function. (Just like we create a stand alone package/procedure/function).
I have developed many forms and reports and very comfortable in calling reports from forms 6i.
My question was completely different but looks like i was not able to explain properly:
I want to call the forms 6i or reports 6i directly from sqlplus* prompt and through stand alone oracle database procedure/function (procedure created directly in database but not as a program unit within form or report).
There is a requirement to call the form through database scheduling by passing fixed parameters and then generate the report pdf and email automatically to various users.
Also, is there any way to schedule a report automatically so that the report runs automatically in the scheduled time and send out reports to the users. I have developed a email program but looking for scheduling the report or forms 6i.
Thanks,
SrinivasHi,
There are couple of existing reports and forms developed in 6i and users are using them when required.
For certain MIS reports, management wants them to be generated on daily/weekly basis and email to be sent to them as PDF files.
Have a program which will convert to PDF and email to users but not able to trace on how to call the forms 6i or reports 6i and pass the report parameters so that the report is called directly through pl/sql so that i can schedule them.
All the forms and report executables are located on server1 and database server is located in server2 and running on client/server architecture.
Database version is 10g r2 and Forms/Reports version is 6i.
Any code samples would be of great use.
Srinivas -
How to call report rdf with parameter passing..
Hai
I am using 10g developer suite and 10 g report. I want to call some report in the when_button_pressed trigger. like c:\ report\ test.rdf file. we don't have separate application server.more than 10 users using forms and report. Without application server (dedicated application server ) we are using oracle.
How to call the report rdf file from form ? how to pass the parameters ? how to start the report server ? I tried many answers I am not getting correct coding plese help me to find out correct code .. run the report perfectly... from form.
digging here not get correct coding... please help me.. urgent
vasanth.Hai,
It seems same 6i reports coding, I am not aware of that.. Soon I will tell you..
Thanks a lot.
regards
vasanth -
How to call the 2 Tcodes from single program.
Dear Friends,
I would like to call 2 tcodes form a single program based on some conditions like :
I have a program ZRR wich is madule pool report with selection screen and screen 100, 200.
If I excuted tcode ZXX then I need to call the report with selectin screen ( from there with giving some input data I will go to screen 100 ),
If I excuted tcode ZYY then I need to call the same report skiping the selection screen and need to go directly screen 200.
Pls help me on this if any bady is faced the similar problem.
Thanks,
Sridharhi,
yes you can do this..
try this
create a two screen suppose 9000 and 9001..
then right click on your program name...
create a TCODE say TONE..
in this give the screen number 9000..
now again right click on the program name
create a TCODE say Tsecond
in this give the screen number 9001...
hope this will help you..
Regards
Ritesh J -
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.
-
How to call reports from JSP/HTML application
Hi,
We have a web application developed in JSP, I'd like to use Oracle Reports writer to generate reports (Since our back office application is developed using Oracle forms and Reports - 6i).
I don't know how to place a request to Oracle Reports server and view the output. Can someone please help me with this.
Thanks in advance.
Best Regards,
KarthikHello Karthik,
You have a web application developed in JSP. In that you are calling Reports though URL through your JSP.
User views the source of the HTML page, in browser which is the result of execution of JSP. So Client will see the
HTML output, but not the real JSP.
Still if you donot want to hard code the user/password in file, have a form and ask client to enter user/password.
Or you can combine your JSP with other Java components , like Java bean or Servlets to get user/password at run time.
With Regards
Sachin -
How can call report 9i from form9i
i need to ask about report9i
i try to call report from form9i by button
from there but not success
i write the code blow
RUN_REPORT_OBJECT('c:\test.rdf','p1_id');
best regardHi ,
I am pasting an example of how to call the RUN_REPORT_OBJECT and what all need to be set for it to function properly. You can use the code, but remember to edit some of the details that you are supposed to fill before trying to run.
DECLARE
Report_Id REPORT_OBJECT;
Report_Job_Id VARCHAR2(20);
Report_Status VARCHAR2(80);
Report_Svr VARCHAR2(20);
BEGIN
Report_Id := FIND_REPORT_OBJECT('<your_report_object>');
Report_Svr := '<your_report_server>';
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_FILENAME, '<your_report_file>');
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESTYPE, CACHE);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_SERVER, Report_Svr);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_OTHER, 'blankpages=no paramform=no ...');
Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
WHILE Report_Status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
END LOOP;
IF Report_Status = 'FINISHED' then
WEB.SHOW_DOCUMENT('http://<machine>:<port>/reports/rwservlet/getjobid' || substr(Report_Job_Id, length(Report_Svr) + 2, length(Report_Job_Id)) || '?server=' || Report_Svr);
END IF;
Hope this helps.
Thanks,
Vinod.
Maybe you are looking for
-
I have a new iPhone 6 plus and all is OK. But the mail shows more than 400 'unread' messages whereas there are none in the mailbox or trash or anywhere else I have looked. I can send and receive with no problem. I'm sure I have no unread messages.
-
In iMac Safari, I have a nice thin grey line of defaulted Apple, etd. links. Kinda nice, but I would prefer to use the precious real estate for other things. In iPad, the support links suggest turning it on in Settings, Safari, General, and 'Always s
-
Problem with fading images in/out
I have a product demo that runs from an XML feed. Text is defined in the XML as are links to external images. When an image loads it is set to alpha 0 and then fades up to 100 whilst also changing from blurred to a crisp image using a blur filter. Wh
-
What do I need to know about field order and HDV?
I keep seeing field order options in FCP and DVDSP and Compressor etc. Can anyone point me to any resources that will help me understand things a little better? I'm editing HDV in FCS. Thanks Miller.
-
Why won't my MacBook pro power up?
Hello, I have a MacBook Pro that I purchased in Jan of 07. When I upgraded to Snow Leopard it told me that my battery was dead and that it needed replacing. So I did that yesterday...because it wouldn't power up, even with the MagSafe power adapter