Table control + Hot spot
Hi!
I want to develop hotspot in Table control. It means when i make ONE click on the field i want to go to PAI.
I've set properties:
1. "Responds double click" in field properties.
2. In dialog status F2 have PICK code.
But now only double click works (
Hi,
HOTSOPT is available with reports only. But the default function key for double click is F2. So you may handle the double click and process logic according to that in user command.
Regards,
Renjith Michael.
Similar Messages
-
Hot to display checkbox in table control
hi all,
i am displaying table comtrol. in my table control i have one field,name of the field is Inactive. in this field i have to show chckboxes.
anybody can send me the code please.
thanks,
maheedhar.tHi,
If you want to display a field of type c as checkbox in tablecontrol.
After opening screen painter, click the option ChkB for that field while getting the fields from Dictionary/Program Fields -> Get From Program.
Now drag the box on to your table control.
<u><i><b>Chk this demo program: DEMO_DYNPRO_TABCONT_LOOP_AT
& RSDEMO02.</b></i></u>
<u><i><b>Another way:</b></i></u>
Go to the edit mode of the screen select the table control column you want to make it as check box and follow the menu EDIT->CONVERT->check box.
(make sure that column definition in itab/ddtab is of size 1 char)
regards
navjot
Message was edited by:
navjot sharma -
How to handle hot spot in table
I have a screen with ALV grid where the first column is hot spot and when you press it, it will go to another screen and display details of selected row with some additional functionality as below.
Now I want to skip this screen and proceed to next step .
To do this I have recorded the flow and then I have created script to identify which row is selected with the following script which is working fine.
In the recorded script(below) I had selected the second row of the grid, so that displayed screen show second row details and when I changed the value to 3, event of the 3rd row triggered and works fine.
Since i have the selected row value,Can I make this value (marked in above screen) dynamic? So that every time I trigger the hot spot it will capture corresponding row and display the screen.
Message was edited by: Shaik ShadullaHi Shaik Shadulla,
I am also having the same requirement .Have you fixed this issue?
Could you please let me know how you have fixed?
Thank you,
Arunkumaran -
Code for Hot spot in ALV report to call transaction
Hi,
I hv never use hot spot to link as a call transaction can u give the link or code how to make hot spot on a particular fields i am working on a ALV report in that report in the belnr coloumn when user click on belnr i want to call FB03 transaction ref. to that belnr number and fisacl year.
regards,
zafarHi,
In the fieldcatalog you will have to write the hotspot as shown below,
wa_fieldcat-hotspot = 'X'.
APPEND wa_fieldcat TO it_fieldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_user_command = 'USER_COMMAND'"----> this is important
i_callback_pf_status_set = 'PFSTATUS'
it_fieldcat = it_fieldcat
is_layout = it_layout
it_event_exit = it_eventexit
i_screen_start_column = 10
i_screen_start_line = 20
i_screen_end_column = 70
i_screen_end_line = 45
i_grid_title = 'Customer-Order Details'
TABLES
t_outtab = it_data.
then you will have to catch the user command as follows,
FORM user_command USING r_ucomm TYPE sy-ucomm
rs_selfield TYPE slis_selfield.
DATA: alv_vbeln TYPE vbeln,
mess_text(30) TYPE c,
txt_vbeln(10) TYPE c.
*User clicks a Order No. in ALV it passed to the following transaction.
CASE r_ucomm.
WHEN '&IC1'.
READ TABLE it_data INDEX rs_selfield-tabindex INTO wa_data.
alv_vbeln = wa_data-vbeln..
IF sy-subrc = 0.
CLEAR: mess_text, txt_vbeln.
SUBMIT zprogram
WITH pr_vbeln = alv_vbeln AND RETURN.
put your call transaction logic here
ENDIF.
ENDCASE.
ENDFORM. "user_command
Hope it helps you,
Regards,
Abhijit G. Borkar -
Hyperlinks - how to create a hot spot link?
I would like to link to a new page from a button at the footer area only.
This would not have a main menu level link.
So where would I add the page in the site plan?
Would I add a page to a 2nd tier and hide the name?
Also how do I 'call' the hyperlink?
Another scenario:
There doesn't seem to be a way to create a hotspot over part of an image to link from the background image. - AND any text or image/box that sits in the footer area on the master page(not in the background) moves around when there is a concertina panel that pushes it down.Hi,
You can add the page as top level page. When you're creating it in Plan mode, right-click the page thumbail and click Menu Options -> Exclude Page From Menus. This will make the page not appear in the main level menu link. You can call the hyperlink by selecting the object you want to have the hyperlink then clicking the drop down in the Control Strip where it says Enter Link. Select the page you would like to link to.
As for the footer link, I suggest using real text and applying the hyperlink to that by selecting the text frame and typing in the link. If you still want to use a hotspot, you can create a rectangle over the area you would like to link. Edit the rectangle to have no stroke and a 1% opaque (probably white) fill, then you will be able to use the link feature for that area. The biggest worry for creating a hot spot is that it may not line up correctly in all browsers as the page reflows, and depending on the rectangle's fill the link may not work properly in IE.
Thanks,
Dana -
Dynamic headers in table control
Hi,
How to create dynamic headers in table control headers?
I have to replace the header labels with internally computed headers.
I have created input fields for headers..
Regards,
KrutikaHi Krutika,
Try this out,
Populate an internal tabel with all the dates and day in it and also populate the column position in it.
say you have populated all this in an internal table it_date----fields in the internal table
1. date
2. day
3. spot1 -
column name of the table control(spot1 represents the column position)
then do this ,
LOOP AT it_date INTO wa_date.
LOOP AT SCREEN .
*WHERE screen-name = wa_date-spot.
CASE wa_date-spot.
WHEN 'SPOTS1'.
spots1 = wa_date-dd.
WHEN 'SPOTS2'.
spots2 = wa_date-dd.
WHEN 'SPOTS3'.
spots3 = wa_date-dd.
WHEN 'SPOTS4'.
spots4 = wa_date-dd.
WHEN 'SPOTS5'.
spots5 = wa_date-dd.
WHEN 'SPOTS6'.
spots6 = wa_date-dd.
WHEN 'SPOTS7'.
spots7 = wa_date-dd.
WHEN 'SPOTS8'.
spots8 = wa_date-dd.
WHEN 'SPOTS9'.
spots9 = wa_date-dd.
WHEN 'SPOTS10'.
spots10 = wa_date-dd.
WHEN 'SPOTS11'.
spots11 = wa_date-dd.
WHEN 'SPOTS12'.
spots12 = wa_date-dd.
WHEN 'SPOTS13'.
spots13 = wa_date-dd.
WHEN 'SPOTS14'.
spots14 = wa_date-dd.
WHEN 'SPOTS15'.
spots15 = wa_date-dd.
WHEN 'SPOTS16'.
spots16 = wa_date-dd.
WHEN 'SPOTS17'.
spots17 = wa_date-dd.
WHEN 'SPOTS18'.
spots18 = wa_date-dd.
WHEN 'SPOTS19'.
spots19 = wa_date-dd.
WHEN 'SPOTS20'.
spots20 = wa_date-dd.
WHEN 'SPOTS21'.
spots21 = wa_date-dd.
WHEN 'SPOTS22'.
spots22 = wa_date-dd.
WHEN 'SPOTS23'.
spots23 = wa_date-dd.
WHEN 'SPOTS24'.
spots24 = wa_date-dd.
WHEN 'SPOTS25'.
spots25 = wa_date-dd.
WHEN 'SPOTS26'.
spots26 = wa_date-dd.
WHEN 'SPOTS27'.
spots27 = wa_date-dd.
WHEN 'SPOTS28'.
spots28 = wa_date-dd.
WHEN 'SPOTS29'.
spots29 = wa_date-dd.
WHEN 'SPOTS30'.
spots30 = wa_date-dd.
WHEN 'SPOTS31'.
spots31 = wa_date-dd.
ENDCASE.
Hope this helps you,
Regards,
Abhijit G. Borkar -
Need to add 2 new columns to the existing table control of C223 transaction
Hi ABAP Gurus,
I have to do a screen enhancement for transaction C223.
Below is the requirement:
need to add 2 new columns to the existing table control of C223 transaction.
there is no customer exits, screen exit or user exit present for this transaction C223, i have found one enhancement spot for this transaction.
i dont have any idea how to do this in standard transaction C223, the table control in C223 saves the data to MKAL table and the table control uses the structure MKAL_EXPAND in the screen program.
i have created an append structure for the 2 fields to the standard table MKAL.
Can anyone please suggest me how this can be done in standard screen C223, will the enhancement spot can be used to do this....
please sugest...
Thanks & RegardsHi Santosh,
Thanks for the reply. I have looked into this Enhancement Spot CPFX_SCREEN_SET , inside this there is only one method INPUT_DISABLED having below parameters
IM_MKAL Importing Type MKAL Production Version
EX_MSGID Exporting Type SY-MSGID Messages, Message
EX_MSGTY Exporting Type SY-MSGTY Messages, Message
EX_MSGNO Exporting Type SY-MSGNO Messages, Message
EX_MSGV1 Exporting Type SY-MSGV1 Messages, Message
EX_MSGV2 Exporting Type SY-MSGV2 Messages, Message
EX_MSGV3 Exporting Type SY-MSGV3 Messages, Message
EX_MSGV4 Exporting Type SY-MSGV4 Messages, Message
EX_INPUT_DISABLE Exporting Type CHAR1 Display Only if X Was Set
the BADI definition present here is a SAP internal so we cant implement the BADI , but we can created a enhancement spot implementation for this. as per my understanding on this the enhancement spot is only for making the table control fields display / change . i dont think this can be used to add two new coloumns to C223 table control.
I am not sure thats why seeking your help/valuable sugestion on this.
Please provide your sugestion on this , so that i can come to conclusion on this issue.
Thanks & Regards
Siddhartha Mishra -
Problem Related To HOT Spot in ABAP Programming?
Hi All,
I developed a program of purchase register now i want that on clicking the PO it will take the user to the conserned PO for that i used HOt Spot but still it is not taking me to the conserned PO. Plz tell me what do i do to fullfill my purpose.hi, Abhinav
i think that the following Code will help you in this way.
REPORT zfsl_hot_cust_docn.
TABLES: zsd_credit_bal, tvm4t, t023t, kna1.
TYPES : BEGIN OF t_sd_credit_bal, " To define Internal Table for holding following Data
benid LIKE zsd_credit_bal-benid, " Customer ID
botcp LIKE zsd_credit_bal-botcp, " Pack
audat LIKE zsd_credit_bal-audat, " Date
vehno LIKE zsd_credit_bal-vehno, " Vehicle Number
vbeln LIKE zsd_credit_bal-vbeln, " Document Number
movmt LIKE zsd_credit_bal-movmt, " Movement type
quantity LIKE zsd_credit_bal-quantity, " Quantity
END OF t_sd_credit_bal.
SELECT-OPTIONS: soaudat FOR zsd_credit_bal-audat NO-EXTENSION OBLIGATORY DEFAULT '20071121'.
DATA : sd_credit_bal1 TYPE STANDARD TABLE OF t_sd_credit_bal WITH HEADER LINE,
sd_credit_bal2 TYPE STANDARD TABLE OF t_sd_credit_bal WITH HEADER LINE.
START-OF-SELECTION.
DATA: vbenid(10), vbotcp(3), lineno TYPE i ."LIKE LINE OF sd_credit_bal1.
PERFORM main.
*& Form MAIN
* text
FORM main.
SELECT benid botcp audat vehno vbeln movmt quantity INTO CORRESPONDING FIELDS OF TABLE sd_credit_bal1
FROM zsd_credit_bal
WHERE audat IN soaudat.
WRITE: 'Main Menu'.
WRITE: / 'Select Entry to see its details.'.
LOOP AT sd_credit_bal1.
WRITE: /1 sd_credit_bal1-benid HOTSPOT ON, sd_credit_bal1-botcp HOTSPOT ON.
vbenid = sd_credit_bal1-benid. vbotcp = sd_credit_bal1-botcp.
HIDE: vbenid, vbotcp.
ENDLOOP.
ENDFORM. "main
AT LINE-SELECTION.
WINDOW STARTING AT 25 3 ENDING AT 103 25.
WRITE: 1(78) sy-uline,
/1 '|',
3(10) 'Date' CENTERED,
14(1)'|',
16(35) 'Vehicle Number' CENTERED,
52(1)'|',
54(10) 'Pack' CENTERED,
65(1) '|',
67(10) 'Movm Type',
78(1) '|',
/1 '|',
1(78) sy-uline.
LOOP AT sd_credit_bal1 WHERE benid = vbenid AND botcp = vbotcp.
WRITE: /1'|',
3(10) sd_credit_bal1-audat,
14(1) '|',
16(35) sd_credit_bal1-benid,
52(1) '|',
54(10) sd_credit_bal1-botcp,
65(1) '|',
67(10) sd_credit_bal1-movmt,
78(1) '|',
/1'|',
1(78) sy-uline.
ENDLOOP.
Replay if any Problem related to this Code.
Kind Regards,
Faisal -
Attaining Hot spot in ALV Tree Using OOPS concept
Hi All,
In our requirement we are displaying the data in ALV Tree Using OOPS.
We need to achieve hot spot on one of the header field.
I am using Class 'CL_GUI_ALV_TREE'
Ex:
CreditAccnt/ Company codes DSO DDSO
26 15 15
8000 5 5
8545 10 10
In the above example for every credit accnt in header we r displaying the values ( DSO ,DDSO) for all company codes.
Now we require hot spot on Credit Accnt 26. Such that when user clicks on the credit accnt it should navigate to another transaction.
NOTE: we havent build any field catalogue for field CreditAccnt/ Company codes .Hi,
You can refer to the tutorial -
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
Or try using the code below-
CLASS lcl_event_receiver DEFINITION
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
Hot Spot Click
handle_hotspot
FOR EVENT hotspot_click OF cl_gui_alv_grid
IMPORTING e_row_id
e_column_id
es_row_no,
ENDCLASS.
Implementation
*& Method handle_hotspot
This method is called when the user clicks on a hotspot to drill down.
The following types are exported from the ALV
LVC_S_ROW
LVC_S_COL
LVC_S_ROID
METHOD handle_hotspot.
The hotspot processing coded in the form below.
PERFORM f9802_handle_hotspot USING e_row_id
e_column_id
es_row_no.
ENDMETHOD.
*& Form f9802_handle_hotspot
This form is called when the user clicks on a hotspot on the ALV grid
The parameters are of type
-->P_E_ROW text
-->P_E_COL text
-->P_E_ROID text
FORM f9802_handle_hotspot USING p_row
p_col
p_roid.
DATA: lw_output LIKE LINE OF i_output.
READ TABLE i_output INDEX p_row INTO lw_output.
SET PARAMETER ID 'MAT' FIELD lw_output-matnr.
CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.
ENDFORM. " f9802_handle_hotspot
FORM f9300_modify_field_cat TABLES p_fieldcat STRUCTURE lvc_s_fcat.
Field-symbols: <lfs_fieldcat> TYPE lvc_s_fcat.
LOOP AT p_fieldcat ASSIGNING <lfs_fieldcat>.
CASE <lfs_fieldcat>-fieldname.
WHEN 'MATNR'.
<lfs_fieldcat>-hotspot = c_x.
<lfs_fieldcat>-key = c_x.
WHEN OTHERS.
ENDCASE.
ENDLOOP.
ENDFORM.
In PBO,
module STATUS_9001 output.
Set handlers for events
SET HANDLER o_eventreceiver->handle_hotspot FOR o_Alvgrid.
ENDMODULE.
Hope this helps -
We're having problems with occasional mega data usage on our 3G Hot Spot.
Power down your Jetpack while it is not in use, at least until you get your usage problem under control. Bring your PC to a different area and see if you can let it sit connected for a while to complete whatever it is struggling with.
-
I finally dropped the land line and went wireless with a JetPack 4G hot spot. Up to now it is working great. I do have the speed that I expected and connecting all my devices to it was very simple. The only problem is that since I dropped the land line I lost my movies on demand from Directv and also will not be able to pay for PPV with the remote. From now on I will have to go to their site (Directv) and do the order and payment on their site. Besides that I don't seem to have any problems. Any comments, good or bad???
So you dropped your cable (I assume DSL) internet but maintained your satelite TV? You should be happy with that decision as long as you can keep your data plan under control. 4G LTE speed is great, but with that great speed comes great responsibility. Stay on top of your data plan and you will be happy.
I would also recommend making a habit out of shutting down your mobile hotspot when you are not using it. These devices are not intended to be an always-on device like your previous cable internet device. This assumption is one of the biggest mistakes that new Mobile Hotspot owners make. -
hi.....
whats the event for hotspot or single click on node event
thanks.Hi,
If you want to get it through grid you can go through the sample code...
The sample program explains on how to achieve hotspot apply the same for alv tree...
REPORT Z_ALV_HOTSPOT.
TABLES:EKKO.
SELECT-OPTIONS:S_EBELN FOR EKKO-EBELN.
INTERNAL TABLE FOR EKKO
DATA: TB_EKKO TYPE STANDARD TABLE OF EKKO,
INTERNAL TABLE FOR EKPO
TB_EKPO TYPE STANDARD TABLE OF EKPO,
DA_TOP TYPE REF TO CL_DD_DOCUMENT,
DW_TOP TYPE REF TO CL_DD_DOCUMENT.
DATA:
GRIDS
EKKO_GRID TYPE REF TO CL_GUI_ALV_GRID,
EKPO_GRID TYPE REF TO CL_GUI_ALV_GRID,
CONTAINERS
EKKO_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
EKPO_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
TOP_OF_PAGE_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
DTOP_OF_PAGE_CONTAINER TYPE REF TO CL_GUI_CONTAINER,
DMAIN_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
MAIN_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
SPLITTER TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
DSPLITTER TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
LAYOUT
X_LAYOUT TYPE LVC_S_LAYO,
WORK AREA
X_EKKO LIKE EKKO.
DATA: FLAG TYPE C,
flag_top type c.
CLASS LCL_HANDLER DEFINITION
CLASS LCL_HANDLER DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:HANDLER_HOTSPOT_CLICK FOR EVENT HOTSPOT_CLICK OF
CL_GUI_ALV_GRID IMPORTING E_ROW_ID.
CLASS-METHODS:HANDLER_TOP_OF_PAGE FOR EVENT TOP_OF_PAGE OF
CL_GUI_ALV_GRID .
ENDCLASS. "LCL_HANDLER DEFINITION
CLASS LCL_HANDLER IMPLEMENTATION
CLASS LCL_HANDLER IMPLEMENTATION.
METHOD HANDLER_HOTSPOT_CLICK.
CLEAR X_EKKO.
CLEAR TB_EKKO.
READ TABLE TB_EKKO INDEX E_ROW_ID-INDEX INTO X_EKKO.
IF SY-SUBRC = 0.
PERFORM GET_ITEM_DETAILS USING X_EKKO-EBELN.
ENDIF.
ENDMETHOD. "HANDLER_HOTSPOT_CLICK
METHOD HANDLER_TOP_OF_PAGE.
CALL METHOD DA_TOP->ADD_TEXT
EXPORTING
TEXT = 'Top Of Page'.
CALL METHOD DA_TOP->DISPLAY_DOCUMENT
EXPORTING
PARENT = TOP_OF_PAGE_CONTAINER.
if flag_top = 'X'.
CALL METHOD DW_TOP->ADD_TEXT
EXPORTING
TEXT = 'ITEM Top Of Page '.
CALL METHOD DW_TOP->DISPLAY_DOCUMENT
EXPORTING
PARENT = DTOP_OF_PAGE_CONTAINER.
flag_top = ' '.
endif.
ENDMETHOD. "HANDLER_TOP_OF_PAGE
ENDCLASS. "LCL_HANDLER IMPLEMENTATION
*& Module STATUS_0100 OUTPUT
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'ABC'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Form GET_DATA
MODULE GET_DATA OUTPUT.
SELECT * UP TO 5 ROWS INTO TABLE TB_EKKO FROM EKKO WHERE EBELN IN
S_EBELN.
ENDMODULE. " GET_DATA
START OF SELECTION.
START-OF-SELECTION.
CALL SCREEN 100.
*& Module DISPLAY_DATA OUTPUT
text
MODULE DISPLAY_DATA OUTPUT.
CREATING CONTAINER OBJ*******
CREATE OBJECT MAIN_CONTAINER
EXPORTING
CONTAINER_NAME = 'CONT1'
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 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.
CREATE OBJECT SPLITTER
EXPORTING TOP = 5
PARENT = MAIN_CONTAINER
ROWS = 2
COLUMNS = 1.
CALL METHOD SPLITTER->GET_CONTAINER
EXPORTING
ROW = 1
COLUMN = 1
RECEIVING
CONTAINER = TOP_OF_PAGE_CONTAINER.
CALL METHOD SPLITTER->GET_CONTAINER
EXPORTING
ROW = 2
COLUMN = 1
RECEIVING
CONTAINER = EKKO_CONTAINER.
CREATING GRID OBJ AND ASSAIGNING TO CONTAINER ****
CREATE OBJECT EKKO_GRID
EXPORTING
I_PARENT = EKKO_CONTAINER
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
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.
LAYOUT SETTINGS ***
X_LAYOUT-ZEBRA = 'X'.
X_LAYOUT-KEYHOT = 'X'.
TO DISPLAY TB_EKKO CONTENTS ********
CALL METHOD EKKO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'EKKO'
IS_LAYOUT = X_LAYOUT
CHANGING
IT_OUTTAB = TB_EKKO
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
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.
***REGESTRING HANDLER FOR HOT SPOT CLICK EVENT
SET HANDLER LCL_HANDLER=>HANDLER_HOTSPOT_CLICK FOR EKKO_GRID.
SET HANDLER LCL_HANDLER=>HANDLER_TOP_OF_PAGE FOR EKKO_GRID.
For Top Of Page
CREATE OBJECT DA_TOP
EXPORTING STYLE = 'ALV_GRID'.
CALL METHOD DA_TOP->INITIALIZE_DOCUMENT.
CALL METHOD EKKO_GRID->LIST_PROCESSING_EVENTS
EXPORTING
I_EVENT_NAME = 'TOP_OF_PAGE'
I_DYNDOC_ID = DA_TOP.
ENDMODULE. " DISPLAY_DATA OUTPUT
*& Module USER_COMMAND_0100 INPUT
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
WHEN 'CANCEL'.
LEAVE TO SCREEN 0.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'OTHERS'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form GET_ITEM_DETAILS
FORM GET_ITEM_DETAILS USING P_EKKO_EBELN TYPE EKKO-EBELN.
CLEAR TB_EKPO[].
SELECT * UP TO 5 ROWS INTO TABLE TB_EKPO FROM EKPO WHERE EBELN =
P_EKKO_EBELN.
IF FLAG IS INITIAL.
FLAG = 'X'.
CREATING CONTAINER OBJ*******
CREATE OBJECT DMAIN_CONTAINER
EXPORTING
CONTAINER_NAME = 'CONT2'
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 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.
CREATE OBJECT DSPLITTER
EXPORTING TOP = 5
PARENT = DMAIN_CONTAINER
ROWS = 2
COLUMNS = 1.
CALL METHOD DSPLITTER->GET_CONTAINER
EXPORTING
ROW = 1
COLUMN = 1
RECEIVING
CONTAINER = DTOP_OF_PAGE_CONTAINER.
CALL METHOD DSPLITTER->GET_CONTAINER
EXPORTING
ROW = 2
COLUMN = 1
RECEIVING
CONTAINER = EKPO_CONTAINER.
CREATING GRID OBJ AND ASSAIGNING TO CONTAINER ****
CREATE OBJECT EKPO_GRID
EXPORTING
I_PARENT = EKPO_CONTAINER
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
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.
ENDIF.
LAYOUT SETTINGS ***
X_LAYOUT-ZEBRA = 'X'.
TO DISPLAY TB_EKPO CONTENTS ********
CALL METHOD EKPO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'EKPO'
IS_LAYOUT = X_LAYOUT
CHANGING
IT_OUTTAB = TB_EKPO
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
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.
SET HANDLER LCL_HANDLER=>HANDLER_TOP_OF_PAGE FOR EKPO_GRID.
For Top Of Page
CREATE OBJECT DW_TOP
EXPORTING STYLE = 'ALV_GRID'.
CALL METHOD DW_TOP->INITIALIZE_DOCUMENT.
flag_top = 'X'.
CALL METHOD EKPO_GRID->LIST_PROCESSING_EVENTS
EXPORTING
I_EVENT_NAME = 'TOP_OF_PAGE'
I_DYNDOC_ID = DW_TOP.
ENDFORM. " GET_ITEM_DETAILS
<b>Reward points for all helpful answers.</b>
Regards,
Azaz Ali. -
Hello,
I have a problem that seems like its just one small detail
that I am missing but I cannot figure it out for the life of me.
I have made a local version of the page I am editing. I added
hot spots with links to word documents that are on our sites FTP
server, and the address are correct. When I hit preview in firefox
everything works flawless. Then I click put, and go to check it on
the live site, and now it doesn't work. I can't even detect the hot
spot that I created while on the live site.
Thanks in advance.
- Kevin> but I am picking most of it up fast
Put it down, quickly, before you hurt yourself (as we can see
you are about
to do from your linked page - 81K for a jpg image of an
ordinary list?).
You only have a single image map on the page, and it
corresponds to the
image map for the links in the masthead.
Go here -
http://www.w3schools.com - and
get some HTML and CSS under your
belt. Then you can come back to DW. It will expect you to
bring that
knowledge to the table.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"D-Maranatha!" <[email protected]> wrote in
message
news:g0v606$q1v$[email protected]..
> Yea it is within an image. I'm fairly new to websites
and dreamweaver in
> general, but I am picking most of it up fast. This is
just the way I was
> told
> was easiest to handle it.
>
> Its a jpeg of a list of text.
>
> Some of the different lines in the list we want to be
able to click
> through to
> the different word documents associated with them.
>
> I dont want anyone to go out of their way, but the site
is
> www.MaranathaMusic.com just so you have an idea as to
what I mean if i
> didnt
> do the best job explaining it.
>
> Im referring to the box on the bottom left. I would like
some of those
> subjects to click through using Hotspots.
> -
Stop photo streaming uploading when I use some WIFI Hot Spot?
Hi!
Is it possible to stop photo streaming uploading when I use some WIFI Hot Spot?
I use tethering from other 3G connection a lot, so i'm consuming a lot of Mb!I missed you in iChat yesterday as I was posting this to let you know.
It is mostly as the Page 7 stuff is but laid out in a form that can be used without tables or extra div sections of HTML.
As I am sure there are newer things that we have missed such as
http://b-l-a-c-k-o-p.com/CamCamX.html
and other VJ type apps that might warrant some sort of mention.
Anyhow it might flush out some some more anyway.
I still feel that the credit for this lies with you.
I am going to leave it for a while to see what comes up here and in the other forums of items that might need a mention.
9:08 PM Thursday; May 7, 2009
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat" -
Strange navigation in ALV hot-spot.
Hi All,
I have a strange problem, which I hope to get som advice about.
Anyway I have created an ALV-report with hot-spot.
The hot-spot executes the line below and of course it "jumps" to VA03.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
The strange thing happens when I press 'F3' and returns to the ALV.
The first time I do this, - it works fine, but when I 're-click' on the hot-spot Im again directed to transaction VA03.
Now have to press 'F3' twice to get back to the ALV.
Same thing happens when I 're-re-click' the hot-spot. But now I have to press 'F3' three times.
Does anyone have an Idea how to solve this?
I use the event to handle the hot-spot and I have attached the PBO snippet below to ease your understanding of my program.
Please feel free to ask for more information
Thanks in advance
Lars Bernstorff Hansen
CLASS cl_event_receiver DEFINITION.
PUBLIC SECTION.
DATA: t_utab_unsend TYPE zsd_tt_utab_unsend_mail
, t_utab_send TYPE zsd_tt_utab_send_mail.
METHODS: handle_hotspot_click
FOR EVENT hotspot_click OF cl_gui_alv_grid
IMPORTING
e_row_id
e_column_id.
MODULE status_0100 OUTPUT.
DATA: et_index_columns TYPE lvc_t_col
, i_structure_name TYPE dd02l-tabname
, is_layout TYPE lvc_s_layo
, it_fieldcatalog TYPE lvc_t_fcat
, i_gridtitle TYPE lvc_title
, linetype TYPE string
, itabref TYPE REF TO data
, ls_fcat TYPE lvc_s_fcat.
FIELD-SYMBOLS: <psaareatab> TYPE STANDARD TABLE
, <psaareatab2> TYPE STANDARD TABLE.
IF p_r1 = lcl_initialization=>c_x.
linetype = 'ZSD_UTAB_UNSEND_MAIL'.
i_gridtitle = 'Ukomplette ordrer - ej sendte'(200).
i_structure_name = 'ZSD_UTAB_UNSEND_MAIL'.
ELSE.
linetype = 'ZSD_UTAB_SEND_MAIL'.
i_structure_name = 'ZSD_UTAB_SEND_MAIL'.
i_gridtitle = 'Komplette ordrer - sendte'(201).
ENDIF.
CREATE DATA itabref TYPE STANDARD TABLE OF (linetype).
ASSIGN itabref->* TO <psaareatab>.
IF p_r1 = gc_x.
ASSIGN gt_utab_unsend TO <psaareatab>.
ELSE.
ASSIGN gt_utab_send TO <psaareatab>.
ENDIF.
SET TITLEBAR 'MAIN100'.
SET PF-STATUS 'MAIN100'.
IF go_custom_container IS INITIAL.
CREATE OBJECT go_custom_container
EXPORTING
container_name = go_container.
CREATE OBJECT go_grid
EXPORTING
i_appl_events = lcl_initialization=>c_x
i_parent = go_custom_container.
ENDIF.
lcl_initialization=>gxt_utab_unsend[] = gt_utab_unsend[].
lcl_initialization=>gxt_utab_send[] = gt_utab_send[].
lcl_initialization=>bukrs = p_bukrs.
lcl_initialization=>r1 = p_r1.
" Create handler.
CREATE OBJECT event_receiver.
" Register handler for events.
SET HANDLER event_receiver->handle_hotspot_click FOR go_grid.
CALL METHOD r_present_result->set_layout( CHANGING is_layout = is_layout ).
" Create field catalog.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = i_structure_name
CHANGING
ct_fieldcat = it_fieldcatalog.
" Hotspot fields.
CALL METHOD r_present_result->set_fieldcatalog
EXPORTING
i_r1 = p_r1
CHANGING
it_fieldcatalog = it_fieldcatalog.
lcl_initialization=>it_fieldcatalog[] = it_fieldcatalog[].
CALL METHOD go_grid->set_table_for_first_display
EXPORTING
i_structure_name = i_structure_name
is_layout = is_layout
CHANGING
it_fieldcatalog = it_fieldcatalog
it_outtab = <psaareatab>.
CALL METHOD go_grid->set_gridtitle
EXPORTING
i_gridtitle = i_gridtitle.
ENDMODULE. " STATUS_0100 OUTPUTHi.,
Please Share your solution here.. It will be useful for others who are facing this kind of problem..!!
Thanks & Regards,
Kiran
Maybe you are looking for
-
everytime i try and open firefox it crashes i click to restart it and send report but its the same thing over and over nuthin changes, i used firefox up till like week ago now it will open period.
-
How to "Print to PDF" with property "Signing: Allowed"
Print to PDF generates a file with the security document property "Signing: Not Allowed". These Properties are only visible in Acrobar reader -> File -> Properties; you can't see these in Preview. Is there a way to change Mac OS X Print to PDF, that
-
Which is better ex drive for lion iMac seagate or lacie?
which is better fit for my imac 10.7.2 lion seagate ex hd or laCie ex hdrive?
-
Attached iPod to TV but not getting any audio
I attached iPod to TV via Apple's digital A/V adapter and HDMI cable. The video works great but I am not getting any sound. My tv is a samsung smart tv and I also have a samsung home theater system. I even turned of the home theater system completel
-
Windows crashes on playing video in itunes
on playing videos on itunes, my laptop is getting crashed. the OS which is been used is Windows 7