The layout is used to arrange the UI elementss within the parent container. The node ROOTUIELEMENTCONTAINER is the root UI element and all the UI elements within a view are children of this root container. It is of TransparentContainer type and has initially assigned to it the FlowLayout layout. 
Flow Layout
Left to right, across the screen
Grid Layout
Arranged by number of columns (e.g.colCount = 4)
Matrix Layout
Number of columns not fixed. Eachelement can be specified for which rowand which column.Need to specify new row items.(MatrixHeadData)
Row Layout
Row by row.Need to specify new row items.(RowHeadData)
Frame Layout


 

If you want to watch demo, You can search in SDN or click here.
In the GUI status of the selection screen set by the system, the application toolbar contains five inactive pushbuttons, to which the function codes FC01 to FC05 are assigned. This statement activates the pushbutton of the function code FC0n, whereby a value between 1 and 5 must be entered for n.

To enable use of the pushbuttons, the statement TABLES must be used to declare an interface work area of the structure SSCRFIELDS from the ABAP Dictionary.

To activate pushbuttons on the selection screen, Please follow the sample program.
REPORT  ztest_notepad.
"This declaration must be there.
TABLES: sscrfields.

SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME.
PARAMETERS: p1(10),
            p2(10).
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK block1.
"Add button to application toolbar
SELECTION-SCREEN FUNCTION KEY 1.  "Will have a function code of 'FC01'

INITIALIZATION.
  "Add displayed text string to buttons
  MOVE 'Application button' TO sscrfields-functxt_01.

*AT SELECTION-SCREEN.
AT SELECTION-SCREEN.

  IF sscrfields-ucomm = 'FC01'.
    BREAK-POINT.
  ENDIF.
There are three types of OSS notes.
  1. Descriptive – in this notes you can find a description of a problem and how to resolve it with means of customizing or different settings in the system. Kind of these notes are FAQ’s, general notes for something – there is collection of OSS notes related to any problem.
  2. Code correction – these notes are easily to implement with SNOTE transaction.
  3. Mixed type – in this case there are some manual corrections or customizing in the system described in the note and also code correction implementation. Implementation could be before or after manual corrections – this is described in the note and is very important in some cases.
Other classification of OSS notes
  1. Release dependent
  2. First you need to check the section "Affected Releases". You must find whether your release is mentioned there. After that you must check in the next section "Correction delivered in Support Package" for your release what Package Name is mentioned there. If this package is greater than what you have installed in the system then the note is applicable. The opposite – when the package in the note is equal or less than yours – the note is not applicable, because the functionality delivered with the note are already in the system.
  3. Release Independent
  4. Some times there is a section “Related notes”. Some of them could be a prerequisite for our note. It is better practice you to check the correction instructions, because there you could find also the prerequisites, even though they are not mentioned as related notes. It is better you to check these prerequisites (if there are) before implementing, because some of them could consists of manual corrections.
SAP Notes
SAP Notes give you instructions on how to remove known errors from SAP Systems. They include a description of the symptoms, the cause of the error, and the SAP Release and Support Package level in which the error occurs.
Depending on the type of error, an SAP Note may also include:
  • Workarounds
  • Descriptions of how to correct repository objects in the ABAP workbench, known as correction instructions
  • Links to Support Packages that solve the problem

OSS notes are online documents published by SAP in their web site http://service.sap.com, aimed to take care of the following:
  1. Product errors
  2. Product modifications
  3. Product upgrades
  4. FAQs
  5. Consulting notes
  6. Customizing notes etc

Steps to configure OSS for SAP Note assistant
  1. Run transaction code SM59
  2. Select SAPOSS under ABAP Connections.
  3. Double-click SAPOSS.
  4. Change the parameters described below.
    • On the Technical Settings tab page for the ABAP connection SAPOSS, specify the correct target host (NC host, where SAProuter is installed) for your environment.
    • We recommend that you switch the storage type from IP Addr. to Hostname.
    • On the Logon & Security tab page, specify a user for this connection
  5. Check your settings by choosing Remote Logon at the top of the view. If you configured the OSS destination correctly, nothing will happen. Otherwise, an error message is displayed.
  6. You can also run the Connection Test to get more information about the connection speed

Steps to apply SAP note
  1. Find the suitable SAP note from SAP NOTES for the problem in the program or function module wherever.
  2. Go to SNOTE transaction and download the note if SAPOSS is configured in SAP system.
    • Goto menu->Download SAP Note->Note number->Execute
  3. If SAPOSS is not configured in SAP system
    • Download SAP NOTE from SAP NOTES using Download manager to Desktop
    • Goto menu->Upload SAP Note->Select the downloaded SAP Note
  4. Expand New node in the SAP Notes tree->Search for the newly created Note.
  5. Double click on the SAP Note->Check the implementation status(Can be enhanced or not?)
  6. Place the cursor on the Note to be applied, execute run button(Implementing SAP note).

This generic program is used to download PA and PY infotype data to presentation server.
Steps in the program
  1. Get file directory using method cl_gui_frontend_services=>directory_browse.
  2. Create Dynamic table
  3. Generate records header by fulling header description using DDIF_FIELDINFO_GET funtion module.
  4. Extract data from Database
  5. Download data using GUI_DOWNLOAD function module by passing table with TAB delimited columns.

Table maintenance dialog(Generator) is used to maintain customizing data. We can create, change and delete customizing data with these maintenance dialogs. We can also use maintenance dialogs for customer database table and maintenance views.

How do we create Table maintenance generator?

There are two steps
  1. Define table or Maintenance View.
    1. Set table view maintenance to X(Display/Maintenance allowed) under Delivery and Maintenance tab
    2. Set maintenance status of the view under Maint.Status tab
  2. Define maintenance dialog.
    1. Function group: the function group in which the tables/view-specific maintenance dialog components are generated. The function group is created if necessary.
    2. Authorization group: the users who are authorized to maintain the table/view contents. Without authorization group enter &NC&.
    3. Maintenance type: one or two-step dialog. One-step dialogs comprise only an overview screen containing all fields. In two-step dialogs, only the key and text fields with a length of more than 20 characters are displayed in the overview screen. All fields are offered in the detail screen.
    4. Maintenance screens: the internal number of each maintenance screen. You can get possible values in a search function.
    5. Recording routine: Specify whether and how the table/view contents maintained with the dialog are put in a transport.
Thursday, January 13, 2011
Steps to follow to edit Table entries using SE16N transaction code
  • Go to transaction SE16N and enter table you want to edit.
  • In the command field enter '&SAP_EDIT' & press ENTER. SAP editing function is activated.
  • Enter selection criteria and click on F8 button.
  • Now you can change/delete existing record or create new record.
  • SAVE.
NOTE: Transaction N, is used instead SE16n. Try in command field.
Wednesday, January 5, 2011

Contributor

  • Easin Muttaqi, SAP Technical Consultant

1.Go To Transaction: OH11
Path: IMG > Personnel Management > Personnel Administration > Payroll Data > Basic pay > Wagetypes > Create wage type Catalog



















2. Enter Country code, Wage type group and select Model/Dialouge wage type MS40 and key in custome wage type code and its description. 















3. Click on COPY Icon and make sure Test Run check box is ticked so that before doing actual run we do test run to check any descripencies. 














4. Below tables are updated once we do TEST RUN.












5. Remove TEST RUN Check box and click on COPY Icon for actuall run.















Updated Tables after actuall run












6. Check wage type text along with maintain validity dates.
PATH: IMG > Personnel Management > Personnel Administration > Payroll Data > Basic Pay > Wage Types > Check Wage type text





7. Check Wage type permitted to Wage Type Group
PATH: IMG > Personnel Management > Personnel Administration > Payroll Data > Basic Pay > Wage Types > Check entry permissibility per infotype





8. Maintain wage type permissibilies for PS and ESG
PATH: IMG > Personnel Management > Personnel Administration > Payroll Data > Basic Pay > Wage Types > Define Wage Type Permissibility for each PS and ESG

















9. Maintain Wage type Characsticists
PATH: IMG > Personnel Management > Personnel Administration > Payroll Data > Basic Pay > Wage Types > Check Wage type characteristics





















10. Go To TCode: SM30 enter table V_512w_0 and maintain respective PCs / Cumulation and evaluation classes.
































11. Define posting Assign wage type to symbolic account.
PATH : IMG > Payroll > Singapore > Reporting for posting payroll results to accounting > Activities in HR System > Maintaining wage types > Define posting characteristics of wage types








Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.