2006 Sep 01 9:58 AM
Hi,
i have a problem to print the whole vendor-address in
a Sapscript-Formular, for example medruck.
In our Address we have filled street 2 and street 3
and i will shoe this streetts in the adress.
We use in sapscript this:
/: ADDRESS PARAGRAPH AH
/: TITLE &LFA1-ANRED&
/: NAME &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&
/: STREET &LFA1-STRAS&
/: POBOX &LFA1-PFACH& CODE &LFA1-PSTL2&
/: CITY &LFA1-ORT01&, &LFA1-ORT02&
/: POSTCODE &LFA1-PSTLZ&
/: COUNTRY &LFA1-LAND1&
/: REGION &LFA1-REGIO&
/: FROMCOUNTRY &T001-LAND1&
/: ENDADDRESS
Which parameter have i to use for street 2 and 3?
We are a german company.
Thanks for help
regards, Dieter
2006 Sep 01 10:04 AM
Hello,
U can fetch addressed from table ADRC(Addresses (central address admin.)
This table for fetching the address.In this table u can find all the fileds u reqquire.
STR_SUPPL1 Street 2
STR_SUPPL2 Street 3
STR_SUPPL3 Street 4
Other address details also u can fetch from this table.
Regards
2006 Sep 01 10:04 AM
Hello,
U can fetch addressed from table ADRC(Addresses (central address admin.)
This table for fetching the address.In this table u can find all the fileds u reqquire.
STR_SUPPL1 Street 2
STR_SUPPL2 Street 3
STR_SUPPL3 Street 4
Other address details also u can fetch from this table.
Regards
2006 Sep 01 10:05 AM
u can use table<b> ADRC</b> for address...
STR_SUPPL1 AD_STRSPP1 CHAR 40 0 Street 2
STR_SUPPL2 AD_STRSPP2 CHAR 40 0 Street 3
STR_SUPPL3 AD_STRSPP3 CHAR 40 0 Street 4
LOCATION AD_LCTN CHAR 40 0 Street 5
2006 Sep 01 10:05 AM
Hi,
In LFA1 you won't find these fileds. The fields are in table <b>"ADRC"</b> . For this you have to first fetch the address number of the corresponding vendor.Then you have to fetch the fields <b>STR_SUPPL1,STR_SUPPL2</b> for this address number and use the same in the STREET line of the ADDRES control command in your script.
Thanks and Regards,
Bharat Kumar Reddy.V
2006 Sep 01 10:10 AM
Hi Dieter,
Take the field ADRNR from the table LFA1.
with this field get the street2 and street3 fields from ADRC table where ADRC-ADDRNUMBER = LFA1-ADRNR.
Regards,
Vidya.
2006 Sep 04 10:17 AM
Hi,
thanks for help. My problem is, that i havn't ADRC
in the formular, but i solve it in this way:
/: ADDRESS
/: ADDRESSNUMBER &LFA1-ADRNR&
/: NO_UPPERCASE_FOR_CITY 'X'
/: CITY &LFA1-ORT01&, &LFA1-ORT02&
/: FROMCOUNTRY &T001-LAND1&
/: ENDADDRESS
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |