cancel
Showing results for 
Search instead for 
Did you mean: 

need help on address and endaddress

Former Member
0 Kudos

Hi Gurus I have a problem with ADDRESS and ENDADDRESS in script.

Please refer the following code.

/: ADDRESS

/* TITLE &RAADR-ANRED&

/: NAME &RAADR-NAME1&, &RAADR-NAME2&, &RAADR-NAME3&, &RAADR-NAME4&

/: STREET &RAADR-STRAS&

/: POBOX &RAADR-PFACH& CODE &RAADR-PSTL2&

/: CITY &RAADR-ORT01&, &RAADR-ORT02&

/: POSTCODE &RAADR-PSTLZ&

/: COUNTRY &RAADR-LAND1&

/: REGION &RAADR-REGIO&

/: FROMCOUNTRY &RAADR-INLND&

/: ADDRESSNUMBER &RAADR-ADRNR&

/: ENDADDRESS

Now I donot want to print Title on output. so I have commented that line in code. but still I am getting Title. can you please help about the way that title should not print in output .

Accepted Solutions (1)

Accepted Solutions (1)

former_member585060
Active Contributor
0 Kudos

Hi,

Just comment the ADDRESSNUMBER field also, and see the output

/: ADDRESS
/* TITLE &RAADR-ANRED&
/: NAME &RAADR-NAME1&, &RAADR-NAME2&, &RAADR-NAME3&, &RAADR-NAME4&
/: STREET &RAADR-STRAS&
/: POBOX &RAADR-PFACH& CODE &RAADR-PSTL2&
/: CITY &RAADR-ORT01&, &RAADR-ORT02&
/: POSTCODE &RAADR-PSTLZ&
/: COUNTRY &RAADR-LAND1&
/: REGION &RAADR-REGIO&
/: FROMCOUNTRY &RAADR-INLND&
/* ADDRESSNUMBER &RAADR-ADRNR&
/: ENDADDRESS

Regards

Bala Krishna

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

if u r using cross client , then transport the request through SCC1. because the Script is a client dependdent.if u r not transport the request the modifications are not reflected.

former_member203305
Active Contributor
0 Kudos

hi

the title is Mr, Mrs, ..,Company... .

So, if u dont want to use it, just delete it. It doesnt make sense to leave it there on comment.

Regards.

Former Member
0 Kudos

Hi guru, I have deleted title from address and end address .still that field is getting populated.

can u suggest on this?

Former Member
0 Kudos

Hi,

The answer has been given by Bala Krishna. Because you are providing an address number, the address command is constructing the address from this, not the fields listed on the other parameters.

Regards,

Nick

Former Member
0 Kudos

Hi Bala krishna thanks for providing answer.But to remove title what should I do ?

Now "TITLE" is getting populated as "Company". I want to eliminate this in print out.

Can you suggest a better way ?

/: ADDRESS

/* TITLE &RAADR-ANRED&

/: NAME &RAADR-NAME1&, &RAADR-NAME2&, &RAADR-NAME3&, &RAADR-NAME4&

/: STREET &RAADR-STRAS&

/: POBOX &RAADR-PFACH& CODE &RAADR-PSTL2&

/: CITY &RAADR-ORT01&, &RAADR-ORT02&

/: POSTCODE &RAADR-PSTLZ&

/: COUNTRY &RAADR-LAND1&

/: REGION &RAADR-REGIO&

/: FROMCOUNTRY &RAADR-INLND&

/: ADDRESSNUMBER &RAADR-ADRNR&

/: ENDADDRESS