cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORMS Address

Former Member
0 Kudos

Hi,

I'm doing an invoice smartforms. I create adress window using Organization address and address number ( &ADRNR&)

and I want use a style form for the address

exemple :

ATLANTA (bold + size 16)

867 peach Stree street South (size 12)

ATLANTA GA 30310 (size 12)

UNITED STATES (size 12)

How can I define that please ?

Thanks for your reply.

Edited by: Spawn rad on Jul 10, 2008 3:19 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Alternatively you can also retrieve the data from KNA1 with the ADRNR.

Same way as described in my previous reply.

Regards,

Ram

Answers (6)

Answers (6)

Former Member
0 Kudos

Thanks !

Solved problem.

Former Member
0 Kudos

thanks Ram, I test.

Former Member
0 Kudos

Hi,

In the program lines ....

write

SELECT * FROM ADRC INTO LS_ADRC WHERE ADDRNUMBER = ADRNR.

where LS_ADRC is a structure of type ADRC.

then create text nodes to print the relevant fields with different fonts .

Hope this helps you.

But check first the table ADRC contains the relevant data or not.

I mean if you have a ADRNR then check the table data.

Regards,

Ram

Former Member
0 Kudos

Thanks for your reply

It's ok to extract Address number in a variable &ADRNR& .


CLEAR GS_HD_ADR.
* get customer adress number
READ TABLE IS_BIL_INVOICE-HD_ADR INTO GS_HD_ADR
           WITH KEY BIL_NUMBER = IS_BIL_INVOICE-HD_GEN-BIL_NUMBER
                    PARTN_ROLE = IS_NAST-PARVW.
ADRNR = GS_HD_ADR-ADDR_NO.

How can i extract each line for that address number?

Former Member
0 Kudos

Hi,

As far as i know you can only define a single paragraph format for the standard address node.

And in the smartstyle you cannot define each line with different font heights.

So you need to configure the address manually in the smartform.

I mean entering program lines and picking the organizational address line by line and then printing each line in the way needed with different fonts and height.

I hope this is clear.

Regards,

Ram

naveen_inuganti2
Active Contributor
0 Kudos

Hi..,

Like paragraph settings...

You can do Character settings and you can save no.of characters format in your style..,

While entering the data we can set that character format..,

Here we can save one character format with size 12 say c1...

that you can apply.... for that window..,

Thanks,

Naveen.I