2007 Apr 12 12:49 PM
I have one table control.
In BDC program I have to find whether the value from the internal table is there in the table control...if not i have to dd at the end of the table control.
In BDC process once i come to the tab;e control, i have to check with itab.then Using BDC i have to add at the end of the table control.how to do this
2007 Apr 12 12:53 PM
u have data in BDC internal table.... u also have data in the table control... now check both tables with keys for validation. if exists leave else use the BDC data to add to the table control by populating the values...
2007 Apr 12 12:55 PM
Ramesh...I know that i have to check data from itab to table control...i am asking how t achive from table control
2007 Apr 12 12:53 PM
You do not have the option of being to read a table control. You will need to read the database table which is used to populate this table control to decide if any entries would appear or not.
2007 Apr 12 12:57 PM
Hi Martin,
I have checked that.the data is not from a table...AS I am doing for Va02 standard screen i am not able to debug
2007 Apr 12 12:58 PM
The table control will be getting populated from somewhere. It is this logic that you need to replicate. Have a look in the PBO.
What is the Transaction code you are processing the BDC for.
2007 Apr 12 1:01 PM
In Va02 I have some materials...I have to replicate the same materials...I have got the conditions for the existing material from KONV...But If I add new material its giving some conditions as default...In that whereverI have ZPR2 I have to enter the Value for amount
2007 Apr 12 12:54 PM
Hi,
Table control data will be sstored in a table, this wil lbe the item table for that transaction, so find that table, and get the corresponding data, then compare this with the Internal table data
Regards
Sudheer
2007 Apr 12 12:56 PM
which transaction u are trying out ?
searching in TC not a best way of programming .
first u have to get the data of documents which u are going to change , then compare with uploaded internal table , then u have to add data to tc baseed on the conditions.
Regards
Prabhu
2007 Apr 12 12:56 PM
Hi Sumi,
Check if there is an option for creating a new entry in the table control. If it is there , then by clicking new button you can upload the new entry from the first line itself even though some value is there in table control.Tell me for what transaction code u r using BDC.
Regards ,
Vigneswaran S