CRM Sales Offer: Change Partner Address.

Hi gurus,
I need to change a partner address from a CRM sales offer. I'm using FM's CRM_ORDER_READ in order to get all order data.
I don't understand very well the use of CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE.
Can anybody help me?
Thanks a lot!

Hi,
It's right to use FM CRM_ORDER_READ to retrieve data but you will not maintain partner address data using CRM_ORDER_MAINTAIN.
You can change partner Address using FM BAPI_BUPA_ADDRESS_CHANGE.
Best regards,
Caíque Escaler
Edited by: Caíque Escaler on Dec 2, 2010 6:11 PM

Similar Messages

  • 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,
    GM

    Hi 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

  • Partner address change issue using BAPI_SALESORDER_CHANGE

    Hi,
    I'm trying to change partner address in an order using the Bapi BAPI_SALESORDER_CHANGE. I have searched the known threads but did not found a solution.
    my requrirement is to change partner address without passing address number to 'PARTNERADDRESSES' parameter
    This is brief about my requirement.
    Our requirement is sales order executin from ECC6 to ECC5 i.e. when a sales order is created in ECC6 it should be created in ECC5 when we save order in ECC6, so in a similar way even changes done in EC6 sales order should be reflectedin ECC5 (whichi includes ATP also) so during this process a user can add additional line items with different ship_to party address, so for newly added line item in ECC6 during VA02 (change process) address number will not be there in ECC5 so i can not pass address number in ECC5 during address change using BAPI_SALESORDER_CHANGE.
    since stock is not maintained in ECC6 we are doing above process i.e. sales order execution from ECC6 to ECC5.
    so in order to change partner address for newly added line item in ECC6 i will not be having adrees number in ECC5 so can any body plz let me know how to change address of a parter without passing address number to 'PARTNERADDRESSES' parameter of
    'BAPI_SALESORDER_CHANGE'.
    If any body has faced this and found a solutin for this plz let me know.
    Hope you understood my requirement.

    give a meaningful title to ur thread, so that, people get u back quickly. Just tip that, try to do ur requirement online, then Observe How the system is behaving....thanq

  • Replication any bp of crm sales order as  reference bp in erp sales order

    Hi specialists in sap r3.
    I was faced with the requirement not to replicate all bp of CRM. We want to in order for replication of any PD (CPM) was replaced by a reference bp (ERP).
    Individuals do not need to be analyzed in ERP.
    Is anybody know how to solve this issue? How to replace individual bp (CRM) to reference bp (ERP) during replication?
    I'll be glad to any idea.
    Regards,
    Tatyana.

    Hi Sangameshwar,
    In CRM you can have two scenarios for ERP Sales Order.
    1. ERP Sales offer and Sales order, using the CRM User Interface to create directly the ERP Sales Documents with LORD interface. The document is only saved in ERP. I believe this the scenario you are using.
    2. CRM Sales offer and Sales order, the document is saved both CRM and ERP. The documents are replicated via Middleware.
    In both scenarios the interaction record should add the document in the doc. flow, it's probably a missing customizing in the interaction record.
    Hope this information help you.
    Regards,
    Jorge G.

  • CRM sales order is not saved in CRM but in ECC

    Hi,
    I am new CRM area and will not some hints on where to check.
    When the the Sales orders are successfully created in CRM, they are replicated to R/3 but the sales orders are not saved in CRMD_ORDERADM_H table of the CRM system.
    Also, I dont know see any details of the sales order in the interaction record document flow.
    Can you please help me with any hints on where to check to fix this issue..

    Hi Sangameshwar,
    In CRM you can have two scenarios for ERP Sales Order.
    1. ERP Sales offer and Sales order, using the CRM User Interface to create directly the ERP Sales Documents with LORD interface. The document is only saved in ERP. I believe this the scenario you are using.
    2. CRM Sales offer and Sales order, the document is saved both CRM and ERP. The documents are replicated via Middleware.
    In both scenarios the interaction record should add the document in the doc. flow, it's probably a missing customizing in the interaction record.
    Hope this information help you.
    Regards,
    Jorge G.

  • Wrong contact partner in the CRM sales order come from ISA

    Hello,
    I'd like to know if is it possible to manage the partner dermination "contact from a shopping basket created in ISA.
    in my case, i have a shopphing basket created by a user XX and this shopping basket is used by a other  one (user ZZ) to create a crm sale order; The problem is that the contact filled in the crm order is the partner XX instead of ZZ. Is it possible to manage the determination by customizing XCM ou SPRO to define the suitable partner (ZZ)
    Best regards.
    CMA.

    Hello CMA,
    Thanks for explaining the problem clearly. Looks like you've got an issue. Though you created an "order" with reference to a "template", ISA doesn't use any Copy function configured in the backend. It is all done piece by piece using Java and ABAP code.
    This is certainly a bug in standard code - unless somebody finds a note that explains. I couldn't find any SAP notes on this issue. The "Create new order on the basis of an order template" finally uses the action CreateFromPredecessorAction. While there is code available to address the "Ship-To list", "drop ship - ship-to", "Sold-To", "Requested Delivery date" etc. of the  source (template) to target (basket or order), the code essentially misses to change the Contact person of the target document to the current user.
    You can address this issue in two ways. # Ask SAP to fix the bug in the above class or # Do it your own way, by just introducing an action to "massage" the data the way you want. The CreateFromPredecessorAction action has one outcome editdoc.
              <action path="/b2b/createfrompredecessor" type="com.sapmarkets.isa.isacore.action.CreateFromPredecessorAction">
                   <forward name="editdoc" path="/b2b/updatedocumentview.do"/>
    Introduce a custom action ZFixContactPersonAction immediately after like this:
              <action path="/b2b/createfrompredecessor" type="com.sapmarkets.isa.isacore.action.CreateFromPredecessorAction">
                   <forward name="editdoc" path="/b2b_custom/zFixContact.do"/>
              <action path="/b2b_custom/zFixContact." type="com.parxlns.action.ZFixContactPersonAction">
                   <forward name="success" path="/b2b/updatedocumentview.do"/>
    In this custom action, you can add some quick code to "fix" the contact person partner from the header.
    import com.sapmarkets.isa.businessobject.header.*;
    import com.sapmarkets.isa.businessobject.order.*;
    SalesDocument salesDoc = null;
    BusinessObjectManager bom =
            (BusinessObjectManager) userSessionData.
            getBOM(BusinessObjectManager.ISACORE_BOM);
    salesDoc = bom.getBasket();
        HeaderSalesDocument  header =
            (HeaderSalesDocument) request.
            getAttribute(MaintainBasketBaseAction.RK_HEADER);
    String selectedPartnerID = bom.getUser().getContactData().getId();
    String selectedPartnerGUID = (String) bom.getUser().getContactData().getTechKey();
    PartnerList partnerList = new PartnerList();
    //Get the document header - partner list value
                   PartnerList partnerList = header.getPartnerList();
                PartnerListEntry contactData = new PartnerListEntry(selectedPartnerGUID, selectedPartnerID );
    //Set the Contact partner in partner list
                partnerList.setContact(contactData);
    //Set this partner list back to header.
    header.setPartnerList(partnerList);
    return ("success");
    Hope this helps with little changes.
    (sorry, there I am not aware of any solution with simple customization in the backend)
    Easwar Ram
    http://www.parxlns.com

  • 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!
    Phil

    Hi Phil,
    Is this Sales Order generated through Quote?
    Thanks,
    Gordon

  • Restricting the partner address change in both VA01 & VA02

    Hi All,
    In Sales Order Creation / Change i need to make the partner address fields editable but want a restriction on save.
    For that i am doing the following:
    Change:
    This is possible by restricting the update comparing YVBPA & XVBPA table using parameter UPDKZ.
    Create:
    In the create scenario YVBPA table remains empty.Are there any other tables I should look at to restrict this address data change?
    However, there is a table XVBADR , changes to which do not influence the final display address.
    Alternatively , do we have an alternative approach to restrict the partner address change in both VA01 & VA02?
    Thanks in advance!!!
    Regards,
    AP

    Resolved by using YVBPA & XVBPA tables.

  • SPL block when changing the Address manually at Sales order level

    Hello all,  I hope every one doing well
    I am facing one problem in SAP system, when I am chanigng the Partner address at sales order level , system giving the SPL block , without screening even though the customer is a good customer.
    I checked in Img: GTS -> SAP Compliance Management->"Sanctioned Party List Screening" Service->Control Settings for "Sanctioned Party List Screening" Service->Sanctioned Party List Screening Strategy for Customs Docs tested with  as " Status check of unchanged Addresses( Partner Address) and New check of changed Addresses.
    I didn't find any difference. Sales order getting block for the above cases when changing the Address at Sales/Create document level.
    Please let me know  how to resolve it.
    Is it related to configuration  if yes how  ? pr
    do we  have any OSS Notes to Rescreen the Sales orders with compliace even though changing the Address at sales order level ( ship to party address changes like Name, city, email id, of fax )?
    or
    do we need to do the Enhancement for Rescreening when changing the ship to party adress (changes like Name, city, email id, of fax )
    manually at sales order level ?
    Thanks in Advance
    NVR

    hello Sameer,
    1. Whether your Embargo service is activated for the Country of Plant from which your order is getting shipped. -- Yes I have activated the Country under Embargo list.
    2. Whether the partner function for which you changing the county detail has been added in into the Partner group which is assigned to Embargo services.( GTS)-- Assinged the Sold to Party ( AG) for PGEMB2- Partner group
    3. Whether the country which u putting as Embargo has been maintianed under Embargo country list,
    - yes
    What I am doing exactly is , I am creating sales order with US customer master , but I am chaning the Country Key as Embargo country ( Ex: CU, SY, IR) at VA01 , or VA02 level Sales order header Partner tab level for Sold to party address ( changing only country key as embargo country) , not to ship to party  ( ship to party still US country key only), at that time system not blocking the sales order as embargo.
    please let me know if any once come across this sistuation..
    Thanks in advance
    NVR

  • Change of address in Sales Invoice

    Dear All,
    I have created a Sales Document and a Delivery Document and in both the documents I can change the address of the Partner Functions. When I am creating a Billing document I am trying to change the Address of the partner function but I am unable to change the Address. Can anyone help me out with the way so that I can change the Address of the Bill-to-party in Sales Invoice.
    Thanks
    Tanushree

    Hi,
    You cannot change the partner details in invoice.
    If you want to change,just change them in Delivery.Even in delivery you cannot change the sold-to-party and ship-to-party.
    Only you can change the bill-to-party and payer.
    Sold-to-party is related to sales order.Ship-to-party is related to delivery.
    So In order we cannot change the sold-to-party in partners tab.
    Hope you got my point.
    Regards,
    Krishna.

  • Address Subscreen from Sales Order Header (Partner Tab)

    Hi all,
    Apparently, I do have a requirement for Transaction VA01 and VA02. When a Sales Order is created, and I opened that Sales Order via VA02, I wish to grey-off the entire fields of partner's address screen.
    The partner's screen can be reached via VA02 -> Header Level -> Partner tab -> display a list of partner functions -> double click one of the line item, and address subscreen pop-up (This is where I want to grey-off the entire fields in the subscreen, this can prevent from user changing the address, so that the address sticks to the original address from master data).
    The address subscreen is at program SAPLSZA1, screen 0301.
    I have also tried to look at the user exit in SAPMV45A -> include MV45AFZZ, but can't find any possible solution from there.
    Any idea and solution will be much appreciated.
    Thanks and regards,
    Patrick

    Hi
    You can create a transction variant throgh SHD0 Transaction and make them output fileds.
    regards,

  • Function module to change the address on the business partner in SAP-ISU.

    Can some one send me the function module to change the address of businees partner in SAP ISU.

    Hi,
    The FM you are looking for is BAPI_BUSINESS_PARTNER_CHANGE
    You can use the table PARTNERADDR to fill the Address of the Partner.
    Hope this helps.

  • How to make a sales order item deleted in ECC while in CRM just status changed?

    Hi expert,
    I have a requirment, that is:
    1. the user will change the USER STATUS in a line item of sales order to "CANCEL".
    2. When the order was replicated to ECC,the item should be deleted totally and the ITEM in CRM should not be affected.
    How can I implement this? Is there any resolution by just make some configuration?
    Thanks in advance.
    Jerry

    Hi Jerry,
    As per standard SAP, the line item is not deleted (in ECC) based on the status changes at the line item (in CRM)
    You need to do the development to achieve this.  Following points to be considered if you are doing any custom enhancement.
    1. What triggers the sales order replication ? Is it status change at header level ?  If yes, then you need to define a program which will first check the line item status in CRM Sales Order.
    2. Wherever a line item status is CANCEL, it may store in some internal table and then it will call an RFC to delete these line items in the replicated ECC Sales Order.  (without deleting the line items in CRM Sales Order)
    3. Mind you that, this will be a complex enhancement and may give lot of challenges in the sales order replication to ECC.
    Drawback of this requirement -
    1. If your client prefer to have this scenario, then it is fine, but I could see the data inconsistency in all such sales orders.  There will be a mismatch between the sales order in ECC and CRM
    Hope this will be useful
    Thanks and Regards
    DJ

  • CRM Datasources for Activities & Business Partner Address

    Hi Experts,
    Can you please help in understanding following issue?-
    For both these datasources-
    1) 0CRM_SALES_ACT_1
    2) 0BP_DEF_ADDRESS
    I can see huge queue stacked up in CRM side in tcode SMQ1/RSA7.
    But delta loads for these datasources bring exactly 1 millions records every day and this is happening since last month.
    Even after delta load completes, I don't see corresponding decrease in delta queue entries.
    -For second datasource delta queue entries are varying around 21+ million records
    -For first one its varying from 5 million entries to 7 million entries
    It started happening around the time when people from CRM team loaded data in huge amounts in CMR from other lagacy systems. Historical data loads & conversion in CRM is finished long time back but queues for some cases are still stuck at big numbers.
    -->When I double click on queue, following is the status-
    "NOSEND"
    -->Further double click on it gives following two types of entries-
    a) Transaction Recorded
    b) Message Edited in Target System
    Any helpful responses are welcome.
    Thanks,
    Arun Purohit

    In R/3 you can check
    WB2_PARTNER_ADDRESS_CREATE
    also confirm in which system u need to create the business partner address.
    Additionally you should also check out
    BAPI_BUPA_ADDRESS_ADD        
    BAPI_BUPA_ADDRESS_CHANGE     
    BAPI_BUPA_ADDRESS_GETDETAIL  
    BAPI_BUPA_ADDRESS_GET_NUMBERS
    BAPI_BUPA_ADDRESS_REMOVE     
    These may be helpful
    Regards
    Alok Pathak
    Message was edited by: Alok Pathak

  • Problem while creating the Partner Address in CRM

    Hi,
       We are facing one problem while creating the new address for the Business Partner.
       When ever customer wants to change the address : we are following one process : where we are      
       using 'BAPI_BUPA_ADDRESS_ADD' functin module. Becuse of this , new addrss number will be generated for the 
      corresponding account in BUT021_FS table.But this table contains old address number as a first record, so that when ever
      we display the partner address in UI, it is displaying the old address only because first entry of the the table 'BUT021_FS'
      contains the old address number.
      Because of this , we are getting lots of complaints regarding this.
    Can you please help on this ASAP.
    Thanks & Regards
    Pradeep.

    Try BAPI_BUPA_ADDRESS_CHANGE  for address change followed by BAPI_TRANSACTION_COMMIT . It works.

Maybe you are looking for

  • Daily production order scheduling

    Hi Experts, i am using maximum lot size procedure  for the MRP Run and after MRP ,planned orders are generated based on the maximum lot size and these planned orders are further converted in to production orders. my requirement is how to schedule the

  • Mega 865 Pro Remote Control and MCE

    Hello peeps, Does anyone know if there is a way of getting the input from the remote control on the 865 Pro to emulate keyboard presses. I use Album Player (www.albumplayer.com) and you can set it up so it will change tracks etc.. by keyboard presses

  • When will the new OWB 10g release 2 be available?

    HI... I would like to know if there is a timetable to download in the OTN site about the new version of OWB 10g release 2.. I saw the the new version of this tool last year in the Oracle Open World and I am very curious to do some test and implement

  • Need query for below requirement

    create table nsk_temp2 (num number,parent_num number,src_num number); insert into nsk_temp2 values (1000,null,null); insert into nsk_temp2 values (1001,1000,null); insert into nsk_temp2 values (1002,1000,null); insert into nsk_temp2 values (1010,null

  • FM for creating relations bewtween 2 BP (IS-U)

    Hi, how i can create relation between 2 bp? thank you. Lechoo