Item Category per customer per Producat

Hi,
I wish to define in the CRM business logic determination that will set the item category in an order (item line). The determination should be per customer per product per sales area.
Any ideas?
Thank you, Uri

Dear MoazzaM,
Using the Exit: MV45AFZZ, in Routine: USEREXIT_MOVE_FIELD_TO_VBAK, we have triggered our custom code to change the Item Category, Plant, Storage Location and Shipping Point. It is working fine at the Sales Order level.
But we found these are partially not updated properly
1) There is a Inconsistency in Creation of the Purchase Requisiton, where for the Individual PO, the    Storage Location remains the old one.
2) When we create the PO from the
2) In billing, at the item level, the plant and shipping point is also wrong which is not the source one from sales order and delivery, but the delivery details are correct
3) In accounting doc also, the plant is wrong.
Below is the piece of Code:
IMPORT gv_vsbed FROM MEMORY ID 'VSBED'.
IF gv_vsbed IS NOT INITIAL.
      SELECT SINGLE * FROM *Custom Table*
                INTO gs_shippoint
                WHERE auart = xvbak-auart
                AND   vkorg = xvbak-vkorg
                AND   vtweg = xvbak-vtweg
                AND   spart = xvbak-spart
                AND   vsbed = xvbak-vsbed.
IF  gv_vsbed NE xvbak-vsbed.
      LOOP AT xvbap INTO lwa_xvbap.
        idx = sy-tabix.
        IF xvbak-vsbed IS NOT INITIAL.
          IF NOT gs_shippoint IS INITIAL AND
             lwa_xvbap-pstyv NE gs_shippoint-pstyv.
*** Update the Item category , plant, storage location and Shipping/Receiving point.
            lwa_xvbap-pstyv = gs_shippoint-pstyv.
            lwa_xvbap-werks = gs_shippoint-werks.
            lwa_xvbap-lgort = gs_shippoint-lgort.
            lwa_xvbap-vstel = gs_shippoint-vstel.
            MODIFY xvbap INDEX idx FROM lwa_xvbap.
            UPDATE vbap  FROM TABLE xvbap.
Any Suggestions
Regards,
Kumar

Similar Messages

  • Item category determination customizing not maintained error in CRM_IC

    Hello Solution Manager Gurus
          I have configured IC Web Client.. But in service ticket tab i am getting Item category  customizing not maintained error. Similarly i dont know where to create SLA information for service ticket in solman system.
    Please help me
    regards
    Naveen

    Sure Naveen
    I think you have my email id with you
    And for the customization guide of Webclient, it is available on http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/html/BBlibrary.htm
    C78: CRM Interaction Center (WebClient)
    Hope this will help
    Regards,
    Rekha Dadwal
    <b>You gain a point for every point that you reward. So reward helpful answers generously</b>

  • Is there a list of open items at key date per customer?

    Hello,
    In FBL5N you can get a list of open items for a customer at some specific date.
    I'm looking for a summarized list that would give me a list of sums  of open items for some customer per day, so I would see for example for one month what was the sum of open items for this customer on each day.
    Is there already some similar report in SAP?
    Thanks and best regards,
    David

    Hi,
    I still don't think we understand each other.
    If I run FBL5N I have option to select:
    - Items that are or were open at the key date are displayed on one date
    - All items posted on the posting date specified fromde date1 to date2.
    - Items that were cleared at the clearing date specified
    I would like a list of all items from option 1 (Items that are or were open at the key date are displayed on one date) so items that are or were STILL open and not yet cleared on one date, but not just for one date but for more days.
    If I use your suggestion I get what items opened or cleared on one day not how many items were still open on particular day.
    So a list of how many opened items were there at the day, and notjust items that were opened on that day but also all previous items that were not yet cleared at that day.

  • Apple Store flaw ? Limit two per order = Limit two per customer ?

    I have previously bought 2 iPad during US launch date(Online) while visiting in US and later moved to Canada and purchased 4 orders(2 each) of iPad in Apple Store Canada(Online) during its launch date. All my order has been canceled due to purchase of more than 2 iPad. When you navigate the apple online store, first it mentioned 2 per order and when you add 2 ipads to the cart and checkout , there is nowhere mentioned about 2 per customer. So now I am left with no iPad in Canada. Customer serivce says doesn't matter Canada or US , its only limited 2 per customer per year.
    Am I being treated fairly or is this bs?
    So this is what the customer service have to say :
    - 1 customer can only purchase 2 iPad in a year , does not matter anywhere.
    - purchasing multiple ipad would be detected as reseller and all order will be canceled
    - they found that I purchased 2 ipad in US couple weeks ago and therefore no longer eligible to purchase in Canada or anywhere else, doesn't matter if you are reside in Canada.
    - once order been canceled by the system, can not be restated
    iPad 3G in US is AT&T and Verizon
    iPad 3G in Canada is Rogers/Bell/Telus
    Message was edited by: DrAeroSpace

    Whether you're being treated fairly or not will depend on who is being asked. If you ask the person who's been waiting for an iPad 2 for days, then Apple limiting you to two iPads total for now rather than letting you purchase two every time you order is quite fair. You obviously will have a different viewpoint. I'm certain that any restrictions will be lifted once the supply catches up with the demand, something that may take some time (the problems in Japan won't help matters).
    Anyway, these forums are for technical questions, not Apple policy complaints. Do you have a technical question that we, your fellow users, can help you with?
    Regards.

  • Usage in Free Goods Item category Determination

    Hi,
    I have configured the Free Goods and it is working fine and I had to utlize the SAP standard Usage "FREE" in the Free Goods Item category determination as per the below:
    Sales Doc Type    It.Cat.Grp.     Usage   HLevItCat.  DItemCat    MitCat
    ZOR1                    NORM           FREE        ZAN1         ZANN
    ZOR1                    NORM                            ZAN1         ZANN          TAX
    I know this "Usage" is available in CMIR and I don't find it in any other places. So, if any materila for which there is no CMIR, then in that case where should I use this "Usage"? Because I want to change the standard SAP Usage "FREE" to "ZREE". How can I change it and assign it? Please guide me.
    Thanks,
    Jans

    Hi,
    Try to do as mentioned below.
    step by step process for free goods.
    1. need to create the free goods condition(condition tables/access seq and types) and pricing procedure and then assign the same to sales area, doc. Priccing proce and cust pri. Procde.
    2.you need to maintain the condition records( tcode: VBN1) and maitain the data as mentioned
    above(check Notes 2 sheet)
    3. if you don't want the free goods item to be created, then you need to add the NRAB condition type to the pricing procedure(document pricing procedure not Free goods pricing procedure) and need to maintain the condition record for this
    condition in VK11.
    once all this is done, you can see free goods price reduced in the net price and if additional item is added, then you will the quantity (as per condition record) for that free good.
    Thanks,
    Srini.

  • Item category 02100 not allowed in accounting transactio 0300/0001  FB60

    Hi,
    ERROR MESSAGE : Item category 02100 not allowed in accounting transactio 0300/0001 
    The above error message is coming when trying to post in FB60 tcode ( Enter vendor invoice ).
    please provide necessary information to rectify this problem.
    regards,
    Hari

    Hi Balaji,
    i checked in classify g/l accounts for document splitting ,
    my g/l account is coming under item category 02100-Customer: Special G/L Transaction in spro.
    Also i checked classify document types for document splitting
    TYpe : KR
    Des : Vendor Invoice
    Transn: 0300
    variant ": 0001
    des : Vendor invoice
    name : standard.
    Actually g/l account for CANTEEN DEDUCTION.
    Regards,
    Hari priya

  • Error - No date profile assigned to the transaction/item category

    Dear Expterts,
    I am getting the error while trying to create a complaint (In-house repair) transaction.
    No date profile assigned to the transaction/item category
    Message no. CRM_BILLING015
    System Response
    Billing dates cannot be maintained.
    Procedure
    Assign a date profile to the transaction type or item category in Customizing.
    Make sure that this date profile contains all the necessary date types:
    BILL_DATE
    INVCR_DATE
    date profiles are assigned to both transaction type and Item category. mentioned date rules are in place in standard configuration itself. still the problem persist.
    Please help me to resolve the issue. Your help will be highly appreciated.
    Best regards
    Raghu ram

    Hi Pepe,
    Thanks for the response, these transaction types are already there. and 'Today' date rules are assigned to both date types.
    Still the problem exist.
    Best regards,
    Raghu ram

  • Item category and mrp type combination not allowed in MTO

    Hi,
    i am working on make to order without variant configuration scenario,
    while creating any customer order i am getting following error.
    "This combination of item category YBTA(customized item category)  and MRP type (i have used mrp type PD ) for material  is not allowed.", due to this error i am not able to create any order.
    Please help me to solve this problem.
    Regards
    Edited by: abhijeet rachkuntwar on Aug 24, 2009 7:47 AM

    I have the same problem. You have posted the question long time back. if you happen to solve the problem plz help me by answering your question. if not, I would appreciate help from all the experts here
    Many ThanX.

  • Order entry per Customer Item

    Hi,
    does anybody know if it's possible to enter Sales Orders per Customer Item instead our own internal item number? In our Sales Order Organizer form I can not see nor enable the column "Customer Item".
    Thanks,
    David.

    David
    Fist open up a hidden field called item identifier type. Choose customer item as the value for that field. Then you can use the customer items in the item number field as you choose internal item.
    Thanks
    Nagamohan

  • Query item not sold per customer for this month compare with last month

    Dear all,
    i want to make query that show information about item sold per customer last month which is not sell again this month.
    for example last month customer A buy item 1,2 and 3. This month, customer A only buy item 2. So, the query will show information item 1 and 3 which is not sell again to customer A.
    Thanks a lot

    Here's one that will show you items bought in the last 60 days but not the last 30 days.  It's not perfect but will get you on your way, some bits will also not be relevant, like the qrygroup64 part.
    select     t0.cardcode,
              t0.cardname,
              t2.slpname,
              t1.itemcode,
              t1.itemname,
              t1.onhand,
              s0.[2mthqty],
              s0.[2mthdollar],
              s1.[1mthqty],
              s1.[1mthdollar],
              s2.lastsale
    from
    (select     t0.cardcode,
              t1.itemcode,
              sum(t1.quantity) as [2mthqty],
              sum(t1.linetotal) as [2mthdollar]
    from
    oinv t0
    inner join
    inv1 t1
    on t0.docentry = t1.docentry
    where t0.docdate >= getdate()-60
    and t1.quantity > 0
    group by     t0.cardcode,
                   t1.itemcode) s0
    full outer join
    (select     t0.cardcode,
              t1.itemcode,
              sum(t1.quantity) as [1mthqty],
              sum(t1.linetotal) as [1mthdollar]
    from
    oinv t0
    inner join
    inv1 t1
    on t0.docentry = t1.docentry
    where t0.docdate >= getdate()-30
    group by     t0.cardcode,
                   t1.itemcode) s1
    on s0.cardcode = s1.cardcode and s0.itemcode = s1.itemcode
    inner join
    (select     t0.cardcode,
              t1.itemcode,
              max(t0.docdate) as lastsale
    from
    oinv t0
    inner join
    inv1 t1
    on t0.docentry = t1.docentry
    where t0.docdate >= getdate()-60
    group by     t0.cardcode,
                   t1.itemcode) s2
    on s0.cardcode = s2.cardcode and s0.itemcode = s2.itemcode
    inner join
    ocrd t0
    on s0.cardcode = t0.cardcode
    inner join
    oitm t1
    on s0.itemcode = t1.itemcode
    inner join
    oslp t2
    on t0.slpcode = t2.slpcode
    where           (s1.[1mthqty] = 0 or s1.[1mthqty] is null)
    and t0.qrygroup64 = 'N'

  • Sales order item category per sales organization

    Hi
    Sorry for the question, I am FI/CO expert, and since our SD expert left us, I am also the SD expert now.
    Can I define different item categories for the same sales order type for different sales orgs?
    VOV4 (IMG-sales and distrebution-sales-sales documents-sales document item-assign item categories) has no sales organization parameter.
    Thanks
    Ofer

    >
    Ofer Cohen wrote:
    > Can I define different item categories for the same sales order type for different sales orgs?
    > Ofer
    Yes, you can define different item categories (in t.code VOV7) and assign to same sales order types. The item category is determined by based on Sales document type + Item category group (from material master) + Item category usage + High level item category (check t.code VOV4).
    The item categories are not assigned to sales organization, but the sales document types are assigned to sales area. Check t.code VOV8, where the sales documents are defined and in t.code OVAZ, the sales documents are assigned to sales area (sales area = sales org + distribution channel + division).
    YOu can see the steps of configuration at SPRO -> Sales and distribtution ->Sales document header (related to sales document type) and then at -> Sales document item.
    Regards

  • Determine new conditions as per item category

    Hello All,
    I want to determine two new condition types for one particular item category.
    Is there any standard way to determine it.
    Regards
    Amit

    Hi Amit,
    If you are using the formula for calculating the values then you  have two options:
    1. If  calculation routine is sap std. then create the new requirement routine and assign to the conditions in the pricing procedure.
    2.If calculation routine is developed by you then put the  required checks in the same.
    Hope this will help you.
    Thanks and Regards,
    Atul

  • New condition types as per item category

    Hello All,
    I want to determine two new condition types for one particular item category.
    Is there any standard way to determine it.
    Regards
    Amit

    Hi Amit,
    If you are using the formula for calculating the values then you  have two options:
    1. If  calculation routine is sap std. then create the new requirement routine and assign to the conditions in the pricing procedure.
    2.If calculation routine is developed by you then put the  required checks in the same.
    Hope this will help you.
    Thanks and Regards,
    Atul

  • Sample Report: Sales per Customer by Period - WITH QUANTITIES

    I am trying to make some modifications to the 'Sales per Customer by Period'  sample report, but am having problems. I want it to be YTD and comparative, so YTD-12. That part was easy enough. Then I wanted to add the quanty. So i want the report to show the sales amount and quantity for each customer, ytd and prior year ytd. This seemed easy enough also, until I looked further into the data. It doesn't match up with reports from Business One. The problem seems to be my items that are packs, like an item that is sold in packs of 10. If the invoice has 10 10 Packs on an invoice, my report shows a quantity of 10. The SBO report shows it as a quantity of 100 (10x10). I have tried to add Item level stuff, so I could go get the 'Items per Sales Unit' value and multiply it by the quantity. When I do this the report crashes.
    Does anyone have any suggestions? Has anyone created a report like this? Any help would be appreciated.

    Hi,
    What is your B1 version and PL? Is this a Crystal Report or PLD?
    Thanks,
    Gordon

  • Sales BOM per customer

    This might be a strange question but still. We have a customer who ships out pallets and crates to their customers. They want to be able to track these items of course and bill the customers according to the number of items they received. N.B. these items are not returned so returnable packaging is out of the question.
    We are looking at the use of a sales BOM so we can calculate the number of pallets and crates per sales order and delivery based on the number of finished products they ship out and of course create an invoice where these items are listed as part of the delivery with the actual costs. This works quite satisfactory BUT it will only work when either all customers use the sales BOM or all customers do not use the sales BOM.
    What's the problem, as this is a new process, they will not be able to convince all customers to directly pay for pallets and crates that are being shipped out. We are now facing the problem that for part of the customers they want to use a sales BOM and invoice them for the pallets and crates they receive BUT for part of the customers they do not want to invoice them for the pallets and crates they receive. This means that we are looking for a way where we can indicate, per customer, whether to use a sales BOM (ship out and invoice pallets and crates) or not to use a sales BOM (do not logically ship out and invoice pallets and crates).
    Is this possible yes or no? Maybe with a user exit that checks for a specific field in the customer master? We have already defined two sales BOM's per material, one where pallets and crates are used and one without pallets and crates so we could mis-use the alternative sales BOM principle, but we still need a trigger to call either sales BOM.
    Any help would be appreciated.

    Hi Roberto and Biju,
    We looked at both options but neither are workable. Not all warehouses use HUM because not all warehouses are their own warehouses, some are from logistics service providers who have not SAP access, otherwise the problem would be a bit easier, plus the customer does not use packing and will not use packing in the future.
    The dynamic product proposal was a bit more promising but also there, we encounter a problem because we cannot make a calculation on the number of crates and pallets shipped out to a customer, which is one of the requirements.
    The problem still lies in the fact that
    - Customer A does not want a bill for crates and pallets and therefore does not want to see the items on the delivery and the invoice.
    - Customer B does want a bill for crates and pallets and therefore needs a calculation for the number of pallets and crates he received.
    We cannot set a field somewhere that says customer A without these items, customer B with these items and then trigger something else.
    Thanks for the help but we still haven't solved the problem.

Maybe you are looking for

  • Best practices for setting up UME

    With dual stack of SAP PI 7.11 or Solman 7.01, the Java UME points to 001 of ABAP Client. I've never ever worked on client 001 before and believed it should be untouched. Technically, we can keep the Java UME on 001 and continue user creation etc...

  • Logical database PSJ for tcode CJI3 - add additional

    Hi, I need to create the customized program which refer to standard program RKPEP003 (CJI3) with additional fields require to be added in selection screen and ALV report. I checked in program attribute for program RKPEP003, there is no selection scre

  • Sales document--Text

    Dear All, Please provide the logic to get the sales order header text into new  customising report.

  • Running a Host Command on OEM Grid Control 11g

    Hello, I am trying to execute a host command on a remote windows server but I'm not exactly sure of the syntax of the Command Statement. I am attempting to run the following: tasklist /FI "IMAGENAME eq myApplication.exe" | grep myApplication.exe I ca

  • PDF - paginating table

    Hi, please, how to break a table in pages automatically in the PDF Form? I'm using Adobe LiveCycle Designer. Thanks.