Why account assignment is not deleted when push "Order as Direct Material"?

Hi Gurus,
I have a problem with shopping carts (SC) of stock items:
1.- I add 5 items.
2.- I push "Order as Direct Material" button for 3 items only.
3.- I push "Hold" button to set SC with held status.
4.- I modify the SC and push "Order as Direct Material" button for 2 items missing.
5.- I order the SC.
One of the effects that it has the "Order as Direct Material" button is that it deletes the account assignment because the items will use to create a PO stock.
But for the last 2 items (number 4.-) the account assignment is not deleted.
This is causing that the PO's have error: "Invalid tax code".
Somebody can say to me why is not deleting the account assignment for items previously hold?
My systems are:
SRM 4.0 (SRM_SERVER 500) level 8
R/3 4.7 (SAP_APPL 470) level 24

Juan Alonso Valenzuela Rodríguez wrote:
> Hi Gurus,
>
> I have a problem with shopping carts (SC) of stock items:
>
> 1.- I add 5 items. -- O.K - Assumed that you have 5 items added
> 2.- I push "Order as Direct Material" button for 3 items only.O.K.You selected as ORDER as direct only for 3 rd item
> 3.- I push "Hold" button to set SC with held status.- O.K. now HOLD the shopping cart
> 4.- I modify the SC and push "Order as Direct Material" button for 2 items missing.- Now you went to 2 nd items and ORDER as direct
> 5.- I order the SC.but this 2 nd item account data was not removed though you selected as ORDER as direct-
check item data what is stored here DP ? if account assignment not cleared it could be a bug. but you need to convince them to get a correction note.
>
> One of the effects that it has the "Order as Direct Material" button is that it deletes the account assignment because the items will use to create a PO stock.
>
> But for the last 2 items (number 4.-) the account assignment is not deleted.
>
> This is causing that the PO's have error: "Invalid tax code".
>
> Somebody can say to me why is not deleting the account assignment for items previously hold?
>
> My systems are:
> SRM 4.0 (SRM_SERVER 500) level 8
> R/3 4.7 (SAP_APPL 470) level 24

Similar Messages

  • Why are my emails not deleting from all devices when deleted from one?  I have iCloud set up and turned on. I have ipad2, iphone5 and a Mac. What am I doing wrong?  Thank you

    Why are my emails not deleting from all devices when deleted from one?  I have iCloud mail set up and turned on. I have ipad2, iPhone 5 and a Mac desktop. What am I doing wrong?  Thank you.

    It depends on the type of email account you are using, not on iCloud.  If you are using an IMAP or exchange account, when you delete from one device, it is deleted from all devices.  If you are using a POP (POP3) account, it won't.  (iCloud email, Gmail and Yahoo are all IMAP accounts.)

  • Why are my books not deleting?

    Why are my books not deleting?

    It depends on the type of email account you are using, not on iCloud.  If you are using an IMAP or exchange account, when you delete from one device, it is deleted from all devices.  If you are using a POP (POP3) account, it won't.  (iCloud email, Gmail and Yahoo are all IMAP accounts.)

  • Why does Time machine not delete old backups

    I dont understand Why time machine is not deleting old backups. As it worked first time with the same size backup drive as the drive its backing up, I assumed it would just delete the old backup as needed. Do I need a bigger backup drive?

    Roglee wrote:
    I just want it to delete the old backup & replace it so i just have a copy. I guess i could just re format the drive each time but that just seems a waste of my time when TM should do this for me!
    If this is all you want to do, turn off Time Machine, download SuperDuper! and use it for free. This will clone whatever drive you want and the free trial will erase your back up drive each time. I can't remember if it will let you choose what to back up or if it wants the entire drive. Also, I'm not sure if the Scheduler works with the free trial. Below are some verbiage for SuperDuper!. Looks like if you want Scheduling you will have to purchase a license.
    Download Now! 
    You can download SuperDuper! v2.7.1 right now and back up and clone your drives for free— forever! 
    Buy Now!
    Buy now to unlock scheduling, Smart Update (which saves a lot of time), Sandboxes, scripting and more!
    Time Machine will keep making back ups and when it determines it needs space, it will delete older back ups. But it doesn't delete older ones each time it backs up.

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • 'BAPI_PO_CREATE1'  Multiple account assignment is not possible for AFS item

    'BAPI_PO_CREATE1'  -> This BAPI works perfectly without the  'account assignment' option . But  for purchase requisitions which have account assignments  BAPI returns the error  - E|8W |185   |Multiple account assignment is not possible for AFS items.
    Can somebody please help me to get this error resoleve .
    My coding I have done like below.
    DATA: pohead  TYPE bapimepoheader.
    DATA: poheadx TYPE bapimepoheaderx.
    CONSTANTS : c_x VALUE 'X'.
    DATA: exp_head TYPE bapimepoheader.
    DATA: return  TYPE TABLE OF bapiret2 WITH HEADER LINE.
    DATA: poitem  TYPE TABLE OF bapimepoitem WITH HEADER LINE.
    DATA: poitemx TYPE TABLE OF bapimepoitemx WITH HEADER LINE.
    DATA: posched  TYPE TABLE OF bapimeposchedule WITH HEADER LINE.
    DATA: poschedx TYPE TABLE OF bapimeposchedulx WITH HEADER LINE.
    DATA: POACCOUNT  TYPE TABLE OF BAPIMEPOACCOUNT WITH HEADER LINE.
    DATA: POACCOUNTX TYPE TABLE OF BAPIMEPOACCOUNTx WITH HEADER LINE.
      pohead-comp_code = '1000'.   "IEQ1 plant. "'1000'.
      pohead-doc_type   = 'NB'     .
      pohead-creat_date = sy-datum   .
      pohead-vendor = EKKO-LIFNR. "'0000500004'.
      pohead-purch_org = purch_org.
      pohead-pur_group = purch_grp.
      pohead-langu      = sy-langu   .
      pohead-doc_date   = sy-datum.
      poheadx-comp_code  = c_x.
      poheadx-doc_type   = c_x.
      poheadx-creat_date = c_x.
      poheadx-vendor     = c_x.
      poheadx-langu      = c_x.
      poheadx-purch_org  = c_x.
      poheadx-pur_group  = c_x.
      poheadx-doc_date   = c_x.
      poitem-po_item    = iLineItem.      "1.
      poitem-material   = req_item-MATERIAL.   " '000000000040000234'.
      poitem-plant      = req_item-PLANT.
      poitem-quantity   = req_item-QUANTITY.
      poitem-net_price  = NET_PRICE.
      poitem-price_unit = PRICE_UNIT.
      poitem-shipping   = 'Z1'.
      poitem-preq_no    = req_item-PREQ_NO.
      poitem-preq_item  = req_item-PREQ_ITEM.
      poitem-acctasscat = 'K'.
      APPEND poitem.
      poitemx-po_item    = iLineItem. "1.
      poitemx-po_itemx   = c_x.
      poitemx-material   = c_x.
      poitemx-plant      = c_x .
      poitemx-quantity   = c_x .
      poitemx-tax_code   = c_x .
      poitemx-item_cat   = c_x .
      poitemx-acctasscat = c_x .
      poitemx-net_price  = c_x.
      poitemx-price_unit = c_x.
      poitemx-shipping   = c_x.
      poitemx-preq_no    = c_x.
      poitemx-preq_item  = c_x.
      poitemx-acctasscat = c_x.
      APPEND poitemx.
      POACCOUNT-PO_ITEM = iLineItem.
      POACCOUNT-SERIAL_NO = iLineItem.
      POACCOUNT-GL_ACCOUNT = '0000211010'.
      POACCOUNT-SD_DOC = '0001001056'.       
      POACCOUNT-ITM_NUMBER = '000100'.       
      POACCOUNT-CO_AREA = '1000'.
      APPEND POACCOUNT.
      POACCOUNTX-PO_ITEM = '00001'.
      POACCOUNTX-SERIAL_NO = '01'." '01'.
      POACCOUNTX-PO_ITEMX = 'X'.
      POACCOUNTX-SERIAL_NOX = 'X'.
      POACCOUNTX-GL_ACCOUNT = 'X'.
      POACCOUNTX-SD_DOC = 'X'.
      POACCOUNTX-ITM_NUMBER = 'X'.
      APPEND POACCOUNTX.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader  = pohead
          poheaderx = poheadx
        IMPORTING
        exppurchaseorder = ex_po_number
        expheader        = exp_head
        TABLES
          return    = return
          poitem    = poitem
          poitemx   = poitemx
          POACCOUNT = POACCOUNT
          POACCOUNTX = POACCOUNTX.

    I  found the answer

  • IN SALES ORDER PLANT IS CHANGED BUT FM ACCOUNT ASSIGNMENT IS NOT CHANGED

    HI ALL
    while changing the plant in sales order  LINE ITEM FM  accounting assignment is not changing accordingly FOR THE PARTICULAR LINE ITEM.
    FOR THIS REASON NO ACCOUNTING DOCUMENT IS GENERATING.
    THANKS & REGARDS
    MALA

    solution found.
    Mala k reddy

  • Why does i photo not launch when i click on icon in dock?

      Help why does i photo not launch when i click on icon in dock?

    The icons in the Dock are aliases. If iPhoto isn't launching from the dock the alias may be broken. What you can do is first test to if iPhoto is working by launching the app from the Applications folder. Once you have determined iPhoto is OK then remove the old Dock icon by holding it down and dragging it to the desktop, it will disappear in a puff of smoke. Then go to the Applications folder and drag the iPhoto icon to the Dock and test it.

  • New to the Apple and I want to set up a user account that will not delete the guest users files and allow and preserve their personal settings after log out. Is this possible?

    New to the Apple and I want to set up a user account that will not delete the guest users files and allow and preserve their personal settings after log out. Is this possible?

    The built-in guest user account will not do this. Simply create a new standard account and call it "Guest" or "Guest Users" or whatever you like.
    Go to System Preferences > Users& Groups, click "+" to make a new account.

  • SRM 7.0 extended : Account assignment is not getting populated by default

    Hi All,
    We have created Purchase order using shopping cart in SRM 7.0 extended classic scenario. Assuming that the delivery from the vendor is done. In Goods receipt The Account assignment is not getting populated by default. If we did the same manually it is picking up the details by default.
    please let me know what we are missing.
    Regards,
    Lakshmi Narayana

    Hi Laksmi
    Account info must defaulted if it is not direct procurement.
    check or you ordering as direct or not? if you have SC has Acc data and it must be copied into PO by default...
    Muthu

  • HT4993 why does my internet not work when not connected to wifi?

    why does my internet not work when not connected to wifi

    Hi farmgirl0812,
    Thanks for using Apple Support Communities.  This article has steps to try if you are unable to connect to a cellular network:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    - Ari

  • Why does the alarm not work when the iphone 4 is turned off

    why does the alarm not work when the iphone 4 for is  turned  off works fine when on most other phones work when off

    The only phone I've ever had that would turn on and sound the alarm is a Blackberry. So, I'd hardly say "most phones" have this function.

  • Why does the mail not work when i updated my 5s to iOs 8?

    why does the mail not work when i updated my 5s to iOs 8?

    Thank you for the reply. But can you tell me what this configuration is about and how I should do this?

  • Why don't my podcasts delete when I've listened to them.

    Why don't my podcasts delete when I've listened to them. I have them set to do that on my phone and in iTunes but with the app they now stay there until I manually delete them.
    I let them completely finish but still they stay on my phone presumably clogging up valuable space there and making it harder to find the unplayed ones. 
    Why oh why can't we have podcasts back in with our music on iTunes - now I can't listen to a podcast and then when it finishes let it just go onto play music - have to swap apps.  God, I hate Apple sometimes when they make something worse and tell you it is for you own good.  And yes, I know all big companies are the same....

    See:
    *https://support.mozilla.org/kb/how-do-i-use-bookmarks
    In what bookmarks folder are the bookmarks located that you try to search?
    You can click the "Show your bookmarks" button that is positioned next to the star on the location/address bar to get a drop-down list with the bookmarks.
    Only bookmarks that were created by clicking the star once and that haven't been moved out of the Unsorted folder can't be reached directly.
    You can also open the bookmarks sidebar via that drop-down list or use the Ctrl+B shortcut to have the sidebar where you can use its search bar to find a bookmark.
    For easiest access you can move a bookmark the the Bookmarks Toolbar folder and have the Bookmarks Toolbar visible.
    *"3-bar" Firefox menu button > Customize > Show/Hide Toolbars
    *View > Toolbars<br>Tap the Alt key or press F10 to show the Menu Bar
    *Right-click empty toolbar area

  • My call will not end when pushing end sign even when shut down and restarted.  any ideas?

    call will not end when pushing end sign even when shut down and restarted.  any ideas?

    Sounds like a major hardware problem.
    If no change after restoring your iPhone as a new iPhone or not from your iPhone's backup, there is a hardware problem.

Maybe you are looking for

  • Error while viewing an application

    Hello, After my application is deployed I try to run the application I get this message. Does anyone know what this error message is............ The initial exception that caused the request to fail, was:    com.sap.tc.webdynpro.services.exceptions.W

  • Message about registry setting and burning cds

    Whenever I open itunes on my PC with Windows Vista, I get a messa that says: "The registry settings used by the iTunes drivers for importing and burning CDs and DVDs are missing. .....Please reinstall iTunes." I have reinstall it 4 times and I still

  • Error at the time of defining XmlParser object in J2ME......

    Hi: I want to use XmlParser in my J2ME application, but at the time of defining XmlParser object i a getting error is:"XmlParser cannot be resolved to a type". I am using eclipse for developing application. I have already added KXml.zip in my src fol

  • Finding numbers in recordset.

    Easy one for the experienced guys: I have a record with a list of comma separated values, IE, 1,2,4,6,12,24 or simply 24 I need to write a query where I find all records where the specific number/value I'm looking for is in the list. For example I'm

  • Error when updating to IOS6:

    I have an iphone 4 and when I connected to itunes there was a message to update to IOS 6, I did it and I get the following message "We are unable to continue with your activation at this time." When I swith on the iphone back, it says the same thing.