Problem in OOP ALV-ALV not displaying.
Hi Gurus,
Can we use OOP alv concept in normal executable program or we need to do it in module pool ?
I did an example alv program..but it is not exectuing .
Can anybody tell me the answer ?
Thanks.
Hello,
To use OO ALV you need to create a container in module pool. But you can still call it from an executable program. Just create an executable program and use call screen 0100. Now double click on 0100 and create a screen which has a container on it then in the PBO module just caal the methods for the custom container and alv. Upon execution of the program, the alv will be displayed.
Regards,
Sachin
Similar Messages
-
Problem in oops ALV top_of_page
Hi all,
Iam using oops ALV to display by using custom controls.
We need to display selection screen parameters on top of page.
Iam using the method top_of_page and creating the instance in PBO module of the screen as shown.
MODULE status_0600 OUTPUT.
SET PF-STATUS 'PF-001'.
SET TITLEBAR 'ZTITLEBAR_836'.
*Create object of the event class and setting handler for double click
CREATE OBJECT event_receiver.
SET HANDLER event_receiver->handle_double_click FOR cl_alv_grid.
*Create object of the event class and setting handler for top of page
CREATE OBJECT event_receiver.
SET HANDLER event_receiver->handle_top_of_page FOR cl_alv_grid.
*display top of the page
CREATE OBJECT event_receiver.
SET HANDLER event_receiver->display_top_of_page FOR cl_alv_grid.
ENDMODULE. " STATUS_0600 OUTPUT
in method iam writing required details by 'REUSE_ALV_COMMENTARY_WRITE'
it is not showing any affect on the output screen.
Regards,
Anil.
A suggestion can make a difference.Hi,
To print top of page in oo alv, you can use class cl_dd_document, when you use method TOP_OF_PAGE in class CL_GUI_ALV_GRID
Refer:
Top Of Page in OO ALV
Hope this helps you.
Regards,
Tarun -
Problem in OOPs ALV using the BOX_FNAME property in LAYOUT
Hello Guys,
I am trying to use the property BOX_FNAME property in the LAYOUT of OOPs ALV, as a CHECKBOX for selecting the records and then processing the selected records.
Also i need to implement the functionality of SELECT/DESELECT ALL.
Below is the code i am using:-
DATA : w_layo TYPE lvc_s_layo. " Layout
w_layo-box_fname = 'MARKE'.
MARKE is a field used in internal table as CHAR01 field.
But know when i select record on display, the internal table field MARKE is not reflected back with the values.
Please suggest if i am missing something.
Thanks in advance.
Regards,
Tarun GambhirSolved by own, using method GET_SELECTED_ROWS of class CL_GUI_ALV_GRID.
Regards,
Tarun -
Problem with OOPS ALv-field editable
hi experts,
I am displaying one report using OOPS ALV. Now i am inserting a line in the output, so some mandatory fields are automatically filled up in the new line, and i am trying to fill new values for the remaining empty fields, So initially they are non-editable in the fieldcatalog.if i click on the 'INSERT LINE' button then only the fields shud be input enabled, how to do this.
Thanks in advance,maybe sample report BCALV_EDIT_04 might help you there.
-
HI ALL,
MY ONE REPORT IS RUNNING IN SAP 4.7 SERVER. IT IS A ALV REPORT.
AFTER UPGRADING SAP 4.7 TO ECC 6.0 NOW I'M RUNNING THE SAME REPORT IN ECC 6.0 NOW IT IS NOT SHOWING DATA.
DATA IS COMMING IN INTERNAL TABLE UPTO ALV GRID DISPLAY FUNCTION
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
i_background_id = 'ALV_BACKGROUND'
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
it_sort = gt_sort[]
i_save = 'A'
it_events = gt_events[]
TABLES
t_outtab = IT_TAB
EXCEPTIONS
program_error = 1
OTHERS = 3.
CAN ANY BODY SUGEST WHY THIS IS HAPPING.
MUKESHHI,
PROB. IS THE SAME CODE IS RUNNING IN 4.7 SERVER.
BUT IN ECC 6.0 IT DISPLAY ONLY REPORT HEADING PART.
I.E REPORT IS RUNNING NO ERROR COMMING DURING DUBEING INTERNAL TABLE CONTAIN DATA.
BUT OUTOUT IS ONLY COLUMN HEADING NO DATA.
MUKESH -
Spool ALV not displaying two column value
Hi,
In spool ALV is getting displayed. But the output is not printing the value of 2 columns , both are MATNR values. I checked the output table it is fetching the material number but ALV is not displaying it. please help its urgent. The GI material is not getting displayed.HI Aparjitha,
As per the above screenshot I assume there should be only 2 possible cases as said by Jyoti. Apart from that there is no other chance of missing data, especially for couple of columns in the output.
If you are passing the value at run-time to MATNR and you are able to see that in output, hence your final internal table which you are passing to the ALV is not filled appropriately with MATNR values. May be those values are cleared somewhere.
It would be better if you could share some piece of your subroutine FIELDCATFILL code. Also place a breakpoint before ALV display and check if the fieldcatalog and the final internal table are having the appropriate values.
Regards,
Naresh -
Hi,
I am calling 'REUSE_ALV_GRID_DISPLAY' and it is not displaying zeros in two fields. I mean for all the values which are 0.00 it is just showing blanks in ALV.
Internal table is populated properly.
Pls helptry giving the datatye in fieldcatalog
wa_fieldcat-datatype = 'CURR' -
Problem with Loader Components, can not display my forms properly
Here is the problem (my God, my customer waiting for his web
site:( ... ) I have a form made in CoffeeCup Flash Form Builder
(Nice one...).Now this form with fields like name, sec name age,
etc I want it to apear into my main screen when I press the button
"Reservation" and then the customer could fill the fields and sent
it to my mail. I tryed with the Loader Component, I mean when I
press the button then starts "playing" the form.swf. BUT the Loader
can not display the form properly specialy thinks like drop down
menus in the form, or check boxes....It just show me the
form....The Flash Form Builder gives me 4 files like: form.swf,
form.html, form.php and form.xml. Any solution on how my customers
complete this form with no problems?
THANK YOU A LOT!Dear,
You have to following these step to run form on firefox,
Run the following file,
1) C:\DevSuiteHome_1\jinit\jinit.exe
2) jvm.dll copy this file to the following path,
C:\Program Files\Oracle\JInitiator 1.3.1.22\bin\hotspot
3) And firefox connection settiong with 'No-Proxy'
The above setting it will help full you to run your form on firefox.
Thank you, -
Problem with Answers Chart Output Not Displaying Last Column, Bottom Label
Good morning --
I have created an Answers chart that has the following characteristics:
- Bar chart
- Should display approx 20 bars
- Data is being returned correctly as a table
What is happening is that the frame for the chart is too small -- as a result, three or four columns are not displaying (with the last one truncated partway into displaying). The default label at the bottom of the chart is also getting cut off.
I have tried to manipulate the size of the container in the Compound View, but this does not help -- the graph expands or shrinks with exactly the same partially truncated set of bars. Added "cell padding" and just had more white space between the edge of the container and the truncated label / bar. I have tweaked the Graph Properties to no avail.
Can you help?
Thanks,
Jasoncould it be because the chart is interpreting the values as text values instead of numbers? and 9 would then be much larger than ther other values? I'd try values without comma....tell it it's a numeric value like 12345.67.
-
Problem: Dynamic Page portlet is not displayed on a public-viewable page
I've written a little dynamic page portal that works nicely on secure pages, but when I create a new page and mark this page as "public viewable" - the portal is not displayed.
I created a 2nd public page and put several prebuilt and some of our own portlets onto this page - again none worked - except the prebuilt "login" portlet.
Is there a restriction that I'm not aware of?
Is there a documentation about this behaviour?
Can anyone post me a hit or link to documentatin?
Sincerly,
Art
Message was edited by:
user620777Make sure your Portlet Provider access is set to allow 'PUBLIC' access with Execute';
To set, navigate to Providers > Locally Built Providers
Follow 'Grant Access' link near provider name
Doc Reference, Section A.5.1.2 > http://download.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_portletbuilder.htm#BABIEFJG -
Alv not displaying top-of-page
hi every buddy,
i am workiong on report where there is a requirment of dislpaying alv
with top of page having some details . the event function mudule is calling the top-of-page fm properly
but perform for top-of page is not called up
i.e. controls are not goin to that point of perform
please give me your valuable suggestions
regards
prashantHi,
please check this code it is working
type-pools: slis.
* Including icon for icon display
include <icon>.
* Including symbol
include <symbol>.
* Declaring structure for vbak
types: begin of t_vbak,
vbeln type vbeln_va,
auart type auart,
netwr type netwr,
vkorg type vkorg,
vtweg type vtweg,
erdat type erdat,
vbtyp type vbtyp,
augru type augru,
icon type icon-id,
end of t_vbak.
* Declaring structure for vbap
types: begin of t_vbap,
vbeln type vbeln_va,
posnr type posnr,
matnr type matnr,
arktx type arktx,
lsmeng type dzmeng,
auart type auart,
netwr type netwr,
vkorg type vkorg,
vtweg type vtweg,
erdat type erdat,
vbtyp type vbtyp,
augru type augru,
icon type icon-id,
end of t_vbap.
* Declaring variables
data: v_vbeln type vbeln,
my_tab type sy-tabix.
* Declaring internal table and wa for vbak and vbap
data: i_vbak type table of t_vbak,
wa_vbak type t_vbak,
i_vbap type table of t_vbap,
i_pbo type table of t_vbap,
wa_vbap type t_vbap.
* Declaring internal table and wa for alv components(fieldcatalog,layout,events,header)
data: i_fieldcat type slis_t_fieldcat_alv,
wa_fieldcat type slis_fieldcat_alv,
wa_layout type slis_layout_alv,
i_event type slis_t_event,
wa_event type slis_alv_event,
i_header type slis_t_listheader,
wa_header type slis_listheader,
wa_varient type disvariant,
wa_sort type slis_sortinfo_alv,
i_sort type slis_t_sortinfo_alv.
* Declaring selection-screen details
selection-screen: begin of block b1 with frame title text-001.
selection-screen skip.
select-options: s_vbeln for v_vbeln.
selection-screen: begin of block b2 with frame title text-008.
parameter: ch1 type c as checkbox, "check bos for Subtotal.
ch2 type c as checkbox. "check box for Grand total.
selection-screen: end of block b2.
selection-screen: end of block b1.
* Start of start-of-selection
start-of-selection.
* Fetching data from vbak table
select vbeln
auart
netwr
vkorg
vtweg
erdat
vbtyp
augru
from vbak into table i_vbak
where vbeln in s_vbeln.
if sy-subrc = 0.
* Fetching data for vbap table
select vbeln
posnr
matnr
arktx
lsmeng
from vbap into table i_vbap
for all entries in i_vbak
where vbeln = i_vbak-vbeln.
endif.
* Looping data for final output
loop at i_vbak into wa_vbak.
* checking conditiions for icon
if wa_vbak-netwr < 10000.
wa_vbak-icon = '@08@'.
elseif wa_vbak-netwr < 15000.
wa_vbak-icon = '@09@'.
else.
wa_vbak-icon = '@0A@'.
endif.
modify i_vbak from wa_vbak index sy-tabix .
endloop.
*Looping data for final output
loop at i_vbap into wa_vbap.
my_tab = sy-tabix.
read table i_vbak into wa_vbak with key vbeln = wa_vbap-vbeln.
if sy-subrc = 0.
wa_vbap-auart = wa_vbak-auart.
wa_vbap-netwr = wa_vbak-netwr.
wa_vbap-vkorg = wa_vbak-vkorg.
wa_vbap-vtweg = wa_vbak-vtweg.
wa_vbap-erdat = wa_vbak-erdat.
wa_vbap-vbtyp = wa_vbak-vbtyp.
wa_vbap-augru = wa_vbak-augru.
wa_vbap-icon = wa_vbak-icon.
modify i_vbap from wa_vbap index my_tab transporting
auart netwr vkorg vtweg erdat vbtyp augru icon.
endif.
endloop.
* Preparing fieldcatalog for final output
perform main_fieldcat.
*Preparing final layout for final output
perform layout.
*Preparing list header for final output
perform list_header.
*Preaparing events for alv display
perform event.
*Getting subtotals for amount fields
if ch1 eq 'X'.
perform sub_total.
endif.
*Showing final output data
perform alv_display.
form main_fieldcat .
*Fieldcatalog for icon
wa_fieldcat-fieldname = 'ICON'.
* WA_FIELDCAT-TECH = 'X'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-icon = 'X'.
wa_fieldcat-seltext_l = 'ICON'.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
* Fieldcatalog for salesorder
wa_fieldcat-fieldname = 'VBELN'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C410'.
wa_fieldcat-seltext_l = 'Sales order NO'.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for salesordertype
wa_fieldcat-fieldname = 'AUART'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C610'.
wa_fieldcat-seltext_l = 'Sales order type'.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for netamount
wa_fieldcat-fieldname = 'NETWR'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-edit = 'X'.
wa_fieldcat-emphasize = 'C501'.
* wa_fieldcat-input = 'X'.
wa_fieldcat-seltext_l = 'Net Amount'.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for salesorg
wa_fieldcat-fieldname = 'VKORG'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C310'.
wa_fieldcat-seltext_l = 'Sales Organization'.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for salesdistribution
wa_fieldcat-fieldname = 'VTWEG'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C210'.
wa_fieldcat-seltext_l = 'Sales Distribution'.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for date
wa_fieldcat-fieldname = 'ERDAT'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C110'.
wa_fieldcat-seltext_l = 'Sales OrderDate'.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for salestype
wa_fieldcat-fieldname = 'VBTYP'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C410'.
wa_fieldcat-seltext_l = 'Sales type'.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for orderreason
wa_fieldcat-fieldname = 'AUGRU'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C710'.
wa_fieldcat-seltext_l = 'Order reason '.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for itemnum
wa_fieldcat-fieldname = 'POSNR'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C110'.
wa_fieldcat-seltext_l = 'Item No '.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for materialnum
wa_fieldcat-fieldname = 'MATNR'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C710'.
wa_fieldcat-seltext_l = 'Material No '.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
wa_fieldcat-fieldname = 'ARKTX'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C310'.
wa_fieldcat-seltext_l = 'Description'.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
*Fieldcatalog for quantity
if ( ch1 = 'X' and ch2 = 'X' ) or ( ch1 = 'X' and ch2 = ' ' ) or ( ch2 = 'X' and ch1 = ' ' ).
wa_fieldcat-fieldname = 'LSMENG'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C510'.
wa_fieldcat-seltext_l = 'Quantity '.
* WA_FIELDCAT-edit = 'X'.
wa_fieldcat-do_sum = 'X'.
else.
wa_fieldcat-fieldname = 'LSMENG'.
wa_fieldcat-tabname = 'IT_VBAP'.
wa_fieldcat-emphasize = 'C510'.
wa_fieldcat-seltext_l = 'Quantity '.
* WA_FIELDCAT-edit = 'X'.
endif.
append wa_fieldcat to i_fieldcat.
clear wa_fieldcat.
endform. " MAIN_FIELDCAT
form alv_display .
wa_varient-report = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
is_layout = wa_layout
it_fieldcat = i_fieldcat
it_sort = i_sort
i_callback_pf_status_set = 'PF_STATUS'
i_save = 'X'
is_variant = wa_varient
it_events = i_event
tables
t_outtab = i_vbap
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.
endform. " ALV_DISPLAY
form layout .
wa_layout-colwidth_optimize = 'X'.
wa_layout-subtotals_text = 'SUBTOTAL SUM'.
wa_layout-totals_text = 'TOTAL'.
wa_layout-zebra = 'X'.
endform. " LAYOUT
form event .
call function 'REUSE_ALV_EVENTS_GET'
importing
et_events = i_event
exceptions
list_type_wrong = 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.
read table i_event into wa_event with key name = 'USER_COMMAND'.
if sy-subrc = 0.
wa_event-form = 'USER_COMMAND'.
modify i_event from wa_event transporting form where name = 'USER_COMMAND'.
endif.
read table i_event into wa_event with key name = 'TOP_OF_PAGE'.
if sy-subrc = 0.
wa_event-form = 'TOP_OF_PAGE'.
modify i_event from wa_event transporting form where name = 'TOP_OF_PAGE' .
endif.
endform. " EVENT
form user_command using ucomm type sy-ucomm
selfield type slis_selfield.
data: gstring type c.
constants: l_c_repid type sy-repid value 'ZCOE_ALV_SIMPLE'.
data: l_i_seltab type table of rsparams.
case ucomm.
when '&IC1'.
if selfield-fieldname = 'VBELN'.
set parameter id 'AUN' field selfield-value.
call transaction 'VA02' and skip first screen.
endif.
* * CASE ok_code.
when 'SAVE'.
* *A pop up is called to confirm the saving of changed data
call function 'POPUP_TO_CONFIRM'
exporting
titlebar = 'SAVING DATA'
text_question = 'Continue?'
icon_button_1 = 'icon_booking_ok'
importing
answer = gstring
exceptions
text_not_found = 1
others = 2.
if sy-subrc ne 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
* *When the User clicks 'YES'
if ( gstring = '1' ).
message 'Saved' type 'S'.
*Now the changed data is stored in the it_pbo internal table
i_pbo = i_vbap.
else.
*When user clicks NO or Cancel
message 'Not Saved' type 'S'.
endif.
**When the user clicks the 'EXIT; he is out
when 'EXIT'.
leave program.
* Clicking on refresh button at toolbar
when 'REF'.
* Calling fm to get refresh data
call function 'RS_REFRESH_FROM_SELECTOPTIONS'
exporting
curr_report = l_c_repid
tables
selection_table = l_i_seltab
exceptions
not_found = 1
no_report = 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.
else.
* * Calling the screen after refreshing
submit zcoe_alv_simple with selection-table l_i_seltab.
endif.
endcase.
endform. " USER_COMMAND
form top_of_page .
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = i_header.
endform. " TOP_OF_PAGE
form list_header .
* Local data declaration
data: l_date type char10, "Date
l_time(8) type c. "Time
wa_header-typ = 'H'.
wa_header-info = 'Sales Order Information Report'.
append wa_header to i_header.
* Run date Display
clear l_date.
wa_header-typ = 'S'.
write: sy-datum to l_date dd/mm/yyyy.
wa_header-key = 'Run Date :'(002).
wa_header-info = l_date.
append wa_header to i_header.
clear: wa_header.
wa_header-typ = 'S'.
* WRITE: sy-uzeit TO l_time .
l_time+0(2) = sy-uzeit+0(2).
l_time+2(1) = ':'.
l_time+3(2) = sy-uzeit+2(2).
l_time+5(1) = ':'.
l_time+6(2) = sy-uzeit+4(2).
wa_header-key = 'Run Time :'(009).
wa_header-info = l_time.
append wa_header to i_header.
clear: wa_header.
endform. " LIST_HEADER
form pf_status using rt_extab type slis_t_extab.
set pf-status 'SSS'.
set titlebar 'MAIN100'.
endform. "pf_status
form sub_total .
wa_sort-fieldname = 'VBELN'.
wa_sort-tabname = 'I_VBAP'.
wa_sort-spos = 1.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
* wa_sort-group = 'X'.
* WA_SORT-EXPA = 'X'.
append wa_sort to i_sort.
endform. " SUB_TOTAL -
PDF problem. Some fonts do not display.
Since moving CS4 to a new Mavericks installation I have two problems -
1. On clicking 'print', the application quits with no warning or message.
2. On exporting to PDF some fonts display only a bounding box for each character. Some fonts display OK.
Has anyone else had this problem and solved it?Thanks Peter, not sure about the fonts. They come up OK on mu InDesign document but not on the PDF. I will check that out.
As for the migration, I already did a fresh install on the new system.
Cheers. -
I generate a Word document for reviewers. PrintedDoc properties include: Retain hyperlinks; Include drop-down text; Include expanding text.
Sometimes the Word 2010 document includes hyperlinks, sometimes it doesn't.
Popups typically don't work in the Word document.
Drop-down and expanding text appear intermittently in the Word document.
Has anyone experienced this and have a solution?
Thanks.
CarolI have never known hyperlinks to fail except in two situations.
The target topic is not in the printed document. Obviously it cannot link to something that is not there.
The hyperlink is a popup.
Not sure what you mean by popups not working in a printed document. If you mean the links to them break, then see above. Known issue.
I'm not sure why you are having the dropdown and expanding text problem as I have not known that to be an issue either. Is it always the same dropdowns that fail? Have you compared a good dropdown and a bad dropdown?
Take a look at Printed Documentation on my site.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
ALV Title Not Display after transporting the Programme from DeV to Qlty
Hellow Experts,
i developed one ALV report with two screens, i transported the report from Development server to Qulaity server.
in Development server report are working fine but in Qulaity server after transporting the TiTle of ALV not display , plz give me some hint , below is my code to display alv title
DATA: alv_grid TYPE REF TO cl_gui_alv_grid.
DATA:alv_grid_ref type ref to CL_GUI_ALV_GRID.
DATA: layout TYPE lvc_s_layo.
layout-grid_title = 'Daily Material Reports.' .
DATA: fieldcat TYPE lvc_t_fcat.
I m using ALL METHOD alv_grid->set_table_for_first_display method for display alv .
Thanks,
Regards
Neha.Hi neha,
use the sap/help link to solve your issue,
[http://help.sap.com/saphelp_erp2004/helpdata/en/0a/b5533cd30911d2b467006094192fe3/content.htm]
if not use the below example code ,
Heading 3 :h3 Set the title of the grid
Fill the grid_title field of structure lvc_s_layo.
Note that the structure lvc_s_layo can be used for to customize the grid appearance in many ways.
DATA:
ALV control: Layout structure
gs_layout TYPE lvc_s_layo.
For example :
Set grid title
gs_layout-grid_title = 'Flights'.
CALL METHOD go_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'SFLIGHT'
is_layout =gs_layout*
CHANGING
it_outtab = gi_sflight.
Regards,
Saravana.S
Edited by: saravanasap on Dec 21, 2011 8:13 AM -
Radio buttons disabling functionality in OOPS ALV
Hi,
I am facing this peculiar problem in OOPS ALV. the requirement was to have a field and 2 radio buttons in ALV as editable when user clicks on CHANGE mode. but initially the table should be in display mode.
I have used the icons in ALV to provide the radio button functioanlity and its working.. but cant find solution to these 2 issues:
1) how to make radio button display only ?
2) when appending a new row in the ALV, its just appending a row with 4 columns ( 2 of field and 2 of radio button), but it is not able to append icons by default.
KIndly provide help on this. let me know if u need to clarify anything..
Thankx in advance,
Rohan MalikHi Rohan,
Not sure whether I understood your question correctly. I cant visualise your output .
To add icons while appending a new row to the output
First of all you need to have a field icon ( of type icon_d ) in your output table.
While appending the row you have to explicitly right the icon name to that field
l_record-icon = '@#12' something like that which you get from the type pool icons
Maybe you are looking for
-
Display stop funtioning on my Macbook Pro
I am up a creek here. Overnight the display stopped working. I tried doing the command ,option, R-P restart process, no success. I connected an external display and it didn't work, no signal flashed on the screen. I do not have the restart restore CD
-
UNIX Executable Files - Additional Info Needed About Zipped Files
I've tried to go through all of the questions posted so far but each link leads me back to the same three or four discussions. I have downloaded zipped folders of sound samples. When they are unzipped the files all have an extra space added just af
-
Error -18001 during installation of built application during installation on different PC
Hi All, We are having problems with making an installation package to install our built TestStand/LabVIEW application on the target PC. We get the error shown in the attached image and haven't been able to determine what is correct on the destinat
-
Recently my PC started randomly restarting with no error or warning, nothing in the event logs also would sometimes just 'crash' no display, just a continuous tone from the PC Speaker. Through swapping various items of hardware ruled out bad RAM, Gra
-
Hi gyz, I have configured the document managment system successfully and I can use the functionality through cv01n,cv03n. Now how can i integrate it with ME23N so any document attach from me23n should upload in DMS...???