Application Development 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: 

Search from Table control in BDC

Former Member
0 Kudos

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

9 REPLIES 9

Former Member
0 Kudos

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...

0 Kudos

Ramesh...I know that i have to check data from itab to table control...i am asking how t achive from table control

Former Member
0 Kudos

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.

0 Kudos

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

0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member491305
Active Contributor
0 Kudos

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