Change customer address in sales order
Hi,
is there any possibility to change the address in an sales order
for the customer in Field sold-to party.
i don't want to change it via xk02.
i don't want to use another ship-t party customer.
Only one customer shell be used and the address shell only be changed
for a specific sale-order.
Any idea?
thanks.
regards, Dieter
if you want to change address in VA01,or VA02 Transaction manually then
double click on sold to party number ,here you can change -> manually
if you want to change programtically -> use MV45AFZZ Include ->
FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
ENDFORM.
write the code above routine ,first get the data adrnr from vbpa,then update into ADRC Table
Thanks
Seshu
Similar Messages
-
Customer Address in Sales Order
Any changes to the Customer Master to update any open orders and any orders with delivery created, no changes to update in Sales Orders that are PGID/ Invoiced.
Any direct solution or work around please.
Edited by: Srikar Kaja on May 7, 2010 10:30 PMif you want to change address in VA01,or VA02 Transaction manually then
double click on sold to party number ,here you can change -> manually
if you want to change programtically -> use MV45AFZZ Include ->
FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
ENDFORM.
write the code above routine ,first get the data adrnr from vbpa,then update into ADRC Table
Thanks
Seshu -
Avoid invoice split due to change of address in Sales order
Hello Gurus,
I have one business scenario, where, bill to party address is different in sales order then customer master. Such orders are collectively billed and should generate one invoice. ( all the sales order for a customer have same bill-to party address, bud different from customer master). In standard functionality it will split. I want to avoid split and in invoice bill to party address in sales order should be copied. Is there anybody have similar scenario faced before?
Regards, and thanks in advance,
MukulHi Lakshmipathiji,
please find below screen shot, where we have address as one of the criteria. but other three criteria has become my problem. ABAPer has able to remove address as split criteria but can't find how these three criteria is splitting invoice. They are nothing but invoice number and payment reference. Can you help me with this?
Regards,
Mukul -
Change Customer Details at Sales Order Level
Dear Guru,
In standard SAP Sales Order input screen, it allow me to double click on the partner function line, and change the customer address, no matter for sold-to, ship-to, payer or bill-to.
Is there any chance that I can block this feature? So, that the address must be always the same as the customer master?
Thank you in advance!
Best regards,
Chrishi chris,
there are two solutions for this.
you can make it invisible in SHD0 For this program name is SAPMV45A and screen number is 4001 and 4900.
you can deactivate the same in SE51 with the help of abaper with the screens 4001 and 4900.
regards,
balajia
Edited by: balaji timmampalli achari on Dec 8, 2010 9:04 AM -
To change shipping address in sales order
Hi experts,
I have an issue here. I tried to change shipping address in an existing sale order. However, even tough I have changed and updated the shipping address in Business partner Master data. and the sale order itself, SAP still prints the old address for the shipping.
It is possible to change? or it is one of the control by SAP?
Thanks in advance!
PhilHi Phil,
Is this Sales Order generated through Quote?
Thanks,
Gordon -
Disable duplicate check for customer address on sales order creation
I am using the following tables to create sales order as well as customer and addresses together. All data are coming from third party system through dblink.
OE_HEADERS_IFACE_ALL
OE_LINES_IFACE_ALL
OE_CUSTOMER_INFO_IFACE_ALL
however, whenever the address to be created already exist in OFS, the sales order import program ended with:
Source/Order/Seq/Line Message
*1122/SOSHM006// Duplicate SHIP_TO ADDRESS found for SOSHM006_S. Please correct the data.*
*1122/SOSHM006// Duplicate BILL_TO ADDRESS found for SOSHM006_B. Please correct the data.*
how can I disable the above checking? ie: allow the address to be created even the address already exist.
See Example below, notice that the addresses for SOSHM006_S and SOSHM005_S are identical, and addresses for SOSHM006_B and SOSHM005_S are identical, but we want them to be created as separately addresses.
Example (first time)
Insert into ONT.OE_HEADERS_IFACE_ALL (ORDER_SOURCE_ID, ORIG_SYS_DOCUMENT_REF, ORG_ID, ORDERED_DATE, ORDER_TYPE, PRICE_LIST, SALESREP_ID, SALES_CHANNEL_CODE, SHIP_FROM_ORG_ID, CUSTOMER_NUMBER, BOOKED_FLAG, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, OPERATION_CODE, ORIG_SHIP_ADDRESS_REF, ORIG_BILL_ADDRESS_REF) Values (1122, 'SOSHM005', 86, sysdate, 'Corporate (NOR)', 'Corporate', 1, 'CORPORATE', 90, 'SHM01', 'Y', 0, sysdate, 0, sysdate, 'INSERT', 'SOSHM005_S', 'SOSHM005_B');
Insert into ONT.OE_LINES_IFACE_ALL (ORDER_SOURCE_ID, ORIG_SYS_DOCUMENT_REF, ORIG_SYS_LINE_REF, LINE_TYPE, INVENTORY_ITEM, ORDERED_QUANTITY, SHIP_FROM_ORG_ID, FULFILLMENT_SET_NAME, UNIT_LIST_PRICE, UNIT_SELLING_PRICE, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, OPERATION_CODE, SUBINVENTORY) Values (1122, 'SOSHM005', 'SOSHM005A_S', 'Corporate Line (NOR)', '01-09-PAC-3522-01', 1, 90, '1', 0, 0, 0, sysdate, 0, sysdate, 'INSERT', 'Mesad');
insert into OE_CUSTOMER_INFO_IFACE_ALL(CUSTOMER_INFO_REF, CUSTOMER_INFO_TYPE_CODE, current_customer_number, org_id, COUNTRY, ADDRESS1, CITY, STATE, POSTAL_CODE, IS_SHIP_TO_ADDRESS, IS_BILL_TO_ADDRESS, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) values('SOSHM005_S', 'ADDRESS', 'SHM01', 86, 'MY', 'Ship4 479, JALAN PASIR PUTEH 31650 IPOH PERAK.', 'IPOH', 'Perak', '31650', 'Y', 'N', sysdate, 0, sysdate, 0);
insert into OE_CUSTOMER_INFO_IFACE_ALL(
CUSTOMER_INFO_REF, CUSTOMER_INFO_TYPE_CODE, current_customer_number, org_id, COUNTRY, ADDRESS1, CITY, STATE, POSTAL_CODE, IS_SHIP_TO_ADDRESS, IS_BILL_TO_ADDRESS, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) values('SOSHM005_B', 'ADDRESS', 'SHM01', 86, 'MY', 'Bill4 479, JALAN PASIR PUTEH 31650 IPOH PERAK.', 'IPOH', 'Perak', '31650', 'N', 'Y', sysdate, 0, sysdate, 0);
Example (second time) - the differences are highlighted in bold.
Insert into ONT.OE_HEADERS_IFACE_ALL (ORDER_SOURCE_ID, ORIG_SYS_DOCUMENT_REF, ORG_ID, ORDERED_DATE, ORDER_TYPE, PRICE_LIST, SALESREP_ID, SALES_CHANNEL_CODE, SHIP_FROM_ORG_ID, CUSTOMER_NUMBER, BOOKED_FLAG, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, OPERATION_CODE, ORIG_SHIP_ADDRESS_REF, ORIG_BILL_ADDRESS_REF) Values (1122, *'SOSHM006'*, 86, sysdate, 'Corporate (NOR)', 'Corporate', 1, 'CORPORATE', 90, 'SHM01', 'Y', 0, sysdate, 0, sysdate, 'INSERT', *'SOSHM006_S'*, *'SOSHM006_B'* );
Insert into ONT.OE_LINES_IFACE_ALL (ORDER_SOURCE_ID, ORIG_SYS_DOCUMENT_REF, ORIG_SYS_LINE_REF, LINE_TYPE, INVENTORY_ITEM, ORDERED_QUANTITY, SHIP_FROM_ORG_ID, FULFILLMENT_SET_NAME, UNIT_LIST_PRICE, UNIT_SELLING_PRICE, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, OPERATION_CODE, SUBINVENTORY) Values (1122, *'SOSHM006'*, *'SOSHM006A_S'*, 'Corporate Line (NOR)', '01-09-PAC-3522-01', 1, 90, '1', 0, 0, 0, sysdate, 0, sysdate, 'INSERT', 'Mesad');
insert into OE_CUSTOMER_INFO_IFACE_ALL(CUSTOMER_INFO_REF, CUSTOMER_INFO_TYPE_CODE, current_customer_number, org_id, COUNTRY, ADDRESS1, CITY, STATE, POSTAL_CODE, IS_SHIP_TO_ADDRESS, IS_BILL_TO_ADDRESS, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) values( *'SOSHM006_S'* , 'ADDRESS', 'SHM01', 86, 'MY', 'Ship4 479, JALAN PASIR PUTEH 31650 IPOH PERAK.', 'IPOH', 'Perak', '31650', 'Y', 'N', sysdate, 0, sysdate, 0);
insert into OE_CUSTOMER_INFO_IFACE_ALL(
CUSTOMER_INFO_REF, CUSTOMER_INFO_TYPE_CODE, current_customer_number, org_id, COUNTRY, ADDRESS1, CITY, STATE, POSTAL_CODE, IS_SHIP_TO_ADDRESS, IS_BILL_TO_ADDRESS, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) values( *'SOSHM006_B'* , 'ADDRESS', 'SHM01', 86, 'MY', 'Bill4 479, JALAN PASIR PUTEH 31650 IPOH PERAK.', 'IPOH', 'Perak', '31650', 'N', 'Y', sysdate, 0, sysdate, 0);Hi George Chen
with sales order stock .. is ther a way of allocating the stock from unrestricted stock .. i understand that you have to have the stock in a "special" area to move it to the sales order?
excuse my ignorance but what is IS-AD solution?
thanks
Nick -
Changing address in sales order item level
Dear very good mng
i want to know , i am trying to change ship to party address in sales order line item level
but showing Gray mode only .. i have maintained Sales document item level ( partners) Removed check box not modifiable
And i activated Item partners check box at partner tab
even i am not able to change address in sales order item level plz tell me
Thanks a lotHi Madhuri
I have checked my self.system does allow to change different ship to Party on line Item level .
Please do the following steps .
1. Replace/delete the WE partner Number ( Example -1) in my case in change mode.
2. system will show some error message as show below while deleting or replacing WE with some other ship to Party code.
3. Ignore the message and go ahead . Please put the new Partner's number and double click
address Screen will Pop up . You can Change the address .
Hope this helps .Let me know for more clarification needed .
Regards
Santosh Verma -
User Exit to change the Ship-to party address at Sales Order headder level
Hi,
I have requirement like this......
I need to change the ship-to party address at Sales Order headder level. for that which user exit i need to use and which structure i need to use to update the transaction.
I used : userexit_save_document_prepare, in that i passed data to 'xvbpa' and 'xvbadr' structures. even though it is not update the transaction.
Please let me know the answer.
Thanks,
Satish.Hi Satish,
Step1. Create new Data Copy Routine using Tcode VOFM.
Step2. *-----------------------------------Ship to Party from contract
IF CVBPA-PARVW = 'WE' OR
CVBPA-PARVW = 'SH'.
REFRESH IT_STP.
SELECT KTOKD
A~KUNNR
NAME1
NAME2
A~ADRNR
FROM VBPA AS A INNER JOIN KNA1 AS B ON A~KUNNR = B~KUNNR
INTO CORRESPONDING FIELDS OF TABLE IT_STP
WHERE VBELN = CVBPA-VBELN .
Step3.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL = 80
ENDPOS_ROW = 10
STARTPOS_COL = 10
STARTPOS_ROW = 5
TITLETEXT = 'Your Title'
IMPORTING
CHOISE = T_SELIDX<=====Index No of selection
TABLES
VALUETAB = IT_STP
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
Step4.
READ TABLE IT_STP INTO WA_STP INDEX T_SELIDX.
IF SY-SUBRC = 0.
CLEAR:CVBPA-KUNNR, CVBPA-ADRNR.
MOVE WA_STP-KUNNR TO CVBPA-KUNNR.
MOVE WA_STP-ADRNR TO CVBPA-ADRNR. <========Address ID (Change Here).
ENDIF.
Regards,
Amrendra
Moderator Message - Please do not reply to old, dormant threads.
Message was edited by: Suhas Saha -
How to resrve the stock to the customer against the sales order
hi,
sap gurus,
good morning to all,
how to reserve the stock to the customer against the sales order if this process is not MAKE TO
ORDER SCENARIO.
the prices of the products will be often changing drastically so
he is following MAKE TO STOCK Process in his production process.
so with out using m.t.o. process how to reserve it against the customer.
for eg:
in the market when the customer/dealer/stockist coems to know that prices are going to increase
then obviously he tends to purchase in bulk quantities and reserve it in godown.
so how to map that process.
help me on this.
regards,
balaji.t
09990019711Dear Balaji,
This can be done By MM consultant through movement type. to move the stock from unresticted stock to customer stock.
Regards,
Sudhir -
How to change material discription at sales order item level ?
Dear Gurus,
We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that into change mode in sales order item level?
Thanks in advance
Regards
VenkatNot possible in SAP Standard.
Instead why not create a Customer Material Info Record in T-Code - VD51?
Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
But Customer Material info Record seems to be the best solution.
Hope this helps,
Thanks,
Jignesh Mehta -
Changing the payer in sales order other then BDC, LSMW
Hi Friends,
We are working at BHEL,
here we want to change the payer instead of old payer for all open sales orders is , is there any possibility to change the payer in sales order other then LSMW , BDC , those two are not helpful for us because there is lot of incompleteness logs in my incomplete procedure,
please suggest me to proceed further,
regards,
Gangi Reddy.Hi Gangi,
I have explained the CATT procedure, step by step, on 31/03/2007 for another mass updation requirement in the same forum with subject as 'Regarding Customer Master'.
Have a look and let me know if you have further doubts.
Rewards if helps.
Regards
Nadarajah Pratheb -
Updating email address in Sales order header partner address -VA01/VA02
I got the requirement to update the email address in Sales order-> header-> partner address.
The mail address will be picked from ZTABLE and updated in header partner address through user exit
I cannot find any field for updating email address in partner address in user exit "MV45AFZZ"
Is there any other user exit/option to update email address in header partner address of sales order?
Thank You,
GMHi Rajesh,
I agree with you but this Scenario is different.
Just as you have mentioned the address change will not reflect in the Old Sales orders but it should in the new Sales orders right??
But that is not happening..The Address was changed say two months back and the new address is not appearing in the Sales orders created these days say yesterday or today..
In such a case,what is should I check to get the address updated??
Please advice.
Regards,
Sophia Xavier -
Change Tax code in sales order
Hello Friends,
We have a requirement for the tax code determination - There are two way determination of tax code in sales order
-> From the tax condtion records
-> From manual input of tax code in the sales order
Could you please advice on how we can insert manually the tax code since the standard SAP not supports the requirement. For your information, business case not supports to maintain condition recors for those tax codes to insert manually.
Please advice
Best Regards,
GouthamHi,
During sales order creation, the tax classification from the customer master is proposed in the sales order document.
In condition record, you maintain the tax code for this tax classification along with some other field combinations. Accordingly, teh percentage linked to the tax code will be decided as teh % of tax for the customer. This is the logic.
If you want to change the tax code in the sales order, it is not possible. However if you really want to change it, you can achieve it by changing the tax classification of the customer in the sales order header. This is available in the billing tab of order header. The field is "Alternate tax classification". You can change the desired tax classification here. Correspondingly by linking the tax code to this tax classification in VK11, you should be able to change the applicable tax code in the sales order.
In summary, you should change the tax classification in order to change the tax code which is linked to it. -
I wants to change material details in sale order , delivery & billing
dear guru
I wants to change material details in sale order , delivery & billing
becuse user entered wrong deatils but condition is same no range to be mantained in sale order ,delivery& billing
Regards,
Maha.UHi,
If Material A - Description Vicks is created in Material master n if you want the same material with change of description for respective customer,you can change the description like Vicks XL while creating SO in Description of Material line item.
Same can be displayed in invoice as well.
Thanks
Shri -
How to change pricing Conditions in Sales order in change sales order bapi
Hi Experts,
How to change pricing Conditions in Sales order in change sales order bapi.
I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
Thanks in Advance .
NLNHI NLN
I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
<b>Import Paramters:</b>
SALESDOCUMENT - Sales Document Number
ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
<b>Tables:</b>
CONDITIONS_IN - ITM_NUMBER,
COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
COND_TYPE,
COND_VALUE,
CURRENCY.
CONDITIONS_INX - ITM_NUMBER,
COND_COUNT,
COND_TYPE,
UPDATEFLAG as <b>'U'</b>,
CURRENCY.
Hope i have clarified your query.
Kind Regards
Eswar
Maybe you are looking for
-
I hate iPhoto '11 when I need to mail pictures
I always need to send many photos to other people, with iPhoto 10, it is very easy and simple. I can see how many MBs would be before I send them, and I can choose the size of the photo. I love it. It is easy than in windows. While in iPhoto '11, I c
-
BP address move in CRM 5.0
Hi Friends, There is a functionality of BP address move in CRM 5.0 Here we can move the source BP address into target one. I created one contract using the source address. After this i created a new target address for BP and now i am trying to move t
-
How to do "connect" in PL/SQL ?
Hi all I want to select the 8i database from 11gR2 database. So I created a middle DB running 10gR2 and made dblinks like below: DB A(8.1.7) <- DB B(10.2.0) <- DB C(11.2.0) Now I want select table t from 11.2. I Can do from C: connect id/pass@B selec
-
Avoid repeating a 'for' loop 3 times
Any ideas how can I make my code more efficient by not repeating the for loop 3 times within a script? Any tutorial links or first hand experience – I'd be grateful for any pointers: 1) First I use it to set up a drag n' drop activity: for (var i:Num
-
I'm trying to make a video gallery application like the tutorial on the adobe website. basically I have a folder on my desktop containing these files AC_RunActiveContent.js FlashVideoGallery.html video thumbnails Settings.xml fvg Readme.txt FlashVide