Importing parameters in ABAP Objects

Go down

Importing parameters in ABAP Objects

Post  Uma_ABAP on Sat Mar 31, 2012 11:32 pm

Methods like functions or forms can import parameter as well as export parameter. In this
section we will show an example that import three parameters.

[code]
CLASS test DEFINITION.
PUBLIC SECTION.
METHODS: test_method IMPORTING number1 TYPE I
Character1 TYPE C
Variable TYPE I.
ENDCLASS.

CLASS test IMPLEMENTATION.
METHOD test_method.
Write:/ number1,20 character1,30 variable1.
ENDMETHOD.
ENDCLASS.


Uma_ABAP

Posts : 56
Join date : 2012-03-31

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum