2 different item categories based on Plant

Hello,
I have a scenario where I need to determine 2 different item categories based on the Plant.
I will have the same material produced per 2 different Plants in SAP.
1 Plant is always producing the material using SAP x APO;
1 Plant will always be asking a Third party (Vendor) the stock material.
In this case I need to have 1 item category for the regular sales (Stock based on TAN item category);
and 1 item category for the third party process (Stock received from Vendor (TAB - ALE PO automatic created).
I know that I can have both in config, but one of them I could change manually during Sales Order creation.
However we want to automatic determine the item category according to the plant informed in the item.
Is there an User Exit that I could use to do it?
Thanks

Thank you for your reply.
I will try to use MV45AFZB probably reading my plants in a variable set in TVARVC table.
Best regards
Eli

Similar Messages

  • 1 Invoice / 2 Line Items / Different Item Categories & diff exchgn rte

    hi,
    there are 2 line items in my invoice and both have different item categories. one item cat (ZFIX) have exchange rate setting in copy control "PricingExchRate type" as A and other (ZFLT) have "C". now exchange rate are maintained in OB08 and are determined correctly in my billing documnet. but whenever i post the billing document to FI, exchange rate for "Billing Date" is determined for both line items. however the expected result was that exchange rate for 1st line item should have been determined as per sales order date( as copied in billing documnet).
    hope my queery is clear. any comments to resolve the issue?
    Edited by: Robert on Mar 4, 2011 8:29 AM

    I had a similar problem before. The FX rate for the FI document is determined based on the invoice posting date, whatever you select in the copycontrol.  The copy control setting is only for the SD internal conversion of i.e. pricing condition currency into document currency.
    The only choice in the Sap standard is to manipulate FI FX Rate my knowledge to set the Rate in the sales order (billing document tab in header or item, Field Exchange rate for FI postings).
    Hope this helps to clear your issue.
    Regards
    TDI

  • 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

  • Two different item categories in sales document

    Hi Friends,
    Can we have two different line items in the sale order by which one item is relevant for billing  F2 and the second line item is relevant for pro forma invoice F5.  And also, I want to use second line item as consignment item so that when customer uses that material we can send him a bill with reference to pro-forma invoice no.
    Your prompt reply will be highly appreciated....
    Thanks.

    Hi Sharma,
    Yes, You can use two different line items in the sale order by which one item is relevant for billing F2 and the second line item is relevant for pro forma invoice F5 for any specific customer and Material Combination.
    All you need to do is,
    1. Maintain Customer Material Info Record (CMIR) in VD51
    2. Specify your Customer No, SO, DC and Material.
    3. Double click on your material and Create a new USAGE(Tcode-0VVW) and assign it to USAGE field under Control Section.
    4. Then Determine the Consignment item category in VOV4, using the above Specified USAGE field.
    For example if you created New USAGE field as "DEMO", assign DEMO to USAGE field under Control Section and
    Determine the Consignment item category KBN as follows:
    Document type(OR) + Item Category Group (Norm) + USAGE (Demo) + Higher level item category(Blank) = Item Category (KBN)
    Thanks and Regards,
    A.Govindaraj

  • 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.

  • How to default inv mtl accnt based on the item categories for all trxns

    Hi all,
    There is a requirement for defaulting inventory material account based on the item categories accounts defined in the category accounts window. instead of defaulting from the inventory organization parameters.
    I researched on that and found that we need to do product line accounting setups and modify the accounting client extension code ( Cost Management PDF)
    Am i correct in the approach? will i succeed if we go ahead and do these?
    Need your kind comments....
    Regards,
    Prasad

    Hi,
    I can think of one of the probable solution for your requirement.
    Your need to create new condition table with item Category as one of the key combination.  I think you need to update the item category in field catalog as well as in Doc Structures. Then maintain free goods condition record all the item categories except for the Return item category. This way you can exclude free goods activation for return items.
    Note : If the number of active item categories are more then it may be difficult to maintain condition records for the item categories.
    Hope this will help
    Regards,
    Sanjay

  • Item categories are re-determining based on batch split during delivery

    Hello All,
    During delivery item categories of bill of materilas are changing based on batch split.
    Scenerio: item level bill of materials configured.
    Ex: COMPUTER is main item and item category group is LUMP and item category is TAP
    but it is relevent for billing as per client requirement
    key board, cpu and moniter are bills of materilas item category group is NORM and item category is ZZTA
    These above items are relevent for delivery and not relevent for billing
    Problem: During batchsplit in delivery item category determining as "TAN" for item category ZZTA
    That can be shown when we click on batch split button for sub line item (moniter, cpu) category ZZTA
    all batch split line items are copied to billing and getting account determination pricng error because of TAN is relevent for billing
    Could you suggest me to prevent the TAN item category for batch split in  delivery
    Should TAE item category to be maintained for delivery item categories
    currently delivery item categories are configured as shown  below
    del doc type=zlf , item cat. group=lumf, higher level item cat.=tap, No default item catgory
    Thanks & Regards

    Hi
    In the asign item cateogories use usage CHSP (Batch split) for norm and assign default item category as ZZTA.  This will get determined your item category when you use batch split.
    Spro --> Sales --> Sales document Item --> Assign item categories

  • PO GR Defaults based on Account *** Cat and Item Categories

    Hi Guys,
    Using the following SPRO path it is possible to set defaults such as if GR is ticked or not, and if it can be changed in the PO based on the account assignment selected in the PO.
    MM - Purchasing - Account Assignment - Maintain Account Assignment Categories
    Using the following SPRO path it is possible to set similar settings based on the item category selected in the PO;
    MM - Purchasing  - Account Assignment - Define External Representation of item Categories.
    How do these settings interact.
    What happens if a combination of Acc Assignment Category and item category have conflicting settings for GR NonVal Firm
    Which ones will SAP use

    Hi,
       For defaulting the GR and IR indicators based on account assignment category, you may use the configuration in OME9 as shown below:
       The item category configuration is not changeable.
       If item category and account assignment category exists, the item category config has the higher priority, as of my knowledge. You may test the same.
    Regards,
    AKPT

  • Item Categories

    Hi All
    SAP Item category there is a field called Billing Relevance--ABCDEF......V
    please explain me the functionality of each alphabet,
    thanks
    regards

    Relevant for Billing:
    Indicates what the basis for billing should be.
    <b>A: Delivery-related billing document</b>
    Billing is based on the outbound delivery. Billing status is only updated in the outbound delivery.
    <b>B: Relevant for order-related billing - status according to order quantity</b>
    Billing is based on the sales document. The requested delivery quantity determines the billing status.
    Item categories REN (Returns) and BVN (Cash sales items) are set up with billing relevance "B" in the standard system.
    <b>C: Relevant for order-related billing - status according to target quantity</b>
    Billing is based on the sales document. The target quantity determines the billing status.
    Item categories G2N (Credit memo) and L2N (Debit memo) are set up with billing relevance "C" in the standard system.
    <b>D: Relevant for pro forma</b>
    The billing relevance indicator must contain a value (not be blank) in order to be able to create pro forma invoices. Indicator "D" can also be used as follows for cross-company-code business processing:
    In the case of a free-of-charge outbound delivery, the company code that is responsible for the delivery should be granted an internal settlement.
    You can use indicator "D" to record free-of-charge outbound deliveries and grant internal settlements to the relevant company code.
    <b>F: Order-related billing doc. - status according to invoice quantity</b>
    Relevant for order-related billing documents based on the invoice receipt quantity (third-party business transaction). The system transfers the order into the billing due list only after the vendor invoice has been received and processed in the purchasing department. After the receipt of each invoice, a  customer invoice is created for the quantity that appears on the vendor invoice. The order has status "Billed" until the next vendor invoice is received.
    Item category TAS (Third party item) is set up with billing relevance "F" in the standard system.
    This process can also be related to the quantity of goods receipt.
    You can make the control setting as to whether the invoice receipt quantity or the goods receipt quantity should be relevant for billing in the copy control for billing on the item level in the billing quantity field. (In Customizing, choose Sales and Distribution -> Billing -> Billing documents -> Maintain Copying Control for Billing Documents -> Copying Control: Delivery to Billing Document -> Item, then select an item category.)
    <b>G: Order-related billing of the delivery quantity</b>
    The order is relevant for billing. More specifically, the cumulated delivery quantity that was already delivered is relevant for billing. You can use this category to bill for multiple partial deliveries at once.
    <b>H: Delivery-related billing - no zero quantities</b>
    You can use this category to avoid items with a value of zero being included in the billing document.
    <b>I: Order-relevant billing - billing plan</b>
    Billing occurs by way of the billing plan and its status. The status of the order item is seen as the sum of the billing plan status and the billing status.
    Item categories WVN (Maint. Contract Item), MVN (Lease item) and TAO (Milestone billing) are set up with billing relevance "I" in the standard system.
    <b>J: Relevant for deliveries across EU countries</b>
    The outbound delivery is only relevant for billing if:
    1. The Plants abroad active field is selected (found in Customizing under Financial Accounting -> Financial Accounting Global Settings -> Tax on Sales/Purchases -> Basic Settings -> Plants Abroad -> Activate Plants Abroad)
    2. Country of departure (country where the plant is located) and destination country (country where the ship-to party is located) are different EU countries.
    Item categories KBN (Consignment fill-up), KAN (Consignment Pick-up) and NLN (Standard Stock Transfer Item) are set up with billing relevance "J" in the standard system.
    <b>K: Delivery-related invoices for partial quantity</b>
    You can use this indicator if you want to select both items and partial quantities for billing.
    <b>Q: Relevant for delivery-related CRM billing</b>
    You can use this indicator if you use CRM billing to invoice the items delivered and goods-issue-posted in the R/3 OLTP system.
    Regards
    Nadarajah Pratheb

  • 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.

  • Order type, Invoice type and Item categories for Nota Fiscal Brazil

    Hi eveyone,
    we have a company in Brazil implemented in SAP using a different SD Order type, Invoice Type and Item categories
    as our mother company in Switzerland. Reason of that is because of the nota fiscal customization for Brazilian legal requirements.
    We startet with a Project worldwide to rollout a global template within sales and distribution and are facing now exactly
    the problem with those different order type, item categories and Invoice type.
    Our local SAP partner in Brazil told as based on best practise we should have different types.
    I checked the customization and it seems I can't use e.g.: the same Order type for Brazil and Switzerland because
    the activation flag for nota fiscal is linked to the order type and no sales organization can be setted to slplitt the different processes.
    Someone knows if there are some possibilities (maybe trough user exits or badi's) to use globally the same dovument types, item categoreis... globally?
    Thanks in advance
    Gaspare Guttadauro

    Hi Gaspare Guttadauro,
    I would strongly recommend to use the different document types and item categories as suggested by SAP. Since Brazil do have one of the complex taxation process in place hence to determine correct pricing the different document type will be required. Also functionalities  like CFOP determination and nota fiscal relevance can be maintained.
    Please feel free to revert the forum in case of any doubts.
    Cheers
    Atul

  • Can output type for purchase order be distuinguished based on plant.

    hI ,
    I have created an output type and acess sequence with Plant as one entity as i want the output to be determined in PO for one plant only.I  maintained condition record for the same  . But when i  create PO, i am getting that output type for all plants for that particular purchasing organisation . Is the output type determination in PO based on header data only or it can be maintained based on item data also (as plant comes at item level in PO).
    Waiting for your kind reply.
    Thanks
    Rohit Chavan

    Hi,
    If PO has each line item has different plants ,your access sequence output type/plant wont work.
    If PO has same same plant for every line item then only this work.
    For restict plant wise you need to chage access sequence add some criteria like PO document type & vendor.
    Hope this would help,
    JS

  • Change item categories purchasing

    Hello,
    I found thread 1582236 via google. It nicely explains how to get the "invoice receipt" flag out of the purchase order by default (text below). I tried to change the customizing like described via IMG path:
    Materials Management>Purchasing>Define External Representation of item catagories>0/Standard
    But for me this customizing for "Define External Representation of Item Categories" is all in grey. I am not able to add new items categories or to change the existing ones.
    So can it be, that it is not possible to change item cats attributes ("Define External Representation of Item Categories") for purchase orders, or can someone confirm that it is changeable?
    Thanks
    Hi Ashish,
    Basically when you talk about procurement, it is always chargeable (that means purchasing of materials or services mostly purchased at a certain price. That means when it is chargeable, defnetly there must be invoice (accounts payable to vendor) for that perticular item (that can be for material or a service) in the purchase order.
    In above, case the Invoice Receipt Indicator is set (indicator set automatically) in the Invoice Tab of the Item details in the PO. And that specifies whether an invoice receipt is linked to the purchase order item.
    Note: If the Invoice indicator is not set, the means goods are to be delivered free of charge.
    And the above is based on the default configuration that is available in the system, but it can be customized as per your specifications, is as follows:
    Steps for that configuration setup:
    --> Display IMG (SPRO)
    --> Materials Management
    --> Purchasing
    --> Define External Representation of item catagories (click it)
    --> Here you can set the IR indicator depending on the type of procurement for the Item catageory (lie, std, thridparty,etc)
    --> click it, by choosing the required combination of item cat(internal) : item cat(external)
    and, in the control: invoice receipt
    set the Invoice Receipt (this is only an indicator and it specifies that the PO item is chargeable and is to be invoiced. But it can be changeable (remove or set the flag) by user (when the item is delivered free of cost), it is just a link for PO item.
    And there is one more indicator IR indicator firm.
    there are TWO options:
    --> firm in PO (if you set this indicator, user can not change while creating or changing the PO)
    --> changeable in PO (if this indicator is set, it can be changeable if requires at the time of creation or change of PO through ME21N /ME22N)
    And also
    --> Display IMG (SPRO)
    --> Materials Management
    --> Purchasing
    --> Maintain account assignment categories (click it)
    And here, also you can set the same by choosing your required /specific account assignment categories combination.
    Note: If you set the Invoice Receipt indicator in the CONFIGURATION (that is in Display IMG) and this will effect to the entire process for all users. So, please goahead by keeping all these things in your mind and in concern with the team.
    Hope it clarifies you,
    Regards,
    Srin

    yes I can confirm what JouLes wrote. But you can only change what I told you before.
    if you can do customizing on anything else, then you should be able to do it here too, there is no authorization object for a specific IMG area or knot. either you have authorization for customizing or not.
    Are you in a developement client? In production client it is not possible to do this customizing.

  • Determination of a different item category for free goos

    Please help me with this:
    - I need on va01 determine a different item category with free goods, instead of tann and tan i want to use another ones only when i use exclusive free goods.
    I use inlcusive and exclusive free goods conditions but i want to use with the exclusive free goods on va01 a different item category and i don´t know how to do it.
    Thanks in advance.
    Catarina

    Thanks for your answer.
    I create two new item categories : ZTN1 copy of TAN and ZTNN Copy of TANN.
    I assigned to sales order entry -» OT, NORM, FREE, ZTN1 assign ZTNN. But i also have another assignement with OT, NORM, FREE, TAN assing TANN. How can i define if the system has to determine one or another because by default the system assumes TAN and TANN for free goods and if i want another item category i have to modify manually in order process.
    Thanks,
    Catarina Alves

  • Item categories for Free of charge items

    Hi Gururs,
    In the standard SAP the Item categories AFNN,AGNN and TANN are defined. Can the free goods be determined in Inquiry and Quotation(in any sales document with document category other than C-i.e.Order). If not possible, then what is the purpose of defining AFNN and AGNN.
    Thanks in advance
    Ravi

    Hi Sankar,
    I can confirm that a free goods determination cannot be enabled for any sales document category other than C. In some of the OSS notes, it is clearly stated that free goods is meant only for sales document category C.
    However the purpose of AGNN, and AFNN are not known. When i checked the configuration, these 2 ICs have configuration which are different from TANN in some of the aspects, especially the pricing field, that itself says that AGNN and AFNN are not meant for Free goods.
    However, I will confirm on the purpose of these ICs in sometime, as I am exploring that.
    YOU CAN READ THE OSS NOTE 549505 ON FREE GOODS, WHICH CONFIRMS THIS. IF YOU WANT THE NOTES, LEMME KNOW UR EMAIL ID.
    Reward if this helps.
    Content added by Navaneetha

Maybe you are looking for