Vous êtes sur la page 1sur 2

ABAP

Difference Between Changing and Using.


===============================================================

There will be difference between using and changing on how we mention in form statement.

Form < subroutine name> Using var1 Changing var2.


Here there is no difference as both pass by reference.

Form < subroutine name> Using var1 Changing value (var2).


Here var1 is passed by reference, whereas var2 is passed by value and result. where var2 has its own copy of
memory in subroutine, but while the subroutine ends this value overwrites the original value of the var2.

Form ..... Using value(var1)...


Here var1 is pass by valueThere will be difference between using and changing on how we mention in form
statement.

Form < subroutine name> Using var1 Changing var2.


Here there is no difference as both pass by reference.

Form < subroutine name> Using var1 Changing value (var2).


Here var1 is passed by reference, whereas var2 is passed by value and result.where var2 has its own copy of
memory in subroutine, but while the subroutine ends this value overwrites the original value of the var2.

Re: differnce between screen exit, field exit and function exit
Answer
===============================================================

# 1 SCREEN EXIT: if you want to do any modification on the


standard scren then screen exit is used.

FIELD EXIT: if you want to have some validation or restrict


some values to a filed then field exit is used.

FUNCTION EXIT: it can be used for different functionality


AND IF YOU WANT TO DO ANY MODIFICATION IT WILL TAKE YOU TO
A FUNCTION BUILDER.

===============================================================
Re: differnce between user and customer exit
Answer
===============================================================

# 2 Exits are like hooks to carry on additional functionality


without disturbing the standard functionality.

Simply we can differentiate user-exits and customer exits as


user-exits are created using subroutines and customer-exits
through function modules.

the other type of enhancement is


through bapi's which is through methods.

===============================================================
What is the difference between SMOD and CMOD?

===============================================================

CMOD is the Project Management of SAP Enhancements (i.e., SMOD Enhancements). SMOD
contains the actual enhancements and CMOD is the grouping of those SMOD enhancements.

Vous aimerez peut-être aussi