cancel
Showing results for 
Search instead for 
Did you mean: 

Address node

Former Member
0 Kudos

Hi,

In my requirement, there is a smartform with an address node which is picking the address from &BBP_SF_PO_OUTPUT-ADNR_NUMBER& ; number of lines is 6. And it is giving an output as

NAME

NAME1

STREET

CITY

PO BOX NUMBER

But I need output as below

NAME

STREET

CITY

PO BOX NUMBER

I tried reducing number of lines to 5 but got the same output.

Please guide me how can I get the required output.

Thanks a ton

Regards,

Sammeta

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Sammeta,

As you are using adress include in smartform, there is no option to alter the position of the address, however you can code directly in smartform for perticular address number to put your desired sequence address in the print.

But in script you have the option to skip some of the variables in between.

Hope this is useful for you.

Regards,

Vijay chavan

Former Member
0 Kudos

Hi Neelima

The format of adres printing is depending on the number of output lines, but most of all the country code.

Every country has its own way of formatting.

MAy be there is a landcode which formats the way you want.

If none correct landcode oyu have to do it manually like Ramakrishna Peri already described.

Gr., Frank

Former Member
0 Kudos

hi nilima,

check this.

u have address no. ADNR_NUMBER

data : it_adrc type adrc occurs 0 with header line.

data ; wa_adrc like adrc.

select * from adrc

into table it_adrc

where addrnumber = ADNR_NUMBER.

read table it_adrc into wa_adrc index 1.

then print

&wa_adrc-name&

&wa_adrc-street& etc.

Former Member
0 Kudos

Dear Neelima ,

please go through the Attached documents sent to your email id which will give you correct idea about the SRM , please check your mail

Regards

Venkat mallela

Former Member
0 Kudos

Hi,

Go to "OY01' t-code and select the proper address layout key.

Former Member
0 Kudos

Hi,

Then try to display the address fields manually.

Make the address node dummy.

Use program lines to retreive the contents from ADRC table from the ADRNR number.

Then display whichever fields you want to display.

Regards,

Ram