Skip to Content
author's profile photo Former Member
Former Member

ALSM_EXCEL_TO_INTERNAL_TABLE

hiiiiii

usign the FM ALSM_EXCEL_TO_INTERNAL_TABLE

look at this piece of code ==>

types:

begin of t_file_upload,

INCLUDE structure ALSMEX_TABLINE, " Rows for Table with Excel Data

end of t_file_upload.

i have an error at compile time which is missing , after include

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 09:55 AM

    HI,

    Declare like this....

    TYPES:BEGIN OF t_file_upload.

    INCLUDE structure ALSMEX_TABLINE.

    TYPES:END OF t_file_upload.

    Cheers,

    Bujji

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 10:09 AM

    It doesn't work

    how do you write without using header line (occurs 0) can i remove the occur 0

    DATA: BEGIN OF IT_FILE_UPLOAD OCCURS 0.

    INCLUDE STRUCTURE ALSMEX_TABLINE. " Rows for Table with Excel Data

    DATA: END OF IT_FILE_UPLOAD.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      In the FM the value is decalre like this i don't see any numc

      ""Lokale Schnittstelle:

      *" IMPORTING

      *" VALUE(FILENAME) LIKE RLGRAP-FILENAME

      *" VALUE(I_BEGIN_COL) TYPE I

      *" VALUE(I_BEGIN_ROW) TYPE I

      *" VALUE(I_END_COL) TYPE I

      *" VALUE(I_END_ROW) TYPE I

      *" TABLES

      *" INTERN STRUCTURE ALSMEX_TABLINE

      *" EXCEPTIONS

      *" INCONSISTENT_PARAMETERS

      *" UPLOAD_OLE

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 09:54 AM

    hi

    begin of t_file_upload,

    INCLUDE structure ALSMEX_TABLINE<b> .</b> " Rows for Table with Excel Data

    end of t_file_upload.

    use fill stop.

    rward poins if useful

    karthik

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 09:54 AM

    HI,

    u have to do like this.

    types:begin of t_file_upload.

    INCLUDE structure ALSMEX_TABLINE. " Rows for Table with Excel Data

    types:end of t_file_upload.

    rgds,

    bharat.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 09:55 AM

    hi

    data: begin of t_file_upload.

    INCLUDE structure ALSMEX_TABLINE. " Rows for Table with Excel Data

    data: end of t_file_upload.

    reward the points it it helps to u

    Thanks

    Siva Kumar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 09:55 AM

    Hi,

    Use this.

    types: begin of t_file_upload,

    INCLUDE structure ALSMEX_TABLINE.

    types: end of t_file_upload.

    there should be a period after the include structure <struct> statment.

    regards,

    Santosh Thorat

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.