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: 

smartforms address

Former Member
0 Kudos

Hi experts,

I have created ITAB(T_EQUP) to get the customer addresses.

Same structure(T_PVT) i have created for smartforms.


  call function fm_private
    tables
      t_pvt = t_equp.

In the smartforms ,sap address number i have given &T_PVT-CADRNR& to get the address dynamically.While executing iam getting the error "Error in address output (address not found)." But there are values in T_EQUP.

Where might be the problem?If i give direct address number like 24354 , iam getting the address.

Can i give &T_PVT-CADRNR& directly in the address number?Or is there any other way?

reward guaranteed

kaki

5 REPLIES 5

Former Member
0 Kudos

debug ur smartform n c if &T_PVT-CADRNR& is having any value. i guess there may be a problem. or else the format of the address number may need a little modificaton.just chk it in debugging mode.

Regards,

Bikash

did u check the value of &T_PVT-ADRNR& in ur smartform ??

Message was edited by: Bikash Agarwal

0 Kudos

Hi,

Iam giving &T_PVT-ADRNR& in address number field in SAP standard address to get address from KNA1 table.

Is it correct?Where iam doing wrong? Iam getting the error that "name not filled"?

kaki

0 Kudos

Hi bikash,

T_PVT-ADRNR having value in smartform.Still iam getting the error.

kaki

0 Kudos

check whether the address number is there in database for what you are giving

sjeevan
Active Contributor
0 Kudos

Why are you using the FM table? Why ain't you giving it like this &T_EQUP-CADRNR&?