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

Regarding fetching data from structure..

former_member242166
Participant
0 Likes
2,245

Hi experts,

I want fetch the account no of bank ( in Master data creation in FI01)  it is stored in ADDR1_DATA table( Field name is NAME2). But when i see in se11 . It is a structure . How can i fetch the data. Using BNKA table.

Screen shot attached for your reference.

Please help me friends.

Thanks and Regards,

Linganathan

1 ACCEPTED SOLUTION
Read only

bharat_rathod2
Active Participant
0 Likes
2,183

Dear,

take ADRNR from table BNKA and pass it to ADRC table and you can get name2.

14 REPLIES 14
Read only

gouravkumar64
Active Contributor
0 Likes
2,183

Hi,

Follow this step

1)

F1 on value> double click on data element in se11 >where used list>u will get the tables.

2)Otherwise directly refer to data element is  good practice in abap,

Gourav.

Read only

0 Likes
2,183

Dear Kumar Gaurav,

The data element name is AD_NAME2 .    What can i do next.   And how can i fetch the data for bank name ( Input in selection screen, i.e  BNKA-BANKA) .

Thanks and Regards,

Linganathan.K

Read only

0 Likes
2,183

Hi,

As per all abapers saying

plz follow my last reply

Gourav.

Read only

bharat_rathod2
Active Participant
0 Likes
2,184

Dear,

take ADRNR from table BNKA and pass it to ADRC table and you can get name2.

Read only

Aashish28
Contributor
0 Likes
2,183

Hiii,

        BNKA table contain field ADRNR pass this to table ADRC field ADDRNUMBER you will get name2.

Read only

gouravkumar64
Active Contributor
0 Likes
2,183

Hi,Try like this

Select ..... adrnr.......from bnka

into ........it_bnka

where........

then

select ....addrnumber name2 from adrc "name 2 data element is ad_name2

into ....

for all entries in it_bnka

where addrnumber = it_bnka-adrnr.

Gourav.

Read only

Former Member
0 Likes
2,183

HI,

Check ADRC Table with ADDRNUMBER.

ADDRNUMBER = BNKA-ADRNR.

You will get the required details in NAME2 field of ADRC Tabke.

Regards,

RAvi Singh

Read only

former_member242166
Participant
0 Likes
2,183

Dear Kumar Gourav, Bharath Rathod, Ashish Ahire .   Thank you all. My problem was solved because of your valuable replies.

Once again thank you so much.

Regards,

Linganathan.K

Read only

0 Likes
2,183

Dear,

If you got ur solution then please close this theread by answer

Read only

0 Likes
2,183

Hi,

Close this thread and marked it as answered.

Gourav.

Read only

0 Likes
2,183

How can i close the thread??

Thanks and Regards,

Lingantahan

Read only

0 Likes
2,183

marked it answered

Read only

0 Likes
2,183

Done, no further activity required.

One friendly reminder is enough, friends, as long as you don't mean "give me points" when you say "mark it as answered"

Thomas

Read only

Clemenss
Active Contributor
0 Likes
2,183

Although this should have been closed already:

It is advisable and upgrade-safe to get required data using SAP standard BAPI functions, i.e. BAPI_BUPA_GET_DETAIL.

Regards

Clemens