Application Development and Automation 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: 
Read only

otf data from close_form FM

Former Member
0 Likes
652

Hi,

I want to fetch the otf data from close_form FM.

What parameters do I need?

Thanks a lot!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
546

Hi,

See the Sample coding.

DATA:   BEGIN OF hotfdata OCCURS 10.
        INCLUDE STRUCTURE itcoo.
DATA:   END   OF hotfdata.

 CLEAR   hotfdata.
    REFRESH hotfdata.
    CALL FUNCTION 'CLOSE_FORM'
      IMPORTING
        RESULT   = itcpp
      TABLES
        otfdata  = hotfdata
      EXCEPTIONS
        unopened = 3.

Regards,

Morris Bond.

Reward Points if Helpful.

Hi,

I want to fetch the otf data from close_form FM.

What parameters do I need?

Thanks a lot!

1 REPLY 1
Read only

Former Member
0 Likes
547

Hi,

See the Sample coding.

DATA:   BEGIN OF hotfdata OCCURS 10.
        INCLUDE STRUCTURE itcoo.
DATA:   END   OF hotfdata.

 CLEAR   hotfdata.
    REFRESH hotfdata.
    CALL FUNCTION 'CLOSE_FORM'
      IMPORTING
        RESULT   = itcpp
      TABLES
        otfdata  = hotfdata
      EXCEPTIONS
        unopened = 3.

Regards,

Morris Bond.

Reward Points if Helpful.