cancel
Showing results for 
Search instead for 
Did you mean: 

Creating an address in a SMARTFORM

Former Member
0 Kudos

Hi,

I want to create an address in a smartform.While I am creating an address(org.address) and giving the field name as ekko-adrnr, i am getting an error in the ABAP code, "Error in address,(Name not filled)".

Please help me out.

Thanks&Regards,

Raj.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,,

in the ADRC table enter the address and give the corresponding adrc no in the smartform the it automatically gets the address from the table and get displays over the place wher u want it ..

plzz reward if it is usefull

mahaboob_pathan
Contributor
0 Kudos

hi,

u have to take adrc table also.

for printing company address .

buy using joins

like

u have to define in form interface as.

comp_adrc like adrc.

and in print program write the joins,

and in compay details window.

select the text window and in that give

&comp_adrc-name1&

&comp_adrc-city&..

another method is u can also directly create the address node

and in that at general attributes tab

in ADDRESS NUMBER give the specific number

or global variable which u can taken address in that.

Edited by: Mahaboob Pathan on Jan 16, 2008 4:46 PM

Former Member
0 Kudos

Hi

U need to write a join for org address.

EKKO-->Bukrs

Take companr code

t001--->give company code

we found the address number-

Take that address number and give it in 'adrc' table.

U get the org address.

If it is helpful rewards points.

Regards

Pratap.M