How are GL Accounts assigned with item categories in Sales Order

Please advise;
- how and where GL accounts are assigned with item categories appearing in the sales order?
Points confirmed.
regardss

We have number of sales document types and item categories. The sales order numbers are also different for hardware and software categories, so is the sales organization, plant and company code.
Usually, the hardware orders contain line items for software but the item category used is for hardware and therefore, it gets posted to the incorrect (hardware) GL account. Is this happening due to MATERIAL TYPE/CODES.
We are using separate GL accounts for both.
Where and what controls could be developed to prevent this?
Please let me know if you need further information.

Similar Messages

  • Swap between two different item categories in sales orders for sub-contracting

    Dear gurus,
    my requirement is to have the ability to swap between two different item categories for sales orders for sub-contracting.
    This should be controlled by a combination of the material and a value maintained the Usage field in the Customer Material Info Record (for example by entering a ‘V’).  A combination of Sales Doc Type, Item Cat Group and Usage should result in the creation of a purchase requisition.
    In the event that a process order is required instead of a purchase requisition (i.e. the product is to be manufactured in-house instead of sub-contracted) the user must have the ability to change the Item Category within the sales order to produce a process order.
    The user would just change the item category within the sales order, and the system would automatically remove the purchase requisition assigned to the SO, and create a process order and assign it to the SO.
    Can you suggest any possible solution?
    Thank you in advance.

    Hi Majlo,
    In my system, I checked.  First created sales order with third party line item and then changed item category to normal item category.
    Till Purchase order not created, I can change Item category of my sales order line item.
    In this case SAP inform by log and once save delete purchase requisition of that line item .
    For this you need to assign another item category as an manual item category in SPRO Item category assignment.
    After this user can manually change item category to other one manually, if PO do not exist.
    Please let me know if your query is different.
    Regards

  • MM Account determination with valuated/non valuated sales order stock!

    Hi All,
    I have been trying to set up MM account determination in our project for sales order assigned POs.What I have observed is that when I have a PO with sales order assignment and according to requirement class (coming through reqt type) in sales order it is valuated sales order stock then in the PO we get the stock account determined through BSX key. But when it is non valuated sales order stock we get a different account assigned through GBB-VKA key. In both the cases the account assignment category in the PO is "E". 
    Can someone please explain what is the connection between valuated/non valuated sales order stock and MM account determination and if what is happening is right from account determination point of view?
    Regards,
    V S

    These are two different postings:
    BSX: stock posting
    GBB: Offsetting entry for stock posting
    Stock posting (BSX)
    This transaction is used for all postings to stock accounts. Such
    postings are effected, for example:
    -   In inventory management in the case of goods receipts to own
        stock and goods issues from own stock
    -   In invoice verification, if price differences occur in
        connection with incoming invoices for materials valuated at
        moving average price and there is adequate stock coverage
    -   In order settlement, if the order is assigned to a material with
        moving average price and the actual costs at the time of
        settlement vary from the actual costs at the time of goods
        receipt
    Offsetting entry for stock posting (GBB)
    Offsetting entries for stock postings are used in Inventory
    Management. They are dependent on the account grouping to which each
    movement type is assigned. The following account groupings are
    defined in the standard system:
    -   VKA:     for sales order account assignment
             (for example, for individual purchase order)

  • How to swap between to sets of item categories in sales order

    Hi,
    We receive Idocs from a different system that creates sales order in the R/3 system. For some of these, we want to be able to use an alternative sourcing mode - basically switch between standard POs and 3rd Party POs. The orders has many items, and we find it impractical to manually update all items - also because the order might contain different materials with maybe 5-10 different item categories, that needs to be changed to 5-10 others. This will be very difficult for our business users, since we do not have a simple naming convention of item categories to ease this.
    So we are looking for alternative ways, where we can change all items by changing on header level.
    We have thought of these alternatives :
    1. Change distribution channel. Requires all materials and customers to be set up in 2 DCs - not realistically.
    2. Change sales order types using VOV8 alternatives. This seems not to be allowed for materials in BOMs and with E consumption. See other thread named "Can not change SO order type - disallowed by item settings" for more details.
    3. What we we really need is changes on schedule line level, and I suppose we could have a logic in MV45AFZZ change this dependent on some user field. But I don't think this will work, as other settings controlled by requirement class etc. will be inconsistent.
    Proposals for this are welcome - it should be a common issue.

    Hi,
    We ended up designing a solution where item category was swapped by shipping condition. For shipping condition 11, we simulated that a specific 'usage' was active. It required a few tricks to get the Source determination to run, and a further trick to avoid a re-pricing B to nuke the pricing conditions. This is still draft code, but it seems to work :
    Enhancement points ES_SAPFV45P / VBAP_FUELLEN_10 : Ensure ‘usage’ is set according to shipping condition
    data : ld_active type c.
    data : ld_no_pricing_vwpos type c.
    constants : lc_vwpos_no_pricing(20) type c value 'VWPOS_NO_PRICING'.
    Fake change to ensure new item cat determination
    ( conditions when this is active, setting ld_active )
      if sy-subrc is initial
      and ld_active = 'X'            "Action enabled for company
      and t180-trtyp ca 'HV'.       " Create/change mode
    case vbak-vsbed.
      when '11'. " Special logic
        t184_vwpos = 'Z001'. " Special T184 usage for direct
        clear *vbap-mandt. " simulate change of *vbap
        matnr_changed = 'X'." simulate change
        ld_no_pricing_vwpos = 'X'. " Flag for suppress B repricing
      when '12'. " standard logic
        clear t184_vwpos.  " Standard T184 usage for indirect
        clear *vbap-mandt. " simulate change of *vbap
        matnr_changed = 'X'." simulate change
        ld_no_pricing_vwpos = 'X'. " Flag for suppress B repricing
      when others.
        clear ld_no_pricing_vwpos.
      endcase.
    Memory ID read in MV45AFZB, form USEREXIT_NEW_PRICING_VBAP
      export ld_no_pricing_vwpos to memory id lc_vwpos_no_pricing.
      endif.
    MV45AFZB, form USEREXIT_SOURCE_DETERMINATION : Ensure item category determinations takes ‘usage’ into consideration
    ( conditions when this is active, setting ld_active )
      if sy-subrc is initial
      and w_active = 'X'            "Action enabled for company
      and t180-trtyp ca 'HV'.       " Create/change mode
    Get higher-level item category
      clear lv_uepos. clear  gv_spp_pstyv.
      lv_uepos = vbap-uepos.
      do 10 times. " to eliminate phantom levels
      read table xvbap with key posnr = lv_uepos.
      if sy-subrc = 0 and xvbap-pstyv ne lv_zvco.
      gv_spp_pstyv = xvbap-pstyv.
      exit.
      elseif sy-subrc eq 0 and xvbap-pstyv eq lv_zvco.
      lv_uepos = xvbap-uepos.
      elseif sy-subrc ne 0.
      exit.
      endif.
      enddo.
    t184_vwpos set in FV45PFAP_VBAP_FUELLEN
      call function 'RV_VBAP_PSTYV_DETERMINE'  "Determine using T184
             exporting
               t184_auart   = tvak-auart " Order type
               t184_mtpos   = maapv-mtpos "Item category group
               t184_uepst   = gv_spp_pstyv  "Higher level-SPP item category
               t184_vwpos   = t184_vwpos " Usage from FV45PFAP_VBAP_FUELLEN
               vbap_pstyv_i = ''
             importing
               vbap_pstyv   = vbap-pstyv.
    endif.
    MV45AFZB, form USEREXIT_NEW_PRICING_VBAP : Ensure dynamic change of item categories does not trigger repricing type B.
    data : ld_no_pricing_vwpos type c.
    constants : lc_vwpos_no_pricing(20) type c value 'VWPOS_NO_PRICING'.
    Memory ID set in FV45PFAP_VBAP_FUELLENP, FORM VBAP_FUELLEN
    import ld_no_pricing_vwpos from memory id lc_vwpos_no_pricing.
    if sy-subrc is initial
    and ld_no_pricing_vwpos = 'X'.
    Skip repricing when mass change item cat
      clear new_pricing.
    endif.
    I hope someone will find it useful. Please notice that Enhancement points was required, so it will not work in older R/3 versions.

  • Changing the  item categories of Sales order in web IC

    Hi experts,
    We are working on CRM 5.0 with Web IC
    We have a scenario where we need to change the item categories of some of the items in sales order.
    But in a standard sales order I cant see the item categories of line items in WebIC.
    Now the issue are
    1. How to make the item categories available in web ic?
    2. Is there any standard config to do this or we have to go for development ?
    3.Is it possible to change the itemcategories in Web IC?
    Can any body suggest me with suitable solution
    Points shall be rewarded for sure
    Regards,
    Madhu

    Hi,
    you dont change the item category at the header level. The item category will be changed at the item level and the code to do this is
    lv_entity_items->set_property( EXPORTING iv_attr_name = 'ITM_TYPE' iv_value = lv_itemcat ).
    here lv_entity_items is one of the entity in the collection for AdminI . lv_itemcat is the value you want your item category to be set to.
    hope this helps.
    Reward useful answers.
    Regards,
    S Sarma.

  • The material account assignment group is missing in sales Order creation

    Hi Gurus,
    When creating the sales order the material account assignment group is not copied in the sales order line item. 
    For eg: when the sales order has 5 line item for one of the line item the material account assignment group is not getting copied. 
    I checked the material master - A/C assignment group was maintained.
    I checked the revenue account determination every entry is maintained with respect to GL account. 
    But even though while creating the sales order the line item does not have account assignment group. Due to this i could not able to release the billing doc to accounting.
    Please if any one can help in this regard to solve why the account assignment group is not copying in the sales order line item while creating.
    Thanks in advance.
    Jack

    Hi,
    May be the system is not updating the data. Try creating a new sales order to check. Also check the division of the product for which the acct *** grp is not showing.
    Check whether the acct assgt group which you have maintained in the matl master and that in the acct determination (VKOA) is the same.
    Reward points if solution helps.
    Regards,
    Allabaqsh G. Patil

  • How to create a Contract with reference to a Sales-Order(VA01) with a BAPI

    Hi,
    my name is Wadim and i need help.
    My problem:
    I am creating a sales-order(VA01) with the BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'.
    After that i have to create a contract(VA41) with reference to this order. I found the BAPI "BAPI_CONTRACT_CREATEFROMDATA" and it has the same interfaceparameters like the salesorder-bapi. but there are no parameters to get a connection to the sales-order.
    Is it even possible to get a connection to a sales-order with a bapi???
    thanks for help
    regards mark
    Edited by: Krapp Wadim on May 20, 2010 9:19 PM

    Hi Wadim,
    I have a similar requirement to create order lines in an existing contract with reference using  BAPI_CUSTOMERCONTRACT_CHANGE.  The order lines get created in the contract. However, the condition types from the order line which i'm referencing are not getting referenced and are not getting added in the Contract's line after referencing.
    Did you come across any such issue ? If yes , could you suggest the solution ?
    Regards,
    Venkat.

  • How to control Changing of item category in sales order Manually

    Hello Gurus,
    How to restrict manual changing of item category in sales order?
    Reason for it:
    When ever they want to give some free goods to customer , they are changing Item category in  Standard Sales order at item level  then deliverying free goods to  customer
    looking for your inputs
    Thanks in advance
    Regards
    Venkat

    Hello,
    There are two possible ways:
    1. In Item Caterogy Determination remove the Manual Item Categories so that system will determine the Item Category only from defined options.
    2. Use T-SHDO - create Screen Variant & make the item Category Feild as Display only.
    Hope this helps..
    Thanks,
    Jignesh Mehta

  • Purchase requisition with reference to blocked sales order

    Hello,
    we are creating purchase requisitions (PR) manually with reference to a sales order (account assignment Z). When this sales order is blocked, we still can issue the purchase requistion.
    What can we do to avoid this? I think in 2 solutions:
    - use enhancement MEREQ001 to show error message when SO is blocked, so PR is not created. Is this possible?
    - create a release strategy for PR created in that plant (tr. OME6). The problem is that release strategy refers to an amount in the PO, and not to other factor, like SO blocked. Maybe in the former enhancement we can set the field EBAN-GSFRG to 'X'?
    Thanks for your help.

    Many thanks for your answer. It help me to solve the issue.
    So applying note 738171, with transaction OVB5 (or VOFM, requirements->subsequent functions->Purch.requisitions) we create one new requirement, ie RV07A900, and then we apply the rule that if we have delivery or billing block, that is, VBAK-LIFSK or VBAK-FAKSK not empty, then we set an error with a code similar to this:
                da_sy-msgid = 'Z1'.    (message class)
                da_sy-msgno = '001'.  (message number)
                error_exception = true.
    and then the PR is not created.
    Regards.

  • Functional Area in Account Assignment Category

    Hi Gurus,
    What's the usage of Functional Area in Account Assignment Category?
    What's the impact if we just hide the field?
    Many thanks in advance

    Hi
    The functional area is required to create a profit and loss account in Financial Accounting using cost-of-sales accounting. The following are examples of structure criteria:
    Manufacturing
    Administration
    Sales
    Research and development
    The functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your Government organization.
    If you have Cost of sales accounting then only you need to keep this as optional or required. If Not then you can make this filed as hidden
    As per Satndard SAP in all the account assignment categorie this field is hidden
    Thanks & Regards
    Kishore

  • Issue account assignment at item level.

    Hi Experts,
    I have an issue, because I have created a new order type that has to work the same that the one I have used as model however this new order type doesnu2019t work the same at item level in the view Account assignment. The new has the field Order as optional and in the old this field was hide. All related with account assignment at item level is different. Probably is related with the item category that is also a new one but copy from the order that we use with the other order type.
    Thank you and best regards.

    Hi,
    Are these in different servers? If so, you would need to transport the settings (say from dev. to QA server).
    Otherwise, the settings are common for all item catergories and document types... Screen variants are specific to TCodes only.
    In case this doesn't help, please clarify question some more... old doc type, item category and new doc type item category.
    Cheers.

  • Error in account assignment with Asset

    Hi Gurus,
    I am trying to create a shopping cart with a valid Asset master but getting an error-
    Transaction type does not exist
    Error in account assignment for item 1 
    I can create a PR with this Asset number in ECC successfully without any error but the same Asset number is giving the above error in shopping cart
    Regards
    Kapil

    HI
    is the problem related only with asset number? or also with other account assignment?
    than try to understand if the following table is correctly defined
    SAP Supplier Relationship Management-SRM Server-Cross-Application Basic Settings-Account Assignment-Define Account Assignment Categories
    than
    SAP Supplier Relationship Management-SRM Server-Cross-Application Basic Settings-Account Assignment-Define G/L Account for Product Category and Account Assignment Category
    regards
    andrea

  • Account assignment with business Place

    Hello Gurus,
    Can any body say me the Process of account assignment with bsiness place
    Please the path and the tcode.
    I have checked the FTXP OB40, OBYC

    Dear Joydip
    When posting a taxable document in the financial accounting application, the document must be assigned to the business place which eventually reports the VAT to the tax authorities. Therefore the R/3 System contains the field business place in every tax relevant transactions.
    The business place is a obligatory entry field in the posting screen whenever a document is posted and has a tax code (only for Korean Company Codes). Only one business place per document is allowed, even if a company has to issue Tax Invoices between business places (Stock transfer between plants which are different business places). How to handle the VAT between business places will read VAT on Stock Transfers between Business Places.
    The business place can be customized in the IMG.
    You enter only a part of the financial documents directly through FI. Most of the documents are transferred to financial modules from other integrated SAP modules. When passing taxable transactions to the FI module, the field business place must be correctly filled with the key of the responsible business place. To achieve this, the other modules have to be configured.
    Materials Management
    The plant is the central organization unit in Material Management. Material movements always occur either within one plant or from one plant to another. By allocating the business place to the plant, we can determine the business place that purchased the material. If plant 0001 is allocated to business place ‘BP01’ and plant 0002 is allocated to business place ‘BP02’, then the movement of material between plant 0001 and plant 0002 is also a movement between business place ‘BP01’ and business place ‘BP02’.
    The section code cannot determined by the plant automatically. The section code as a reporting unit for withholding tax has to be entered manually for each invoice by using the Logistic Invoice Verification. The section code can be found in the Document header of the invoice (Logistic Invoice Verification).
    The 'normal' Invoice Verification does not support the allocation of the business place and section code!
    Sales and Distribution
    Similar to the MM module, goods are managed on plant level. When goods are sold, the system can determine the delivery plant. This plant is stored in the SD document. When a billing document is passed to the financial accounting application, the system reads the business place assigned to the plant and writes it into the document. The allocation between plant and business place can be done in the IMG.
    Asset Accounting
    Asset transactions are posted automatically from the Fixed Asset module to the FI module. To indicate which asset belongs to which business place in the FI-AA module, the 4-character evaluation group fields are used. One of the available evaluation groups (4-character) must be determined for the use as the business place. In this chosen evaluation group in the asset master data you have to enter the business place. In the screen layout rule for the asset master records, the 4-character evaluation group should be configured as a mandatory field. But before entering the business place in the asset master data you should customize all business places in the chosen evaluation group. You find this transaction in the IMG. Financial Accounting --> Asset Accounting --> Master Data --> User fields --> Define 4-character evaluation groups.
    Thanks
    G. Lakshmipathi

  • Error in account assignment for item

    Hello,
    We have configured EBP at Stack 03 in SRM release 550
    We are facing problem to create shopping cart,
    Already it was working fine but now at the time of adding item to shopping cart it shows below error
    messages
    1.Version 0 is not defined for fiscal year 2007
    2.Error in account assignment for item
    For your reference error screen is given in attached document.
    pls advise
    Regards,
    Santosh

    Hi Christophe,
    I am getting the same error <b>'Version 0 is not defined for fiscal year 2007'</b> when tried to create a Sales Order in IDES system and I am trying the solution to add the fiscal year 2007 in T.code OKEV but it fails.
    The steps what I have done :
    1. Go to OKEV
    2. Selecting control area 1000
    3. Selecting the version 0 line
    4. then trying to open the Settings for Each fiscal year from Dialog Structure
    The error i get is :
    <b>E: Activation of the indicator is not permitted</b>
    and the highlighted line in red is for Version 1
    The default indicator is set for version 1 is Plan, WIP/RA, Variance & Legal Valuation (Valuation view)
    I tried in many ways to 'uncheck' the boxes for this version 1 but fails.
    Pls help.
    regds,
    Umesh

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

Maybe you are looking for