CRM Order - Item No at a Order Item becomes Read Only

Hi All,
We are creating an Order (SAP GUI) and enter a few products. For some products the ITEM NO becomes read only.
We have 2 Item Category group (NORM, VOLL) and 2 Item Categories (TAN, ZTAN). For some products (NORM, TAN) or (NORM, ZTAN) or (VOLL, TAN) the Item no becomes Read Only.
We do not have Higher level items or Alternate Items.
Could you please let us know under what conditions would the Item No become read only.
Thanks and Regards

Hi,
you would have to pass the variant condition keys (and pricing factors - default is 1) to the pricing engine. I have never seen this part of the application myself and it think it is difficult to achieve this as this might be direct communication between the configurator and the pricer. The variant conditions are passed in a reference characteristic called "VKOND" to the order and then to the pricer.
Are you planning to use a configurable product or a non-configurable product for this task? If you use the later you can ensure the SAP configurator is not called and then just have to feed additional data into the pricing engine (e.g. via manual conditions or via user exits in pricing).
Regards, Marcus

Similar Messages

  • Can I suppress HTML escaping in a read-only item?

    I have an item that is displayed as read-only. The item contains HTML markup. HTML DB seems to automatically escape special characters in the item value.
    Is there a way to suppress this?
    For example, I have a text input item with the value:
    <b>Hello</b>
    (that is, it contains the bold elements which I want to output as is).
    HTML DB seems to be escaping the item value so I see the bold elements in the browser and what I see in the page source is: <b>Hello</b>
    There doesn't seem to be "escape special characters" / "don't escape special characters" options for read-only mode like there is for "Display As Text" items. Can anyone suggest a workaround?
    Thanks,
    Eric

    Eric - Text input items are escaped on output whether they are read-only or not. But to answer your question generally, APEX does not emit input items of any type to the browser without escaping them unless there is a guarantee that they have been escaped on input, e.g., when passed in through the URL, or that they acquired their value from within the application. These guarantees apply only to non-POSTable item types such as Display As Text (does not save state) items and a couple others. So in short, we observe the rule (which should be observed by app developers) that it is never safe (from an XSS-protection standpoint) to emit a POSTable item without escaping it first.
    In your case, can you define a safe item type (Display as Text, does not save state) and set its source to the markup-containing item that you are now displaying as read-only? If so, you can conditionally display only the safe one and hide the other.
    Scott

  • Making Read Only A select List Item

    Hi,
    I am using Application Express 3.1.1.00.09 version.
    If the date field is future date then the Select List field should become Read only.
    I tried to make "read only".
    When I made it "read only" '>[] is displayed???
    Does some one have a solution?
    Thanks,
    Priyanka.

    Hi Leckraj,
    I assume that
    the select list is not displayed at all.means that your page item is not rendered as a select list input control, but it's rendered as text only, right? That's the nature of the read only condition, it will render almost all controls as text only.
    About the dynamic action solution. That can be simplified and doesn't require a hidden item or JavaScript.
    1) Create a dynamic action which fires for the "Page Load" event
    2) As (Server Side) Condition Type set "exists (SQL quer returns...)" and specify your SQL statement
    3) Use a "Disable" action to disable your select list page item
    The above dynamic action will only be included and executed on the page, if the SQL statement returns a value.
    Note: Please keep in mind that dynamic actions are browser based operations, for a skilled user it's no problem to enable the select list and modify the value. To secure it you should add a server side validation to verify if the user is really allowed to modify the value. That's the difference to the "Read Only Condition", because in that case the APEX engine guarantee that the value can't be modified.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Send all line items of a sales order to IPC along with condition lines data

    We wrote some pricing routines in R/3, where while doing he calculations for condition line item, we needed to pull in the material information for previous line items. So we exported vbap and imported it inside the routine to be able to have access to all the line items in the sales order. Now, we need to put in the same kind of logic in CRM/IPC. My question is what would be the equivalent of SAP's(import/export) commands for internal tables in case of IPC. I looked at the BADI CRM_COND_COM_BADI but still do not see how I can send all the line items  data to IPC. So I guess, the question comes down to, how do I send all the line items of the sales order (whole VBAP in R/3 terms) to IPC along with the condition line data? Can someone please help?
    Thanks

    Hi Vaibhav,
    If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup  or navigation attribute.
    Just my views I am sharing .
    Thanks,
    KDJ

  • FMs to get the order items list for an order template

    Hello everyone,
    I'm looking for sap FMs (or tables) to get the order items list for a given order template in CRM backend.  Any advice/suggestions?
    Thanks, Jin

    Hello Jin,
    Function module CRM_ORDER_READ with either the Header GUID will give you everything about the order and you can optimize the call by limiting the sets you want to get in the export tables.
    The item list (administration data) can be from ET_ORDERADM_I and the details about the products can be found from ET_PRODUCT_I
    FYI, this will work for any transaction - Order, Quotation and of course Order Templates too.
    Easwar Ram
    http://www.parxlns.com

  • Filling Item Attached Data with Order Information

    Hello Experts,
    we run CRM 7.0 with EHP and have out Interaction Center connected to the CCS Simulator and it works pretty good.
    We can demo varios szearions like incomming calls with automatic customer identification and forwarding the call to another agent including the customer information.
    Now I want to include the Reference to a started order into the item attaced date such that the receiving agent gets the order and can complete it.
    But I just do not manage ti include the Orderreference into the item attached date.
    Can anybody help me?
    Thanks a lot.
    Michael Schöne.
    Edited by: Michael Schöne on Mar 10, 2011 3:57 PM

    Hi Michael,
    Kalees is right, in order to include Orderreference into the Item Attahced Data you need to add this variable as a KVP (Key Value Pair) in your XML file on the CMS side.
    Also, you have to add it in the CRM configuration for yoru CAD Group profile (for your Business Role) - transaction CRMC_IC_CAD.
    Below, the  <Application id="Genesys-CAD"> - is the name that has to be the same as CAD Group profile in CRMC_IC_CAD.
    After customer calls and enters the Order reference thru IVR, the result of XML will like like this:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <ItemAttachedData>
    <Application id="Genesys-CAD">
    <BPNUMBER>12356</BPNUMBER>
    <CALLTYPE>Outage/CALLTYPE>
    <ORDERREFERENCE>zzz</ORDERREFERENCE>
    </Application>
    </ItemAttachedData>
    It'salso nice to display the CAD in teh Alerts area, like Kalles mentioned, if you have EhP1 and enabled the Business function profile framework switch CRM_IC_CEBP (transaction SFW5).
    Regards,
    Vadim.

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

  • Vendor line item display with internal order

    In Vendor line item display is it possibe to see details of the line item of offsetting account .
    For example a expense account is debited & vendor account is credited .At the time expense account debit a internal order has been assigned in line item.
    User wants to see the vendor line item display ( T code FBL1N) with details of internal order appearing in open  line items display  etc .
    Is this possible .I created a layout with order as a field but order does not show any values in the line display of vendor.
    Please revert back if this can be possibe.
    Thanks
    Manoj

    with a combination of notes
    112312 - Line item - Display of offsetting ac information
    373268 - Line item - new display field
    569939 - Line item - Open FI - Absolute amounts
    1034354 - FAGLL03 - Display of offsetting account information
    you should be able to get it there.

  • Production Order and Internal Order for each item of the sales order

    Hi
       I am developing Make To Order Report where I have to display the MTO Line Items and non MTO Line Items. For non MTO Line Items I have to display Internal order with Planned and Actual Costs and also Production Order with Planned and Actual Costs. Could anybody tell how to get the Internal order no and production order with Planned and Actual costs for each line item for a sales order.
    Thanks
    Naga

    Hi,
    You can get the Production orders, Planned orders, Internal orders generated for Sales order item from AFPO table (use fields KDAUF-Sales order number & KDPOS-Sales order item). Then to identify the order type use order category (AUTYP) from table AUFK.
    Once you have the Production/internal order, you can ge the cost from COSS and COSP table. Use the object number from AUFK to get the cost entries from COSS & COSP.
    You can use the following sample code as reference.
    Hope this is helps.. (Don't forget to mark it... )
    Form GET_COSTS                                                       *
    Get the material cost, labour hours and the labour cost for the      *
    sales order material.                                                *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_COSTS.
      DATA V_OBJNR LIKE AUFK-OBJNR.
    DATA v_menge LIKE vbap-kwmeng.
      SELECT SINGLE OBJNR
        INTO V_OBJNR
        FROM AUFK
       WHERE AUFNR EQ AFPO-AUFNR.
      SELECT * FROM COSS
       WHERE OBJNR EQ V_OBJNR
         AND WRTTP IN ('01', '04'). " p_wrttp. "Labour Cost ( Plan, Actual)
        PERFORM GET_VALUES_FROM_COSS.
      ENDSELECT.
      SELECT * FROM COSP
       WHERE OBJNR EQ V_OBJNR
         AND WRTTP IN ('01', '04')         " p_wrttp
         AND KSTAR NE '0000510033'. " EQ p_kstar2.      "Material Cost
        PERFORM GET_VALUE_FROM_COSP.
      ENDSELECT.
    Get the unit cost of the production order by dividing the production
    cost by the order quantity. The result will be multiplied by the
    GL posting qunatity (Delivery quantity) to get the production cost
    for the quantity being deluivered.
      IF NOT AFPO-PSMNG IS INITIAL.
        OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_HOURS_ACT =
                          OUT_REC-ADDNL_LABOUR_HOURS_ACT / AFPO-PSMNG.
        OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_HOURS_PLN =
                         OUT_REC-ADDNL_LABOUR_HOURS_PLN / AFPO-PSMNG.
        OUT_REC-LABOUR_COST_ACT = OUT_REC-LABOUR_COST_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_COST_ACT =
                         OUT_REC-ADDNL_LABOUR_COST_ACT / AFPO-PSMNG.
        OUT_REC-LABOUR_COST_PLN = OUT_REC-LABOUR_COST_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_COST_PLN =
                         OUT_REC-ADDNL_LABOUR_COST_PLN / AFPO-PSMNG.
        OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_MATERIAL_COST_ACT =
                         OUT_REC-ADDNL_MATERIAL_COST_ACT / AFPO-PSMNG.
        OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_MATERIAL_COST_PLN =
                         OUT_REC-ADDNL_MATERIAL_COST_PLN / AFPO-PSMNG.
      ENDIF.
    Multiply the calculated Unit Production costs with the GL quantity to
    get the actual production cost of the quantity delivered.
    Calculation for Labour Hours
      OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT *
                                 OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_HOURS_ACT = OUT_REC-ADDNL_LABOUR_HOURS_ACT *
                                 OUT_REC-QUANTITY.
      OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN *
                                 OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_HOURS_PLN = OUT_REC-ADDNL_LABOUR_HOURS_PLN *
                                 OUT_REC-QUANTITY.
    Calculation for Material Cost
      OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_MATERIAL_COST_ACT =
          OUT_REC-ADDNL_MATERIAL_COST_ACT * OUT_REC-QUANTITY.
      OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_MATERIAL_COST_PLN =
          OUT_REC-ADDNL_MATERIAL_COST_PLN * OUT_REC-QUANTITY.
    Calculation for Labour cost
      OUT_REC-LABOUR_COST_ACT   = OUT_REC-LABOUR_COST_ACT *
                                   OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_COST_ACT = OUT_REC-ADDNL_LABOUR_COST_ACT *
                                  OUT_REC-QUANTITY.
      OUT_REC-LABOUR_COST_PLN   = OUT_REC-LABOUR_COST_PLN *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_COST_PLN = OUT_REC-ADDNL_LABOUR_COST_PLN *
                                  OUT_REC-QUANTITY.
    Get the planned material cost from the total of the planned cost of
    the component materials in the production order confirmations.
      SELECT BWART MENGE MATNR SHKZG FROM AUFM
        INTO (AUFM-BWART, AUFM-MENGE, AUFM-MATNR, AUFM-SHKZG)
       WHERE AUFNR EQ AFPO-AUFNR.
        CHECK AUFM-BWART NE '101'.
        READ TABLE I_MBEW WITH KEY MATNR = AUFM-MATNR
                                   BWKEY = AFPO-DWERK.
        IF SY-SUBRC NE 0.
          SELECT MATNR BWKEY ZPLPR LPLPR PEINH
            FROM MBEW
            INTO I_MBEW
           WHERE MATNR EQ AUFM-MATNR
             AND BWKEY EQ AFPO-DWERK.
            APPEND I_MBEW.
          ENDSELECT.
        ENDIF.
        IF SY-SUBRC EQ 0.
          IF I_MBEW-ZPLPR NE 0.
            IF AUFM-SHKZG EQ 'H'.
              OUT_REC-PLANNED_MATERIAL_COST =
              OUT_REC-PLANNED_MATERIAL_COST +
                           ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ELSE.
              OUT_REC-PLANNED_MATERIAL_COST =
              OUT_REC-PLANNED_MATERIAL_COST -
                           ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ENDIF.
          ELSEIF I_MBEW-LPLPR NE 0.
            IF AUFM-SHKZG EQ 'H'.
              OUT_REC-CURRENT_MATERIAL_COST =
              OUT_REC-CURRENT_MATERIAL_COST +
                           ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ELSE.
              OUT_REC-CURRENT_MATERIAL_COST =
              OUT_REC-CURRENT_MATERIAL_COST -
                           ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDSELECT.
    Get the Future material cost per Unit by deviding the calculated
    Future material cost above with the goods reciept quantity to, then
    multiply the unit cost with the GL quantity to get the Future material
    Cost for the Quantity delivered. (Quantity in the entery from GLPCA
    Table).
      IF NOT AFPO-WEMNG IS INITIAL.
        OUT_REC-PLANNED_MATERIAL_COST =
           OUT_REC-PLANNED_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
        OUT_REC-CURRENT_MATERIAL_COST =
           OUT_REC-CURRENT_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
      ENDIF.
    ENDFORM.                               " GET_COSTS
    Form GET_VALUE_FROM_COSP                                             *
    Get the Material cost from COSP table.                               *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_VALUE_FROM_COSP.
      FIELD-SYMBOLS: <FS> TYPE ANY.
      DATA: V_COMPONENT TYPE I.
    Cummulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the aprtial posting of
    prodction order values in diffrent periods.
      V_COMPONENT = 15.
      DO 16 TIMES.
        ADD 1 TO V_COMPONENT.
        ASSIGN COMPONENT V_COMPONENT OF STRUCTURE COSP TO <FS>.
        IF COSP-WRTTP EQ '04' AND COSP-KSTAR EQ P_KSTAR2.
          ADD <FS> TO OUT_REC-MATERIAL_COST_ACT.
        ELSEIF COSP-WRTTP EQ '04'.
          ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_ACT.
        ELSEIF COSP-WRTTP EQ '01' AND COSP-KSTAR EQ P_KSTAR2.
          ADD <FS> TO OUT_REC-MATERIAL_COST_PLN.
        ELSEIF COSP-WRTTP EQ '01'.
          ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_PLN.
        ENDIF.
      ENDDO.
    ENDFORM.                               " GET_VALUE_FROM_COSP
    Form GET_VALUES_FROM_COSS                                            *
    Get the Labour cost and Labour hours from the COSS table.            *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_VALUES_FROM_COSS.
      FIELD-SYMBOLS: <FS1> TYPE ANY,
                     <FS2> TYPE ANY.
      DATA: V_COMPONENT1 TYPE I,
            V_COMPONENT2 TYPE I.
    Cummulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the aprtial posting of
    prodction order values in diffrent periods.
      V_COMPONENT1 = 15.
      V_COMPONENT2 = 111.
      DO 16 TIMES.
        ADD 1 TO: V_COMPONENT1, V_COMPONENT2.
        ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
        ASSIGN COMPONENT V_COMPONENT2 OF STRUCTURE COSS TO <FS2>.
        IF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ P_KSTAR1.
          ADD <FS1> TO OUT_REC-LABOUR_COST_ACT.
          ADD <FS2> TO OUT_REC-LABOUR_HOURS_ACT.
        ELSEIF COSS-WRTTP EQ '04'.
          ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_ACT.
          ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_ACT.
        ELSEIF COSS-WRTTP EQ '01' AND COSS-KSTAR EQ P_KSTAR1.
          ADD <FS1> TO OUT_REC-LABOUR_COST_PLN.
          ADD <FS2> TO OUT_REC-LABOUR_HOURS_PLN.
        ELSEIF COSS-WRTTP EQ '01'.
          ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_PLN.
          ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_PLN.
        ENDIF.
      ENDDO.
    ENDFORM.                               " GET_VALUES_FROM_COSS

  • How to identify difference between Configure To Order (CTO) and Engineer To Order (ETO) items

    Hi All,
    We are working on Oracle Database 10g
    We have to develop a code which involves Configure To Order (CTO) and Engineer To Order (ETO) items.
    Can anyone advise is there any table and the corresponding column in the database which will help identify if an item is a CTO or ETO.
    Regards,
    Shruti

    Shruti,
    Have you checked eTRM website? -- http://etrm.oracle.com
    Please also see (How To Find the VIEW or TABLE That Populates a Form So That a 'Custom Report' Can Be Created Using Same VIEW or TABLE (Doc ID 604772.1)).
    Thanks,
    Hussein

  • Authorization check based on item category on sales order (VA01 or VA02)

    I want to be able to restrict authorization of users based on item category. We only want certain users to be able to select a certain item category.  I know I'm going to have to check one of the userexits in MV45AFZZ. The issue I'm having is the authorization object .
    The item category is field VBAP-PSTYV.
    What we are going is having a item category for emergency orders. But this requires more manual steps to associate with the original order. We already have the emergency item categories defined and working (no credit check etc) so there's no reason not to have them added to the original order. The issue is its use has to be restricted so when the user selects an alternative item category it checks whether they have the authority.   
    Any help would be appreciated

    Hi,
    You can achieve this through authorization objects.
    Transaction
    SU20 - Authorization Fields
    SU21 - Authorization Objects
    Create the field PSTYV in the Authorization Fields.
    Then Create the authorization object and include this field along with the standard field ACTVT (which determines what activities can be performed by a certain user i.e. Create, Change or Display) & user-name
    In your your-exit, you can either use the ABAP command AUTHORITY-CHECK or the function-module AUTHORITY_CHECK and pass the values for these fields. The system can perform the test based on this values & based on the sy-subrc value you can restrict the users that are not having the authorization to select item-categories for emergency orders.
    Following link should help you:
    [SAP Authorization Concept|http://help.sap.com/saphelp_wp/helpdata/en/52/671285439b11d1896f0000e8322d00/content.htm]
    Hope that helps you.
    Regards,
    Saurabh

  • Problem while creating new item in the sale order  in case of  Thirdparty

    Dear Gurus
    The following error is coming
    while adding the new item with quantity  in the sale order in case of third party  .
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Update key...   482ACBD89C7D0067E10080000A8C681C
    Can give any idea abt this.
    Rgds
    Surya

    Hi
    This error comes up due to number range problem in the
    tables.
    As you have said this is a third party Sales order, just check if this is relevant to the PR being generated or the Sales order getting created.
    Check the Current number of the PR document type in the EBAN table & check if it is the same for the Number ranges in customizingin OMH7.
    If they are not the same... & the current number in OMH7 is smaller than the Number in the table EBAN , you need to change the current number  equal to the EBAN table.
    If this is the case fior sales orders similarly check for Sales order table & sales order number range object.
    reward points if useful
    Thanks & Regards
    Kishore

  • Order status is still saying processing items

    I ordered my IPad 3 on the 16th of March, so it was after the pre-order thing and I was going to just buy it straight away from a apple store but dicided to order online with engraving and the apple smart cover. Both the items are still saying "processing items". I have recieved an order confirmation email but not the shipped confirmation email unless I didn't read it right but the email just said that they can get it deliverered eariler than expected. This is my first time ordering on the apple website although I have an IPhone 4S which i recieved as a christmas present and I think was brought from o2 so I have no idea how long this would take. Why is it still saying "Processing Items"? Surely it doesn't take apple this long to process the items.

    Further to my original post, I received my iPad on the 29th which was a day after the earliest possible delivery date. The order status did not change until the day before it arrived so don't worru about that. I realised that it had dead pixels, rang up on Thursday evening and arranged for it to be picked up, replacement arrived on the Wednesday after (4th). This one also had dead pixels and a new one arrived today which I hope is not going to have dead pixels! I am impressed by the speed in which they ship out replacements but annoyed at the quality control if I'm honest.

  • Creating Query to show items from open sales orders with a/p invoice

    Hi experts,
    I am trying to create a query that will show what items/quantities are still in open sales orders that can now be filled by an incoming shipment of goods, processed through the a/p invoice.
    This needs to be done using subqueries, which I have no experience with.  I am trying to do this using the ORDR and RDR1 tables to show the open items from the sales orders and the OPOR and POR1 tables to show items just received in to inventory.  I would like the query to show exactly the open item's, their quantities, the posting date from the sales order and the customer name that can now be filled from the new shipment through the a/p invoice.
    I appreciate the assistance,
    Hayden (on behalf of Todd)

    Hello,
    try this
    SELECT T0.[DocDate], T1.[ItemCode], T1.[Dscription],( T1.[Quantity] - T1.[DelivrdQty]) As "Open Qty" FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[DocDueDate]  <= [%0]And ( T1.[Quantity] - T1.[DelivrdQty]) != 0
    Try this query in query manager.
    Thanks
    Manvendra Singh Niranjan
    Edited by: Manvendra Singh Niranjan on Jul 13, 2011 6:27 AM

Maybe you are looking for

  • Error File not Found in CS 5.5

    When I go to open up PP CS 5.5 it provides a list of possible projects I can open up. Click on a project and it opens accordingly. However, over the past 2 days it has become problematic. I can click on the listed project but I now receive an error m

  • DS 5.2 patch 4 error log (on Windows 2000 sp4)

    I have a user that has sporadic DS shutdown problems. I honestly know very little about the DS and I'm hoping someone else has seen this. I requested two sets of error logs from: c:\Program Files\Sun\MPS\admin-serv\logs c:\Program Files\Sun\MPS\slapd

  • Complex pricing procedure

    Hi Gurus My client has a requirement whereby they need to bill on materials which have over stayed in their premises in excess of 30 days. The client deals with the business of storage of materials for it customers. They have proposed two levels of t

  • Windows XP SP 1

    I have XP Pro SP 1. It installs fine but when I try to use the driver CD it errors and when I tried to download SP2 from a different computer and then copied to a cd and then tried to install it on the MBP it errored saying something about minimum me

  • Sleeping ipod touch white save batterie

    Does Sleeping ipod touch white save batterie?