How is calculated SC current quantity in item basic data tab ?

Hello,
We work on a SRM 7 release with PPS.
As it is not possible in Extended Classic Scenario to use local contracts (that is not replicated into ECC backend) as sources of supply for "Limit" item Shopping Cart creation, we create "Free text" (Description) SC item.
For this kind of SC item, according to a specific and dedicated UoM, SC quantity is given as mandatory to be '1'. Then, users populate price. So, in this way, we have an "Amount" SC item being equivalent to standard "Limit" SC item.
Then, at corresponding PO item creation, SC item quantity ('1') is populated into PO item gross price and SC item gross price is populated into quantity PO item in order to be able to confirm in "quantity" our PO.
This process is OK.
Nevertheless, we have two sides effect after PO is generated :
1- Field "Current quantity" (not sure with the name - i do not have SRM system in front of me)  for SC item basic data tab seems to be populated with value being difference between SC item quantity and PO item quantity.
For example, if SC item quantity is '1' and PO item quantity is  '20.000' in SC item basic data, order quantity is '1' and ordered quantity is '20.000' with is normal. But "Current quantity" (below "Ordered quantity") is '19.999-' instead of '0'.
2- After a first confirmation created based on SC (not on PO, this is important), SC POWL button "Create confirmation" is greyed out. This seems to be normal behavior as PO item quantity confirmed first time can not be lower than 1, this confirmed quantity is greater than SC item quantity. So, there is no SC outsanding quantity...
Our two problems should be linked: this is due to how "Current quantity" for SC is calculated.
As our customer users do not have access to PO POWL, we can not use create Confirmation transaction in order to use PO as reference document to create confirmations.
In a technical point of view, field concerned is PS_SC_OUT_QUAN (not sure with this name...) for context ITEM_BASIC_DATA from view V_DODCSC_I_BD (WDC /SAPSRM/WDC_DODC_SC_I_BD ).
I found enhancement for this field ( /SAPPSRM/WD_SC_I_BD_QUAN ) but this enhancement has no method !
I tried to debug some methods from Class /SAPSRM/CL_CH_WD_SET_FACADE, but i did not find yet where calculation is done for concerned field.
My aim is to make an enhancement to overwrite standard calculation.
An easier way should be to reverse gross price and quantity directly inside SC (to not have difference betwen SC and PO quantities), but our customer does not want.
Do you have any idea ?
Regards.
Laurent.

Hello,
We used a workaround to answer to our customer's requirement.
We ceated two customer fields, one for net price and a second one for the quantity. Using metadata, we hid the two corresponding standard fields and displayed our CUF in SC.
Using BadI Change for SC, we populated standard fields with our CUF values (after having made inversion between quantity / net price).
Checks are done in BAdI to be sure our quantity CUF and price unit values are '1'.  
As we use SC to create only PO as follow-on document, no other modifications are necessary.
Regards.
Laurent.

Similar Messages

  • Order multiple quantity in item master data

    Hello experts,
    I cannot  import from Excel file new values for order multiple quantity in item master data (in section planning data). After importing I see that  records were imported successfully, but all data which we put in past have been  changed  to zero and planning method is changed from MRP at None. We have 8.81 PL10 (updating at the end of January).
    Do you have any similar experience?
    Thank you,
    jonmar7

    Dear JonMar7,
    I have done this in SAP 8.8.1 PL08 using the Import/Export under utilities and seems to be normal. I have only chosen Item and Order Multiple for my template.

  • Find Sales Order Item Basic Data by Elements query fails

    I am trying to consume Find Sales Order Item Basic Data by Elements in .NET 3.0.
    Every thing appears to be working fine -- I could query by PO number, Creation time, SalesOrganisationID etc.
    However, the most basic query is mysteriously failing. I just want to query by Sales order number, and have given a valid sales order number 6718 that exists in SAP.
    It fails giving the following errors:
    (in Log.LogItem.Note variable):
    <b>"Conversion failed: Invalid input format"</b>
    (in Log.LogItem.TypeID variable):
    <b>"701(SFB)"</b>
    Code is pretty simple, and I am just trying to query Saler Order number 6718. Of course there is nothing wrong with its format.
    From the ESOA site, all I could get was:
    <i>----
    QUOTE -
    The following values are optional selection criteria for restricting the search result:
    SelectionByID – Document number range
    INCLUSION_EXCLUSION_CODE
    INTERVAL_BOUNDARY_TYPE_CODE
    LOWER_BOUNDARY_ID
    Value
    UPPER_BOUNDARY_ID Value
    Value
    UNQUOTE -
    </i>
    I could not even have any  documentation on what to put in InclusionExclusionCode, and IntervalBoundaryTypeCode. They apper to be some Global Data Types for which I couldn't find any documentation. By sifting through Wiki, I just guessed a couple of values praying that it may work. I am a bit new to ESOA, but have expertise in .NET 3.0. Would someone guide me where to find the documentation for that, where are the error codes listed, so that I make the queries with little better preparation.
                querydata.SelectionByID = new SalesOrderERPItemBasicDataByElementsQueryMessage_syncSalesOrderERPItemBasicDataSelectionByElementsSelectionByID[1];//Single element array is good enough
                querydata.SelectionByID[0] = new SalesOrderERPItemBasicDataByElementsQueryMessage_syncSalesOrderERPItemBasicDataSelectionByElementsSelectionByID();
                querydata.SelectionByID[0].InclusionExclusionCode = "E";
                querydata.SelectionByID[0].IntervalBoundaryTypeCode = "6";
                querydata.SelectionByID[0].LowerBoundaryID = new SalesOrderID();
                querydata.SelectionByID[0].LowerBoundaryID.Value = "6718";
                querydata.SelectionByID[0].UpperBoundaryID = new SalesOrderID();
                querydata.SelectionByID[0].UpperBoundaryID.Value = "6718";

    How do you test with a SOAP Client  - I am trying to use same dataset as provided?
    I did with WSDL Test - SAP, SOAP Client and got the following error:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
       <soap-env:Body>
          <nr1:SalesOrderERPBasicDataByElementsResponse_sync xmlns:nr1="http://sap.com/xi/APPL/Global2">
             <Log>
                <MaximumLogItemSeverityCode>1</MaximumLogItemSeverityCode>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
             </Log>
          </nr1:SalesOrderERPBasicDataByElementsResponse_sync>
       </soap-env:Body>
    </soap-env:Envelope>
    Thanks..
    Vikas

  • I cannot find purchasing group in Shopping cart item basic data in SRM 7.0

    Hi experts,
    We are using SRM 7.0 and stand alone scenario. When we are creating shopping cart, we cannot we cannot find the purchasing group field in item basic data. We have not changed any standard SC layout and I've already specified the responsibility of the purchachsing group.  Now I have no idea why the purchasing group is not visible.
    Can anybody help me on my issue?  Many thanks.
    Harry

    Hi,
       The values are getting populated in the include "LBBP_SC_UI_ITSF49"...
    set orgdata
      READ TABLE gs_sc-org WITH KEY p_guid = gs_scr_basic_i-guid
                           INTO wa_orgdata.
      IF sy-subrc = 0.
        gs_scr_basic_i-proc_group       = wa_orgdata-proc_group_ot.
        gs_scr_basic_i-proc_group+2(12) = wa_orgdata-proc_group_id.
        gs_scr_basic_i-proc_org       = wa_orgdata-proc_org_ot.
        gs_scr_basic_i-proc_org+2(12) = wa_orgdata-proc_org_id .
       read purch. group description
        CLEAR wa_orgdata_i.
        READ TABLE <item>-orgdata
             WITH KEY proc_group-otype = wa_orgdata-proc_group_ot
                      proc_group-objid = wa_orgdata-proc_group_id
             INTO wa_orgdata_i.
        gs_scr_basic_i-proc_group_text = wa_orgdata_i-description.
      ENDIF.
    Here you can make the changes in the Order of the values.
    BR,
    Disha.
    PLs reward points for helpful answers.

  • How to find the Rejected quantity in the Itemmaster data-- Inventory Tab

    Hi Experts,
    I want to find the Rejected quantity value when iam raising a production order->issue>and Receipt.
                         In the Receipt from production, if iam giving 10 qty as rejected the value must get displayed in the inventory tab of item master.
                         I have created a UDF called Rejectedqty in the inventory tab, but how to import that rejected value from the receipt form to this inventory tab,the value 10 must also be subtracted from the available qty present in the inventory tab.
    This query is used for finding the available items to sell:
    SELECT T0.OnHand - T0.IsCommited FROM OITW T0 WHERE T0.ItemCode = $[$5.1.0] and T0.WhsCode = $[$28.1.0]
    I want the same for the Rejected Value(it must get subtracted from the Available qty).Keep me posted if solution is found out.
    Regards,
    Magesh.

    I am thinking you want to show the rejected quantity on the Parent Item in the Inventory Tab.
    Use the following SQL for showing the Net Available Qty after subtracting the rejection.
    <b>SELECT T0.OnHand - T0.IsCommited - (SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R')
    FROM OITW T0
    WHERE T0.ItemCode = $[$5.1.0] and T0.WhsCode = $[$28.1.0]</b>
    Use the following SQL to get just the rejected quantity
    <b>SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R'</b>
    Suda

  • How can i control background colors with items (registry.dat)

    Hello Evry one.....
    plzzzzzzzzz help.
    how can i control background colors with display items
    in registry.dat
    like app.ui.requiredFieldvABGCOLOR=255.0.0
    how can i control background colors with others items ????
    thanks.

    The iPhone has a "remote" app that lets you control Keynote on a Mac, but not on another iOS device (iPhone/iPad/iPod Touch).
    There are some apps that let you control limited content on another iOS device - but the content has to be within the app. You might check out SyncPad - perhaps you can import the presentation into it and then control it on the iPad.

  • How to subtract the month from an item type Date Picker

    Hi everybody!!
    I´m building an application (V4.2) in wich customer introduce a date (item P11_F_ACTIVIDAD, Display as Date Picker). I need to sustract the month from that field and use it in a SQL query to fetch all rows from a table that met that condition (column F_ACTIVIDAD) . The WHERE clause should has something like this: WHERE substr(to_char(h.F_ACTIVIDAD,'ddmmyyyy'),3,2)= substr(to_char(:P11_F_ACTIVIDAD,'ddmmyyyy'),3,2)  but SQL engine does not see ":P11_F_ACTIVIDAD" like a column name..... Of course, it is not a column name.
    I appreciate recomend me an idea to overcome this issue.
    Thanks so much!
    Luis

    Lecc23 wrote:
    Hi everybody!!
    I´m building an application (V4.2) in wich customer introduce a date (item P11_F_ACTIVIDAD, Display as Date Picker). I need to sustract the month from that field and use it in a SQL query to fetch all rows from a table that met that condition (column F_ACTIVIDAD) . The WHERE clause should has something like this: WHERE substr(to_char(h.F_ACTIVIDAD,'ddmmyyyy'),3,2)= substr(to_char(:P11_F_ACTIVIDAD,'ddmmyyyy'),3,2)  but SQL engine does not see ":P11_F_ACTIVIDAD" like a column name..... Of course, it is not a column name.
    I appreciate recomend me an idea to overcome this issue.
    Thanks so much!
    Luis
    In APEX, items can certainly be used as bound variables in a SQL statement; like this.
    SELECT emp.ename,
           emp.hiredate,
           EXTRACT (MONTH FROM emp.hiredate) hiredate_month,
           EXTRACT (MONTH FROM :p11_f_actividad) datepicker_month
      FROM emp
    WHERE SUBSTR (TO_CHAR (emp.hiredate, 'ddmmyyyy'), 3, 2) =
              SUBSTR (TO_CHAR ( :p11_f_actividad, 'ddmmyyyy'), 3, 2)
    Jeff

  • How do I add new fields to the 'Customer Data' tab under the BP

    I had previously found a screen in the SAP GUI to add fields so that they would show up on the 'Custmer Data' tab under the Business Partner screen. I thought it had been somewhere in se80 but I cannot find it again. Does anyone know where this is? Thank you!

    Hi Mark,
    You can do this using transaction EEWB. This is the Easy Enhancement Workbench.
    within this, you can use the wizard which will guide you through a step by step process to add the fields you need. Basically, there are 2 ways to add new fields  :
    1. Add new fields - this adds fields to table BUT000, but places the fields on a new tab called 'Customer Data'
    2. Add new attributes table - creates a new table and links it to BUT000 using the partner number.
    Hope this helps you.
    Cheers,
    Rishu.

  • How to bind a checkbox to an item

    I started a small program to add a feature to the item master data. I just add a checkbox to the form but I don't know how to link that checkbox to the Item master data. What would be the best solution considering my source code:
    If pVal.EventType = et_FORM_LOAD And pVal.Before_Action = False And pVal.FormType = 150 Then
            Set oForm = SBO_Application.Forms(FormUID)
            Set oItem = oForm.Items.Add("EVOSS_Cut", it_STATIC)
            oItem.Top = 68
            oItem.Width = 80
            oItem.Left = 448
            Dim oTextField As SAPbouiCOM.StaticText
            Set oTextField = oItem.Specific
            oTextField.Caption = "Cut Item"
            Set oItem = oForm.Items.Add("EVOSS_Cut2", it_CHECK_BOX)
            oItem.Top = 68
            oItem.Left = 430
            oItem.Width = 20
            Dim oCheckbox As SAPbouiCOM.CheckBox
            Set oCheckbox = oItem.Specific
        End If
    Thanks a lot

    Vicent,
    add a userdatasource to the userdatasources collection of the form. Then bind your checkbox to the userdatasource.
    Generally, you might consider not creating controls via code (unless necessary for dynamic control creation). Use srf files in order to update an existing form. This way is much faster. It also is a lot easier to adapt to changes - no need to touch the source code.
    See the SAP samples or the TechDemo AddOn (/people/lutz.morrien3/blog/2004/09/21/sap-business-one-techdemo-addon-beta-out-now-and-it-is-free) for sample code.
    HTH Lutz Morrien

  • HT1600 How long does the current Apple,TV software download take

    How long does the current Apple TV software up date take , or should it take ..?

    Depends on your internet connection.  Mine is usally done in a few menutes, but I have seen the install part take up to 45 min.

  • Page Item with Date format DD-MON-RR - APEX 32

    Hello,
    I am passing date parameter but somehow it is not formatting date properly on calendars.
    For e.g.
    Below is my calendar query
    select distinct count(*) knt, initcap(username) username, to_date(to_char(trunc(timestamp),'DD-MON-RR'),'DD-MON-RR') ts from xrx_master_records
    group by initcap(username), trunc(timestamp)In above query TS is the date column that results in DD-MON-RR format.
    Then I format column on calendar tab as shown below, here is how I am constructing the link.
    <!-- <a href="f?p=&APP_ID.:40:&APP_SESSION.::NO::P40_CAL:#USERNAME#:P40_DAILY_DATE:#TS#"
    style="color:NavyBlue;
    font-weight:bold">#USERNAME#(#KNT#) </a> -->But the issue is - #TS# field shows complete date with time stamp for page item P40_DAILY_DATE. i.e. instead of 21-JUL-10, it shows 21-JUL-2010 12:00:00 AM. That means, it is ignoring calendar query and reads straight from database.
    How can I make sure that P40_DAILY_DATE item receives date in DD-MON-RR format?
    Then, I plan to use P40_DAILY_DATE to connect with the report region by comparing timestamp column from same table with P40_DAILY_DATE.
    Please advice.
    Thanks,
    R

    Sorry but, I am expecting a more productive feedback than this.
    Let me state the obvious that, this forum is the community of SME who are volunteers. It is the precious help they provide with their insight to questions other members have. Due to the simple fact that it is purely a matter of choice whether to reply questions or not, it is perfectly justified that some of questions remain unanswered. I hope you understand this.
    And anyway, what makes you think that those question that remain unanswered on this forum, remain open forever?

  • In VA01 Item detail screen tab Account assignment field  Internal order ???

    Dear Experts,
    In T.code VA01
    item level data tab Account assignment there is field internal order , here if i created internal order that internal order should come automatically into that field
    e.g. i have one article / material for that i created one internal order where i put all expenses through T.code FB50 and i want to add sales revenue for that while creation of sale order i am putting internal order manually in T.code VA01
    so my question is  the same task can be possible automatically or not
    i have two thoughts
    1) either that internal order should assign to article or material master data or
    2) status profile has some link with internal order type (so by default link with internal order ) and there is provision in T.code VOV8 and VOV7 we can add status profile .
    Question
    IS IT POSSIBLE INTERNAL ORDER SHOULD COME AUTOMATICALLY IN SALES ORDER ITEM DATA ACCOUNT ASSIGNMENT TAB AS PER ARTICLE / MATERIAL
    PLEASE GUIDE

    Hi Ravi,
    it is due to profit centre accounting / costing is active, it is better to get it clearified from a FICO consultant
    regards,
    Santosh

  • How to get the current On-Hand Quantity of an item?

    Hi,
    I want to get the on-hand quantity of items from backend,
    When i use the table mtl_onhand_quantities :
    SELECT msi.segment1, msi.organization_id, SUM (moq.transaction_quantity)
    FROM mtl_system_items_b msi, mtl_onhand_quantities moq
    WHERE moq.organization_id(+) = msi.organization_id
    AND moq.inventory_item_id(+) = msi.inventory_item_id
    and moq.ORGANIZATION_ID = 1006
    and msi.SEGMENT1 = '14003-0063'
    GROUP BY msi.segment1, msi.organization_id
    I get a quantity that is different than the one i get from front end. (On-Hand Quantity Screen)
    The mtl_onhand_quantities shows quantities when received only , but it doesn't count the transactions done on the item.
    How can i get the correct current on hand quantity of an item ?
    Thanks,
    Joe

    I think you guys in this way are getting only the on hand quantity that we inserted when we first created the item...
    I think we should also calculate whatever transactions happened on that item ..
    i found this little program, please let me know if you think it's the correct way :
    FUNCTION CF_LAST_BALFormula RETURN NUMBER IS
    v_onhand_qty NUMBER;
    v_last_qty NUMBER;
    v_target_qty NUMBER;
    BEGIN
    SELECT SUM(transaction_quantity)
    INTO v_onhand_qty
    FROM mtl_onhand_quantities_detail
    WHERE inventory_item_id = :inventory_item_id
    AND organization_id = :organization_id
    AND subinventory_code = :Subinventory;
    SELECT NVL(SUM(Transaction_quantity),0)
    INTO v_last_qty
    FROM mtl_material_transactions
    WHERE inventory_item_id = :inventory_item_id
    AND organization_id = :organization_id
    AND subinventory_code = :Subinventory
    AND trunc(creation_date)>= :p_last_date;
    v_target_qty:=(v_onhand_qty)-(v_last_qty);
    RETURN( v_target_qty);
    EXCEPTION
    WHEN OTHERS THEN
    RETURN 0;
    END;

  • I would like to know how to get the unrestricted quantity excluding actual customer ordr quantities on a given group of items?

    I would like to know how to get the unrestricted quantity excluding actual customer ordr quantities on a given group of items?

    Hi , Welcome to the HP Forums!
    It is a terrific place to find answers and tips!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide.Learn How to Post and More I grasp you would like to replace the keyboard and would like the part number and where to purchase one. Here is a link to the HP Pavilion 17 Notebook PC HP Pavilion 15 Notebook PC Maintenance and Service Guide .  Please note chapter 3, page 20, item 2 for the replacement keyboard part numbers. You stated you were having a difficulty locating where to purchase the part.  Here is a link to  HP Notebook PCs - Ordering HP Certified Replacement Parts for your convenience. You can also try a Google search with the part number for other vendors that may have one.   To say thanks for replying please click the thumbs up icon below. If this has addressed your query please choose solution provided to help other people locate this information.   Best of Luck!

  • How can I avoid automatical quantity confirmation of the items?

    At our case, production is done on sales sales order for some of the materials. When all of the materials at the order are producedi I want to triger the availability check but availability check triggered autpmatically when for the first time the order is created. I don't want the system to make the confirmation automatically. How can I avoid automatical quantity confirmation of the items?
    Thanks in advance for the answers....

    Hi Yasar
    This can be done 2  ways
    1.if you want individual material stocks to be checked for avialbility and deliver them independently then check whether you are using requirement type KSV.
    2. If you want to send the group of materials together and do not want to send a material which is part of group individually ,you can use delivery group with Sales Bill of material  concept . the header material may be a fantom assembly .
    The delivery group is set at the item  category level ,so u can set it for the item categories u want to go together.
    for example  all text package inserts ,extra spares and a material must go together, they  will be part of delivery group.
    I hope this helps
    Regards
    Mandar

Maybe you are looking for

  • WDS and Surface Pro 2

    I have a Windows Deployment Server and I am using Windows ADK to load essential drivers onto my boot/install images. I downloaded the latest Surface Pro 2 driver pack and used DISM to load drivers on to an offline boot image from a Windows 8.1 ISO. I

  • Compiling code in a program to a java file?

    is there a way to in a program write code to a java file and compile that file? is there a way with a simple .compile or .run or something like that?

  • Web Sharing broken after Restore System from Time Machine

    If you do a complete System Restore from a Time Machine backup, and had Web Sharing turned on, it won't work after the restore. The problem is the restore doesn't put back a folder for Apache logs. It should be in /var/log (or /private/var/log). With

  • Cannot open CS4 Encore file

    How do I open an Encore file that Encore fails to recognize? File is there.  Also, cannot send a Premier Pro project to Encore via Dynamic Link.

  • I lost my texts! Can I get them back using Vzw Cloud???

    Okay so that basically explains it all but to break it down again. I recently lost all of my texts; I have no clue how it happened I just need some of them back for business information. I have them all backed up via Verizon Cloud but I don't see a w