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: 

Regarding fetching data from structure..

former_member242166
Participant
0 Kudos

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

bharat_rathod2
Active Participant
0 Kudos

Dear,

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

14 REPLIES 14

gouravkumar64
Active Contributor
0 Kudos

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.

0 Kudos

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

0 Kudos

Hi,

As per all abapers saying

plz follow my last reply

Gourav.

bharat_rathod2
Active Participant
0 Kudos

Dear,

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

Aashish28
Contributor
0 Kudos

Hiii,

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

gouravkumar64
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

HI,

Check ADRC Table with ADDRNUMBER.

ADDRNUMBER = BNKA-ADRNR.

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

Regards,

RAvi Singh

former_member242166
Participant
0 Kudos

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

0 Kudos

Dear,

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

0 Kudos

Hi,

Close this thread and marked it as answered.

Gourav.

0 Kudos

How can i close the thread??

Thanks and Regards,

Lingantahan

0 Kudos

marked it answered

0 Kudos

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

Clemenss
Active Contributor
0 Kudos

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