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 for different countries

Former Member
0 Likes
736

Hello friends,

I need to create the same sales orders for various countries. so in the shipping address, i need to know which fields are manadatory for address.

How can I find out which name and address fields(first name, title, postal code etc) are mandatory for different countries?

Thanks for your help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
649

u get adrnr(addres number) from vbPA .

from this addres number u get all details from table ADRC.

3 REPLIES 3
Read only

Former Member
0 Likes
650

u get adrnr(addres number) from vbPA .

from this addres number u get all details from table ADRC.

Read only

Former Member
0 Likes
649

Address Number is important.

Then U use FM 'SD_ADDRESS_GET'. u can get the adress. in this u have to pass the Language.

get the address number from VBPA for partner function 'WE'.

SELECT SINGLE * FROM VBPA WHERE VBELN = VBDKR-VBELN

AND PARVW = C_PARVW1. "WE

IF SY-SUBRC = 0.

V_KUNNR = VBPA-KUNNR.

  • Get the Consignee's Address

CALL FUNCTION 'SD_ADDRESS_GET'

EXPORTING

FIF_ADDRESS_NUMBER = VBPA-ADRNR "Address number

  • FIF_PERSONAL_NUMBER =

  • FIF_ADDRESS_TYPE =

IMPORTING

FES_ADDRESS = LVS_VBADR_CONSIGN

EXCEPTIONS

ADDRESS_NOT_FOUND = 1

ADDRESS_TYPE_NOT_EXISTS = 2

NO_PERSON_NUMBER = 3

OTHERS = 4.

- Selvapandian Arunachalam

Read only

Former Member
0 Likes
649

or try in TVKO table