Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

address-endaddress in SAPScript

Former Member
0 Kudos

Hi ,

Can i format the data displayed in address-endaddress e.g. can i add tab spaces to it or some other addition like that.

Thanks

Arun

2 REPLIES 2

Former Member
0 Kudos

Hello Arun,

Yes,you can format the data entered between ADDRESS and ENDADDRESS.

Below is the example.

/: ADDRESS PARAGRAPH PL

/: NAME &REGUH-ZNME1&, &REGUH-ZNME2&

/: STREET &REGUH-ZSTRA&

/: POSTCODE &REGUH-ZPSTL&

/: CITY &REGUH-ZORT1&

/: POBOX &REGUH-ZPFAC&

/: ENDADDRESS

In the above, PL is the paragraph format name. So what ever margins etc u give for this paragraph format will be applied to the text between ADDRESS and ENDADDRESS.

The only limitation here is u cannot assign differnt paragraph formats for differnt lines between ADDRESS and ENDADDRESS.

You can give only one paragraph format for the enrire text between ADDRESS and ENDADDRESS.

Hope this information helps.

Please reward with points if it helps.

Thanks and Regards,

Nagendra

Former Member
0 Kudos

Hi Arun,

I don't think it the tab position will work even if you use the ADDRESS....ENDADRESS.

Rather you can this way in the normal method, first set the tab for the paragraph P1 for ex. <b>3.00 cm</b>

/: DISP

P1 NAME<b>,,</b>&ws_name&

P1 STREET<b>,,</b>&ws_street&

....

...

This would definitely work.

Reward if helpful.

Regards,

Tushar