How to identify Contract items in a SO

Hi,
I want to display the support Contract Value. If the sales order contains support items then i need to display the support value in the report.For this first i need to identify the support/contract items in a SO.I am not aware about the inventory item types.So how to identify the Contract items in a SO.
Thanks,

If you are using Oracle's service contract functionality, then the contract item type code should be populated.
Run the following to see if Service Contracts is installed.
select status from fnd_product_installations where application_id=515
It seems to me that your client is not using this functionality. They may be creating regular items and assigning a different status or item type. Talk to someone in the Master Data group and find out the process of creating a service item.
Service item is a type of a contract item (other types are warranty, usage and subscription.) Please also go thru' the link I provided earlier.
Sandeep Gandhi

Similar Messages

  • How to Identify an item as a Raw material or not?

    Hello,
    I would like to know how to identify a particular item that is bought, if it is a raw material that will be used for further processing to build any other finished product or if it is a finished product that can be sold directly. I need to find out which table and which column we can find the information from?
    For example, we bought an item like motherboard, which is used as a raw material to build a laptop.
    I suppose it is clear, so, can any one let me know which table has this kind of information. Is it available in the Purchasing module tables like PO_Headers_all, etc..
    Thank you

    Check table MTL_SYSTEM_ITEMS_B, COLUMN BOM_ITEM_TYPE.
    BOM_ITEM_TYPE = 1 (Model)
    = 2 (Option Class)
    = 3 (Planning)
    = 4 (Standard )
    So if BOM_ITEM_TYPE 1 means it is configurable. & 4 means it can be used as raw material as well as individual product ex. keyboard.

  • How to identify BOM items in the report

    Hi,
    I have a requirement from the user that they want to exclude all BOM items from the report which is showing all the Items.So how can i identify those items from the report query??
    Thanks

    SELECT DISTINCT
    DECODE (ooh.flow_status_code,
    'PENDING_CUSTOMER_ACCEPTANCE', NULL,
    'DRAFT', NULL,
    'DRAFT_CUSTOMER_REJECTED', NULL,
    'DRAFT_SUBMITTED', NULL,
    ooh.order_number)
    Ord,
    ottt.name ord_type,
    ooh.ordered_date Order_Date,
    ooh.quote_number quote_no,
    ool.line_number LNum,
    ooh.flow_status_code Order_status,
    -- hca.account_number Customer_number ,
    ool.flow_status_code line_status,
    PAB.PARTY_NAME bill_Customer_Name,
    ACB.ACCOUNT_NUMBER bill_Customer_number,
    PAS.PARTY_NAME ship_Customer_name,
    ACS.ACCOUNT_NUMBER ship_to_Customer_Number,
    ool.unit_selling_price selling_price,
    ool.unit_list_price list_price,
    ool.ORDERED_ITEM pNum,
    ooh.booked_date Date_booked,
    ool.Actual_shipment_date Ship_date,
    ooh.header_id header_id,
    mtl.description pDesc,
    gcc.segment4 Revenue_account,
    -- ooh.shipping_instructions,
    REPLACE (ooh.SHIPPING_INSTRUCTIONS, CHR (10), ',')
    shipping_instructions,
    ool.schedule_ship_date SSD,
    DECODE (ool.flow_status_code,
    'BOOKED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_FULFILLMENT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RETURN_DISPOSITION', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'ENTERED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RETURN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RECEIPT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SHIPPED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'PENDING_CUSTOMER_ACCEPTANCE', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT_INTERNAL_REJECTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_SHIPPING', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'OFFER_EXPIRED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE_I', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'XXMI_WAIT_MSA', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'EXTERNAL_REQ_REQUESTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT_SUBMITTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'LOST', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'INTERNAL_REQ_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'INTERNAL_REQ_REQUESTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'EXTERNAL_REQ_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'PO_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE_E', ool.ordered_quantity,
    NULL)
    Qty_Remning,
    DECODE (ool.flow_status_code,
    'CLOSED', (ool.ordered_quantity * ool.unit_selling_price),
    NULL)
    INV_AMOUNT,
    ool.ordered_quantity - NVL (ool.cancelled_quantity, 0) qua_ord,
    (NVL (ool.ordered_quantity, 0)) * NVL (ool.unit_selling_price, 0)
    Ext_value,
    -- DECODE (Hod_def.Name,'Credit Card Auth Failure', 'Y','N',Hod_def.NAME,'Credit Card High Risk', 'Y','N',Hod_def.NAME,'Credit Check Failure', 'Y','N',Hod_def.NAME,'Credit Note Hold','Y', 'N') Credit_Hold ,
    ooh.cust_po_number PONUm
    FROM apps.oe_order_headers_all ooh,
    apps.oe_order_lines_all ool,
    apps.mtl_system_items_b mtl,
    apps.org_organization_definitions ood,
    apps.gl_code_combinations gcc,
    AR.HZ_PARTIES PAH,
    AR.HZ_CUST_ACCOUNTS ACH,
    AR.HZ_CUST_SITE_USES_ALL SUB,
    AR.HZ_CUST_ACCT_SITES_ALL STB,
    AR.HZ_CUST_ACCOUNTS ACB,
    AR.HZ_PARTIES PAB,
    AR.HZ_CUST_SITE_USES_ALL SUS,
    AR.HZ_CUST_ACCT_SITES_ALL STS,
    AR.HZ_CUST_ACCOUNTS ACS,
    AR.HZ_PARTIES PAS,
    apps.oe_transaction_types_tl ottt,
    apps.per_all_people_f papf
    -- apps.OE_ORDER_HOLDS_ALL ooha,
    -- apps.OE_HOLD_SOURCES_ALL ohsa
    -- ,apps.OE_HOLD_DEFINITIONS Hod_def
    WHERE ooh.header_id = ool.header_id
    AND ool.org_id = NVL (:p_org_id, ool.org_id)
    AND ool.flow_status_code != 'CLOSED'
    --and    ooha.header_id(+) = ooh.header_id
    --and ooha.line_id(+) = ool.line_id
    --and   ohsa.hold_source_id = ooha.hold_source_id
    --and ohsa.hold_id = Hod_def.hold_id
    --and ohsa.RELEASED_FLAG = 'N'
    AND ooh.attribute2 = papf.person_id(+)
    AND ottt.language = 'US'
    AND ooh.order_type_id = ottt.transaction_type_id(+)
    AND ooh.open_flag = 'Y'
    --and ooh.order_number = '40000791'
    AND ooh.SOLD_TO_ORG_ID = ACH.CUST_ACCOUNT_ID
    AND ACH.PARTY_ID = PAH.PARTY_ID
    AND oOH.INVOICE_TO_ORG_ID = SUB.SITE_USE_ID(+)
    AND SUB.CUST_ACCT_SITE_ID = STB.CUST_ACCT_SITE_ID(+)
    AND STB.CUST_ACCOUNT_ID = ACB.CUST_ACCOUNT_ID(+)
    AND ACB.PARTY_ID = PAB.PARTY_ID(+)
    AND oOH.SHIP_TO_ORG_ID = SUS.SITE_USE_ID
    AND SUS.CUST_ACCT_SITE_ID = STS.CUST_ACCT_SITE_ID
    AND STS.CUST_ACCOUNT_ID = ACS.CUST_ACCOUNT_ID
    AND ACS.PARTY_ID = PAS.PARTY_ID
    -- and SOH.CANCELLED_FLAG ='N'
    AND ool.inventory_item_id = mtl.inventory_item_id
    AND ool.org_id = mtl.organization_id
    AND mtl.sales_account = gcc.code_combination_id
    AND ool.org_id = ood.organization_id
    --and    ooh.salesrep_id       = jrs.salesrep_id
    --&LP_INCL_QUOTES
    GROUP BY DECODE (ooh.flow_status_code,
    'PENDING_CUSTOMER_ACCEPTANCE', NULL,
    'DRAFT', NULL,
    'DRAFT_CUSTOMER_REJECTED', NULL,
    'DRAFT_SUBMITTED', NULL,
    ooh.order_number),
    ottt.name,
    ooh.ordered_date,
    ooh.quote_number,
    ool.line_number,
    ooh.flow_status_code,
    --- hca.account_number ,
    ool.flow_status_code,
    PAB.PARTY_NAME,
    ACB.ACCOUNT_NUMBER,
    PAS.PARTY_NAME,
    ACS.ACCOUNT_NUMBER,
    ool.unit_selling_price,
    ool.unit_list_price,
    ooh.shipping_instructions,
    ool.ORDERED_ITEM,
    ooh.booked_date,
    ool.Actual_shipment_date,
    ooh.header_id,
    mtl.description,
    gcc.segment4,
    ooh.cust_po_number,
    (NVL (ool.ordered_quantity, 0)) * NVL (ool.unit_selling_price, 0),
    ool.schedule_ship_date,
    DECODE (ool.flow_status_code,
    'BOOKED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_FULFILLMENT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RETURN_DISPOSITION', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'ENTERED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RETURN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_RECEIPT', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SHIPPED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'PENDING_CUSTOMER_ACCEPTANCE', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT_INTERNAL_REJECTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'AWAITING_SHIPPING', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'OFFER_EXPIRED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE_I', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'XXMI_WAIT_MSA', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'EXTERNAL_REQ_REQUESTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'DRAFT_SUBMITTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'LOST', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'INTERNAL_REQ_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'INTERNAL_REQ_REQUESTED', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'EXTERNAL_REQ_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'PO_OPEN', ool.ordered_quantity,
    NULL, ool.flow_status_code,
    'SUPPLY_ELIGIBLE_E', ool.ordered_quantity,
    NULL),
    DECODE (ool.flow_status_code,
    'CLOSED', (ool.ordered_quantity * ool.unit_selling_price),
    NULL),
    ool.ordered_quantity - NVL (ool.cancelled_quantity, 0)
    -- DECODE (Hod_def.Name,'Credit Card Auth Failure', 'Y','N',Hod_def.NAME,'Credit Card High Risk', 'Y','N',Hod_def.NAME,'Credit Check Failure', 'Y','N',Hod_def.NAME,'Credit Note Hold','Y', 'N')
    -- (hz_loc.Address1||','||hz_loc.Address2||','||hz_loc.City||','||hz_loc.State)
    HAVING (ool.ordered_quantity - NVL (ool.cancelled_quantity, 0)) >
    SUM (NVL (ool.shipped_quantity, 0))
    ORDER BY 1, 2, 3;

  • How to identify parent item & child (component) item??

    Hi
    Plz let me know how we can identify parent item & component item in the same bom?? I am checking it in table STPO but not able to identify.
    Thnx
    Neel

    Hi,
    I hope there is no such indicator to differeciate parent material and child material in same BOM.
    i will explain one simple way to find out.
    Suppose you are  having three Material Number ex P1,C1,C2 .
    Suppose ur having three Material Number ex P1,C1,C2 .
    1.Use table MAST and give the Material List - It will give Parent Material list only(P1)  
    2.Give the BOM Number to table STPO -  It will give child material list of Parent Material BOM(C1,C2) with repect to BOM
    3. Use report CS15  to find out that Parent Material (P1 Material from MAST) material is being used as component in Some other BOM.
    regards
    pradeep

  • How to reject Line Items in a Service Contract?

    Hello friends,
    Can anyone help me understand how do we reject items in a Service Contract? I don't see any Reject field. Is it one of the Status I need to configure for Item Level Status Profile? Even if I add a 'Reject' status, how do I link it to Rejection Reason codes? (I know how to add Reason codes in customizing, but how they are linked to a Transaction type is something I am not finding...).
    Please provide any inputs.
    Thanks.

    HI Navaneethan,
    please try following code.
    make  PEKKO should be internal table with appropraite structure..
    Loop at ZBTXT.
          MOVE ZBTXT-LINE TO PEKKO-ZBTXT.
          append  PEKKO.
         clear  PEKKO.
    ENDLOOP.
    loop at pekko.
    write : / PEKKO-zbtxt.
    endloop.
    if above code is helpful, REWARD POINTS.
    Regards,
    Ranjith

  • How to keep the WBS & Order in account assignment tab of SD contract item?

    Hi Experts,
    If I remove the plant from the shipping tab in the contract item (the contract type is WV), I will be able to enter the WBS or Order in accounting assignment tab. However, if I enter the plant (in order to determine the tax in pricing), the WBS and Order are disappered and there is one new settlement rule button showed up.
    Do you know any configuration could keep the WBS and order in the accounting assigment tab even the plant is there.
    Thanks in advance!
    Norman

    Hi Chandra,
    Thanks for your answer. However, I even added the plant in the WBS, the tax (we use tax jurisdiction) still could not be determined.
    The problem is that SAP changes the account assignment tab screen (it suppresses the WBS and Order fields, but addes settlement rule) with the plant in the shipping tab. Do you know how to keep the same account assignment tab screen with the plant in the shipping tab?
    Thanks,
    Norman

  • How to get the Equipements number and desciption for the contract item ?

    Hi Gurus,
            How to get the Equipements number and desciption for the contract item items? It would gr8 helpful to me...
    VBAP,,EQUI,,,,,,?
    Thanks
    Krisna

    Check with below tables :
    EQUI    Equipment master data
    EQKT   Equipment short text
    EQUZ   Equipment time segment
    Thanks
    Seshu

  • How to identify the times that a item appears in a report.

    Hi community,
    Let me explain the scenario.
    We have developed several reports for its use by the several users of the company. So, we have reports for Management, Administration, Commercials and our Production Users. Let's focus in last ones. Several reports shows the production of our semi-elaborated and elaborated products and the stock of the components needed to build those semi-elaborated and elaborated products.
    Our Production users, wants to know how to include a calculated column that shows the times that an item appears in the report (or if there is a way to show in the report, how many times an item appears in it).
    We have just trried to create a calculated column including in it the COUNT_DISTINCT function (using its both expressions), but we do not understand all the parameters.
    So can anyone in the community help us?
    Thanks in advance for your help and assistance.
    Luis.

    Hi,
    It all depends on what information you have in your report and what data items are available in the database.
    If you have a grouped report (group sort) so that you have one line for each product, then you can use COUNT_DISTINCT(item_id) as a grouped function. This will give you the number of different not null item_id's found in the group.
    However, if your report is not grouped by product, so for example, you have many component lines for each product but you want to show one figure for all the product components lines then you need to use COUNT_DISTINCT(item_id) as an analytic function. The COUNT_DISTINCT(item_id) OVER (PARTITION BY product_id) will give you the number of not null item_id's for each product_id in the report.
    If you have the time when an item is added to the database then you may want to use the group function MIN(time_of_item) to show the earliest time in the report.
    Rod West

  • How to identify relevant BADIs to hide a screen field from specific users

    We have a business requirement to hide a document item field (BSEG-XREF3) from specific users (i.e make the field invisible if the userid does not exist in a Z table) during FI invoice entry/maintenance/display via transactions FB01, FB02, FB03, FV50, FV60, FBV0, etc..  We know that it would be possible to do this via modification to the Process Before Output sections of LF040O00, LFDCBFM0, MF05AO00_DYNPRO_MODIFIZIEREN, MF05LO00, but would prefer to avoid modification if possible. 
    I believe that BADIs could possibly be used for screen enhancements, but have not had any previous exposure to BADIs, so I'm really not sure whether it's possible to use BADIs for our specific requirement.  For example, using the advice given in the 2nd post in thread BADI for contract, I've searched SAPMF05A for all 'CALL METHOD cl_exithandler=>get_instance' statements, and have found that a single BADI (FBAS_CIN_MF05AFA0 - EWT - Downpayment Clearing - Tax transfer for CIN) seems to exist for FB01.  The description of this BADI sounds completely inappropriate for our requirement.  However, subsequent posts in that thread suggest far more BADIs for the relevant transaction than were given when searching the ABAP for all 'CALL METHOD cl_exithandler=>get_instance' statements, so I'm not convinced that the procedure I'm following will provide me with all the relevant BADIs for the transaction.
    Please can you advise me how to identify which BADIs - if any - can be used to control screens before output for FB01 screen SAPMF05A/332 (SAP R/3 4.6C)? 
    Many thanks in anticipation,
    Jules

    Hi Kuntal,
    Thank you very, very much for your prompt response and very useful alternative suggestion.
    The screen variant solution would be invaluable under different circumstances, but would be too complex to administer for this particular issue because we're trying to hide the field from unauthorised users in over 100 invoice entry/maintenance/display transactions. 
    We can make a Process Before Output modification to 4 SAP standard programs (LF040O00, LFDCBFM0, MF05AO00_DYNPRO_MODIFIZIEREN, MF05LO00) to make the field invisible for unauthorised users (i.e. whose user-ids are not in a Z* table), but would prefer to avoid modification if we could use BADIs instead.  You've said that you're not sure how we can identify the relevant BADIs, but I very much appreciate the suggestion you've made anyway - it might be useful to others who find themselves in a similar situation for a more limited number of transactions.
    Please can someone advise me how to identify which BADIs - if any - can be used to control screens before output for FB01 screen SAPMF05A/332 (SAP R/3 4.6C)?
    Many thanks,
    Jules

  • Addition of new tabs under contract item screen in SRM 7.0

    Hello Experts,
    My requirement is to add the three new tabs with custom fields under the contract item screen.
    I thin i have to user web-dynpro ABAP for this requirement since it is SRM 7.0. Once i developm the web dynpro applications separately for each tab, how do i integrate those web dynpro with the contract item dynpro and how to populate the values for the new fields added in the tabs. if i want to fetch the data from the custom tables into the tabs, i need to create a new web dynpro where i will write the logic to fetch the values, but to fetch the values i should first get the input data from the contract scrren which is a standard application. In the new tabs, i need to display and edit values for demands ( purchase requisitions ) for that contract line items, so i sould get the material number, year of demand, purchasing organisation etc from the contract screen. So it means i have to enahnce the main screen for contract item.
    Please advise how to achieve this.
    I have seen the details for adding a new fields to the the contract item scrren and some oss notes  , but here i need to add the new tabs and custom fields into that and i need to integrate these data with the contract line item.
    Your help is very much appreciated
    Regards,
    Srinath

    Hi,
    I think you need to enhance the existing WebDynpro.
    Just FYI.  Good to know WebDynpro side enhancement techniques.
    6 series on User Interface flexibility in WebDynpro ABAP.
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=%22abapUIFlexibility%22
    ABAP UI Flexibility Part 1: Demo Overview
    ABAP UI Flexibility Part 2: Floorplan Manager
    ABAP UI Flexibility Part 3: Feeder Classes
    ABAP UI Flexibility Part 4: BADIs
    ABAP UI Flexibility Part 5: BRF+
    ABAP UI Flexibility Part 6: Looking Ahead to 7.02
    Regards,
    Masa

  • BAPI_SALESORDER_CREATEFROMDAT2 with reference to a contract item

    Hi all,
    i'm having troubles creating an order with reference to a contract item on item level.
    My order is created and also a reference to the contract item is created on item level, but no conditiions are copied from the contract item (no conditions at all are filled)!
    Anyone with an idea?
    Many thanks!
    Siegfried
    Here my code:
    Order Header data
      ls_order_header_in-doc_type        = 'TA'.
      ls_order_header_in-sales_org       = i_basket_head-vkorg.
      ls_order_header_in-distr_chan      = i_basket_head-vtweg.
      ls_order_header_in-division          = i_basket_head-spart.
      ls_order_header_in-incoterms1      = i_basket_head-inco1.
      ls_order_header_in-incoterms2      = i_basket_head-inco2.
      ls_order_header_in-po_method       = 'INT'.
      ls_order_header_in-req_date_h      = i_basket_head-ketdat.
      ls_order_header_in-purch_no_c      = i_basket_head-bstnk.
      ls_order_header_in-purch_date      = sy-datum.  
      ls_order_header_in-refdoctype      = 'KM'.
    Order partners
      ls_order_partners-partn_role    = 'WE'.
      ls_order_partners-partn_numb    = i_basket_head-kunnr_we.
      APPEND ls_order_partners TO lt_order_partners.
      ls_order_partners-partn_role    = 'AG'.
      ls_order_partners-partn_numb    = i_basket_head-kunnr_ag.
      APPEND ls_order_partners TO lt_order_partners.
      CLEAR: lv_counter_posnr, lv_counter_sched.
      LOOP AT it_basket INTO ls_basket.
        lv_counter_posnr = lv_counter_posnr + 10.
        lv_counter_sched = lv_counter_sched + 1.
    Order items
        ls_order_items_in-itm_number    = lv_counter_posnr.
        ls_order_items_in-po_itm_no     = lv_counter_posnr.
        ls_order_items_in-material      = ls_basket-matnr.
        ls_order_items_in-ref_doc_ca = 'G'.
        ls_order_items_in-ref_doc       = ls_basket-vbeln.
        ls_order_items_in-ref_doc_it    = ls_basket-posnr.
       ls_order_items_in-target_qty    = ls_basket-quant.
        ls_order_items_in-target_qu    = 'TO'.
        ls_order_items_in-purch_date    = sy-datum.
        APPEND ls_order_items_in TO lt_order_items_in.
    Scheduling lines
        ls_order_schedules_in-itm_number = lv_counter_posnr.
        ls_order_schedules_in-sched_line = lv_counter_sched.
        ls_order_schedules_in-req_date   = i_basket_head-ketdat.
        ls_order_schedules_in-req_qty    = ls_basket-quant.
        APPEND ls_order_schedules_in TO lt_order_schedules_in.
      ENDLOOP.
      CLEAR: lv_salesdocument.
    Create R/3 sales order
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
          order_header_in    = ls_order_header_in
        IMPORTING
          salesdocument     = lv_salesdocument
        TABLES
          return                  = lt_return
          order_items_in     = lt_order_items_in
          order_partners     = lt_order_partners
          order_schedules_in = lt_order_schedules_in.

    Hi
    how many contracts you have for this material / material group .
    if you have only one contract system automatically assigned to sc.
    assume that you dont assign any source of supply and cart came to cockpit
    take your item into cockpit and click propose source of supply . now all avaialble contract must be available for sourcing or
    you can manually enter the contract and item number in the cockpit and create a PO
    if you dont get a respective contract  for respective material - there is something wrong on the contract. what type of contract . what is the status of the contract
    muthuraman

  • Contract item as a Maintenance item in M Plan

    Hi PM Gurus,
    I have 2 questions:
    We have a requirement where we need to maintain items of Customer Contracts periodically. Hence M Plans need to be used.
    Q1.In Maintenance plan under the tab Item, subscreen Planning data, there is a field to attach Sales document/document item which can be a contract/contract item. Prerequistite is Call object type should be a service order type which we have configured and can enter. However the problem is Sales document field is appearing to be greyed out and the attachment of sales document is also seeming locked. Does this field needs to be enabled in configuration.How do I enable it?. (SAP Version 4.6C)
    Q2. Can sales order be call objects of maintenance plans?

    Hi,
    You can create a maintenance plan with reference to an outline agreement, you can simplify the processing of services which you have agreed for service objects in outline agreements. You can read more about it if you follow the link.
    Rgrds/Håkan

  • How to identify the version of InDesign application used to produce an InDesign document

    Is there a way to identify the version of the InDesign application(CS/CS2/CS3) where the Document was originally created?
    Can we use InDesign CS3 server to open a CS2 document to do some relinking and save it again as a CS2 document without converting the document to CS3 version? If not, how to identify and not open the documents produced by previous versions of InDesign application?
    Thanks in advance.

    Hi,
    you can test the Creator. In addition however the document must be opened. If it is a CS2 document, closes document again without to save. I did not test it. Would have to function however.
    JavaScript Example:
    try {
    var creator = app.documents.item(0).metadataPreferences.creator;
    catch(e){}
    alert( "The creator = " + creator );
    Greeting Andreas

  • Contract item customer fields not getting saved from ITS side??

    Hi there,
    I have had to add "account assignment" details to a contract item (3 fields: account assignment, G/L account and cost center)...
    All is going fine....in fact the 3 fields have been added on the contract item level in function group BBP_CTR_UI_ITS screen 4100. I followed the instructions in SAP note number 458591 "user defined fields: preparation and use"...
    The 3 fields I added where "generated" down to SAP table level and now appear in table BBP_PDIGP...
    Also when I create a contract from transaction BBP_CTR_MAIN and fill my 3 new fields in on the item level all works fine when I release the contract...the contract item gets created and the 3 new fields appear nicely in table BBP_PDIGP....so from the GUI side all is PERFECT...
    I have worked on the ITS side of things quite a bit but now I clearly don't understand something...
    I go to "internet service" BBP_CTR_MAIN - template SAPLBBP_CTR_UI_ITS 4100.....I have added my code and my 3 fields display perfectly on the web page....for each contract item.....
    As I said I can make the contract with the 3 new fields filled perfectly via the GUI (transaction BBP_CTR_MAIN)....and if I VIEW that contract on the web it also displays perfect with the 3 filled in fields....
    If I COPY that contract.....and save the new one, the 3 fields are still fine, all saved.
    NOW COMES THE PROBLEM:-)
    If I create a new contract from the web, fill in my 3 fields on the contract item level THE 3 FIELD VALUES SEEM TO NOT GET POSTED BACK AND SAVED IN THE SRM DATABASE...
    I have tried everything from using FIELD-GET, FIELD-SET...the note I mentioned above mentions some BADI's that I could possibly use:
    BBP_CUF_BADI_2 (modify screen methods etc)
    BBP_DOC_SAVE_BADI
    All I really want to try understand is how interaction between the user clicking on the web page and the SAP GUI screen flow is really happening.....I mean I see in function group BBP_CTR_UI_ITS there are a number of function modules with ITS in them, are those function modules just called when the user is clicking on the web (via ITS etc) - I would assume so...
    Bottomline is I need what is happening in the SAP GUI to happen on the web as well.....it is almost there, I just need a push in the right direction so that I can grab the fields from the web page, in the most standard way possible.
    Thanks for the help, I am very curious to see how this sort of solved.
    Regards
    Lynton

    He Yann,
    We are running SRM 3.0, EBP 4.0 - support pack 8
    Thanks for the help
    Lynton

  • CRM-ISU: Need to change the END date and Start Date for contract items

    Hi,
    There is an old contract item for which  I need to change the end date
    and there is a new contract item for which I need to change the start date.
    I need to change the contract item end date and start date using some function module in IS-U system (may be as RFC to CRM).Pleaselet me know if any body is ware of this functionality?
    I am aware of a FM EECRM_CONTRACT_DATE_CHANGE which may be used for changing End Date
    but how to change the start date of a new contract item?
    Please let me know if any body is aware of this?
    Thanks

    Hi,
    Hope you can solve it by this [Link1|Re: Function modules; [link2|CRM material;.
    Regards,
    Surjith

Maybe you are looking for

  • Creating follow up via report

    HI Experts, I have requirement to create follow up document via report program from quote to sales order. For this I am reading details from crm_order_read and passing to crm_order_maintain. I am able to create sales order but not able provide link i

  • How can I stream from my macmini to my apple tv

    How can I stream from my desk top to my apple tv. My Wi-Fi network is up and working and I'm able to watch all the netflix, youtube and hulu content endlessly. But how can I also stream directly from my dektop?

  • System is taking Exchange Rate Value from PO at the time of MIRO

    HI GURUS, The problem is that the system is taking the value of exchange rate from PO when we are doing MIRO. We do not tick the field -fixed rate -in PO but still the system is taking the value of exchange rate from PO and not from the exchange rate

  • Will spry show a javascript function from an external page?

    I have two pages http://www.autosnetfree.com/clock_buttonajax.php //this page has the spry calling the external page. http://www.autosnetfree.com/clock_auction1.php //this page has a countdown clock to a future date The buttonajax page has a submit b

  • Custom infotype display in ESS ERP 2004

    Hi gurus, The personal information infortype and address infotype of the system has custom fields. In ESS for ERP2004 how do I display these fields in the personal information and address iViews. I guess these do not come by default. Then how do we g