‎2006 Oct 16 6:05 AM
hi friends,
Am using this BAPI to change the SO to include the new items.The error returned is 'sales office not assigned to sales area'.
please clarify if I had missed out any mandatory structure to be filled for the BAPI.IF given a sample filled mandatory structure required for this BAPI would be very much helpful.
Thanks in Advance.
Mahendhar
‎2006 Oct 16 6:18 AM
Hi Mahendhar
I guess this is not a problem with your coding if you are not passing the sales office explicitly from your code. To confirm on the same, please follow the below steps.
1. Take the customer of the sales order.
2. Using the customer number, go to table(SE11): KNVV and take the sales office i.e VKBUR.
3. Next go to table: TVKBZ: give the sales area that you are passing in the sales order i.e Sales Org + Dist.Channel + Division.
4. Check if there is an entry with the same sales office.
If no, report to your functional consultant on the same.
Also, do the following:
1. Check if you can change the sales order via VA02.
2. If yes, please check if you are passing the sales are correctly.
Kind Regards
Eswar
‎2007 Feb 26 1:58 AM
Used the SO number to pass into the salesorder change bapiinstead of passing the header details again.