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

Reading value's on Table Control at runtime while BDC

Former Member
0 Likes
1,381

Hi Friends

While doing BDC in change mode ( say va02 ) , at run time how u'll read the value's which are going to be populated on table control ?

For example in VA02 , i want to change the quantity of a perticular material, then how to recognize the value's on table control ?

Thanks in Advance

Kishor

10 REPLIES 10
Read only

Former Member
0 Likes
1,090

Hi nandkishor,

1. I don't think thats possible.

regards,

amit m.

Read only

Former Member
0 Likes
1,090

There is a way by fetching the value's from Database table but i dont want this way. Please suggest if anyone know this.

Read only

0 Likes
1,090

Hi again,

1. Yes, u are right.

2. We can independently,

fetch the values from database, using

the logic and provided we know the tables.

3. But we cannot read the screen values,

ie. the values which are populated

on the screen / table control.

regards,

amit m.

Read only

former_member15255
Active Participant
0 Likes
1,090

Hi Nandkishor

Solution for ur problem

idx = 1

CONCATENATE 'VBAP-MATNR(' idx ')' INTO FNAM.

perform bdc_field using FNAM

this way ur problem can be solved. This has worked for me and it should work for u as i have used for transaction "fb60"

Read only

0 Likes
1,090

Hi Suresh

i have a requirement to park the invoice in transaction fb60 using bdc method. Can you please send me the code of your program as how to handle table control here.

Thanks

-Sikha

Read only

Former Member
0 Likes
1,090

Hi Suresh... u r passng the field name but i want the value . OR please explore your solution a bit.

thanks

Kishor

Read only

Former Member
0 Likes
1,090

Hi Suresh... u r passng the field name but i want the value . OR please explore your solution a bit.

thanks

Kishor

Read only

0 Likes
1,090

hi kishor

if u want get data from that field

w_temp = VBAP-MATNR(1)

this would fetch values from the first row of the material column

if u wanna passvalue my earlier suggestion would work

regards

suresh

Read only

0 Likes
1,090

Thanks Suresh , But BDC program and VA01 are 2 diferent program and have no relation, how u'll access the value of one program from other's as transaction will be called after u fill internal table BDCDATA in the loop ?

Regards

Kishor

Read only

srajendran
Explorer
0 Likes
1,090

Hi Nandkishor Heda ,

I am facing the similar problem as of yours. Can pls tell me how did you solve this problem.

Thanks & Regards,

Senthil kumar.R