I need to add the street 2 field in a SAPScript. However, I am unsure how to do this. Below is what I have on the SAPScript:
/: IF &RPCOBQBDAT-DSUBT& EQ '0 ' OR &P0106-STRAS(30)& EQ &SPACE(30)& /: ADDRESS PARAGRAPH L4 /: TITLE &FORM_OF_ADDRESS& /: NAME &RPCOBLET01-NAM01& /: STREET &P0006-STRAS& /: CITY &P0006-ORT01&, &P0006-ORT02& /: POSTCODE &P0006-PSTLZ& /: COUNTRY &P0006-LAND1& /: REGION &P0006-STATE& /: FROMCOUNTRY &P0006-LAND1& /: ENDADDRESS /: ELSE /: ADDRESS PARAGRAPH L4 /: TITLE &FORM_OF_ADDRESS& /: NAME &RPCOBLET01-NAM01& /: STREET &P0006-STRAS& /: CITY &P0106-ORT01& /: POSTCODE &P0106-PSTLZ& /: COUNTRY &P0106-LAND1& /: REGION &P0106-STATE& /: FROMCOUNTRY &P0106-LAND1& /: ENDADDRESS /: ENDIF
I know that I need to add the field &P0006-LOCAT& to the form (under &P0006-STRAS&) but I am unsure what to use in place of 'STREET'. I tried the following but it doesn't print:
/: STREET2 &P0006-LOCAT& /: BUILDING &P0006-LOCAT& /: STREET &P0006-LOCAT& -> This one just overwrites the field &P0006-STRAS&
I realize that this is an easy thing but I am not sure what to use.
Regards,
Davis