This article provides a ready to use function module to get all weeks in a given date range. Say for example we enter a date range 05/01/2009 - 06/30/2009, the function module fetches all weeks in that date range.
Tags: FM to get all weeks in a date range, DATE_GET_WEEK, WEEK_GET_FIRST_DAY, get weeks
Although in SAP ECC system we already have function modules which does this purpose but in other SAP systems such as CRM those FMs don't exist. This article provides a ready to use FM to calculate the end of the month for any given date. It also provides a logic on how to find whether an year is leap year or not using ABAP.
Tags: END_OF_MONTH_DETERMINE, Determine end date of the month, ABAP Date FMs
This article provides a ready to use function module to calculate the first day of the week for any given date. We use the standard SAP standard FMs WEEK_GET_FIRST_DAY and DATE_GET_WEEK for this purpose.
Tags: DATE_GET_WEEK, WEEK_GET_FIRST_DAY, Date FMs, FM to get start date of the week
This article provides details about for the following things-
1. Search help to select a filename and default the extension in the value. For example provide a search help to select only particular file extension.
2. Provide a search help to select file from application server
Tags: F4 help to select Application server file, default file type/extension to select a file name, cl_gui_frontend_services=>file_open_dialog, default_filename, file_filter, /SAPDMC/LSM_F4_SERVER_FILE, rs_get_f4_dir_from_applserv, KD_GET_FILENAME_ON_F4
This article provides an example on how to use ItemListBox UI element in Webdynpro ABAP. We are going to see an example where in we populate the ItemListBox with some data, retrieve the selected values and reset it upon some particular actions.
Tags: ItemListBox in Webdynpro, get_selected_elements( ), delete selections, invalidate node
In terms of performance and look and feel of the code, CASE statement scores more than IF statement. Say suppose we have a lot of boolean variables in a program to validate and we need to write a huge IF-ELSE statement for that matter, we can easily replace them with a CASE. Read on to find more details with a code snippet.
Navigation in Webdynpro ABAP UI element TABLE can be using PAGINATOR or SCROLLBAR where PAGINATOR is default. This article provides a tip on how to activate a scroll bar for navigation in TABLE UI element. ALV component is based on TABLE element so even ALV behaviour is also effected.