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

Uploading data from Dynamical Internal table

Hi,

I have uploaded the data present in the flat file into a dynamically created internal table . Now i have to upload this data present in the dynamically created internal table into database using BDC. How can I do this?

Thanks and Regards ,

Parvatha Reddy

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2009 at 08:46 AM

    Hi,

    You have to either use Call Transaction or session method.

    For this record the Tcode which you want to use using SHDB. Generate a program.

    Fill BDCDATA Table and use

    Call Transaction Using ...

    or FM BDC_OPEN_GROUP, FM BDC_INSERT, FM BDC_CLOSE_GROUP

    santhosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2009 at 09:00 AM

    Hi,

    I had a problem while accessing the fields of dynamically created internal table .I have used the following code to access it.

    SOLVED.

    ASSIGN COMPONENT 'BUKRS' OF STRUCTURE <FS_2> TO <fs>.

    IF sy-subrc = 0.

    PERFORM BDC_FIELD USING 'RF02K-BUKRS'

    <FS>

    UNASSIGN <fs>.

    ENDIF.

    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.