Regarding Hyperlink
I want to achieve Drill Down task in Oracle Report for this purpose I define the hyperlink in master report when user click on hyperlink the detail report of particular item is displayed.
The problem is that when user navigate to that item where hyperlink is defined then this item show the whole hyperlink text as a tool tip including username & password. How can I hide this tool tip.
I don't want to define username & password in hyperlink. I have already write this code in detail report "AFTER-PARAMFORM" trigger
Srw.Do_Sql('Alter Session Set Current_Schema = SCOTT');
But when detail report is open by hyperlink when username & password not define in hyperlink it gave error
Srw.Do_Sql Failure
Not Logged On
The hyperlink text without username & password is
http://webserver.domain:8888/reports/rwservlet?+report=D:\dept_hyperlink.rdf+destype=cache+desformat=Pdf+P_Item=&Item
The hyperlink text with username & password is
http://webserver.domain:8888/reports/rwservlet?userid=scott/tiger@srv+report=D:\dept_hyperlink.rdf+destype=cache+desformat=Pdf+P_Item=&Item
Please advise
Regards
Fahed AKhter
Hello,
The best solutiuon when using "master" / "details" Reports on the WEB in HTML / HTMLCSS is to use the cookie generated by the Reports Servlet.
Call the Master Reports with an "incomplete" userid :
EX: http://webserver.domain:8888/reports/rwservlet?report=D:\dept_hyperlink.rdf+destype=cache+desformat=Pdf+P_Item=&Item+userid=scott@srv
A "Database Authentication" page will be displayed. When this page will be submitted, a cookie will be returned to teh browser.
For the hyperlink in the Reports, just use a syntax like :
http://webserver.domain:8888/reports/rwservlet?report=D:\dept_hyperlink.rdf+destype=cache+desformat=Pdf+P_Item=&Item+userid=
the cookie will be automatically used by the Servlet and the "Details" Reports will be executed with the same "DB user" than the "Master Reports"
regards
Similar Messages
-
RoboHelp 8 HTML - Open Hyperlinks in a New Browser Window
[email protected]
Hi all,
I’m new to the RoboHelp community and have an issue I have not yet seen addressed elsewhere in the forums. I’m working in RoboHelp 8 HTML and am generating webhelp. My question is regarding hyperlink options. The option for open in a new window opens topics and links in a new tab. Is there a method, hacking or otherwise, for having the links open in a new browser window?
Much thanks in advance.Hi,
Welcome to Adobe forum,
As I understand you are trying to open the hyperlinks in a new window instead of a tab.
Well it is possible in Robohelp 8 HTML
Here are the steps which you need to follow.
1. Select the text Right click on it and then select Insert Hyperlink.
Once you click on the Insert Hyperlink another Popup window will appear in your screen.
You need to check this screenshot and select the appropriate option.
Try and generate the Webhelp and see if that helps you,
I hope that will resolve your issue.Please reply if that resolves your issue.
Thanks
Priyank -
Pdf watermark, positioning help
I've recently been playing around with the idea of automatically updating pdf's that are submitted to our website with our web address. Idealy the text would be a clickable link that is centered and positioned at the very top of the page (although im not quite sure if the clickable link part is even possible with cfpdf or itext). I've been able to add watermarks using both cfpdf and itext, but the watermarks always seem to be pushed down almost an inch from the top of the page and i need the watermark to be at the very top of the page so that it doesn't interfere with the other text (even though the watermark has an opacity of 85%). I'm looking for suggestions on how i can:
A. position the text/watermark at the very top of the page.
B. make the text a clickable link.
Any help is greatly appreciated!
Thanks!jcdev01 wrote:
but the watermarks always seem to be pushed down almost an inch from the top of the page
It sounds like your positioning is off. Can you post the code you are using to position the watermark?
Regarding hyperlinks, you can use an Anchor object to add a hyperlink to an existing pdf.
http://itextdocs.lowagie.com/tutorial/objects/anchors/index.php -
When I use AOL mail in Firefox, the font size switches between 10, 11, and 12 without my changing anything. Does anybody know how to fix this problem? It works fine in other browsers. Also, is there a way in Firefox to make copied and pasted URLs automatically format as hyperlinks?
Do you mean the font size changes as you are typing a message, reply, or forward?
A user reported this problem on a different mail site, that sometimes after pressing Enter, the next paragraph would use a larger font size. I don't think we discovered the reason for that at the time, but the workaround was to use Shift+Enter to create a line break instead of pressing Enter. (This adds a line break into the current paragraph instead of starting a new paragraph.)
Regarding hyperlinks, some mail sites detect and "linkify" them automatically, either in real time or if you save the message as a draft or when you send them. If AOL's site does not have that feature for Firefox users, then unfortunately you will need to use a button to insert the URL as a clickable link. I don't use AOL, but the way this works on other sites is that there is an icon which typically looks like 2 links of a chain, you click that, paste the URL, then click Insert or OK to insert the link into the message. -
Turn long url list into active links
I have a long list of complete internet addresses (URLs) and I want them all to be Hyperlinks but don't want to specify each one separately (It would take forever. Is there any way for Pages to turn these text URLs into links?
Hello there, stockybobby.
The following link to the Pages Help for Mac provides some great information regarding hyperlinks:
Create links for websites and email addresses - Pages Help for Mac
http://help.apple.com/pages/mac/5.2/#/tand51db403
Create links for websites and email addresses
Pages automatically detects website addresses (URLs) and email addresses you type and formats them as active links. You can edit these links or deactivate them so that they appear and behave as normal text.
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
Regarding Forms Look & Fell 1.3.8 (Hyperlink in sigle line text item PJC)
I am using single line text item PJC in my form. I have a tabular block in which one text item implementation calss property is set to "oracle.forms.fd.LAF_XP_TextField".
Following code is written on when-timer-expire code
If lower(Get_Application_Property( TIMER_NAME )) = 'laf_timer' Then
Set_Custom_Property( 'CTRL.BEAN', 1, 'SEARCH_TEXT_ITEMS','') ;
Set_Custom_Property( 'FIN_ORD.ORD', 1, 'ENABLE_EVENTS', 'fin_ord.ord,true' ) ;
Set_Custom_Property( 'FIN_ORD.ORD' , 1, 'SET_HYPER_LINK', 'ORD');
End If;
When form run & after data execution only first record textbox show the hyperlink but no other textbox shows hyperlink except then first record.
Please guide.Hello,
Please, ask questions concerning the LAF on the dedicated email : [email protected]
In you case, it is a generic issue using the Set_Custom_Property() built-in. If you want to set the property on every record, use the ALL_ROWS keyword in place of second argument.
Regards,
Francois
Edited by: Francois Degrelle on Jun 29, 2009 3:02 PM -
The hyperlinks are recognized by other browsers, except Firefox. A simple fix would be for any webmaster to make sure the full hyperlink is written, but that would be inclusion just for Firefox users. Simply put, Firefox should still be able to work like a DOS batch file linking files on the same directory viewed in this manner, but fails to.
That is an MS Office document and everything on that page is a image as you can see in Tools > Page Info > Media and Firefox/Tools > Web Developer > Page Source
If you used MS software then make sure that you disable VML if you save that page because only IE can display pages with VML
You can look at KompoZer for an HTML editor that generates W3C compliant code.
* http://kompozer.net/ -
Regarding making hyperlink in OOPs ALV
Please see the following ALV Code. Its based on OOPs. There is no fieldcatalog defined in the program. In the output I want to make a hotspot on the filed VBELN & want to call T.code VA03 using SET PARAMETER ID. Please help. If I would have made it through Function Modules, It could have been easier as I can modify the fieldcatalog. Please help me urgently. Points will be rewarded.
*& Report ZTEST_OOPS_REPT1 *
REPORT ztest_oops_rept1 .
Type pool for icons - used in the toolbar
TYPE-POOLS: icon.
TYPE-POOLS: slis.
TABLES: vbak.
To allow the declaration of o_event_receiver before the
lcl_event_receiver class is defined, decale it as deferred in the
start of the program
CLASS lcl_event_receiver DEFINITION DEFERRED.
G L O B A L I N T E R N A L T A B L E S
*DATA: gi_sflight TYPE STANDARD TABLE OF sflight.
To include a traffic light and/or color a line the structure of the
table must include fields for the traffic light and/or the color
TYPES: BEGIN OF st_vbak.
INCLUDE STRUCTURE vbak.
TYPES: END OF st_vbak.
TYPES: tt_vbak TYPE STANDARD TABLE OF st_vbak.
DATA: gi_vbak TYPE tt_vbak.
*declaration for fieldcatalog
DATA: lit_fieldcat TYPE slis_t_fieldcat_alv,
ls_fieldcat TYPE slis_fieldcat_alv.
G L O B A L D A T A
DATA: ok_code LIKE sy-ucomm,
Work area for internal table
g_wa_vbak TYPE st_vbak,
ALV control: Layout structure
gs_layout TYPE lvc_s_layo.
Declare reference variables to the ALV grid and the container
DATA:
go_grid TYPE REF TO cl_gui_alv_grid,
go_custom_container TYPE REF TO cl_gui_custom_container,
o_event_receiver TYPE REF TO lcl_event_receiver.
DATA:
Work area for screen 200
g_screen200 LIKE vbak.
Data for storing information about selected rows in the grid
DATA:
Internal table
gi_index_rows TYPE lvc_t_row,
Information about 1 row
g_selected_row LIKE lvc_s_row.
SELECTION-SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK ch1 WITH FRAME.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln OBLIGATORY.
SELECTION-SCREEN END OF BLOCK ch1.
C L A S S E S
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS:
handle_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING
e_object e_interactive,
handle_user_command FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING e_ucomm.
ENDCLASS. "lcl_event_receiver DEFINITION
CLASS lcl_event_receiver IMPLEMENTATION
CLASS lcl_event_receiver IMPLEMENTATION.
METHOD handle_toolbar.
Event handler method for event toolbar.
CONSTANTS:
Constants for button type
c_button_normal TYPE i VALUE 0,
c_menu_and_default_button TYPE i VALUE 1,
c_menu TYPE i VALUE 2,
c_separator TYPE i VALUE 3,
c_radio_button TYPE i VALUE 4,
c_checkbox TYPE i VALUE 5,
c_menu_entry TYPE i VALUE 6.
DATA:
ls_toolbar TYPE stb_button.
Append seperator to the normal toolbar
CLEAR ls_toolbar.
MOVE c_separator TO ls_toolbar-butn_type..
APPEND ls_toolbar TO e_object->mt_toolbar.
Append a new button that to the toolbar. Use E_OBJECT of
event toolbar. E_OBJECT is of type CL_ALV_EVENT_TOOLBAR_SET.
This class has one attribute MT_TOOLBAR which is of table type
TTB_BUTTON. The structure is STB_BUTTON
CLEAR ls_toolbar.
MOVE 'CHANGE' TO ls_toolbar-function.
MOVE icon_change TO ls_toolbar-icon.
MOVE 'Change flight' TO ls_toolbar-quickinfo.
MOVE 'Change' TO ls_toolbar-text.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
ENDMETHOD. "handle_toolbar
METHOD handle_user_command.
Handle own functions defined in the toolbar
CASE e_ucomm.
WHEN 'CHANGE'.
PERFORM change_flight.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMETHOD. "handle_user_command
ENDCLASS. "lcl_event_receiver IMPLEMENTATION
S T A R T - O F - S E L E C T I O N.
START-OF-SELECTION.
SET SCREEN '100'.
*& Module USER_COMMAND_0100 INPUT
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module STATUS_0100 OUTPUT
MODULE status_0100 OUTPUT.
SET PF-STATUS 'ZTEST_ALV'.
SET TITLEBAR 'ZTEST_ALV'.
DATA:
For parameter IS_VARIANT that is sued to set up options for storing
the grid layout as a variant in method set_table_for_first_display
l_layout TYPE disvariant,
Utillity field
l_lines TYPE i.
After returning from screen 200 the line that was selected before
going to screen 200, should be selected again. The table gi_index_rows
was the output table from the GET_SELECTED_ROWS method in form
CHANGE_FLIGHT
DESCRIBE TABLE gi_index_rows LINES l_lines.
IF l_lines > 0.
CALL METHOD go_grid->set_selected_rows
EXPORTING
it_index_rows = gi_index_rows.
CALL METHOD cl_gui_cfw=>flush.
REFRESH gi_index_rows.
ENDIF.
Read data and create objects
IF go_custom_container IS INITIAL.
Read data from datbase table
PERFORM get_data.
Create objects for container and ALV grid
CREATE OBJECT go_custom_container
EXPORTING container_name = 'ALV_CONTAINER'.
CREATE OBJECT go_grid
EXPORTING
i_parent = go_custom_container.
Create object for event_receiver class
and set handlers
CREATE OBJECT o_event_receiver.
SET HANDLER o_event_receiver->handle_user_command FOR go_grid.
SET HANDLER o_event_receiver->handle_toolbar FOR go_grid.
Layout (Variant) for ALV grid
l_layout-report = sy-repid. "Layout fo report
Setup the grid layout using a variable of structure lvc_s_layo
Set grid title
gs_layout-grid_title = 'SALES ORDER'.
Selection mode - Single row without buttons
(This is the default mode
gs_layout-sel_mode = 'B'. "B for single selection.
Grid setup for first display
CALL METHOD go_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'VBAK'
is_variant = l_layout
i_save = 'A'
is_layout = gs_layout
CHANGING
it_outtab = gi_vbak.
*-- End of grid setup -
Raise event toolbar to show the modified toolbar
CALL METHOD go_grid->set_toolbar_interactive.
Set focus to the grid. This is not necessary in this
example as there is only one control on the screen
CALL METHOD cl_gui_control=>set_focus
EXPORTING
control = go_grid.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0200 INPUT
text
MODULE user_command_0200 INPUT.
CASE ok_code.
WHEN 'BACK'.
LEAVE TO SCREEN 100.
WHEN'SAVE'.
PERFORM save_changes.
ENDCASE.
ENDMODULE. " USER_COMMAND_0200 INPUT
*& Form get_data
text
FORM get_data.
Read data from table VBAK
SELECT *
FROM vbak
INTO TABLE gi_vbak
WHERE vbeln IN s_vbeln.
ENDFORM. " load_data_into_grid
*& Form change_flight
Reads the contents of the selected row in the grid, ans transfers
the data to screen 200, where it can be changed and saved.
FORM change_flight.
DATA:l_lines TYPE i.
REFRESH gi_index_rows.
CLEAR g_selected_row.
Read index of selected rows
CALL METHOD go_grid->get_selected_rows
IMPORTING
et_index_rows = gi_index_rows.
Check if any row are selected at all. If not
table gi_index_rows will be empty
DESCRIBE TABLE gi_index_rows LINES l_lines.
IF l_lines = 0.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
textline1 = 'You must choose a line'.
EXIT.
ENDIF.
Read indexes of selected rows. In this example only one
row can be selected as we are using gs_layout-sel_mode = 'B',
so it is only ncessary to read the first entry in
table gi_index_rows
LOOP AT gi_index_rows INTO g_selected_row.
IF sy-tabix = 1.
READ TABLE gi_vbak INDEX g_selected_row-index
INTO g_wa_vbak.
ENDIF.
ENDLOOP.
Transfer data from the selected row to screenm 200 and show
screen 200
CLEAR g_screen200.
MOVE-CORRESPONDING g_wa_vbak TO g_screen200.
LEAVE TO SCREEN '200'.
ENDFORM. " change_flight
*& Form save_changes
Changes made in screen 200 are written to the datbase table
zsflight, and to the grid table gi_sflight, and the grid is
updated with method refresh_table_display to display the changes
FORM save_changes.
Update traffic light field
Update database table
MODIFY vbak FROM g_screen200.
Refresh grid
CALL METHOD go_grid->refresh_table_display.
CALL METHOD cl_gui_cfw=>flush.
LEAVE TO SCREEN '100'.
ENDFORM. " save_changes
*& Module STATUS_0200 OUTPUT
text
MODULE status_0200 OUTPUT.
SET PF-STATUS 'ZTEST_ALV'.
SET TITLEBAR 'ZTEST_ALV'.
ENDMODULE. " STATUS_0200 OUTPUT
" lit_fieldcat_initUse FM -LVC_FIELDCATALOG_MERGE to derive the field catalog for table VBAK. It will give you the field catalog. You can modify the column VBELN by changing HOTSPOT = 'X".
and in your code - at the method SET_TABLE_FOR....DISPLAY , you comment out the structure name and pass the modified field catalog.
Hope it helps. -
Does this work for anyone using Lync 2013 FE, Lync 2013 client on Windows 7. Exchange version is 2010 SP3. Everything in the client works just fine but when I click on the Conversations tab, I see conversations going back about 6 months. I have conversations
going back a year in my Conversation History folder in Outlook. When I click on the hyperlink on the bottom of the Conversations page, "View More in Outlook", nothing happens. No error, no popup at all. My configuration looks good. MAPI and EWS report
OK. Everything else works fine. A bug perhaps?
Interesting that it works OK with Windows XP and Lync 2010 client. Everything else being the same.Hi,
It should popup Outlook interface when you click “View More in Outlook” in Lync client.
Could you view the conversation history back to a year when you manually check the conversation history on Outlook?
Please try to use the account to another well worked computer and test if the issue happen.
Please try to use another Lync account to login Lync and Outlook to test the issue.
Please also try to disable add-ins about Lync on Outlook and then enable again, restart Lync client and Outlook to test the issue again.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Error message with a hyperlink attached to it
Hi Friends
I have a requirement wherein I need to display a hyperlink along with the error message in webui.
Example...
Please enter a valid currency Details
Here Details should appear as a Hyperlink and on clicking on this hyperlink it should navigate to a portal screen.
Infact it is not actually a portal screen, it can be any URL.
Could you please let me know how to add the hyperlink and how to navigate to portal screen on clicking on this hyperlink
where do we need to write the code.
Best Regards
Anil
Edited by: ANILKUMAR M on Mar 3, 2011 7:23 AMHi Anil.
According to SAP Help you can always get a link in a message for:
. Fields that are defined as mandatory in the UI Configuration Tool
. Fields that are defined as mandatory in the business object layer (BOL)
Also it's possible with additional coding. The example is:
lr_msg_service = view_manager->get_message_service( ).
lr_msg_service->add_message_mapping( iv_message_class = 'CRM_BRC_MESSAGES'
iv_message_number = '013'
iv_binding_string = '//BRCBUSINESSROLE/STRUCT.CRMUI_NAVBAR'
iv_page_id = component_id ).
Check this [link|http://help.sap.com/saphelp_crm700_ehp01/helpdata/EN/cb/659ebfc880493baad66896518a55a1/content.htm] for details. Look at "Navigation to Field That Issued a Message" section and related link for "Enabling Links in Messages".
Another option, which mentioned Arun and according [to this book|http://www.sap-press.com/products/SAP-CRM-Web-Client-Customizing-and-Development.html], is the global message service. The global message service enables you to register callback methods so that you can output navigable messages, that is, you can initiate a navigation to another view (or do whatever you want ) by clicking the message. Registration of the message service for a message looks like:
DATA: lr_service TYPE REF TO cl_bsp_wd_message_service.
lr_service = me->view_manager->get_message_service( ).
TRY.
lr_service->subscribe_message(
iv_message_class = 'CRM_IC_PPL_UI_BDC'
iv_message_number = '114'
iv_subscriber = me
iv_activation = abap_true ).
CATCH cx_bsp_wd_dupl_mess_subscr.
ENDTRY.
where is the ME self reference points to a view controller that implements the IF_BSP_WD_MESSAGE_HANDLER interface, including HANDLE_MESSAGE method. -
Issue with RTL order in hyperlinks on Pages 5.2
Hello,
I am having an issue with the Arabic order when trying to add a hyperlink to a text in Pages 5.2. When I type the sentence without the hyperlink the order is perfect, however when I add the the URL link to the selected text the sentence order becomes corrupted.
Could you please let me know if there is some feature that I am missing to apply or is just that the RTL support on Pages 5.2 is not very good?
Do you have a workaround to this problem?
So far the only way to solve it that I found it was to create a transparent text box with the link over the sentence. However I would like to found a better solution to this.
Screenshots for reference:
Correct order without link.
Incorrect order with link
Thanks in advance for your time and help.
Leonegative101 wrote:
Unfortunately I need to work on Pages 5.2 due to client requeriments. And also like you mention playing with the Text Direction is does not work since it change the whole paragraph direction and not just a specific selection.
You client insists on .pages format?
See this for other potential options regarding text direction:
http://support.apple.com/kb/PH14203 -
Hyperlinks not saved correctly in PDF and Excel
Hi,
I have a few reports with hyperlinks to other reports that contain multiple input parameters, which makes the links very long. ( greater than 400 characters )
When the reports are saved as excel, I am unable to invoke the child report on clicking the link as the link is not saved entirely ( can see that when i try to edit the hyperlink in excel ). Therefore the child report opens but prompts for inputs as not all the inputs are passed
When saved as pdf, the link is not saved correctly and i cannot invoke the child report at all
Please can you suggest a solution/workaround? Alternately is it possible to disable the hyperlinks when saved as excel/pdf?
Regards
SameerHello,
I think this is a limitation in Excel where URL syntax has to be 255 characters or less
In order to prove that it's coming from excel and not BO, try in excel to create a false hyperlink which contains more than 255 characters.
A workaround might be to modify the cell as text and will not be recognized as a URL. So you should get it entirely.
Please let me know if it helps you
Regards,
Philippe -
Hyperlink in OO-ALV to Sap-Business- Workplace-Dokuments
Hello specialists,
I have implemented hyperlinks to an oo-based ALV-List
( please see sample code later ). Now we have the problem that these hyperlinks only work in a local network-area.
But we have also foreign-departments on our SAP-system, that have no access to our network.
Now the question: is it also possible to create hyperlinks
assigned to SAP-Business-Workplace-documents ?
Do you have a solution for this problem ?
Thank' s in advance !
Best regards !
Oliver Perthen / Germany
*& Modulpool ZBWS_TESTSZENARIEN_LINK *
INCLUDE Z_LINK_TOP . "
*& Module STATUS_0100 OUTPUT
text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'ZTEST'.
SET TITLEBAR 'ZX'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'CANCEL' OR 'ABORT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module create_object OUTPUT
text
MODULE CREATE_OBJECT OUTPUT.
CHECK G_CUSTOM_CONTAINER IS INITIAL.
CREATE OBJECT G_CUSTOM_CONTAINER EXPORTING
CONTAINER_NAME = 'CONTAINER'.
CHECK ALV_GRID IS INITIAL.
CREATE OBJECT ALV_GRID EXPORTING
I_PARENT = G_CUSTOM_CONTAINER.
ENDMODULE. " create_object OUTPUT
*& Module read_data OUTPUT
text
MODULE READ_DATA OUTPUT.
SELECT * FROM ZBWS_TESTSZENARI INTO TABLE ZTEST WHERE TESTER EQ
'RW#9952'.
ENDMODULE. " read_data OUTPUT
*& Module transfer_to_alv OUTPUT
text
MODULE TRANSFER_TO_ALV OUTPUT.
REPORT = SY-REPID.
CLEAR LAYOUT.
CLEAR FIELDCAT_D.
REFRESH FIELDCAT_D.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_STRUCTURE_NAME = 'ZBWS_TESTSZENARI'
I_BUFFER_ACTIVE = 'X'
I_BYPASSING_BUFFER = 'X'
CHANGING
CT_FIELDCAT = FIELDCAT_D[].
FIELDCAT-FIELDNAME = 'HL_FNAME'.
FIELDCAT-NO_OUT = 'X'.
APPEND FIELDCAT TO FIELDCAT_D.
LOOP AT FIELDCAT_D INTO FIELDCAT.
FIELDCAT-SELTEXT = FIELDCAT-FIELDNAME.
FIELDCAT-REPTEXT = FIELDCAT-FIELDNAME.
CASE FIELDCAT-FIELDNAME.
WHEN 'TESTDATEI'.
FIELDCAT-WEB_FIELD = 'HL_FNAME'.
ENDCASE.
MODIFY FIELDCAT_D FROM FIELDCAT.
ENDLOOP.
LOOP AT ZTEST.
ZTEST-HL_FNAME = SY-TABIX.
LS_HYPE-HANDLE = SY-TABIX.
LS_HYPE-HREF = ZTEST-TESTDATEI.
APPEND LS_HYPE TO GT_HYPETAB.
MODIFY ZTEST.
ENDLOOP.
LAYOUT-NO_KEYFIX = 'X'. " Schlüssel nicht Fixieren
LAYOUT-INFO_FNAME = 'COLOR'."Farbstufen
LAYOUT-SEL_MODE = 'D'. "Markierungsspalte
LAYOUT-SGL_CLK_HD = 'X'. "Sortierung per Click
LAYOUT-CWIDTH_OPT = 'X'.
CALL METHOD ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'ZBWS_TESTSZENARI'
IS_LAYOUT = LAYOUT
I_SAVE = 'A'
IT_HYPERLINK = GT_HYPETAB
CHANGING
IT_OUTTAB = ZTEST[]
IT_FIELDCATALOG = FIELDCAT_D.
ENDMODULE. " transfer_to_alv OUTPUTHi.
I'll try it.
Thanks. -
Hyperlink-trouble after upgrade to CF 7
Hello
I am currently editing an old CF site where the host have
gone from CF 5 to CF 7 (without warning =). All hyperlinks with a
CF attribute have stopped working for some reason, let me clarify:
from an SQL like this: (code is rewritten )
<cfquery name="Course" datasource="CompanyDB">
SELECT CourseApp2.*, Course.*, CourseDate.*
FROM CourseApp2, Course, CourseDate
WHERE CourseApp2.CourseMember_ID = #CGI.QUERY_STRING#
AND CourseApp2.CourseDateID = CourseDate.CourseDateID
AND CourseDate.CourseID = Course.CourseID
ORDER BY CourseStart
</cfquery>
there is a CF out as follows:
<CFOUTPUT QUERY="Course">
<TR><TD><A
HREF="../Course/Course.cfm?CourseID=#CourseID#">#CourseName#,
#CourseCode##CourseDateCode#</A></TD>
The way the hyperlink is constructed doesnt work, and an
error stating that CourseID is undefined ( the ?CourseID=#CourseID#
part of the link)
It doesnt work where the link is made like this either:
<A
HREF="../Course/Course.cfm?CourseID=#Course.CourseID#">#CourseName#,
#CourseCode##CourseDateCode#</A>
that is, stating which CourseID you want to use, on those the
error: CourseID is undefined in Course is thrown.
It works however if you select CouseID from Course as an
Alias in the select statement and use the alias in the link.
This old site has been working fine with this sort of
notation, has something changed up to CF 7, that have made this
erroneous? Since i havent written the original code I am reluctant
to change it before I know whats wrong.
If you have any ideas or suggestions please reply
Regards
TorbjörnI would rename your query, so that the cfoutput statement
will know what you are referring to, something like:
<cfquery name="getcourseinfo" datasource="CompanyDB">
SELECT CourseApp2.*, Course.*, CourseDate.*
FROM CourseApp2, Course, CourseDate
WHERE CourseApp2.CourseMember_ID = #CGI.QUERY_STRING#
AND CourseApp2.CourseDateID = CourseDate.CourseDateID
AND CourseDate.CourseID = Course.CourseID
ORDER BY CourseStart
</cfquery>
THEN:
<cfoutput query="getcourseinfo">
<A
HREF="../Course/Course.cfm?CourseID=#CourseID#">#CourseName#,
#CourseCode##CourseDateCode#</A><br>
</cfoutput>
Let me know if this works. -
A better way to run .FMX from hyperlink
Dear all,
I am finding ways to execute .FMX from hyperlink in HTML. I tried to create a shortcut file (.LNK) that runs the .FMX and then using a hyperlink to refer that shortcut file. However, the browser prompts me for whether to run or to save the file every time. How can I suppress the dialog or is there any better way to do so?
Regards,
Derek.How you created a shortcut file(.LNK)
How to call a form within a form using Hyperlink
I am new to Java and could anybody help.
Maybe you are looking for
-
I have an hp officejet all-in-one printer 60C8FE
My printer suddenly does not want to take commands from my computer.
-
Some field details in my alv report
Sales Org > only one selection field Division > only one selection field Channel > from u2013 to fields Sales Office Channel > from u2013 to fields Sales Rep Channel > from u2013 to fields User ID of the CSR Channel > from u2013 to fields Customer Ch
-
I am using MS SQL Server Management Studio version 10.50. Some built-in functions are missing, such as LAST_VALUE and IIF. Where can I get those?
-
All, I have created a info record with net price 200 . Then I have created a PO for net price 350 . I have ticked the ' info update ' . But while going to the info record again the net price is not update . 1. Why it is like this ? 2. Also tax code I
-
Cinema4D lite to Ae - External Compositing Tag - drifting... help
Trying to finish a job, at the last stages, everything is good to go using cinema4D lite and Ae Cineware. I've set up a couple of video boards and animations in cinema 4D lite (with external compositing tags) and back in after effects extract the cam