‎2007 Aug 29 5:50 AM
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.
‎2007 Aug 29 8:02 AM
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>
‎2007 Aug 29 8:02 AM
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>
‎2007 Aug 29 8:39 AM
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.