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

dialog programming, bdc

Former Member
0 Likes
395

i have two tables zfm_handy and zfmkstel

the main key field is telnum.

i m maintaining fields in transaction if u given telnum and press enter we should see the all connected fields to that telnun

plz tell me how can i start this.

3 REPLIES 3
Read only

Former Member
0 Likes
371

Hi,

When you give the Telnum and press the enter, there would be a OK_CODE for that one, so based on that ok_code, write the select statment to get the fields from those tables, after getting the data just pass the data to the screen fields

Regards

Sudheer

Read only

Former Member
0 Likes
371

Hi ,

Based on the Input telnum select from both the tables and display data .

You can use Joins for both tables based on telnum or

select from first table and do second select based on for all entries for the first table where key field would be telnum.

select * from zfm_handy into table itab1 where telnum = input-telnum .

select * from zfmkstel into itab2 for all entries in table itab1 where telum = itab1-telnum .

Please reward if useful.

Read only

Former Member
0 Likes
371

YOU HAVE TO CODE IN YOUR PAI.

SCREEN FLOW LOGIC.

PROCESS AFTER INPUT.

MODULE FILL_DATA.

IN ABAP EDITOR.

MODULE FILL_DATA INPUT.

IF <YOURSCREENFIELD OF TELNUM> NE ''.

SELECT SINGLE AF1 BF2 INTO (<YOURSCREENFIELD>, <YOURSCREENFIELD>) WHERE TELNUM = <YOURSCREENFIELD OF TELNUM>.

ENDIF.

ENDMODULE.

REGARDS

SHIBA DUTTA