Monday, December 20, 2010
- Create one program with name ZTEST_PROGRAM and One subroutine in that.
Report ZTEST_PROGRAM. data: x type p, y type p. x = 1. y = 2. perform get_changed_values using x CHANGING y. WRITE:/ x,y. *&---------------------------------------------------------------------* *& Form get_changed_values *&---------------------------------------------------------------------* form get_changed_values using p_x changing p_y. p_y = p_y + p_x + 1. endform. " get_changed_values
- Create another program with name ZTEST_NOTEPAD and call subroutine used in the above program.
REPORT ztest_notepad. data: x type p, y type p. x = 2. y = 3. perform get_changed_values(ZTEST_PROGRAM) using x CHANGING y. WRITE:/ x,y.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.