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

read addr1_data

0 Likes
1,729

I need to read data from addr1_data data structure.

Because i need get data of the temporary customer.

This data only in addr1_data. This particular customer

update by every invoice.So can't find from adrc table

5 REPLIES 5
Read only

0 Likes
1,254

ineed to read.

ADDR1_DATA-NAME1

ADDR1_DATA-NAME2

ADDR1_DATA-NAME3

ADDR1_DATA-STREET

ADDR1_DATA-STR_SUPPL3

please help me

Read only

rajkumarnarasimman
Active Contributor
0 Likes
1,254

Hi.

You can place trace(ST05) and find the table name at where the data is storing. 

  I think FM BAPI_CUSTOMER_GETDETAIL1 will give the respective details.

The structure only stores the data temporarily during runtime..

  If you need the data inside BADI/exit, you can get the screen field data dynamically using field symbol.


field-symbol < WADR1> like ADDR1_DATA-NAME1.

assign ('(program_name)varible_name') to < WADR1>.

IF <WADR1> IS ASSIGNED.

"Use the value here.

ENDIF.

Regards

Rajkumar Narasimman

Read only

0 Likes
1,254

Hi Rajkumar,

I want to do this in smart form.

FM BAPI_CUSTOMER_GETDETAIL1 giving customer details,

But this details depend on sales order.So it should specify

in sales order or delivery.

Thanks,

Duminda.

Read only

0 Likes
1,254

Hi Duminda,

BAPI_CUSTOMER_GETDETAIL1  fetches the customer master details. It will ask the Sales Organization details only.  You can retrieve the ADDR1_DATA in this FM i hope.


BAPI_CUSTOMER_GETDETAIL1 is not dependent on Sales order or delivery.


Regards

Rajkumar Narasimman

Read only

0 Likes
1,254

Hi Rajkumar,

Thank You for your help.

Through ST05 I god adrcnumber.

I can get it vbpa-adrnr.

If I get kna1-adrnr It's not work.

No need to read addr1_data.

Thanks,

Duminda