05-19-2009 3:47 PM
Hi All,
I am trying to do bdc for table control in CC01( change number create). I am doing with a reference document. So all the materials from the reference documents are copied to the new document. We need to delete some specific items out of them. The screen doesnot have the position button. Even the menu of the screen does not have. please let me how to do bdc for this.
Thanks..
Amminesh.
05-20-2009 7:42 AM
05-21-2009 7:29 AM
Hi,
First you have to move with the required data in you source internal table after all the deletion and modification process.
In the BDC. add these code to handle the below functions.
From the table control using the option "select all entries" select all the lines of the table control -- delete all those entries and post the entries which are there in your source internal table.
Hope this will help you.
Regards,
Smart Varghese
05-21-2009 1:55 PM
Dear Amminesh,
I think before executing the BDC steps get all the items from the reference document.
and delete the items which are not needed.with the processed items now execute the BDC steps.
Hope this will be helpful to u.
05-21-2009 2:46 PM
Hi ,
BDC is not advisable for table control because at run time you cannot know how many entries there will be in the table control. Hence, you will not know which entry to select.
Try to look for a BAPI of other FM to do this.