Call report or transaction from PA20/PA30
Hello,
what is the best way to call a report or a transaction out of PA20 or PA30? Our idea is to enhance the menu but we don't want to do this via a modification. Exit or BADI would be much more elegant. So the scenario is:
open PA20 or PA30 and select an employee, select a function from the menu or click a button to call a program (including transfer of persnr will be great).
Any ideas? Thanx for your feedback
Stefan
You can SUBMIT a(ny) Report via the methods available in the BAdI HRPAD00INFTY.
~Suresh
Similar Messages
-
Calling Reports on Web from Forms
Hello Friends,
Right now I am able to run my reports from HTML page/by
giving URL in IE.
but I want to call reports from form application. in
client/Server model, I used RUN_PRODUCT built-in. when i am
converting to web, i don't know how to call reports from form.
one way is using WEB_SHOW_DOCUMENT. in this case , we can not
pass the Parameter List, as we pass parameter list in
RUN_PRODUCT built-in.
even though we can pass like
report=xyz.rep&destype=screen ....
If there is '&' in the paramtere value , how should we take
care of this. If any one knows solution, please let me know
Thanks in advance
Regards
Surendra.
nullSurendra Babu (guest) wrote:
: Hello Friends,
: Right now I am able to run my reports from HTML page/by
: giving URL in IE.
: but I want to call reports from form application. in
: client/Server model, I used RUN_PRODUCT built-in. when i am
: converting to web, i don't know how to call reports from form.
: one way is using WEB_SHOW_DOCUMENT. in this case , we can not
: pass the Parameter List, as we pass parameter list in
: RUN_PRODUCT built-in.
: even though we can pass like
: report=xyz.rep&destype=screen ....
: If there is '&' in the paramtere value , how should we take
: care of this. If any one knows solution, please let me know
: Thanks in advance
: Regards
: Surendra.
Hi Surendra,
Run Reports using Run_product tool by passing all the parameters
reqd. for your report and save it as a file in *.pdf format(
recommended) then call the saved report in WeB.Show_document
which will call your saved report .
Ex:
DECLARE
pl_id ParamList;
BEGIN
pl_id:=Get_parameter_list('mtetgdata');
IF NOT Id_Null(pl_id) then
Destroy_Parameter_list(Pl_id);
END IF;
Pl_id:=CREATE_PARAMETER_LIST('mtetgdata');
ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
ADD_PARAMETER
(pl_id,'DESTYPE',TEXT_PARAMETER,:REP_LAUNCH.DESTYPE);
ADD_PARAMETER(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
ADD_PARAMETER
(pl_id,'P_RECV_129',TEXT_PARAMETER,:REP_LAUNCH.RECV_129);
ADD_PARAMETER(pl_id,'DESNAME',TEXT_PARAMETER,'J:
\WEBFORMS\RepTemp\ACHD_129.pdf');
ADD_PARAMETER(pl_id,'P_START_DATE',TEXT_PARAMETER,TO_CHAR
(:REP_LAUNCH.START_DATE,'DD-MON-RRRR'));
RUN_PRODUCT(REPORTS,'J:
\WebForms\REPORTS\ACHD_129.rdf',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl
_id,NULL);
WEB.SHOW_DOCUMENT
('http://xdb.oraweb.net:8889/Webforms/RepTemp/ACHD_129.pdf','_sel
f');
end;
I hope this will solve your problem
Rao Guduru
null -
Calling Reports on Web from Forms 6
Hi
The problem I have when I am calling Reports from Forms is, if I am calling 3 reports from the Forms the first report called is never shown in the browser while all the others are shown in the previewer.
Is there any property setting I am missing! Please Help!
Thanks,
nullhello,
please check the DESTYPE and DESFORMAT settings of the report that does not show up. if you do not pass these settings in you parameter-list the report uses the default values set in the report definition. if these are set to DESTYPE=FILE or PRINTER then the report never shows up.
regards,
the oracle reports team -
How to call a CRM transaction from WDA component
I have requirement where i need to open the CRM transaction CRMD_BUS2000126 from WDA with the object id selected in the context. To be more specific all i need to do is to open the activity screen of a particular give activity number from a WDA component.
I have checked out the previous threads there is a solution how to fire a transaction from WDA, but i need to send a parameter to this transaction to open that particular activity number screen.
please advice asap.
Thanks,
ShyamKarthikeyan,
Please make sure that flag attribute is under some node, say NODEA. NOW please select the interface node property and input element of NODEA.
now NODEA will be available in interface controller. Interface controller acts like a global controller between two different components.
So from interface controller you can take that flag value.
pls reply back if you have any confusion.
Regards
Srinivas -
How do I call Reports 2.5 from a web page?
Dear all,
I want to make a hiperlink on a web page that calls a (run) report (2.5).
Can someone please help me how to define the call?
Best regards,
Ronald.Hi Ronald,
You have to use Reports CGI (it is r25cgi32.exe in Reports 2.5), as you are calling from web.
For Example,
To generate the HTML output to cache, your hyperlink should be,
http://myhost.com:portno/cgi-bin/r25cgi32?server=repserver1+report=test.rdf+userid=scott/tiger@mydb+destype=cache+desformat=html
You should have the Web server <-> Reports CGI Setup. A Report server (repserver1, in this example) should be running to accept the jobs from CGI.
Thanks,
-Siva B -
Service to call a SAP Transaction from cProjects
Hi,
After accounting Integartion, I wanted to call some transaction already in "Service for an SAP Transaction" node.
There I need to define the Parameters and Services to make it available thru Portal.
But seems I'm not able to provide the exact Parameters for the service.
Also, When I enter the Parameters for the WEB server of an SAP Transaction, for Alias WEB Server, its throwing an error to check entry in OLR3_URL_SRV.
Many Thanks,
Jyoti ShankarHi Vivek,
I've checked the URL. The SAP Transactions can be called online thru SICF WEBGUI Test. But from Portal, when I'm doing the same, the URL gets changed and system generates the string "scripts/wgate/webgui/!?" in the start URL.
The reason stated is Web Server Address does not contain the Service "WEBGUI".
How can I resolve the same ? Please advise.
Thanks,
Jyoti -
Calling an xMII transaction from R/3....
Hi Experts,
Is there any way to call xMII Transaction directly from R/3?
Regards,
Vijaya vardhan ReddySure Amit,
This is the kink i got after searching the Blogs....
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1245135,00.html
Regards,
Vijaya. -
Problem with called Report 6.0 from Forms
Hi all,
I have built a form in 6.0 which calls a Report through a RUN_PRODUCT procedure.
I pass a few parameters to send it directly to a printer, but all that comes out is a white page.
When i send to the screen, there's no problem. The cause of the white paper is that apparently the margins are set in such a way that the report falls of the page.
Any idea how i can correct this ...? This only occurs when it is called from the form. Is there a parameter i've missed...?
Thanks.
PS Please mail any sollution you can think of. I don't have an internet-connection at work. The mailaddress is [email protected]There have been some changes between 10.1.2.0 and 10.1.2.3. In some cases, java beans will need to be recompiled against the latest frmall.jar file. One example of this issue is noted in the following places:
MyOracleSupport Note 559213.1
and here:
http://forms.pjc.bean.over-blog.com/
Also, be sure to consider other changes you have made. For example, if you were using Jinitiator with 10.1.2.0 and are now using the Java Plug-in this may also be a cause of the problem. I am not suggesting that using the JRE (java plug-in) is causing the problem, but simply that some minor other changes may be required in order to have everything work in harmony together. -
Calling R/3 transactions from Bex
Hi community
Let's say I have a row like "PO No, value", I want to display PO order for that particular PO number in R/3 system by just clicking on the row, and more importantly, I don't want to enter any data in PO display screen. How to realize this scenario?Hi,
in this case you can use Report-Report Interface:
Use
The report-report interface allows you the flexibility to call a jump target (receiver) online from a BEx query (sender) within or outside of the BI system. Jump targets that have been assigned to a BEx query can be selected in BEx Web applications and in the BEx Analyzer. You access them from the context menu under the Goto function.
Take a look at this link to get an idea:
http://help.sap.com/saphelp_nw04s/helpdata/en/99/08629bd3e41d418530c6849df303c9/frameset.htm
Regards
Andreas -
Calling report user parameters from forms
If I run the report from report builder, it will prompt me the user parameters for input, however if I create a mouse click trigger in a form to call the report, the parameters won't prompt, how can I make it prompt ?
I want to create a text field on the form for user to input the user parameter values.
thanks.create a text-field or drop-down or what ever object that you want to in the form ...
and then use run_report_object to run the report by passing parameters from your form (from the text field or drop-down) to the report.. -
Calling an SAP transaction from a BSP page
Hi, I have created some BSP pages that are rendered inside SAPGUI screens using a HTML control object. When looking at a CRM system I came across the Business Partner Cockpit (CRMD_ORDER_BP) which displays activities for a business partner using a BSP implemented by CL_CRM_CCKPT_CFS_SERVICE_HTTP.
The interesting thing about this BSP, is that you can click on the transaction number in the BSP and it launches the appropriate SAPGUI transaction to display the details of this activity.
Looking at the HTML source, the link is defined like this: -
<a href="SAPEVENT:OBJTYPE=BUS2000115&OBJKEY=CDAEBBF5BD903E4390DA7984D3054A65">0920000086</a>
In the above example this activity is a sales order.
Can anyone help me understand how this works, and how I can use it to navigate to SAP transactions using links in my BSP pages that are placed in SAPGUI HTML controls?
Thanks
GrahamHi Graham!
I have a similar problem in transaction CIC0 and the Sales summary tab in CRM.
I have created a new class and assigned it to a new fact sheet. One column in this fact sheet should be a hyperlink defined in the way that you have described.
When using method get_event_parameter I are not getting any data for the SAPEVENT parameters - I don't get the value, only the keys:
<a href="SAPEVENT:?OBJTYPE&OBJKEY>
How should I procced to assign an object type and object key to this SAPEVENT???
Would also be very nice if anyone could explain how to "call transaction" works.
Help understanding this would be very appreciated.
BR
Mattias -
Calling a Transaction from Selection screen of Z Program...
Hi,
I am trying to call a Standard transaction from a report when they clicked one push button on selection screen.
when i used CALL TRANSACTION 'MM01'. When i press save after entering the values in MM01, it is saving and coming out to selection screen of my Z program.
But my question is when they press in BACK button in MM01 then only it should come out from MM01 and it should display the my Z Program selection screen. suppose if they press SAVE button on MM01 it should save and screen should be MM01 only.
when i used LEAVE TO TRANSACTION 'MM01'. it is working fine but when i press BACK button from MM01 it is coming out and showing SAP EASY ACCESS screen. My requirement is when i press back button in MM01 then it must come to my Z program selection screen only.
I hope it is clear.
Regards,
Sunny>
sunny_143 wrote:
> Hi,
>
> I am trying to call a Standard transaction from a report when they clicked one push button on selection screen.
>
> when i used CALL TRANSACTION 'MM01'. When i press save after entering the values in MM01, it is saving and coming out to selection screen of my Z program.
>
> But my question is when they press in BACK button in MM01 then only it should come out from MM01 and it should display the my Z Program selection screen. suppose if they press SAVE button on MM01 it should save and screen should be MM01 only.
>
>
> when i used LEAVE TO TRANSACTION 'MM01'. it is working fine but when i press BACK button from MM01 it is coming out and showing SAP EASY ACCESS screen. My requirement is when i press back button in MM01 then it must come to my Z program selection screen only.
>
> I hope it is clear.
>
> Regards,
> Sunny
I'm not clear about what happens when you press the BACK button.
First, LEAVE TO TRANSACTION is no help. That ends your Z program. CALL TRANSACTION is your only option. If it doesn't work as you'd like, you're a bit stuck, as MMnn are standard SAP transactions, and you can't modify that. (well, you can, but that's a whole other tin of worms).
Perhaps if you told us what you're trying to achieve with the Z program, there might be another approach that will do that.
matt -
Call SAPGUI transaction from BSP and vice versa
Hi all
There was some discussion about this topics before. Maybe someone can just point me to the thread answering this issue:
1. I need to call a SAPGUI transaction from a BSP application: I want to use SAPGUI, not ITS/webgui, I need single sign on, the SAPGUI transaction could possible run in another SAP system then the BSP.
As far as I understand I need to create a *.sap file with the correct parameters for sapshortcut. But how does single sign on work? Can I create a logon ticket in my BSP and forward it to sapshortcut?
2. I need to call a BSP application from a SAPGUI transaction or report, with single sign on but in a MS IE window, not inside a SAPGUI HTML control
Can I create a logon ticket in my coding an append it to the start url for the BSP?
any hints?
thanks
Michaelhi Michael,
For your second issue,to call a BSP application from a SAP GUI in MS IE explorer,
you can use the Function Module CALL_BROWSER in your report,like
data url(200) type c.
url = 'http://<server>.<domain><port>:'.
concatenate url '/sap/bc/bsp/sap/' into url.
concatenate url 'znw_poc2_1_prtl/dts.htm' into url.
concatenate url '?sap-user=<userid>' into url.
concatenate url '&sap-password=<passowrd>' into url.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = url
* WINDOW_NAME = ' '
* NEW_WINDOW = ' '
* BROWSER_TYPE =
* CONTEXTSTRING =
* EXCEPTIONS
* FRONTEND_NOT_SUPPORTED = 1
* FRONTEND_ERROR = 2
* PROG_NOT_FOUND = 3
* NO_BATCH = 4
* UNSPECIFIED_ERROR = 5
* OTHERS = 6
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
For this to work you have to enable SSO on your server.
you can check if it is enabled or not by runnning the BSP application "SYSTEM" ,page "SSO2TEST.htm" .
Follow the instructions on the page for testing.
This may not be a great way as your userid password are passed via URL,still it works .
Hope this helps,
Regards,
Siddhartha -
Run_Report_Object -- Calling report from Form
Hello:
Where can I find a technical notes on VALID combination of system parameters in calling report using run_report_object from FORMS in 10G?
Not sure what are valid values and combinations. Do we HAVE to pass a REPORT SERVER along with run_report_object? what formats are valid along with destype etc?
Thankshttp://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
-
Call report from form10g.
Hi all, i has one form and i want to call report name 'DOCK_RECEIPT' from Form.
I create one button name ' CALL_REPORT', and want to when click into this button, form call report above.
But i don't know configure Form and Report, and code for button "call_report".
Now, how must i do for Form can call report?
Please help me.how to run reports from 10g, check the following links
How to run report from form 10g
Oracle® Application Server Reports Services Publishing Reports to the Web
http://docs.oracle.com/cd/B25016_04/doc/dl/bi/B14048_02/toc.htm
Hope this will help you
Maybe you are looking for
-
Hi I have a problem with java-servlets and I hope someone have a suggestion on how I should solve it. It all concerns handling impatient users, or more specifically to stop them from performing new (or the same) request while the first request is sti
-
How do you avoid gaps in mix albums?
When I try to put a mix cd on my iPod, during playback there is a gap between the tracks. I want to avoid the gaps but I don't want to 'join cd tracks' because then it just installs it as one long tack. Any ideas?
-
MISSING OF BODY IN PAYLOAD UNDER SXMB_MONI
HI ALL. here iam doing file to file scenario. my data structure is DT_lccTolcc3 accdetails header keyfield docdate siteid body accno keyfield amount trailer keyfield totalrec totmat and my fcc parameters header,1,detailed,*,trailer,1 header.fieldName
-
Redirect iWeb Pages To External Sites?
I have a persona domain that I have linked to my .mac account. I have a previous blog that I am trying to substitute on my site instead of having to create a whole new one using the iWeb blog feature. How do I do this? Currently, I have tried to chan
-
Media Encoder (compilation error)
grande difficulté pour exporter mes vidéo faites à partir d'images fixes de grande résolution ! le processus s'interrompt au bout d'un temps variable avec le message COMPILATION ERROR non déterminé ,