Application Development and Automation 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: 
Read only

address-endaddress in SAPScript

Former Member
0 Likes
486

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

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
Read only

Former Member
0 Likes
430

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

Read only

Former Member
0 Likes
430

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