on 12-04-2007 12:54 PM
Hello,
I use function module 'ADDRESS_INTO_PRINTFORM' to format vendor adress :
CALL FUNCTION 'ADDRESS_INTO_PRINTFORM'
EXPORTING
ADDRESS_TYPE = '1'
ADDRESS_NUMBER = zxpekko-adrn2
SENDER_COUNTRY = 'FR'
IMPORTING
ADDRESS_PRINTFORM = ws_adresse
.
In the vendor address, street and po-box are filled but only the po-box is in structure ws_adresse.
I would like to have street and po-box in structure ws_adresse.
In my system, land 'FR' has '001' for 'Address layout key' in OY01.
Can you help me ?
Thanks for your help.
Sébastien
If function module is giving problem get the address using below code...
SELECT SINGLE adrnr
FROM LFA1
INTO LFA1-adrnr
WHERE LIFNR EQ W_LIFNR.
if sy-subrc eq 0.
select single *
from adrc
into adrc
where ADDRNUMBER eq LFA1-ADRNR.
Close the thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check out the structure ws_adresse. It may be possible you define only one field for this structure.
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.