ABAP Web Dynpro, ALV, Cardinality 0..n, Remove Select/Deselect All
Hi Everyone
I am developing a new application using ABAP Web Dynpro. I am using ALV. I want to give the user the option to select either 0 or multiple rows in the ALV grid. However, I want to hide the standard Select All/Deselect All push button that appears in the top left hand corner. This is because we do not want the user to simply select all and then click on a pushbutton to complete the process. If they wish to do this, they must manually select each item first of all. Anyone have any ideas? I've looked at the underlying ABAP classes for WD4A, but cannot find a method to do this.
Thanks in advance for your help!!
Jon
Hello,
To hide the buttons that appear at the top left of ALV, do the following:
lo_model->if_salv_wd_std_functions~set_edit_check_available(
EXPORTING value = abap_false ) .
lo_model->if_salv_wd_std_functions~set_edit_append_row_allowed(
EXPORTING value = abap_false ) .
lo_model->if_salv_wd_std_functions~set_edit_insert_row_allowed(
EXPORTING value = abap_false ) .
lo_model->if_salv_wd_std_functions~set_edit_delete_row_allowed(
EXPORTING value = abap_false ) .
lo_model->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).
lo_model->if_salv_wd_std_functions~set_view_list_allowed( abap_false ).
lo_model->if_salv_wd_std_functions~SET_EXPORT_ALLOWED( abap_false ).
Hope this helps!
Regards,
Srilatha
Similar Messages
-
How does one enable:
1) Column selection (single & multi)?
2) Cell selection (single & multi)?
This is Web Dynpro ALV 2004S support stack 6.
Regards,
Glenn.hi
good
go through these links, i hope these ll help you to solve your problem,
http://www.sap-press.de/download/dateien/1079/sappress_web_dynpro_for_abap.pdf
http://help.sap.com/saphelp_nw04s/helpdata/en/b5/ac884118aa1709e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/b3/4d3642eca5033be10000000a1550b0/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9
thanks
mrutyun^ -
ABAP Web Dynpro ALV: event for "tabel selection menu" needed
Hi all,
we need to react on the "table selection menue" control in our ALV grids. We found, that event "lead_select" is triggerd, if single lines are selected and if "delete selection" from the table selection menu is used.
But if the "select all" item is used, the event is not triggered.
Is there another event we can use? Does anybody know a sensible workaround for this problem?
Thanks and regards
JoachimHello Joachim,
perhaps it's better to post your question in the WebDynpro ABAP forum:
Web Dynpro ABAP
Best regards
Stephan -
ABAP Web Dynpro ALV - User Defined Functions
Dear All,
I don't know if my question is worth a new topic, but since I haven't found any appropriate answer by now I want you to ask the following:
We're using the ALV web dynpro component to manage data and have added user functions in order to display buttons for saving data and adding new lines.
Everything worked fine for us until some users adjusted the default view of the table by using the default 'Settings' option to hide some columns.
The problem we're facing now is that the labels of the additional buttons - which were set up by use of OTR texts on initialisation of the dynpro - are blank until the user navigates on the dynpro or changes some cell contents. After that labels are shown correctly again.
The problem is that I cannot simulate this dynamically, neither I can narrow down the source of the problem at all.
A prompt reply would be very much appreciatedHi Eddy,
Could you please create a CSN ticket for this problem, the component is BC-WD-CMP-ALV.
Please enter all relevant data and access to your system to the message.
Thanks,
Regina -
My ABAP Web Dynpro iView encouters errors:
The URL http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo// was not called due to an error.
Note
The following error text was processed in the system SB2 : WebDynpro Exception: Error in UCF Template POPUP_PAGE ($).
The error occurred on the application server sw06_SB2_04 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE of program CX_WD_GENERAL=================CP
Method: RENDER_TEMPLATE of program CL_WDR_UCF====================CP
Method: HANDLE_TEMPLATE of program CL_WDR_UCF====================CP
Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
I was able to run the ABAP web dynpro application outside of portal by using the url: http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo/. But with the extra / at the end, I get the same error.
Can anyone point me to how to remove that extra / at the end?
Thanks
BenHi Gurus ,
We have upgraded the SAP HR system from ECC6.3 to ECC6.4 and netweaver from 7.0 to 7.1 .
Following are the list of error in EHP4 system ,
1) Layout of ABAP Webdynpro Component are not displayed .
2) Any ABAP WEBDYNPRO Application is not displayed by tesing in SAP-R3 and also in ESS .
error are as follows while trying to view layout in abap webdynpro application :
http://dv.hr.co.in:4567/sap/bc/wdvd/painting.html?_vdrespkey=4IS29CT7NDRIOI511AFI0R1E3&_vdframe=painting&sap-client=435
If any one have information for this kindly let me know .
Thanks :
Vishwas -
Calling an interface METHOD of another abap web dynpro application
Hi Experts,
Can u plz tell how we can Call an interface METHOD of another abap web dynpro application in main WD Component.
Thanks
MaheshHi ,,
Example ALV interface method calling GET_MODEL interface method
View attribute declaration : M_WD_ALV type IWCI_SALV_WD_TABLE
DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
wd_this->M_WD_ALV = wd_this->wd_cpifc_alv( ). "ALV is the usage name
DATA lv_value TYPE ref to cl_salv_wd_config_table.
lv_value = wd_this->M_WD_ALV->get_model( ). " interface method calling in ALV component usage.....
Regards,
Devi -
ABAP Web Dynpro Application changes in Administation Mode no longer working
Hi Gurus,
To apply customizing to a standard SAP Web Dynpro application we used to simply run the application in administration mode. After we changed a parameter to allow for theme application this adminstration mode no longer works. Right-Click simply acts as if you are running the application normally. We have tried to remove our parameter but this had no effect.
How can we "fix" this error without creating a new custom configuration which will cause the URL to change?
Thanks,
GarthHi,
how did you open in administrative mode?
to open in adminstrative mode do as follows:
In se80 ,i.e in the menu bar:
Web Dynpro Application->Test->Test in Administation mode.
i hope u can see the option "Settings for surrent config" .
you can refer the thread.
[Re: ABAP Web Dynpro Application changes in Administation mode]
Priya. -
Use of multiple components in ABAP WEB DYNPRO
Hi,
Am new to abap web dynpro and I just want to know whether we can use multiple components for an application in web dynpro.
Thanks ,
Dhaya.G
Edited by: Dhayalinie Ganesh on Feb 22, 2012 12:06 PMHi,
depending requirement of application we can use multiple components.
for example if we want to display table data into alv grid for that we can use the existing(standard component) ie: SALV_WD_TABLE .Like such a way we can use the components as per our requirements.
For importing components:
--> Go to properties tab of view of your web dynpro application
--> There you can find one button create controller usage ,click on it then import the components
Thanks&Regards
Sreenivas Pachva
Edited by: sreenivas.p on Feb 22, 2012 1:11 PM -
How to pass field symbol or table from one view to another view in abap web dynpro?
I am creating an Inbound Outbound ALV report in ABAP Web Dynpro. However at selection-screen I have select options and fetching is done at view2. Problem is we can pass parameter using inbound outbound parameters but how to pass internal table or field-symbols from one view to another view? I made use of Assistance Class too but its not very clear to me. Please give me some example or code to sort this problem out.
I am creating an Inbound Outbound ALV report in ABAP Web Dynpro. However at selection-screen I have select options and fetching is done at view2. Problem is we can pass parameter using inbound outbound parameters but how to pass internal table or field-symbols from one view to another view? I made use of Assistance Class too but its not very clear to me. Please give me some example or code to sort this problem out.
-
Launch ABAP Web Dynpro from UWL
I have developed an ABAP Web Dynpro application. The application needs to be launched from the UWL. This is not working. I get the message 404 Not found The requested resource does not exist. I think the problem is with the WebDynproNamespace setting in the UWL config file but i am not sure. Anyone have any ideas? Full points to the working answer
Application Properties (SE80):
Description DJ: Link AR Invoice to AP Invoice
Component ZDJLINKINV
Interface View MAIN_WINDOW
Plug Name DEFAULT
Help Menu Text
Help Link
Show Message Component on Demand
Always Display Message Component
Package ZSAPPHIRE_SUB_01
Language EN
URL http://<removed for security reasons>/sap/bc/webdynpro/sap/zdjlinkinv
Transaction SWFVISU:
(task visualization)
TS90100177 ABAP Web Dynpro
(visualization parameters)
APPLICATION ZDJLINKINV
DYNPARAM WI_ID=$(item.externalid)
NAMESPACE SAP
UWL Configuration:
<ItemType name="uwl.task.webflow.TS90100177.FISystem" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
<ItemTypeCriteria systemId="FISystem" externalType="TS90100177" connector="WebFlowConnector"/>
<Actions>
<Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
<Properties>
<Property name="WebDynproApplication" value="ZDJLINKINV"/>
<Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
<Property name="DynamicParameter" value="WI_ID=$(item.externalid)"/>
<Property name="openInNewWindow" value="yes"/>
<Property name="WebDynproNamespace" value="SAP"/>
<Property name="display_order_priority" value="5"/>
</Properties>
<Descriptions default=""/>
</Action>
</Actions>
</ItemType>Check out the below links:
1) [UWL work item not launching |http://www.surfingincognito.com/index.php?q=aHR0cHM6Ly9mb3J1bXMuc2RuLnNhcC5jb20vdGhyZWFkLmpzcGE%2FdGhyZWFkSUQ9MTYxMzA2OA%3D%3D]
2) [Calling Web Dynpro ABAP application as work item|Calling Web Dynpro ABAP application as work item through workflow.;
3) [Integrating WebDynpro ABAP applications with UWL for workflow in Portal|http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal]
Hope it helps you.. -
Hi All,
I have created an editable ALV grid within my ABAP web dynpro application, but what i want to do now is make one of the editable fields a drop down of options(like UI element dropdownbyindex) rather than having to type the entry in or use the search help. Does anyone know if this is possible and how i would go about doing it?
Regards
MartHello,
Yes, it's possible. In this [wiki|https://wiki.sdn.sap.com/wiki/x/AQD4AQ] I show how to use UI elements in ALV components cells.
Please see the method build_alv, in this I show how to add the UI components to the ALV cells. The object that you'll need to use is CL_SALV_WD_UIE_DROPDOWN_BY_KEY or CL_SALV_WD_UIE_DROPDOWN_BY_IDX.
Regards. -
Web Dynpro ALV grid column colour
Hi,
I have tried to set the colour of a column for my web dynpro alv with the below code but it the colour for this column has not changed - it seems to remain the standard colour. Is there something else i need to do?
DATA: lt_columns TYPE salv_wd_t_column_ref
, ls_columns TYPE salv_wd_s_column_ref
, lr_column TYPE REF TO cl_salv_wd_column
lt_columns = lo_value->if_salv_wd_column_settings~get_columns( ).
LOOP AT lt_columns INTO ls_columns.
IF ls_columns-id CS 'TOTAL_'.
lr_column = ls_columns-r_column.
lr_column->set_cell_design( cl_wd_abstr_master_table_col=>e_cell_design-positive ). "CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-GROUP_LEVEL1
ENDIF.
ENDLOOP.Hi Samir,
You will have to create an attribut WDUI_TABLE_CELL_DESIGN and bind this attribute with the cell design property of the column. Check this wiki link [https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP%20Web%20Dynpro%20ALV%20-%20Change%20Cell%20Colour%20based%20on%20Content], it will solve your issue.
Regards,
Radhika. -
hI,
i HAVE a requirement to add extra 2 columns in web dynpro alv of standard web dynpro component
what are the steps to be taken.Hi Madhav,
Please cehck Thomus answer in this thread..
is possible to enhance standard ALV?
Enhancement Implementation - Removing columns in standard ALV table
Cheers,
Kris. -
Web Dynpro ALV vs. Table
Hello,
can u please describe the main differences between Web Dynpro ALV and Web Dynpro Table ?
When do I choose which component for my applications ?
Thanks in adavance
Best regards
hermannhHi,
SAP List Viewer (ALV) is a tool which is used to display lists and tabular structures and provides a lot of flexibilty for report generation.
Flexible in the sense , it has a lot of inbuilt functionalities which are used in general in a reporting and thus helps in reducing a large amount of coding.
for eg: <code> CALL METHOD alv_grid->set_table_for_first_display
EXPORTING
I_STRUCTURE_NAME = 'YCLII_CUST_STRU'
CHANGING
it_outtab = CUST_TAB
<code>
The above method is used for table generation. Mny more funtionalities such as sorting and re-arranging of result output is also available.
for further info check this link.
http://www.sap-img.com/abap/what-is-alv-programming.htm
http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/f0b107e4-dc72-2c10-08a7-b822c9abf0e2
Thanks -
Detail Button in Web Dynpro ALV
Hi at all,
when I create an ALV in Standard ABAP there is a small "Detail" button on the left side of the button row without any additional complex programming.
How can I get this button in Web Dynpro ALV?
DirkThe standard ALV Component in Web Dynpro doesn't have this features. It wouldn't be too difficult to add manually. You could simply bind a custom view to the lead selection of the same context you are using in the ALV and use the form wizard to generate the UI elements. It isn't quite as nice becuase it woudl require a few manual steps for each usage of the ALV where you want this functionality.
Maybe you are looking for
-
New iphone 6+ and no means of moving my music library to the phone...
I haven't been this frustrated with my Mac/Phone setup in years.... I got a new iPhone 6+ today and am not seeing what I'd expect to see in the "Music" tab under the device vis-a-vis options. I do have iTunes Match and have tried it both turned on an
-
Last Read Page Not working in Reader 9
Win 7 Reader 9 remember last page read won't work. Works fine in Win XP Reader 7. Any help? (Yes, restore last view settings when reopening documents is checked as are the accessability option reopen documents to the last viewed page)
-
Does PSE 7 give you the option to copy photos to a flash drive yet, in PSE 5 I have to burn the files to a CD/DVD drive which is a pain if you just want to copy photos for somebody else.
-
Difference - ORDERS05 sent from SAP to Supplier and SAP to SNC to supplier
Hi Friends, Want to know the Difference between two scenario - detail level analysis, 1. ORDERS05 IDoc (Purchase Order) sent directly from SAP to Supplier. 2. ORDERS05 IDoc (Purchase Order) sent from SAP to SNC and then to Supplier. Is there any diff
-
kde4 don't work after last upgrade of xorg-server and others like xf86 for my card savage twister any ideas?