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 print problem - sapscript

Former Member
0 Likes
596

Hello

I have a problem with print name for example

"Mr &Smith& and &M& company" from field &VBDKR-NAME1&. The output is "Mr and company" sapscript format the name. I use

/: ADDRESS PARAGRAPH AS

/: ADDRESSNUMBER &VBDKR-ADRNR(K)&

/: FROMCOUNTRY &VBDKR-SLAND&

/: ENDADDRESS

and it helps but now i want to output only street from the address or name2 (&VBDKR-NAME2&). I try to use

ADDRESS PARAGRAPH AS PRIORITY 6APHRT7I8LCBS5O LINES 1

but it returns "invalid label".

Any help ?

Regards Bartek

3 REPLIES 3
Read only

Former Member
0 Likes
407

ADDRESS.....ENDADDRESS has specific lable. If you wanto to output only street or name then do not use ADDRESS....ENDADDRESS.

I hope i understood your problem correctly.

Read only

Vinod_Chandran
Active Contributor
0 Likes
407

Hi,

Instead of ADDRESSNUMBER can you use the other way like

/: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l]

/: TITLE title

/: NAME name1[,name2[,name3[,name4]]]

/: PERSON name of natural person [TITLE form of address]

/: PERSONNUMBER number of the personen

/: DEPARTMENT department

/: STREET street name HOUSE house number

/: LOCATION additional location information

/: POBOX po box [CODE post code / zip code] [CITY city]

/: POSTCODE post code / zip_code

/: CITY city1[,city2]

/: NO_UPPERCASE_FOR_CITY

/: REGION county / state

/: COUNTRY recipient country [LANGUAGE language code]

/: COUNTRY_IN_REC_LANG

/: LANG_FOR_COUNTRY language key

/: FROMCOUNTRY sender country

/: ENDADDRESS

You have the STREET option here. Also find the detail help at,

http://help.sap.com/saphelp_470/helpdata/en/d1/803238454211d189710000e8322d00/frameset.htm

Thanks

Vinod

Read only

0 Likes
407

Hi

I can't use it because then system truncates the form of address after 35 characters. I need to use all 40 char in name1, name2 ... fields. (as described in note 364580)

That's why i use ADDRESSNUMBER §VBDKA-ADRNR(K).

I can use field ADRC-NAME1 but then system truncates &S2&

from vbdkr-name1 example :

from : PPU &S2& INSTALATOR 1234567890123456789X

to: PPU INSTALATOR 1234567890123456789X

that's a problem " &S2& "

Regards Bartek

Message was edited by: Bartek Szmajdzinski