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

Saving Multiple records using BDC

Former Member
0 Likes
597

Hi all,

I recorded a BDC for saving 1 record in database and in BDC i call GUI_UPLOAD and fill my internal table from TAB seperated Text File.

With that internal table i looped it in bdc code and replaced static values from i_table-value.

Problem is that it is saving only first row from TEXT File.

Help will be rewarded,

Regards,

Sachin.

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
412

Hi Sachin..

As i Understand Your problem..

You are not using the REFRESH IT_BDCTABLE. after the BDC_INSERT or CALL TRANSACTION Statements..

That is the Reason it may be updating the Same record every time...

So you have to place the statement

REFRESH IT_BDCTABLE.

after the BDC_INSERT or CALL TRANSACTION Statements..

If you have issue still... Paste your code...

<b>Reward points if Helpful</b>

2 REPLIES 2
Read only

varma_narayana
Active Contributor
0 Likes
413

Hi Sachin..

As i Understand Your problem..

You are not using the REFRESH IT_BDCTABLE. after the BDC_INSERT or CALL TRANSACTION Statements..

That is the Reason it may be updating the Same record every time...

So you have to place the statement

REFRESH IT_BDCTABLE.

after the BDC_INSERT or CALL TRANSACTION Statements..

If you have issue still... Paste your code...

<b>Reward points if Helpful</b>

Read only

0 Likes
412

Thanx Narayana,

I got my bug i am doing in same way and BDCTABLE is refreshing in my include file. my prob. is solved.

thanx for ur reply.

Regards,

Sachin.