Ship-to address resets (bug?)

Hello,
I have had a problem with the DI API since version 2005A. We are currently on 2007A PL48. The shipping address will reset to its default if you modify any header data (except UDFs) through the DI API. Can someone verify this or let me know that I'm doing something wrong?
Steps to reproduce via DI API:
Add a sales order via DI API and set the "address2" field to "some address"
The database will have "some address" in the table
Now modify any field in the header including the ship-to address and save the document (using DI API)
The database value will reset to the default shipping address/format for the BP
Any input would be appreciated.
-Dave

I'll explain better with code this time. I created the order through the SBO client and did not modify the address fields (left defaults in place).
TEST STEP 1)
Dim B1Doc As SAPbobsCOM.IDocuments
B1Doc = SAPCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
B1Doc.GetByKey(12345)
B1Doc.Address2 = "some address SHIPPING"
B1Doc.Address = "some address BILLING"
B1Doc.Update()
NOTE: Both address values are set correctly.
TEST STEP 2)
Dim B1Doc As SAPbobsCOM.IDocuments
B1Doc = SAPCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
B1Doc.GetByKey(12345)
B1Doc.Address2 = "some address SHIPPING #1"
B1Doc.Address = "some address BILLING"
B1Doc.Update()
NOTE: B1Doc.Address reverts back to the default address
TEST STEP 3)
Dim B1Doc As SAPbobsCOM.IDocuments
B1Doc = SAPCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
B1Doc.GetByKey(12345)
B1Doc.Address2 = "some address SHIPPING #2"
B1Doc.Address = "some address BILLING"
B1Doc.Update()
NOTE: Both address values are set correctly.
TEST STEP 4)
Dim B1Doc As SAPbobsCOM.IDocuments
B1Doc = SAPCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
B1Doc.GetByKey(12345)
B1Doc.Address2 = "some address SHIPPING #3"
B1Doc.Update()
NOTE: B1Doc.Address reverts back to the default address
Do you not have this behavior? Am I doing something wrong? My only work around would be to save the document twice in order to update the address field back to what I want.
This only occurs with the Address variable. You can run the same code and flip the Address and Address2 variables and you will see that the Address2 variable updates correctly every time.

Similar Messages

  • Problem in Overwriting SHIP-TO-ADDRESS at itme level.

    Hi Experts,
    We are facing problem in Overwriting SHIP-TO-ADDRESS at itme level.
    Issue : Item level ship to address cannot be overwritten when item and header shipping is same.
              if   item and header shipping address different then item shipping address can be overwritten.
    Can any one  help me to solve this issue.?
    What are all  the function modules  / BADIs used  for handling the shipping address..?
    Regards,
    Murugan Arumugam.

    Hello Murugan,
    Sorry for the late reply, but changing ship-to party address at item level is standard behaviour in the B2B webshop. Yes, there was a bug in CRM ISA v4.0 when a change to the header level ship-to party address didn't flow through to an already available item ship-to party address but only to newly added items. This was rectified in newer versions of ISA / eCommerce.
    Cheers,
    Ashok.

  • Create/Update Ship-to-address in PO

    Hi All,
    Does anyone know any FM or BAPI to create/updaet ship-to-address in PO. Currently I am going in ME22, selecting one line item.
    going to Item->More Functions->Delivery Address. Then A pop up comes where I first reset the address and then enter address number in the address field and then press Adopt button and then save button. Is there any BAPI or FM to achive the same .
    Regards,
    Abhi.

    Hi Crystal,
    Yes.Once ur Plant address is changed , it will effect all the PO's.
    No requirement of ABAP is involved here.Use Standard Transaction OX10.Select ur plant and press SHift+F5.
    Case 2 : If it is a third part PO then u will find the address number in Customer filed of Delivery Address tab in PO.
    Case 3 : Last case would be hard - coded address maintained through MEAN transaction - If this is the case u find the address number against address filed in Delviery address of PO.
    Regards
    Ramesh Ch

  • Purchase Order Ship To Address on Logistics Tab

    The Ship To Address on the Logistics tab for a PO is only showing a City and State.
    Print Preview of the Purchase Order shows the Default Ship To Address for the Vendor.
    Changing the Ship To Address on the Logistics tab of the PO does not affect the Purchase Order as shown in Print Preview.
    This does not seem like correct behavior.  Is this a bug?
    If not, can someone explain it to me?

    Maybe the PO printout is set to print the ship-to address details of the BP instead of the ship-to address of the document?
    In order to find out (or change) where the data on the PO printouts actually comes from: Open a PO, then Tools - Print Layout Designer (PLD), then a doubleclick on the high-lighted row. Select a field in the left hand window, then in Properties window go to 'Content' tab in order to review /change the table+column mappings.
    The default content and layout of Document ship-to and bill-to addresses are defined in Admin - Setup - BPs - Address Formats.
    HTH
    Juha

  • When will Apple address iOS bugs

    At first I was having problems connecting go wifi but a network reset would suffice. Now my iPhone 4S cannot even scan for networks let alone connect.  In addition, I have to be charging three times with the Battery drain.  I have tried numerous so called fixes and have gotten nowhere. Will apple ever address these bugs in their New (very disappointing) new iOS or should I upgrade to an android?

    Neither I, nor anyone else I know has had problems with iOS 6 on our iDevices.  There are no bugs as far as I'm concerned.
    As far as switching to an Android, you need to do what you feel is best for you.  We're users here, not Apple.  We've no vested interest in your staying with Apple.

  • Ship-To Address not getting picked for one particular user

    Hi SRM Gurus,
    I am working on SRM5.0 system with ECC6.0 as backend.
    For one particular SRM user, the Ship-To address number which has been maintained in his attributes through transaction PPOMA_BBP, as default delivery address, is not populated when he creates a SC.
    This default ship-to address is not seen while creating the cart even though the address can be found via the F4 search help in the same SC.
    Can anyone tell me why this is happening for one particular user?
    Please note that this problem is occuring even when the user is shopping for self and creating a new SC (no copying from template). So SAP note 1055203 is not valid in my case.
    I have checked the ADRC table, and this address number exists. Infact, when I assign this address number to some other user's Ship-To attribute, this default delivery address is picked in the SC.
    So, I understand that the problem is not with the address, but with the linking of this address number to this user. I even tried deleting and re-assigning the address number in the attribute to this user. But, it doesnot work still.
    Can anyone help me out?
    Thanks n Regards,
    Ancy

    Ship to address not being picked from attributes for any user it was being picked from Org address data , and I had reset the value
    now , when I am trying to create a SC and I have tried to add delivery address  bby 2 types .
    1. By adding through the portal
    2> i have tried to add the same throgh ppomabbp in user attributes "Delivery address"
    I have also made it default however when I raise the SC it again shows me as blank :
    I am not too sure how do I populate the value that I need . Please see below still the delivery address is blank !!

  • Endereço Ship to Address em itens vindos de requisições de compras

    Olá amigos.
    Estamos usando o SRM 5 no cenário clássico extendido e estamos enfrentando um problema durante a migração de requisições de compras proveniente de um backend para o SRM:
    O procedimento é referente ao endereço Ship to Address e acontece no seguinte caso:
    (01) Criamos uma requisição de compra (PR) no R/3 e enviamos para o SRM;
    (02) O endereço de entrega dos itens (Ship to Address) é sempre preenchido com o endereço da Organização de Compras definido na aba de endereço da Organização de Compras no PPOMA_BBP (este endereço também pode ser visto como o endereço principal da Organização na BP);
    (05) Quando nós criamos um pedido (PO) para a PR através do Portal e tentamos mudar o endereço de entrega (Ship to Address) para algum já existente (usando o search help disponível  na tela), as únicas opções de endereço são aqueles que estão listadas como endereço de entrega (Ship to Address) para a Organização de Compras na transação BP. O problema é que mesmo depois de escolher o novo endereço, quando voltamos para a tela de parceiros, o nome do endereço ainda aponta para o endereço antigo.
    Levando em consideração que:
    (01) Nós não estamos usando ADDR_SHIPT atributo de PPOMA_BBP;
    (02) Utilizamos a transação BP para manter quatro endereços de entrega (Ship to Address) para a Organização de Compras.
    temos dois problemas:
    (01) Como devemos proceder para preencher o endereço de entrega (Ship to Address) do item no SRM com o mesmo endereço preenchido para o item na PR? É possível por configuração ou só por customização?
    (02) É possível corrigir o erro relatado no item 5 acima realizando alguma configuração ou somente através de customização?
    Por favor nos ajudem com essas questões que nos são críticas.
    Obrigado,
    Evandro Miasato

  • Monitor the changes of Ship to address in Sales Order

    Hi,
    My client has an requirment which they would like to monitor whether the ship-to-address has been modified after the order were save. 
    e.g. 
    Sold-to 12345
    Ship-to 12356
    SAVE the order
    After the order are sale and sometime later, the user went in VA02 and update the ship-to-address to 23456
    now
    sold-to 12345
    ship-to 23456
    It there anyway we can have a report to check if the ship-to has been changes? 
    thanks,
    Rebella

    Hello Rebella,
    The best option of monitering the changes incurred fro the Ship-to-Party details of a SALES ORDER are as follows:
    If you are interested to pick up the information of changes values of Ship-To-Party from a Sales Order then i think you can use the table VBPA. This table will contain the updated value of Ship-To-Party partner function of a Sales Order.
    Second option would be to use a program which actually run when you open a Sales Order in VA03 --> Environment --> Changes. You can develop a t-code which shall call this program.
    You can also use the T-code AUT10 for tracking changes for a Sales Order.
    Hope these infotmation helps you in resolving your issue and please don't forget to mark your thread as closed.
    Regards,
    Sarthak

  • Error while updating Ship to Address on Sales Order form

    hi ,
    A user is trying to update the ship to address on a standard sales orders screen, this is pretty common and never caused any issues. However with one particular order the user gets the following error :
    "You cannot update Ship To Location; the standard value rule set prevents override. "
    This is an Oracle shipped message and not custom code. The message name is OE_SEC_UPDATE_VIOLATION whose text is : You cannot update &ATTRIBUTE; &REASON
    Seems like REASON is the message : OE_SEC_SV_VIOLATION, whose text is
    " the standard value rule set prevents override. "
    This is a message shipped by Oracle Order entry. I am not able to locate this message since the oracle shipped files are not available to us and this is not in any database code(i searched the code)
    Does anyone know when this message is thrown. It seems like some value set error but am not able to figure out where it is being set.
    Any help in this will be appreciated.
    Thanks

    Did you check if any Processing rule is defined for Ship to location update :
    Setup> Rules > Security > Processing constraint ?
    Maybe this order matches condition that prevents this field from being updated.

  • User Unable to change Ship to address in SC while creating

    Hi All,
    When user is trying to change the ship to address which was defaulted is unable to make change.
    USer is trying to make manual entry in the NAME field change so that the other field would automatically gets changed withrespect to NAME in the SHIP to address tab.
    We have informed user that there exist Find option for other ship to address to choose.
    But user has insisted that it is easier to make manual change in NAME filed of the SHIP to address tab so that evrything should automatcially gets changed ,This will avoid search time .
    All other fields like CC & GL  are able to make change
    Please let me know what needs to be done to change the ship to address.
    Thanks
    Prasanna
    Message was edited by:
            PRASANNA HAVINAL

    Hi Ravish,
    I am already changing the UOM in the same include and in the subroutine "USEREXIT_MOVE_FIELD_TO_VBAP".  But it is again over writing in the standard program.  What I need to do, to remain same UOM.
    Thanks,
    srinivas.

  • Multiple Ship To Address in a Purchase Order

    Can we have multiple ship to adresses in a Purchase Order in SAP Business one.

    SAP does not give you an option to select different ship to addresses in purchase orders unless you are using a drop ship warehouse.
    Thanks
    Murtuza

  • How to make ship to address fields mandatroy while creating sales order

    Dear forum Members,
    My client oraganizes trade shows and hence ship to address vries everytime when sales order is entered for the same sold to party.So one times ship to customer is used in the sales order and address is entered at sales order level. Please note that at master data level all address fields are suppressed for one time customer.Hence there is no question of going back to one time customer account group and making any field mandatory.
    While changing address for ship to at order level, there are few fields which are mandatory, for example city is mandatory. I also want to make zip code and region as mandatory.where is this controlled?Please note that this is not account which controls this. i have already done lot of r&d on account group and transaction variants which are not controlling these fields at sales order level.

    Hi Kanwal,
    Only incompletion procedure will not suffice for your requirement.
    You need to make the field mandatory wherein, if you dont enter, system will not allow you for enterin further fields. For this you should do the following:
    Goto transaction SHD0, you will get a screen where you need to enter you Tcode "VA01"
    Below you define a transaction variant (starting with Z).
    On the next tab you have Screen Variant. Here you enter screen variant name, program name & screen number.
    Then you click on create.
    Its like as if you are doing some kind of recording. Finally you will reach to the screen where there are options available to make the field mandatory.
    For your reference the program is SAPMV45A screen number is 4001.
    Further screen are self explinatory.
    Hope this should solve your requirement
    Regards,
    Dhananjay

  • Change ship to address in sales order

    Hi Friends,
    I am an SD consultant and need your help regarding a requirement.
    While creating the sales order, the user changes the address of the ship to in the order - header - partner tab. The user deletes the name1 of the ship to party and keeps the name1 of the sold to party here. This is our business requirement. When doing manually, it is perfectly saving the changes. But, the client requires to handle it through program because sometimes the users are forgetting to change the ship to address and it is creating problems at field level. Our technical team is finding it difficult to handle the process and I would like to take the suggestions of experts here.
    In brief, my requirement is,
    when the user creates a sales order, system should take the name1 details of the sold to party partner and keep it in the name1 of the ship to party address.
    Please let me know if any more details are required.
    Thanks,
    Ravi

    HI  Ravi
    in the BADI  'ORDER_SAVE' you can implement the method 'PREPARE'.
    this method will call after have pressed the save button.
    best regards
    Marco

  • BP master data ship to address show in SO

    Dear All,
    In the BP master data, there is a Addresses tab, inside this tab, there is the Ship to address with Address Name, Zip Code, State... etc.
    In the Sales Order, there is a Logistic tab, in the Ship to, user can select which address want to be selected for the default ship to address, in the textbox of the ship to address, would like to enquiry how to set which line of Ship to address can set in here? for example, i just want to display the Address Name and State, but not the Zip Code.
    Thank you very much!

    Hi!
    It's very much possible.
    Do the setting in
    Administration > setup > Business Partner > Address Format
    1. Go to Find Mode
    2. Press *
    3. Select your Country code
    4. Change the Address Format as you wish.
    5. Restart SAP Once Again.
    --- See to that all other users are logged out from SAP B1

  • How to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO?

    Hi Experts
    i have a reuirement where i have to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO
    i am doing below steps for this.
    1. Adding custom field ZZfield in structure INCL_EEW_PD_PARTNER_CSF by  using  append structure.
    2. Spro ->Supplier Relationship Management -> SRM Server -> Cross application basic settings -> Extensions and field controls (personalization) -> Configure field control ->Configure Control for Fields of Substructures
    then click on  "Metadata for Fields of Substructures and Table-Like Enhancements"  
    add the below entry
    Bus. Object Set Type  : I am trying 7 and 29
    Structure Field Name  : ZZfield
    Bus. Object Type       : BUS2121/BUS2201
    Set Level                    : Item
    Field Visible :  Check box should be checked
    Field Enable :  check box should be checked
    Can anyone has the idea of this?
    Thanks
    Rohit

    Hello Rohit,
    Please create a enchancement for component  /SAPSRM/WDC_UI_DO_SHIPTO.
    Add new input field and label in view V_DODC_SHIPTO.
    Bind the input field value with field ZZfield from structure  /SAPSRM/WDC_UI_DO_SHIPTO in the context node SHIP_TO .
    Regards,
    Neelima

Maybe you are looking for

  • Time Management automatic Quota accrual rule

    Hi Experts, I want to configure leaves as per following basis... we want to generate quota based on ES group, also based on days worked on off days with accrual period.  Example: Mr X (Employee sub group 01) works 24 days continuously and also works

  • solved pls help needed in creating template

    hi frs i have created a template need some modification to be done my xml output looks like below off            hours              q1           q2          q3         avg aaa          10                    1            2            3            2 bb

  • Sender File adapter Pooling interval & file Size issue

    Hi ALL, I have a file size of 400 MB to be picked to be the sender file adapter i am facing issue that the system is unable to even pick the file and place in the Q for Processing. 1)we have no mapping no content conversion ....only pick the file fro

  • Broken back glass on iphone 4

    I've dropped my iphone4 and the back glass has broken, although the phone still works fine.  Has anyone had their back glass repaired by Apple and know how much it would cost?  I've made an appointment at the store in Covent Garden London but they ca

  • Abnormal increase in the oracle data base of XI dev

    Hi Experts, The size of the oracle data base for SAP-XI is increased by 9% abnormally in 1 day, where as 1% increase in the oracle data base size normally takes 1 to 2 weeks. What could be the problem? Please give me some links or some idea how to ch