This article talks about how to use a very nice DATE FM DAY_ATTRIBUTES_GET to read the following details about a date -
1. Find out what day is the date
2. Find out whether the day is a holiday according to factory calender.
3. Full description of the day as a formatted output.
Read on know how to use the FM-
Tags: DAY_ATTRIBUTES_GET, get day from date, ABAP Date FMs, Read Date info, SCAL, Find out whether a date is holiday or not according to factory calender
This article provides a custom Function module to process a Process Chain in BW/BI. We use standard FMs to start the Process chain and to find the status of the Process Chain. The system waits till the Process chain is processed and returns the status of execution.
Tags: RSPC_API_CHAIN_START, RSPC_API_CHAIN_GET_STATUS, FM to run process chain
This article explains the usage of Cluster table to store documents. Here we will build an ABAP program to upload/download documents from/to presentation server. Instead of storing the file in the application server we store it in a Cluster Database table. We will discuss the following topics in this article:
1.) Upload file from presentation server in binary mode and store it in a cluster data table.
2.) Convert binary table to a xstring.
3.) Download file to presentation server from a binary table.
4.) Convert xstring to a binary table.
Tags: Cluster Table INDX, IMPORT FROM DATABASE, EXPORT TO DATABASE, Upload file into a Binary table, Download file from a binary table, SCMS_BINARY_TO_XSTRING, SO_SPLIT_FILE_AND_PATH, cl_gui_frontend_services=>gui_download, cl_gui_frontend_services=>file_save_dialog, SCMS_XSTRING_TO_BINARY, SO_SPLIT_FILE_AND_PATH
This article explains how to build a search help for a report to select multiple values from the Search result for a select options field in the selection screen. We use the FM F4IF_INT_TABLE_VALUE_REQUEST for this purpose. Read on to see more details...
Tags: F4IF_INT_TABLE_VALUE_REQUEST, Select Multiple entries from a F4 search result
This article explains how to install a true type font in SAP. This font once installed can be used in any of your Smartforms or SAP scripts. The true type font should be first available in your desktop in the form of a font file. (Extension ttf). Read on to see how to do this -
This article on WDA ALV will focus on these points-
1. Remove existing function buttons in ALV toolbar
2. Add new buttons to the ALV toolbar (Select All and Deselect All)
3. Select All button will select rows only displayed in that view and not all. Same for the Deselect All button.
Tags: WDA ALV Function buttons, ON_FUNCTION event ALV, Add new buttons
Here in this article we are going to build a value help for an input field which is dependent on another drop down. Say for example, we select a Airline code in the dropdown list box and then use the F4 help for the Meal Number I/P field, it shows only Meal numbers which are available only in the Airline carrier selected.
To build this kind of value help we need to make use of Object Value Selector concept in Webdynpro ABAP. Complete source code for the example object developed is also provided here. Read on to find out more details...
Tags: Object Value Selector, Chain F4 help implementation, WDR_OVS, Generic Input Help, ovs_callback_object->phase_indicator, DDLB in WDA, Dropdown by key in Webdynpro
This article explains how to create a F4 help for a selection screen field based on selection of other field. We take the following example to explain this -
Selection screen will have two fields one for Carrier and other for Meal Number. If a Carrier is selected and F4 help for Meal number is clicked, this value help gets only meal numbers for the selected carrier. Read on to see the complete source code for the example...
Tags: Chain F4 help, AT SELECTION-SCREEN ON VALUE-REQUEST, DYNP_VALUES_READ, F4IF_INT_TABLE_VALUE_REQUEST