'ABAP/Reference'에 해당되는 글 16건

  1. 2009.10.28 Plant Maintenance Customer Service Workflow Scenario
  2. 2009.07.10 ABAP Code Sample For Reporting With Smart Forms
  3. 2009.07.10 Resetting transport request numbers
  4. 2009.04.22 Dealing with Multi Language Garbage
  5. 2009.03.06 transporting no fields
  6. 2009.02.24 dynamic titile for report
  7. 2009.02.03 What is User Exits?
  8. 2009.02.02 SAP ABAP Programming
  9. 2009.01.30 SAP_튜닝교육-실무 2
  10. 2009.01.30 SAP List Viewer

Plant Maintenance Customer Service Workflow Scenario

|


And

ABAP Code Sample For Reporting With Smart Forms

|
And

Resetting transport request numbers

|

And

Dealing with Multi Language Garbage

|
And

transporting no fields

|
 
  data: gt_itab like table of eban with header line.

  select *
    into corresponding fields of table gt_itab
    from eban
   up to 10 rows.

  read table gt_itab index 1 transporting no fields.

  write: gt_itab-banfn.

And

dynamic titile for report

|
write the conditional setting of titlebar in

at selection-screen output .

if <condition> eq 'X' .

set titlebar 'MAIN' with 'Maintain' .
else .
set titlebar 'MAIN' with 'Display' .
endif .

now double click on MAIN, the system will ask youto creat the title click yes

in the title field you can write static text along with & sign

(& Test & & &)

now if you say
set titlebar 'MAIN' with 'Display' '1' '2' '3' .
it will display as
Display Test 1 2 3 .

And

What is User Exits?

|

The following document is about exits in SAP :-

The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. 

SAP creates user exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.

Types of Exits 
There are several different types of user exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.

Menu Exits
Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.

SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.

Screen Exits
Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.

Function Module Exits 
Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits. 

When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated. 

Function module exits also control the data flow between standard programs and screen exit fields. SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs. 

These calls have the following syntax: 

CALL CUSTOMER-FUNCTION ‘001’.

Field Exits
Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field.  Example: The data element BBBNR identifies a company’s international location number. You might want to set up your R/3 System so that all international location numbers are larger than 100. 

The field exit concept lets you create a special function module that contains this logic. 

You assign the special function module to the data element BBBNR. You then assign the module to any programs and screens in which users can add new international location numbers. When you activate your field exit, the system automatically triggers your special routine whenever a user enters a company location number. 

In 4.6c, you can use "RSMODPRF" program to create field exits.

An example of a user exits :-

MODULE user_exit_0001 INPUT 
    CASE okcode.
        WHEN 'BACK OR EXIT'.
            CASE sy-dynnr.
                    WHEN '100'.
                         SET SCREEN 0.
                         LEAVE SCREEN.
                    WHEN '200'.
******************************************************************************
**** Note that you can write any code that satisfy your needs.                                                    ****
**** But in this case, this was wrote as a sample code for reference sake.                                   ****
**** And you can test it.                                                                                                           ****
****************************************************************************** 
                         SET SCREEN 100.
                         LEAVE SCREEN.
             ENDCASE.
      ENDCASE. 


And

SAP ABAP Programming

|
And

SAP_튜닝교육-실무

|
And

SAP List Viewer

|
And
prev | 1 | 2 | next