Thursday, January 28, 2010

POPUP_TO_CONFIRM


  CALL FUNCTION 'POPUP_TO_CONFIRM'
    
EXPORTING
*     TITLEBAR                    = ' '
*     DIAGNOSE_OBJECT             = ' '
      text_question               =
*     TEXT_BUTTON_1               = 'Ja'(001)
*     ICON_BUTTON_1               = ' '
*     TEXT_BUTTON_2               = 'Nein'(002)
*     ICON_BUTTON_2               = ' '
*     DEFAULT_BUTTON              = '1'
*     DISPLAY_CANCEL_BUTTON       = 'X'
*     USERDEFINED_F1_HELP         = ' '
*     START_COLUMN                = 25
*     START_ROW                   = 6
*     POPUP_TYPE                  =
*     IV_QUICKINFO_BUTTON_1       = ' '
*     IV_QUICKINFO_BUTTON_2       = ' '
*   IMPORTING
*     ANSWER                      =
*   TABLES
*     PARAMETER                   =
*   EXCEPTIONS
*     TEXT_NOT_FOUND              = 1
*     OTHERS                      = 2
            .
*------------------------------------------
* EXPLANATION:
*------------------------------------------
1.  TITLEBAR => Text to be displayed on the title bar of the modal dialog box.
2.  DIAGNOSE_OBJECT => Diagnosis text (DOKHL-OBJECT). It must be created and maintained via T-Code SE61, document class equals to Dialog Text (DT).
3.  TEXT_QUESTION => Text line to be displayed on Modal Dialog Box. Screen length is dynamically adjusted.
4.  TEXT_BUTTON_1 => Text to be displayed on Button 1.
5.  ICON_BUTTON_1 => Icon to be displayed on Button 1. (Any ICON-NAME)
6.  TEXT_BUTTON_2 => Text to be displayed on Button 2.
7.  ICON_BUTTON_2 => Icon to be displayed on Button 2. (Any ICON-NAME) 
8.  DEFAULT_BUTTON => Cursor Position
·         '1' = Button 1
·         Other values = Button 2
9.  DISPLAY_CANCEL_BUTTON => 'X' or SPACE. ‘X’ to display cancel button
10.USERDEFINED_F1_HELP => Must be created and maintained via T-Code SE61 (DOKHL-OBJECT). This will create additional information button after Button 2 and before cancel button (if applicable).
11.START_COLUMN => x position of the modal dialog box
12.START_ROW => y position of the modal dialog box
13.POPUP_TYPE => Icon to be displayed at the left hand side of the modal dialog. Allowed value includes 'NO_ICON' or the icon name in the following list: 

   

14.IV_QUICKINFO_BUTTON_1 => Quick Information Text to be displayed when cursor scrolled over button 1.
15.IV_QUICKINFO_BUTTON_2 => Quick Information Text to be displayed when cursor scrolled over button 2.
16.ANSWER => Result of the button pressed.
·         'A' = Cancel Button
·         '1' = Button 1
·         '2' = Button 2
17.PARAMETER => You can maintain parameter in the text. Parameter must be written in uppercase and enclosed with ampersands. For e.g. &AMOUNT& is written in the Diagnosis Text maintained in SE61. Then PARAMETER-PARAM = 'AMOUNT', PARAMETER-VALUE = '10.00'.

*------------------------------------------
* SCREEN SHOT:
*------------------------------------------


*------------------------------------------
* NOTE:
*------------------------------------------
Please refer to SAP sample program RSSPO120 for more information.

Tuesday, January 19, 2010

SE10

Transport Organizer

Screen Shot:

After press Enter button

Sunday, January 17, 2010

SE61

Document Maintenance: Initial Screen


Screen Shot:


POPUP_TO_INFORM

CALL FUNCTION 'POPUP_TO_INFORM'
    
EXPORTING
      titel         =
      txt1          =
      txt2          =
*     TXT3          = ' '
*     TXT4          = ' '
            .

*------------------------------------------
* EXPLANATION:
*------------------------------------------
1.  TITEL => Text to be displayed on the title bar of the modal dialog box.
2.  TXT1 => Text line 1 to be displayed.
3.  TXT2 => Text line 2 to be displayed.
4.  TXT3 => Text line 3 to be displayed.
5.  TXT4 => Text line 4 to be displayed.

*------------------------------------------
* SCREEN SHOT:
*------------------------------------------