‎2015 Mar 26 6:05 AM
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
‎2015 Mar 26 6:36 AM
ineed to read.
ADDR1_DATA-NAME1
ADDR1_DATA-NAME2
ADDR1_DATA-NAME3
ADDR1_DATA-STREET
ADDR1_DATA-STR_SUPPL3
please help me
‎2015 Mar 26 8:08 AM
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
‎2015 Mar 26 10:06 AM
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.
‎2015 Mar 26 11:20 AM
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
‎2015 Mar 27 6:49 AM
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