cancel
Showing results for 
Search instead for 
Did you mean: 

Address node in SmartForms

sachin_soni
Active Participant
0 Kudos

Hi All ,

I need to use address node facility in smartforms,can any body guide me,i'm not able to understand the funda of using the central address administration.

all help wud be greatly appreciated,

regards

sachin soni

Accepted Solutions (0)

Answers (4)

Answers (4)

sachin_soni
Active Participant
0 Kudos

although i was able to solve it on my own but i think vidhya's ans was most appropriate.

Former Member
0 Kudos

Hi Sachin,

if you want to display the vendor's address , get the ADRNR for that particular LIFNR and put it that variable(&v_adrnr&) or the value in the the address number field .. select the type of the address you want to display. if you are not sure of the type then select the 'Determine Dynamically' radiobutton and give the variable there..

Regards,

Vidya.

Former Member
0 Kudos

Hi Sachin,

please make sure that you also fill the field sending country, otherwise SAP will always print the country at the end of the address, even if it is a domestic address.

Best regards

Hans

Former Member
0 Kudos

Hi sachin

Can u explain ur reuirement clearly

Regards

Pavan

sachin_soni
Active Participant
0 Kudos

sorry i'm goin on lunch plz contribute and rewards shall be granted

Former Member
0 Kudos

Sachin u cannot use the address formatting utility in SMARTFORMS as u have in SAP Scripts..

but u can use FM ADDRESS_INTO_PRINTFORM to get the formatted output according to Post office guidelines.

adrs_in-name1 = name1.

adrs_in-name2 = name2.

adrs_in-stras = street.

adrs_in-ort01 = city.

adrs_in-regio = region.

adrs_in-pstlz = post_code.

adrs_in-land1 = 'US'.

adrs_in-inlnd = 'US'.

  • Populating the address in the formatted way

CALL FUNCTION 'ADDRESS_INTO_PRINTFORM'

EXPORTING

adrswa_in = adrs_in

IMPORTING

adrswa_out = adrs_out.

Output of address can be taken from

adrs_out-line0

adrs_out-line1

adrs_out-line2

adrs_out-line3

sachin_soni
Active Participant
0 Kudos

i think i was not clear in putting up my question, let me put it straight:

i dont know how to use address node in smartforms ,can u ppl explain???

regards,

sachin

Former Member
0 Kudos

There is nothing called address node in SMARTFORMS.

You can call the FM in and get the address output in the workarea.

You can then print the values of this workarea in the text node.

Thanks.

sachin_soni
Active Participant
0 Kudos

utsah ,

when u right click a window and say-create u'll see an option of address,if u dont call that as node its ok.but i want to print vendor address using that node ,how can i do that?