cancel
Showing results for 
Search instead for 
Did you mean: 

Address Window

Former Member
0 Kudos

Hi Gurus,

I am giving an address number(adrnr) in address window to get the address for particular customer, in that I want the <b>Name should be in one Font</b> and <b>remaining should be in another font format</b>.

How can i achieve it???

Points will be awarded...

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

You'll need to replace your address node with a program node and a text element.

Program node should call the function module ADDRESS_INTO_PRINTFORM, the parameters on you address node will match to the parameters on the function module. The structure ADDRESS_PRINTFORM will contain the lines of the address, LINE0 will contain the name.

You text element will contain fields

ADDRESS_PRINTFORM-LINE0

ADDRESS_PRINTFORM-LINE1

ADDRESS_PRINTFORM-LINE2

etc, depending on how many address line you want.

Apply the different paragraph format to the first line and I think you'll have what you need.

Former Member
0 Kudos

hi,

while giving in output option select the text and give the paragraph format it is working.

i tried for address window like

Name: sub

name in one colour and sub in one colour it is working

Regards,

Divya,.

Former Member
0 Kudos

hi,

u can make by giving two paragraph format of ur own.by selecting the name and click the format which u create and select the another font.

Reward points if it is useful.

Regards,

Divya

Former Member
0 Kudos

Actually i am using Address window, in how can i do it???????

Former Member
0 Kudos

Hi,

I dont think it is possible to give different font style in one address window.

only option is you can take this address values to one structure & print thses structure fields in Text within the window.

in this text page, display your structure fields like :

&gs_struc1-name&&gs_struc1-Street& ....

Then select field name &gs_struc1-name& and change the character formats to bold.

this may solve your problem.

Reward points if found helpful

Seema

former_member196280
Active Contributor
0 Kudos

I guess (not sure) it is not possible to print address using address window with different font size.

alternative , refer to SF_EXAMPLE_01(standard), for printing address..

Regards,

sairam

Former Member
0 Kudos

Hi

Check the address ADRC data is available at that window or not

If it is not there you have to use a Subroutine PERFORM..for fetching the data from ADRC and to display in that window

You can create a new Paragraph FORMAT or CHARCTER FORMAT in the script

and assign the required FONT for that paragraph

create 2 paragraph formats with different fonts and assign each to the fields as per your font requirement.

<b>Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos

Hi,

in my smartform I am getting the address, but i want the <b>name in one font size</b> and <b>the remaining in another font size.</b>