Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forward Navigation

chandru_sdn80
Participant
0 Kudos

Hi Experts,

How to navigate or create subroutine in Eclipse from Perform statement?

Thanks

1 ACCEPTED SOLUTION

hitesh_gabani
Participant
0 Kudos

Hi,

There is no option in eclipse to create subroutine FORM using Perform statement.


You can do it manually.


For PERFORM GET_WEIGHT USING <LD_AUSP>-ATFLV CHANGING WEIGHT. Like,


FORM GET_WEIGHT USING AUSP_ATFLV CHANGING WEIGHT.

  CALL FUNCTION 'QSS0_FLTP_TO_CHAR_CONVERSION'

    EXPORTING

      I_NUMBER_OF_DIGITS = 3

      I_FLTP_VALUE       = AUSP_ATFLV

    IMPORTING

      E_CHAR_FIELD       = WEIGHT.

ENDFORM.                    "GET_WEIGHT

And if you want to navigate any object or method,etc. in eclipse

use F3 or Ctrl + Click.

Regards,

Hitesh

1 REPLY 1

hitesh_gabani
Participant
0 Kudos

Hi,

There is no option in eclipse to create subroutine FORM using Perform statement.


You can do it manually.


For PERFORM GET_WEIGHT USING <LD_AUSP>-ATFLV CHANGING WEIGHT. Like,


FORM GET_WEIGHT USING AUSP_ATFLV CHANGING WEIGHT.

  CALL FUNCTION 'QSS0_FLTP_TO_CHAR_CONVERSION'

    EXPORTING

      I_NUMBER_OF_DIGITS = 3

      I_FLTP_VALUE       = AUSP_ATFLV

    IMPORTING

      E_CHAR_FIELD       = WEIGHT.

ENDFORM.                    "GET_WEIGHT

And if you want to navigate any object or method,etc. in eclipse

use F3 or Ctrl + Click.

Regards,

Hitesh