Go to transaction after user clicks on report.
Hello experts,
Our users want that when they click on the report output, they want to go to a particular
transaction in this case transaction AW01N(Asset Explorer) to see the values of that asset.
So what I want to do is that I would make the assets displayed in the report to be a hotspot
and when the users click on them it would call the AW01N and fill in the company code and asset. How do I do this guys?
Thanks a lot!
while displaying your internal table use HIDE to store the value of the field which user selects.
LOOP AT ITAB.
write :/ itab1-f1,itab-f2...
hide itab-f1.
endloop.
when ever user selects that value will come into ITAB-F1 field.
then use
AT LINE SELECTION EVENT,
to trigger that transaction
for that first you have to populate Company code & asset no of that transaction initial screen with the user selected values. for that what you have to do is send these values to memory using
SET PARAMETER ID 'BUK' FIELD itab-bukrs
SET PARAMETER ID 'AN1' FIELD itab-ASSETNO
then
use CALL TRANSACTION 'code'....
Regards
Srikanth
Message was edited by: Srikanth Kidambi
Similar Messages
-
Image resizing after user clicking on it
Hej,
Im new to flash. Id like to create image resizing feature.
After user clicking or pointing on it the image should become
bigger. I was looking for some tutorial but couldnt find any.
Can anyone help?Any tip, tutorial, actionscript?
Regards,
NinaHi,
Do other users still work well?
Locate to Services, find Print Spooler service and check if its startup type is set as Automatic.
Have you cleared and reset your print spooler?
Open Services, and stop the Print Spooler service.
Navigate to the folder below, and open the PRINTERS.
C:\Windows\system32\spool\PRINTERS
Delete all files in the PRINTERS folder until it is empty,
Re-start the Print Spooler service
Andy Altmann
TechNet Community Support -
Need to retain the screen input after user clicks BACK
Hi,
I have a report program in HR, using LDB "PNP" and Report category : PSSPCDOC.
After the program is executed and the report is displayed on screen, if the user clicks the BACK button (F3), the selection screen is displayed with initial values. The input values provided by the user previously get lost.
I debugged and it seems that the memory gets cleared everytime the BACK button is clicked.
But i want to retain the user inputs on the selection screen if the user clicks the BACK button because the user wants to change some selection inputs not all.
I am new to HR module, please let me know how to solve this issue.Hi,
In your screen in the application bar,the right most button is a coloured monitor kind of icon, next to the Help icon (which is a white question mark in a yellow circle) ,click on this monitor icon ,then under the Local Data tab there is a History Block, select radio button History ON.
I hope it helps.
Regards,
Shraddha -
How to cancelling email submission after user clicks "yes/no" button of message box?
could some one tell me, how can i cancelling the submission event after one user clicks "yes/no" button of message box? The scenario is the following:
After data input in a dynamic form clicks the user send mail button. Before the email submit, the user has to decide going back to the form and validate the input or continuing to submit email.
In case of going back to validate input the submission event must not solve. So, how can i implemente it in java and/or form calc script?
Thanks so much for your help in advance and i am very glad to hearing from you soon!
DjingesHello,
The most easy way to solve your problem is to add two buttons, the first should be regular button and the second is submit by e-mail one. Set the
'presence' property of the second to 'hidden' and add to it your email address. To the first button on 'click' event add the script like this
form1.#subform[0].Button1::click - (JavaScript, client)
var answer = xfa.host.messageBox("Send e-mail?","e-mail",2,1);
if(answer==1){
EmailSubmitButton1.execEvent('click');
Hope this helps. -
Forced Navigation - Want the next button to display after user clicks on all buttons.
Hi. I'm new to using Captivate to make a learning module. I'm stuck on this forced navigation issue. I created 8 click boxes that the users have to click on. I created 9 advanced actions. Each AA for the click boxes hides text boxes that don't pertain to it, shows a text box, plays audio, and assigns a number 1 to a variable I created. There are 8 variables. I then created an conditional AA that displays the next button once all 8 variables have the number 1 assigned to it.
For some reason, the next button doesn't display even though I'm sure each variable has the number 1 assigned to it. Also, I want the entire audio to play for the click box before the person can click on the next click box. Right now, I can click on a click box and then another click box right afterwards and the audio stops and the next audio starts. Can you all please help?
I am using Captivate 6.0.0.199. My computer is running Windows 7. I want the output to be SWF. Thank you in advance for your help!First of all, install the patch, you are still on the unpatched version that had a lot of bugs. Almost one year ago a fix was released, your version should be 6.0.1.240. Use Help, Updates.
The difficult part will be the audio, the other part should be very easy, have explained that a lot of times. You could disable all click boxes, but then you need a new event to trigger the 'enable' action. Is it that important? Are those users not wise enough to listen to the audio, or is that audio not interesting enough? Why not instruct them about listening?
I suppose you use the Play Audio statement, and indeed, when you trigger another audio clip the previous one will be stopping. You could attach the audio to an 'invisible' object, and make that visible which will play the audio. But that will cause another issue if the user clicks too quickly on a second click box: both audio will play at the same time.
Lilybiri -
How to regenerate additional rows after user clicks enter?
Hi all,
I am outputing the data through internal table(contains two fields 'Country' and 'Test')using ALV Classes.
My requirement is user can add another row.And
after appending another row user will enter country(say India) against the country
field and clicks enter.Then the program has to fetch all the tests(say 'test1' and 'test2' are there
for India) described for India from the database table and refresh the screen
with this additonal 2 rows(India, Test1 and India,Test2).
Can anyone please let me know how to do it?Remember I am using ALV Classes.
Thanks,
Balaji.Hello Balaji
I would use a simplified approach by storing the PBO output before displaying the editable ALV list. As soon as the user wants to save the data (enter 'SAVE' in command window) the report compares the PBO data with the current PAI data.
To see the effect simply add a single row as previously described (resulting in three new rows) and delete two other rows. Inserted and deleted rows will be displayed afterwards.
*& Report ZUS_SDN_ALVGRID_EDITABLE_7
REPORT zus_sdn_alvgrid_editable_7.
TYPE-POOLS: abap.
INCLUDE <icon>. " NOTE: replace by TYPE-POOLS: icon. on >= 6.20
DATA:
gd_repid TYPE syrepid,
gd_okcode TYPE sy-ucomm,
gs_layout TYPE lvc_s_layo,
gt_fcat TYPE lvc_t_fcat,
go_docking TYPE REF TO cl_gui_docking_container,
go_grid TYPE REF TO cl_gui_alv_grid.
TYPES: BEGIN OF ty_s_outtab.
INCLUDE TYPE knb1.
TYPES: END OF ty_s_outtab.
TYPES: ty_t_outtab TYPE STANDARD TABLE OF ty_s_outtab
WITH DEFAULT KEY.
DATA:
gt_outtab TYPE ty_t_outtab,
gt_outtab_pbo TYPE ty_t_outtab.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_data_changed
FOR EVENT data_changed OF cl_gui_alv_grid
IMPORTING
er_data_changed
e_onf4
e_onf4_before
e_onf4_after
e_ucomm
sender,
handle_data_changed_finished
FOR EVENT data_changed_finished OF cl_gui_alv_grid
IMPORTING
e_modified
et_good_cells,
handle_user_command
FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING
e_ucomm,
handle_toolbar
FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING
e_object
e_interactive.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_data_changed.
* define local data
** cl_gui_cfw=>set_new_ok_code( 'REFRESH' ). " not possible on 4.6c
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'REFRESH'
* IMPORTING
* RC =
ENDMETHOD. "handle_data_changed
METHOD handle_data_changed_finished.
* define local data
DATA:
ls_outtab TYPE ty_s_outtab,
ls_cell TYPE lvc_s_modi.
ENDMETHOD. "handle_data_changed_finished
METHOD handle_user_command.
ENDMETHOD. "handle_user_command
METHOD handle_toolbar.
* define local data
DATA:
ls_button TYPE stb_button.
ls_button-function = 'DEFAULT'.
ls_button-icon = icon_mass_change.
ls_button-quickinfo = 'Set default value for column'.
APPEND ls_button TO e_object->mt_toolbar.
ENDMETHOD. "handle_toolbar
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
SELECT * FROM knb1 INTO TABLE gt_outtab UP TO 20 ROWS
WHERE bukrs = '1000'.
gt_outtab_pbo = gt_outtab. " store PBO data
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
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.
* Create ALV grid
CREATE OBJECT go_grid
EXPORTING
i_parent = go_docking
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Build fieldcatalog
PERFORM build_fieldcatalog.
PERFORM set_layout.
SET HANDLER:
lcl_eventhandler=>handle_toolbar FOR go_grid,
lcl_eventhandler=>handle_data_changed FOR go_grid,
lcl_eventhandler=>handle_data_changed_finished FOR go_grid.
* Display data
CALL METHOD go_grid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
CHANGING
it_outtab = gt_outtab
it_fieldcatalog = gt_fcat
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
go_grid->set_toolbar_interactive( ).
CALL METHOD go_grid->register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=>mc_evt_enter
EXCEPTIONS
error = 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.
* Link the docking container to the target dynpro
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* ok-code field = GD_OKCODE
CALL SCREEN '0100'.
* Flow logic (no elements on screen):
* PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
* PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'.
* SET TITLEBAR 'xxx'.
CALL METHOD go_grid->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
EXCEPTIONS
finished = 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.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
TRANSLATE gd_okcode TO UPPER CASE.
* Fetch changes on ALV grid
go_grid->check_changed_data( ).
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN 'REFRESH'.
PERFORM refresh_outtab.
WHEN 'SAVE'.
PERFORM save_data.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form BUILD_FIELDCATALOG_KNB1
* text
* --> p1 text
* <-- p2 text
FORM build_fieldcatalog .
* define local data
DATA:
ls_fcat TYPE lvc_s_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
* I_BUFFER_ACTIVE =
i_structure_name = 'KNB1'
* I_CLIENT_NEVER_DISPLAY = 'X'
* I_BYPASSING_BUFFER =
* I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
" Set required fields editable
LOOP AT gt_fcat INTO ls_fcat
WHERE ( fieldname = 'ZUAWA' OR
fieldname = 'BUSAB' ).
ls_fcat-edit = abap_true.
MODIFY gt_fcat FROM ls_fcat.
ENDLOOP.
DELETE gt_fcat WHERE ( fieldname = 'ZINRT' ).
ENDFORM. " BUILD_FIELDCATALOG
*& Form SET_LAYOUT
* text
* --> p1 text
* <-- p2 text
FORM set_layout .
CLEAR: gs_layout.
gs_layout-cwidth_opt = abap_true.
gs_layout-zebra = abap_true.
** gs_layout-stylefname = 'CELLTAB'.
ENDFORM. " SET_LAYOUT
*& Form REFRESH_OUTTAB
* text
* --> p1 text
* <-- p2 text
FORM refresh_outtab .
* define local data
DATA:
ld_idx TYPE i,
ls_outtab TYPE ty_s_outtab,
ls_tmp TYPE ty_s_outtab,
lt_tmp TYPE ty_t_outtab.
" Simulate selection of data depending on value of ZUAWA
ls_tmp-zuawa = '003'.
ls_tmp-busab = 'K1'. APPEND ls_tmp TO lt_tmp.
ls_tmp-busab = 'K2'. APPEND ls_tmp TO lt_tmp.
ls_tmp-busab = 'K3'. APPEND ls_tmp TO lt_tmp.
LOOP AT gt_outtab INTO ls_outtab
WHERE ( zuawa = '003'
AND busab IS INITIAL ).
ld_idx = syst-tabix.
LOOP AT lt_tmp INTO ls_tmp.
ls_outtab-busab = ls_tmp-busab.
IF ( syst-tabix = 1 ).
MODIFY gt_outtab FROM ls_outtab INDEX ld_idx.
ELSE.
APPEND ls_outtab TO gt_outtab.
ENDIF.
ENDLOOP.
ENDLOOP.
ENDFORM. " REFRESH_OUTTAB
*& Form SAVE_DATA
* text
* --> p1 text
* <-- p2 text
FORM save_data .
* define local data
DATA:
ls_outtab TYPE ty_s_outtab,
ls_pbo TYPE ty_s_outtab,
lt_insert TYPE ty_t_outtab,
lt_delete TYPE ty_t_outtab.
" Compare PBO with PAI -> find deleted records
LOOP AT gt_outtab_pbo INTO ls_pbo.
READ TABLE gt_outtab INTO ls_outtab
WITH KEY table_line = ls_pbo.
IF ( syst-subrc NE 0 ).
APPEND ls_outtab TO lt_delete.
ENDIF.
ENDLOOP.
" Compare PAI with PBO data -> find new records
LOOP AT gt_outtab INTO ls_outtab.
READ TABLE gt_outtab_pbo INTO ls_pbo
WITH KEY table_line = ls_outtab.
IF ( syst-subrc NE 0 ).
APPEND ls_outtab TO lt_insert.
ENDIF.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_structure_name = 'KNB1'
i_grid_title = 'New Records'
TABLES
t_outtab = lt_insert
EXCEPTIONS
program_error = 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.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_structure_name = 'KNB1'
i_grid_title = 'Deleted Records'
TABLES
t_outtab = lt_delete
EXCEPTIONS
program_error = 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.
gt_outtab_pbo = gt_outtab. " do not forget !!!
ENDFORM. " SAVE_DATA
Regards
Uwe -
Trying to fix - Acrobat won't close after user clicks attach and then emails.
I'm totally stumped, so any input may help. Here' s the scenario... User creates/opens PDF. They then go to either attach dialog which then opens Outlook email dialog. They finish emailing the attachment and switch back to the Adobe window to close it. Upon clicking the usual red "X" on Windows 7, nothing happens. Alt-F4 doesn't work neither, neither does Ctrl-W to close the document. Adobe isn't really "frozen" because I can go to File->Properties just fine and the dialog opens. It seems to be isolated to closing the app.
Update: It only happens after sending and the outlook window autocloses. I don't think Acrobat is aware of the email window closing, but is waiting for it to close. I tried to close the Adobe window while the new email window was still there and Adobe kicks me back to it. If I close the email and don't send then I can close Adobe. If I send, and the window autocloses, then Adobe window will not let me close.
10.1.6 Seems working on another system. Is there a way to roll back?
Windows 7
Acrobat 10.1.9.22Try giving your iPad a reset. Hold down the sleep and home keys for about 20 seconds. When you see the silver apple, let go and let it reboot and try again.
How are you charging it? its's best charged plugged into the wall not via USB. So if you're trying via USB, try using the supplied power block plugged into the wall. -
Refresh alv grid after user clicks f4( value-request)
Hello Experts,
I am currently developing a module pool program wherein after the user selects a value via f4(value request),
my ALV grid(using custom control) should be refreshed to show the new records selected based
on the f4 value. How can this be achieved?
thank you guys and take care!Did you try a CALL METHOD [cl_gui_cfw=>set_new_ok_code|http://help.sap.com/saphelp_sm32/helpdata/en/06/3fa1b79f2811d2bd68080009b4534c/frameset.htm] and [=>flush|http://help.sap.com/saphelp_sm32/helpdata/EN/06/3fa1879f2811d2bd68080009b4534c/content.htm] in the POV section or in event onF4 handler method to force execution of PAI (either it works either it dumps)
Regards,
Raymond -
Click a report button to change a report field value
Hello All,
I need to create a report where when a user clicks a report button its image changes and a field relating to that record also changes from "N" to "Y"
I had a look at this Denes's example located on this link
http://htmldb.oracle.com/pls/otn/f?p=31517:133:7078361971556070::NO
The only thing lacking here is the ability to change a record field when the user click the image.
Would it be possible to change the record field value when the function is called ?
Hope this makes sense
FrankHi Jing,
I don't think it is easy, here is a sample that allows you to choose the page size and orientation (which are different master pages), Adobe LiveCycle Designer Cookbooks by BR001: Season Planner (or Year Planner) PDF Template
It effectively defines the form against each master page and recalculates the widths and heights when the page selected is made, but I don't know of another way.
Regards
Bruce -
How to make a category highlighted after it clicked
Hi there! Just want to know how to make a category highlighted after user click on it, so he will able to track on which category he is currently on?
I've already created 3 categories (links) through creating library elements, I already have the hover effect I made through CSS external stylesheet, everything works, but the category is not highlighted when I browse within it.
Here is my HTML code of these 3 links:
<td bgcolor="#663300"><!-- #BeginLibraryItem "/Library/Top_links.lbi" -->
<div align="right" class="link"><a href="index.html">Home</a> <a href="Accessories.html">Accessories</a> <a href="Contact Us.html">Contact Us</a> </div>
<!-- #EndLibraryItem --></td>
And here is my CSS code for these links:
.link, .link a:link, .link a:visited, .link a:active {
font-family: "Times New Roman", Times, serif;
font-size: 18px;
font-weight: normal;
color: #FFFF33;
text-decoration: none;
padding: 5px;
#home: color:#00FFFF;
.link a:hover {
font-family: "Times New Roman", Times, serif;
font-size: 18px;
font-weight: normal;
color:#FF0000;
text-decoration: none;
So how to make the active link highlighted when browsing within it??
Thank youMy pages are offline in developing stage, can't give you an URL.
Here is my HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>untitled</title>
<link href="css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
</head>
<body class="home">
<table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#663709"><!-- #BeginLibraryItem "/Library/Top_links.lbi" -->
<div align="right" class="link"><a class="home" href="index.html">Home</a> <a href="Accessories.html">Accessories</a> <a href="Contact Us.html">Contact Us</a> </div>
<!-- #EndLibraryItem --></td>
</tr>
And here is my CSS:
body {
background-image: none;
background-color: #2d2625;
body,td,th {
.link, .link a:link, .link a:visited, .link a:active {
font-family: "Times New Roman", Times, serif;
font-size: 18px;
font-weight: normal;
color: #FFFF33;
text-decoration: none;
padding: 5px;
#home: color:#00FFFF;
.link a:hover {
font-family: "Times New Roman", Times, serif;
font-size: 18px;
font-weight: normal;
color:#FF0000;
text-decoration: none;
What should I modify? -
Stop the report from firing until the user clicks the Go button?
Hi All,
Is there a way to stop the report from firing until the user clicks the Go button? At the moment it is populating when I open the dashboard page. I found something online that said i could use the Page Options>Save Current Settings> For Others.. but even though i am signed in as an administrator i only see a For Me.. option. Also, even after setting this option i would like to be able to hit the 'Go' button to run the report and have it uncollapse the section. Is this possible?
ThanksThanks for the replies,
In my report i am trying to constrain the report to todays data only. However the only prompt i have is for another column. If i place a filter on the date column with Year=0000 it will not change with the prompt selection and so will never return any results. Is there any other way?
It seems wasteful to fire a request to the database onload of the page. Is there an option to only fire a request what the prompts are entered? I will be using a stored proc which needs parameters to run the request so it would be good to be able to set the report to not run until it has parameters entered
Thanks -
Export Report to PDF after user has entered parameters
Hi All,
I have a problem exporting a report to PDF using "ReportExportControl" after a user has entered parameters, instead of showing the download prompt, it displays the report using the parameters as if it was using "CrystalReportViewer"
If I program the input fields using "ParameterFieldController" then the exporter works as expected.
Is there anything in particular needed in order to export a report with user inputted parameters?
Thanks in advance.
MichaelHi Ted, thanks for your reply,
What I am seeing at the moment is as follows
The report requires parameters from the user in order to generate the report, and a webpage asking the user to inputs is shown, the same one that is shown by "CrystalReportViewer" function, once the user has inputted the parameters they click the "OK" button and the report generates on screen, using the parameters entered, behaving like "CrystalReportViewer" function, what I need is once the user click "OK" it will prompt for download as attachment, which is not happening.
For your suggestion, I already have that coded and its still not working, Please find my code attached
// Create a exporter object
ReportExportControl exportControl = new ReportExportControl();
exportControl.setReportSource(clientDoc.getReportSource());
// Exporter Options
ExportOptions exportOptions = new ExportOptions();
exportControl.setExportOptions(exportOptions);
exportControl.setExportAsAttachment(true);
exportOptions.setExportFormatType(ReportExportFormat.PDF);
// Process the http request to export the report
exportControl.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
// Dispose of the exporter object
exportControl.dispose();
with the above code the report will display on screen, but if i include this before the code
//Use the ParameterFieldController to pass parameter values to the report
ParameterFieldController paramController;
paramController = clientDoc.getDataDefController().getParameterFieldController();
paramController.setCurrentValue("", "Parameter name", Val);
the report doesnt show the input screen and generates as attachment
Hope this makes my situation abit clearer
Thanks and regards
Michael -
I am trying to make an in-app purchase, and it will not let the trasaction go through after I click "buy." How do I fix this?
By 'not letting the transaction go through' you mean ... ?
If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help (we are fellow users here on these forums, we won't know why the message is appearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
If it's a different problem ... ? -
Pause for user click missing after Seamless Tabbing fix.
I am upgrading a project from Captivate 5.0 to 5.5. Two of the lessons that worked fine in 5.0 have problems in 5.5. Both lessons use the Tab key to move from field to field in a data row and then the Enter key to calculate at the end of the row. This worked fine in 5.0. In 5.5, pressing Tab caused jump to browser address window. I searched blog and found following solution to add: so.addParam(seamlessTabbing:, :false:); to the htm file generated when publishing the file. This is not a desirable solution for long term course maintenance, but it did work. Unfortunately a new problem then appeared. The project moved ahead without waiting for user input in the simulation exercises.
For slides with click boxes using Tab shortcut key and no other interactive objects, the movie just skipped ahead without waiting for user click. I would like the project to pause until the user presses the Tab key and then move to the next slide. The properties for the click boxes are:
Action:
On success: Go to the next slide
Attempts: Infinite
Allow mouse click - yes
Shortcut: Tab
Options:
Captions: Failure only
Others: Pause for Success/Failure Captions and Pause project until user clicks
Timing:
Display for: Rest of slide
Appear after 0 seconds (I have played around with this setting, but it does not seem to make a difference.)
For slides with Text Entry, the failure captions display before the user has a chance to input anything. Sometimes the captions flash several times at random. I would like the failure captions to only display when the user enters an answer that does not match the stored answers. The properties for the text entry boxes are:
General:
Default text: blank
Retain Text - checked
Validate User Input - checked
Var Associated: Text Entry Box ## (## changes from slide to slide)
On Focus Lost: No action
Action:
On Success: Go to the next slide
Attempts: Infinite
Shortcut: Tab
Options:
Captions: Failure only
Others: Pause for Success/Failure Captions
Timing:
Display For: Rest of slide
Appear after: 0.5 sec.
Pause After: 1 sec
Transition: No Transition
To test whether it was something I was doing in the editing, I went back to the original 5.0 version of the lesson and imported into 5.5 again and published without doing any editing. The lessons that worked fine in 5.0 did not work in 5.5. Then I tried replacing all the click boxes with new ones created in 5.5. That did not work. I tried adjusting the timing. That did not work. For the text entry boxes, I tried using Show Button, creating transparent button with Tab shortcut. That did not work. Several of these suggestions were ones that I found elsewhere in the Blog with similar but not identical problems. I never found a problem that combined the seamlessTabbing with the missed pauses.
I am puzzled and frustrated that these lessons that worked fine in 5.0 don't work in 5.5. Our primary edit is only to update the screen images and add a few new fields. I would often reposition an object on the slide, but not change its properties. Since most of the lessons are working fine in 5.5 and only these two that heavily use the Tab key are not working in 5.5. I don't really have the option of going back to 5.0. I need to put them in an aggregator and they all need to be the same version.
Is there a patch or a quick fix? Also, can the patch to the htm file be built in or is that what is causing the problem? For future course maintenance, it will be complicated to have to treat these two lessons specially. Also, we usually link to the swf file and not the htm file. Our users often use browsers other than Internet Explorer.
Any suggestions? Thanks in advance.It would seem Intego Virus Barrier X6 has an intermittent habit of putting the IP address of Apple TV into the Blocked Addresses list despite having checked the 'Trust Apple TV' box and inputting the address into the Trusted Addresses list. Over the course of less than a year this has occurred approximately 4 times to me. My last variation on getting to the root of the problem was to lock the settings with the padlock. I will monitor the situation and should it happen one more time will notify Intego of this 'bug'.
-
Report or table Customer have no transactions after creation
Hi Friends,
We have around 1500 customers in the system. Is there any standard report which we know that customers have no transactions after creation or we extract the data from table.
Thanks & Regards,
PankajPlease do V look up in the excel between original customer list and BSID and BSAD customer list.
There is one transaction but it'll show the accounts with out sales S_ALR_87012186 - Customer Sales
Rgds
Murali. N
Maybe you are looking for
-
How do you stop mobile sites from loading in safari automatically on my iPad? I can't log into mobile me because of this.
-
Mail and iPhoto ... Photos always get sent small
Emailing from iPhoto using Mail ... I have a problem in that when I want to email or share photos ... despite choosing to send actual sized photos ... eg 1.8Mb for 3 photos ... when I go to compose and then send, they only get sent as small 30k image
-
Most aperture photos not showing in media browser
I have Aperture 1.5 and I can view all of my albums from the media browser, but when I click on an album, most of the thumbnails are exclamation points and they wont drag into any pages documents. Some photos in the albums show up and they go into my
-
There seems to be a problem with the display resolution with a G4 running OS 10.3.9. Everything appears to big on m screen, but there's only one resolution available in the Display area of system preferences. Is there anything I can do to change this
-
How to remove frame from numeric indicator? I tried in "Modern" but cannot get rid of the frame. There is "System" indicator but I cannot change the background color to match vi's background. Any ideas? I put picture of what I need. Thanks, Zoran S