‎2007 Nov 06 4:51 AM
Hi all..
i have an issue..
am fetching the details of customer from table KNA1... especially address and name....
but wat happened is.. in table VBPA, for that particular ship-to party address is different...
but it was not reflected in KNA1 table...in KNA1 the address is different...
what needs to be followed.... or should i need to use some other methodolgy...
incase if i need to find the description of address.. where can i find???
please help....this issue
‎2007 Nov 06 5:31 AM
Hi,
Yes..you can override the address at the sales order level..
When you override the address in the sales order...Then a new address number will be generated and stored in the table VBPA...Then the address details for the address number will be stored in ADRC table..
Thanks
naren
‎2007 Nov 06 4:53 AM
Hi,
use the VBPA-ADRNR and go to the table ADRC with the VBPA-ADRNR value..there you can get the address...
Thanks
naren
‎2007 Nov 06 5:19 AM
Hi Naveena,
Either u select KNA1-ADRNR & pass it in table ADRC as ADDRNUMBER
Or u select VBPA-ADRNR & pass it in table ADRC as ADDRNUMBER.
U will get ur all required field for ship to party.
Reward pts if it is helpfull.
Regards
Srimanta
‎2007 Nov 06 5:27 AM
thank you both of you...
But the changes to the order.. will be reflected first in VBPA ?????
like in the order,, if am going to change the address... it would be reflected in the table VBPA..
a customer may have different address?/////////////////
‎2007 Nov 06 5:35 AM
Hi
A customer will not have different address
Have you considering the Partner function PARVW field in VBPA correctly
for Shipto it is WE
enter order number (VBELN) in VBPA and this PARVW = 'WE' then take the ADRNR and pass this to ADRC table
also take KUNNR and take from KNA1 also.
Generally one partner will not have different addresses
but in some cases if the same KUNNR is acting as both SOLD to nad SHIPTO then the addresses may be different
so based on the partner function (PARVW) take the addresses
Regards
Anji
Regards
Anji
‎2007 Nov 06 5:31 AM
Hi,
Yes..you can override the address at the sales order level..
When you override the address in the sales order...Then a new address number will be generated and stored in the table VBPA...Then the address details for the address number will be stored in ADRC table..
Thanks
naren