Error when update supplier site in Purchase Order

Step to re-produce:
1. Create New Purchase Order.
2. Add 1 line item, fill-in Type = Goods, Item No, Need-By or Promised.
3. Click on the "Shipment" button.
4. Change the Site of the Supplier in the PO header.
5. Error shown: "You cannot change the supplier or site for this order. Re-query the order to proceed".
What is causing this error? Pls help. Thanks.

If I delete the purchase details/line item, the supplier site can be changed.
The error appeared again after the new line item selected,click on "Shipment" button, and change the supplier site.
It's not able to change it. Any reason caused by the line item shipment? how it relate?

Similar Messages

  • Getting errors when iam using  BAPI_PO_CREATE1 for Purchase Order creation

    Hi sap Gurus,
      I am getting Errors when iam using  BAPI_PO_CREATE1 for Purchase Order creation that Material (144) does not exist but it is alreardy maintained in MM01.
    I dont get how it is coming.and what are the mandatory fields in bapi BAPI_PO_CREATE1 in item level .that is too material only.
    pls let me know .
    thanks in advance.

    Hi,
    Check the sample code..
    report  zpo_test             .
    *DATA DECLARATION
    constants : c_x value 'X'.
    *Structures to hold PO header data
    data : header like bapimepoheader ,
    headerx like bapimepoheaderx .
    *Structures to hold PO account data
    data : account like bapimepoaccount occurs 0 with header line ,
    accountx like bapimepoaccountx occurs 0 with header line .
    *Internal Tables to hold PO ITEM DATA
    data : item like bapimepoitem occurs 0 with header line,
    itemx like bapimepoitemx occurs 0 with header line,
    *Internal table to hold messages from BAPI call
    return like bapiret2 occurs 0 with header line,
    *Internal table to hold messages from BAPI call
    pocontractlimits like bapiesucc occurs 0 with header line.
    data : w_header(40) value 'PO Header',
    purchaseorder like bapimepoheader-po_number,
    delivery_date like bapimeposchedule-delivery_date.
    data : ws_langu like sy-langu.
    *text-001 = 'PO Header' - define as text element
    selection-screen begin of block b1 with frame title text-001.
    parameters : company like header-comp_code default '122' ,
    doctyp like header-doc_type default 'NB' ,
    cdate like header-creat_date default sy-datum ,
    vendor like header-vendor default '2000000012' ,
    pur_org like header-purch_org default 'PU01' ,
    pur_grp like header-pur_group default '005' .
    *sociedad like HEADER-COMP_CODE default '122' ,
    *vendedor like HEADER-SALES_PERS default 'sale person'.
    selection-screen end of block b1.
    selection-screen begin of block b2 with frame title text-002.
    parameters : item_num like item-po_item default '00010',
    material like item-material default '12000000' ,
    tipo_imp like item-acctasscat default 'K' ,
    *pos_doc like ITEM-ITEM_CAT default 'F' ,
    shorttxt like item-short_text default 'PRUEBA BAPI' ,
    grup_art like item-matl_group default '817230000' ,
    plant like item-plant default '3001' ,
    mpe like item-trackingno default '9999' ,
    *contrato like ITEM-AGREEMENT default '4904000003' ,
    *quantity like ITEM-QUANTITY default 1 .
    po_unit like item-po_unit default 'EA'.
    selection-screen end of block b2.
    Par?mnetros de imputaci?n
    selection-screen begin of block b3 with frame title text-004.
    parameters : centro like account-costcenter default '1220813150',
    cuenta like account-gl_account default '6631400' ,
    num_pos like account-po_item default '10' ,
    serial like account-serial_no default '01' ,
    ind_imp like account-tax_code default 'I2' .
    selection-screen end of block b3.
    start-of-selection.
    *DATA POPULATION
      ws_langu = sy-langu. "Language variable
    *POPULATE HEADER DATA FOR PO
    *HEADER-COMP_CODE = sociedad .
      header-doc_type = doctyp .
      header-vendor = vendor .
      header-creat_date = cdate .
      header-created_by = 'TD17191' .
      header-purch_org = pur_org .
      header-pur_group = pur_grp .
      header-comp_code = company .
      header-langu = ws_langu .
    *HEADER-SALES_PERS = vendedor .
    *HEADER-CURRENCY = 'DOP' .
    *HEADER-ITEM_INTVL = 10 .
    *HEADER-PMNTTRMS = 'N30' .
    *HEADER-EXCH_RATE = 1 .
    *POPULATE HEADER FLAG.
      headerx-comp_code = c_x.
      headerx-doc_type = c_x.
      headerx-vendor = c_x.
      headerx-creat_date = c_x.
      headerx-created_by = c_x.
      headerx-purch_org = c_x.
      headerx-pur_group = c_x.
      headerx-langu = c_x.
    *HEADERX-sales_pers = c_x.
    *HEADERX-CURRENCY = c_x.
    *HEADER-ITEM_INTVL = c_x.
    *HEADER-PMNTTRMS = c_x.
    *HEADER-EXCH_RATE = c_x.
    *HEADER-EXCH_RATE = c_x.
    *POPULATE ITEM DATA.
      item-po_item = item_num.
      item-quantity = '1'.
    *ITEM-MATERIAL = material .
      item-short_text = 'prueba bapi_po_create1'.
    *ITEM-TAX_CODE = ''.
      item-acctasscat = 'K' .
    *ITEM-ITEM_CAT = 'D' .
      item-matl_group = '817230000' .
      item-plant = '3001' .
      item-trackingno = '99999'.
      item-preq_name = 'test'.
    *ITEM-AGREEMENT = '' .
    *ITEM-AGMT_ITEM = ''.
      item-quantity = '1' .
      item-po_unit = 'EA'.
    *ITEM-ORDERPR_UN = 'EA'.
      item-conv_num1 = '1'.
      item-conv_den1 = '1'.
      item-net_price = '1000000' .
      item-price_unit = '1'.
      item-gr_pr_time = '0'.
      item-prnt_price = 'X'.
      item-unlimited_dlv = 'X'.
      item-gr_ind = 'X' .
      item-ir_ind = 'X' .
      item-gr_basediv = 'X'.
    *ITEM-PCKG_NO = '' .
      append item. clear item.
    *POPULATE ITEM FLAG TABLE
      itemx-po_item = item_num.
      itemx-po_itemx = c_x.
    *ITEMX-MATERIAL = C_X.
      itemx-short_text = c_x.
      itemx-quantity = c_x.
    *ITEMX-TAX_CODE = C_X.
      itemx-acctasscat = c_x.
    *ITEMX-ITEM_CAT = c_x.
      itemx-matl_group = c_x.
      itemx-plant = c_x.
      itemx-trackingno = c_x.
      itemx-preq_name = c_x.
    *ITEMX-AGREEMENT = C_X.
    *ITEMX-AGMT_ITEM = c_x.
      itemx-stge_loc = c_x.
      itemx-quantity = c_x.
      itemx-po_unit = c_x.
    *ITEMX-ORDERPR_UN = C_X.
      itemx-conv_num1 = c_x.
      itemx-conv_den1 = c_x.
      itemx-net_price = c_x.
      itemx-price_unit = c_x.
      itemx-gr_pr_time = c_x.
      itemx-prnt_price = c_x.
      itemx-unlimited_dlv = c_x.
      itemx-gr_ind = c_x .
      itemx-ir_ind = c_x .
      itemx-gr_basediv = c_x .
      append itemx. clear itemx.
    *POPULATE ACCOUNT DATA.
      account-po_item = item_num.
      account-serial_no = serial .
      account-creat_date = sy-datum .
      account-costcenter = centro .
      account-gl_account = cuenta .
      account-gr_rcpt = 'tester'.
      append account. clear account.
    *POPULATE ACCOUNT FLAG TABLE.
      accountx-po_item = item_num .
      accountx-po_itemx = c_x .
      accountx-serial_no = serial .
      accountx-serial_nox = c_x .
      accountx-creat_date = c_x .
      accountx-costcenter = c_x .
      accountx-gl_account = c_x .
      account-gr_rcpt = c_x.
      append accountx. clear accountx.
    *BAPI CALL
      call function 'DIALOG_SET_NO_DIALOG'.
      call function 'BAPI_PO_CREATE1'
        exporting
          poheader         = header
          poheaderx        = headerx
        importing
          exppurchaseorder = purchaseorder
        tables
          return           = return
          poitem           = item
          poitemx          = itemx
          poaccount        = account
          poaccountx       = accountx.
    *Confirm the document creation by calling database COMMIT
      call function 'BAPI_TRANSACTION_COMMIT'
      exporting
      wait = 'X'
    IMPORTING
    RETURN =
    end-of-selection.
    *Output the messages returned from BAPI call
      loop at return.
        write / return-message.
      endloop.
    Regards
    Sudheer

  • Error when posting invoice for Asset purchase order

    Hi,
    we are getting the errore message account determination for asset posting with keys not defined in chart of accounts,when posting an invoice for asset purchase order.
    Can any one see why this error is coming and what will be the solution.
    Nagesh

    Hi Prabhakar,
    Here is the reply,
    we have 10 line items,in which 3 items are freight related and other 7 items are related to goods reciept.
    i am trying to enter invoice for 3 line items at a time with two relevant to goods reciept and other related to non goods receipt(freight related).
    accounting entries generated after the GR are as follows,
    asset under construction account,and GR/IR account.
    Let me know the details is sufficient or not.

  • DMP ERROR When I am Finding the Purchase Order

    Hello Experts,
    I am Using SAP 8.8 PL 16
    My Client Finding the Purchase Order that time .DMP Error Creating.
    And Automatically SAP Application Doing Close
    Please Help me About that Issue
    Dixit Patel

    Hi Gordon
    I Created the New User  and Check with  that User
    Also Removing All File in Temp Folder
    But . DMP File is Creating
    Thanks
    Dixit Patel

  • Dreamweaver FTP error when updating BC site

    Hi,
    I recently changed by Adobe ID password due a possible security breach.
    When trying to "put" some local  Dreamweaver folders to update my test BC site i got the error message;
    " An FTP error has occurred. Cannot make connection to the host your login or password is incorrect. Please check your connection information".
    I know this must be straightforward to sort but I can't seem to work it out.
    Can anyone remind me how to update connection information to reflect my new password ?
    Kind Regards, Matt.

    Hi Matt,
    You have changed your password online but if this is a saved project in Dreamweaver you also need to go in and update your details in that saved project with your new password as well. Have you done this or entering your new password in DW?

  • The Duns Number is Invalid error when importing Supplier Sites

    Hi All,
    In my data file I have a field DUNS no,
    with values
    14
    15
    16
    When I insert into interface table and run the open interface, i rejection mesage as The Duns Number is Invalid.
    When we create a supplier in front end in R12 even if we enter a value like 14 it will concatinate it with zeros and show it when we query.
    The duns number column in interfac table is of Varchar, but in hz_parties for duns_number we have two columns duns_number and duns_number_c
    where in next one the actual duns number is getting concatinated by some string like XXOPU - 0034, actual duns number is 34.
    How to handel this in my validation program.
    Please let me know the solution.
    Thanks.
    Edited by: 834095 on Jul 17, 2011 11:26 PM

    Yes,
    I got some help from this link
    Supplier ---> DUNS_Number issue while writing the supplier script
    Just trying in that way.

  • No update of Sales Orderfrom purchase order (Error M2 815)

    Hi,
    Any inputs.
    SO-- PR -- PO.WHILE CREATING PO, USER GOT ERROR MESSAGE.
    Error Message: No update of Sales Orderfrom purchase order (Error M2 815).
    Materia & vendor has AUTO PO flagged.
    Rgrds....

    Dear
    Please check the below link will help you
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/error-message-no-update-of-sales-order-xxxxxx-from-purchase-order-error-v1-045-2992973
    Regards

  • Item text in Purchase Order getting updated with info. record Purchase Order Text

    Hello All,
    I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
    Issue:
    Item text in Purchase Order getting updated with info. record Purchase Order Text
    01) PO Text is maintained in the material master under "Purchase Order Text" tab
    02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
    03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
    03.1) this behavior is not observed in the Plants/ Company code that is already Live
    Configurations in the system:
    The copying rules for the "Texts for Purchase Orders" is
    Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
    We have modified the Purchase Order form to print one of  the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
    I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
    Am I missing any configuration or where can I look in what is causing this error.
    Request help from the experts in the forum.
    with Regards,
    Dhandapani R

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • Update prices in ME21N (purchase order)

    Hi,
    We need to re-calculate prices automatically when creating or modifying a purchase order taking into account changes in some pricing fields of the order.
    User has the standard option of updating the prices in 'condition' tab selecting the option he needs but what we need is to do this automatically if user changes some fields in the order.
    Does anybody know if we have the same functionality as we have in SD in exit 'FORM userexit_new_pricing_vbap/vbkd' with the function 'new_pricing' in MM or how can we solve this issue?
    Thanks in advance,
    Best regards,
    Silvia,

    Hi Silvia,
    Check the BADI that I suggest you. Read the documentation on line that I copy:
    Determine Pricing Type in Case of Changes in EKKO, EKPO
    Functionality
    The method DEFINE_CALCTYPE enables you to stipulate whether the system is to trigger a new price determination process. You can also specify the type of price determination (pricing).
    Result
    The method outputs the pricing type, which controls the price determination process.
    Parameters
    IM_X_OEKKO: Header data, old status
    IM_X_NEKKO: Header data, new status
    IM_X_OEKPO: Item data, old status
    IM_X_NEKPO: Item data, new status
    IM_X_OBEKPO: Transfer structure BEKPO (EKPO with further fields), old status
    IM_X_NBEKPO: Transfer structure BEKPO, new status
    CH_X_LF_CALCTYPE: Output of pricing type determined via BAdI ME_DEFINE_CALCTYPE.
    Notes
    The method DEFINE_CALCTYPE is intended exclusively for changing the variables CH_X_LF_CALCTYPE. Do not make any database changes in the method. No COMMIT WORK statements may be executed within this method.
    Ensure that your code supplements the standard code controlling the price determination process but does not disable it.
    Documentation for Business Add-In ME_DEFINE_CALCTYPE.
    As you can see, you can control the modifications on EKPO.
    Regards,
    Eduardo

  • R12 Updating Supplier Site Payment Detail Email

    Hi All,
    When I update supplier site email adrress from Payment Details > Separate Remittance Advce Deliver tab, I can't see that it is getting updated in WF_LOCAL_ROLES table. ( after synchronization ). This causes remittance advice sent to wrong email address when the work flow is running.
    Can some one please check and let me know how should we enable it? Or Is it working in R12 as I have explained above. (modifying payment details email address and seeing it in wf_local_roles table ) ?
    Thank You,
    sandaruwan.

    Pl see if MOS Doc 458418.1 (Where Is The Supplier Notification Method In Release 12.0?) can help
    HTH
    Srini

  • Error when updating to 4.2

    My Ipod Touch is on ios 2.2.1 and always get error when updating to 4.2

    I think you have a 1st Gen iPod Touch. You can only go up to iOS 2.2.1 OR you can purchased the iOS 3.1 firmware.
    http://support.apple.com/kb/ht2052
    Purchase the iOS 3.1 Software Update directly from the iTunes Store.
    IF NOT, then try to get a better internet connection (if connect with Wi-Fi) or wait a while and try to reupdate again. If you have to make sure iTunes is up to date (iTunes 11.x)
    Message was edited by: keeferaf

  • RPLDAP_EXTRACT - Error when updating the LDAP directory

    I am connecting SAP IdM 7.0 to SAP HCM via VDS.
    So far:
    The VDS responds to LDAP browser, the connection tests from SAP GUI are succesful.
    I can execute my copy of the standard report LDAPEXTRACT46C in SAP GUI and can see what data is exported.
    I get the "Error when updating the LDAP directory" error when trying to execute the RPLDAP_EXTRACT program.
    An error occurred during creation of one or more data records in the LDAP directory. The error has been logged in the system used to export data to the LDAP directory.
    You can find logs in the database tables TLDA_LOG (HR-LDAP: Non-Exported Data Records) and TLDA_MSG (Error Messages About Data in Table TLDA_LOG). Table TLDA_LOG contains data records that could not be exported; table TLDA_MSG contains the corresponding messages.
    I didn't see anything that makes sense in tables mentioned in the error message above.
    I have some questions as the documentation supplied with IdM is bit brief; According to the configuration guide I don't need to have any mapping in VDS like "conversion of internal attributes" or "conversion from internal attributes", has anyone else entered the mapping in VDS?
    Any pointers in going forward?
    Edited by: pasikuikka on Oct 20, 2009 11:01 AM

    Hi Pasikuikka,
    just a few questions:
    Have you checked TA HRLDAP_MAP? (Each field must have its expression in the LDAP-Target)
    Have you checked TA LDAPMAP? (Each field must have its expression in the LDAP-Target)
    Maybe there are attributes listed in the query, but not in the HCM-Staging-Area in the Identity Center.
    Have been new attributes created in the HCM-Staging-Area and, if so, are they connected to the right Entry-Type (MX_HCM_Employee or something like that)?
    Hope this puts you on the right track.
    Kind regards,
    Achim Heinekamp

  • R6034 error when updating

    hi guys,
    i have this error when updating itunes any advice.
    Running Windows 7 Home Premium.....
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program: C:\Program Files (x86)\iTunes\iTunes.exe
    R6034
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    Any help would be appreciated....

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or by right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Error while doing outbound delivery against Purchase Order

    hello
    i m getting error while doing Outbound delivery for purchase order as follows
    EKPO-SOBKZ=E; EKPO-UMSOK=_; EKPO-KZBWS<>_ EKPO-KZVBR<>E (Note 305582) not supported (check your entry)
    Message no. M7146, i m not getting wht will be the reason,
    Regards
    NISHJ

    Please go through the note - 305582. It is clearly given the direction.
    Symptom
    You try to post a goods movement for a stock transport order from the unrestricted-use stock into the sales order stock or project stock.
    During the goods issue, the system displays error message M7146 with a text along the lines of "EKPO-SOBKZ=E; EKPO-KZVBR<>E; ... not supported".
    Cause and prerequisites
    In the goods issue for the stock transport order, the system may have to create a stock in transit which is deconstructed during the goods receipt. If the withdrawal takes place from the special stock, it is clear which is the receiving stock.
    However, if the withdrawal is carried out from the unrestricted-use stock ("Collective requirements", controlled by the dependent requirements indicator MARC-SBDKZ in the material master of the issuing plant), this results in the design problem that the control tables of the goods movement do not have any key field for the receiving stock. Therefore, the control for the receiving stock is controlled via the consumption indicator in the account assignment category of the purchase order. The consumption indicator therefore requires a specific default setting (you may have assumed you could change the design of these control tables, however this is not possible).
    Using an inappropriate consumption indicator then causes for the goods issue an incorrect or no stock in transit to be created so that the goods receipt fails.
    Solution
    Implement the program change in accordance with the correction instructions.
    Afterwards implement Note 413908 immediately if this is relevant for your release.

  • Error when updating Playbook OS version via Blackberry Desktop Manager

    Greeting,
    I have a batch of old playbooks which having the stack charging issue, but I found that I can update the OS to the newest version (2.1.0.1917) via Blackberry Desktop Manager, then the charging algorithm will be changed to the updated one and go over this dead battery issue. I was able to do so successfully in the past week smoothly on several devices.
    But since this Monday, the Desktop Manager is saying "An updated Blackberry Desktop Software component must be installed before you can continue" when downloading the Desktop software and will appear "There was an error updating your software, an error has occurred while downloading the Blackberry Desktop Software.Please try again." and preventing the process. Seems there are some change on the server side starting this week which has caused this problem, but there's no error code to locate the exact issue.
    I tried on 2 different computers as well as completed uninstalling and re-installing the Desktop manager, also tried to disable the automatic update as been advised in some threads. So no clue how to deal with it for now. It will be highly appreciate if some one can share some idea.
    I've attached the step by step screenshots for reference, where you can find here:
    http://forums.crackberry.com/blackberry-playbook-f222/error-when-updating-playbook-os-version-via-bl...
    Thanks,

    BLock wrote:
    Sorry I can not help you with your problem but perhaps you can help me.  
    Can you advise where I can find info on "disable the automatic update"?
    just ignore the update if you dont want it on the playbook
    for reloading the OS
    First I would like you to do a Back Up of your PlayBook using your computer and BlackBerry Desktop Software.
    This can be downloaded for free from http://us.blackberry.com/apps-software/desktop/
    After the Back Up is complete I need you to unplug your PlayBook and then push and hold down the Power Button until the unit Force Powers Off.
    Now, while Desktop Software is still open on your computer and the PlayBook Powered Off, Connect the PlayBook to your computer.
    You should see and error screen from Desktop Software pop up that has the options to Retry, Update, or Cancel.
    QUICKLY choose the Update option.
    This will erase all the information off of your PlayBook and Re-Write the Software back onto it. Once it's complete your PlayBook will need to go back through the setup wizard, and you can then perform a restore using Desktop Software to return your information. The only thing that won't come back after the restore are the apps that you downloaded from App World but they can be easily Re-Installed using the My World feature in App World.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

Maybe you are looking for