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

BDC - Read Screen data after Call transaction

Former Member
0 Likes
1,918

Hi Guys ,

i have a quite a bit of a problem here. in my transaction F-48 there is screen which contains a table control and i have to select a record from that table control. The porblem is that the records in that table control are not fixed so always ill need to have access to that table control data in order to select a specific record. Is there any possible way in BDC that i can read the data in that table control while running BDC..

Any help would be great.

Thanks in advance guys.

Hi Guys ,

i have a quite a bit of a problem here. in my transaction F-48 there is screen which contains a table control and i have to select a record from that table control. The porblem is that the records in that table control are not fixed so always ill need to have access to that table control data in order to select a specific record. Is there any possible way in BDC that i can read the data in that table control while running BDC..

Any help would be great.

Thanks in advance guys.

8 REPLIES 8
Read only

vinoth_aruldass
Contributor
0 Likes
1,641
Read only

0 Likes
1,641

this is handling table control. i want to read data in table control.

Read only

Former Member
0 Likes
1,641

One thing i want to know on what basis you will select the record on the table control.

I had already done a requirement which we need to select the record dynamically.

Better explain with some screen shots

Read only

0 Likes
1,641

for eg : i have a table control which shows the following values

ID     NAME

1     Dog

2     Cat

3     Cow

and i know that i want to select cow. but the order in the table control can keep varying or even increasing . so if i get t o knw which records are present in the TC i can find that COW is on 3rd and then select the 3rd no.

how did you do it dynamically???

Thanks in advance      

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,641

How ever you know what record needs to be selected.

Lets say as you said above. You know that you need to select cow in the entries table.

So then you can read the table cow and pass the the value to BDC as follows.

    PERFORM fill_bdc_data USING:

                         'X' 'SAPLIPAR' '0200',

                         ' ' 'BDC_CURSOR' 'IHPA-PARVW(01)',-------> This (01) should be Static

                         ' ' 'BDC_OKCODE' '/00'.

Before we come to conclusion I would like to suggest a trick which make things statis. Pass the Value 'X' to the Field No-Batch Input in the CTU_PARAMS and also while recording this in the Transaction.

This may solve your issue.

How ever if the table entries in the screen field keeps on varying you need to go for Plan B. BAPI or a Function module. This case cannot be handled via BDC.

Hope this helps.

Read only

0 Likes
1,641

sadly no...

the data keeps on varing

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,641

Did you check the Checkbox No-Batch Input while recording an also in the CTU_PARAMs of the program. Did you check this trick. It will be static in many cases when u check this checkbox.

Hope this helps

Read only

0 Likes
1,641

ill do that today and let u know.. thanks