Documentation for Service Contract API

Hi All,
Sub: Any Documentation For The Public API's OKS_CONTRACTS_PUB,
OKC_CONTRACTS_PUB.
Firstly i would like to say Thank You for spending your valuable time for this Query.
Introduction:
Currently i am working in Oracle Service Contracts module, which is Oracle
Application's CRM module.
Specifications:
oracle application version: 11.5.10.2
Data Base version: oracle 9.2.0.6
Problem:
We are trying to integrate the Service Contracts through following Public API's
with web.
API's are:
OKS_CONTRACTS_PUB,
OKC_CONTRACTS_PUB.
I search so much to the documentation for these API's, but i did not get any thing.
I search in Oracle Meta Link, Google.
Could you help If any Documentation If you find (or) you have ?
Please forward to:
[email protected]
[email protected]
Any help from your side will appreciate.
Thank you.
Regards,
Sai Krishna @cavaya

Look at this link you will be able to get some information about the Api
http://mywebpages.comcast.net/muzaffarl/whitepaper/02d.pdf
If you find any document regarding this Api other than this kindly let me know.

Similar Messages

  • Documentation of Service Contracts API -- OKS_COVERAGES_PUB

    Hi All
    We have a requirement in the OKS Service Contracts Module, in which a Concurrent Program has to be created, such that it will detach the old coverage template and attach the new coverage template to the existing contracts.
    We tried with the Standard API (“OKS_COVERAGES_PUB.DELETE_COVERAGE”, “OKS_COVERAGES_PUB.CREATE_ACTUAL_COVERAGE”)
    but we are not able to get the desired results.
    The API Works for only those service line ids of the contract which has the status “Entered”. For service line ids of status other than “Entered” the API throws an error.
    Error Message Details – (x_return_status – ‘E’, x_msg_count – 1, x_msg_data – ‘OKC’)
    We don’t know exactly the limitation of the API and there is no detail available about these API in both Service Contracts Development and API reference guide.
    Kindly provide me some documentation related to this API to this mail id [email protected]
    Thanks in Advance.
    Thanks & Regards
    Sivakumar

    Hi,
    i want to add the lines and covered product to the existing contract.
    Cuold you please suggest me the API for the same.
    Thanking you in anticipation.
    Regards,
    Reena
    Edited by: user10829701 on Mar 27, 2009 1:34 AM

  • How to get price list line id for service contract line(subline)

    Does some one know how to find a price list line id for service contracts line (sub line)?
    There is actually a column in table okc_k_lines_b which is called price_list_line_id, but it looks like it is never used (all columns values are NULL). I have tried to investigate reprice API's which are used in contracts authoring form, but they are too huge and it didn't lead to nay result. There is a way (bad hack), by calling OKS_QP_INT_PVT.COMPUTE_PRICE it is possible to get price list line id by which contract line is priced, it would be kina fine if I would need to find line id for some rows, but it wont work for thousands!
    Is there some proper way how could I get price list line id by which is service contract line priced?

    Hi,
    Check out the following query that gets the price_list_id on subline_level and more.
    The price_list_Id is stored as a rule.
    SELECT
    chd.contract_number
    , par.party_number
    , par.party_name
    , ldf.pas_nummer
    , ldf.pas_houder     
    , rh.object1_id1 hdr_price_list_id
    , rsl.object1_id1 sl_hdr_price_list_id
    , pld.parkeerterrein
    , msi.segment1
    , sit.description
    FROM
    okc_k_headers_b chd
    , okc_k_lines_b clt
    , okc_k_lines_b cls
    , okc_k_lines_b_dfv ldf
    , okc_k_items cit
    , okc_rule_groups_b rgh
    , okc_rules_b rh
    , okc_rule_groups_b rgt
    , okc_rules_b rtl
    , okc_line_styles_b lst
    , okc_rule_groups_b rgs
    , okc_rules_b rsl
    , okc_line_styles_b lss
    , qp_list_headers_b plh
    , qp_list_lines pll
    , qp_list_lines_dfv pld
    , qp_pricing_attributes pat
    , mtl_system_items_b msi
    , mtl_system_items_tl sit
    , hz_cust_accounts cac
    , hz_parties par
    WHERE
    rgh.chr_id = chd.id
    AND rh.rgp_id = rgh.id
    AND rh.jtot_object1_code = 'OKX_PRICE'
    AND cac.cust_account_id = rtl.object1_id1
    AND par.party_id = cac.party_id
    AND clt.chr_id = chd.id
    AND clt.lse_id = lst.id
    AND lst.lty_code = 'SERVICE'
    AND rgt.cle_id = clt.id
    AND rtl.rgp_id = rgt.id
    AND rtl.jtot_object1_code = 'OKX_CUSTACCT'
    AND cls.cle_id = clt.id
    AND cit.cle_id = cls.cle_id
    AND cit.jtot_object1_code = 'OKX_SERVICE'
    AND cls.lse_id = lss.id
    AND lss.lty_code = 'COVER_ITEM'
    AND cls.id = rgs.cle_id
    AND rgs.id = rsl.rgp_id
    AND rsl.jtot_object1_code = 'OKX_PRICE'
    AND plh.list_header_id = rsl.object1_id1
    AND plh.list_header_id = pll.list_header_id
    AND pll.rowid = pld.row_id
    AND pat.list_header_id = pll.list_header_id
    AND pat.list_line_id = pll.list_line_id
    AND cit.object1_id1 = pat.product_attr_value
    AND cit.object1_id2 = chd.authoring_org_id
    AND msi.inventory_item_id = cit.object1_id1
    AND msi.organization_id = cit.object1_id2
    AND sit.inventory_item_id = msi.inventory_item_id
    AND sit.organization_id = msi.organization_id
    AND sit.language = userenv('LANG')
    AND cls.rowid = ldf.row_id
    Hth,
    Martin
    Edited by: mvdons on 4-sep-2008 2:13

  • How to create service items and sales order for service contracts.

    Hi,
    I have created item using Purchased Item template and one more item(service item) using service /warranty program template. Then I have used these items to create sales order with service item in it and closed that order , but Iam not getting this order in service contracts. Is this right way to create sales order for service items. I
    item name:- personal_computer
    copied from purchased order template. service is enabled and install base is checked and enable service coverage is enabled.
    item name:- service_item
    copied from service /warranty program template
    service is selected to inactive,
    service type: service
    duration: 1 year
    template: Gold
    and saved the item.
    Then I have used these two items in sales order for service contracts. But that sales order is not hitting in service contracts. Is there any error with item creation.
    Thanks,
    Bharat G.

    Following SAP Notes to be referred for Service Tax:
    1.     778976 u2013 Service Tax and Ecess on Service Tax
    2.     1032265 - SEcess on Service Tax
    Regards
    AK

  • How do I "run" an ldt file for Service Contracts?

    Ref. BugNo. 4450150
    How do I “run” an .ldt file for Service Contracts?
    Do I use FNDLOAD and if so is this the way to do it
    FNDLOAD apps/apps_password 0 Y UPLOAD @FND:OKS_TOP/patch/115/import/US/okskfinv.ldt
    Thanks

    See Note:142483.1
    Subject: How to Define the ORACLE_SERVICE_ITEM_FLEXFIELD

  • BOM IN CRM Only for Service  Contract

    Hello
    We want have a BOM explosion working in CRM for service contracts
    Here are the details :
    We have replicated the materials from ECC to CRM. We are not maintaining any BOMu2019s in ECC.
    The idea is that we maintain the BOM Structure in CRM only, as we donu2019t want to have the Items as a billable item in a position, only for information purposes (or later on for metering)
    We have maintained the product category for the header product in CRM so we are able to maintain depended components
    (Relationship type SCDEC  S Dependent Components (DC) )
    Not we are able to assign dependent component to the header material
    Item category groups:
    We understand that the standard item category groups that should be used are ERLA for the header product and LUMF for the Item product.
    In order to support the same functionality for the given item category group , maintained at the product level in ECC we copied the same setting for the item category group from the standard to
    our settings.
    Standart
    Tx type     Item Cat Group          item category     structure scope
    TA             ERLA                TAQ           A single level Explosion of Structured Product     
    TA         LUMF                TAP                   A single level Explosion of Structured Product     
    So we have copied TAQ to ZTAQ and TAP to ZTAP.
    ZS01 is a copy of SC (service contract)
    Tx type     Item Cat Group          item category     structure scope
    ZS01     ZLEI                       ZTAQ          A single level Explosion of Structured Product     
    ZS01     LEIS                       ZTAP          A single level Explosion of Structured Product     
    But when we use a header product in the service contract, we cannot see the BOM is exploding.
    We have also created some products in CRM with exactly the same Item Category groups as the standard and when we create a standard order (TA) in CRM, the BOM is NOT exploding.
    Questions:
    Is it possible to have the BOM setup only in CRM, like we try to do it?
    Is it possible to use our own item category groups in CRM more is the functionality only working with ERLA and LUMF?
    Is it possible to use the BOM Explosion in Service contracts as well ?
    What steps are we missing to get the BOM explosion in CRM ?
    Thank you for your help
    Frank
    Edited by: Frank Foerstner Foerstner on Dec 9, 2011 12:34 PM

    Thanks Nablan, I could do that for multiple header coming in file. But I have a question for you on BAdI ALM_ME_006_GOODSMVT. I have implemented this BAdI , and this BAdI is called by a function Module ALM_MEREP_006_CREATE. When I test this FM giving the Material , Orderid and Movement type entries, this BAdI is triggered when giving a breakpoint. I've given this code for changing the movement type to 961. Cause the stanadrd scenario does not maintain Movement type 961 in Mobile Asset Management. The Movement type 961 for unplanned Materials comes to SAP and changes to 261 as maiantained by TCOKO table. To bypass this & retain the movement type 961 in SAP I'm using this BAdI. Currently this is what I'm doing and am stuck in the method interface how do I call the method.
    method IF_EX_ALM_ME_006_GOODSMVT~CREATE .
    break-point.
    *DATA : i_ce_goodsmovement TYPE REFERENCE
              ALM_ME_CUSTOMER_ENHANCEMENT.
    DATA : lr_badi_goods_movement TYPE REF TO if_ex_alm_me_006_goodsmvt.
    DATA : ls_user_data TYPE ALM_ME_USER_DATA-USERID.
    *DATA : goods_movement TYPE ALM_ME_MATERIAL_MOVEMENT.
    CALL METHOD lr_badi_goods_movement->create
      EXPORTING
           ce_goodsmovement = ce_goodsmovement
      IMPORTING
           user_data        = ls_user_data
           custom_user_data = ls_ce_user_data
           goods_movement   = goods_movement
      changing
           return           = return[].
    CALL FUNCTION 'ALM_ME_COMMIT_OR_ROLLBACK'
           TABLES
                return = return.
    endmethod.
    Please help me to get the data in this method. How do I call this.

  • Automatic invoice generation for service contract

    Hello,
    I want to create the  automatic invoicce generation for service contract based on the order.
    whenever i raise service contract order system should create the invoice automatically.
    could please let me know the settings?

    Hi JP Reddy
    You can schedule VF04/VF06 for your requirement, such that VF06 will run every 15/30 minutes and will generate billing document for your contracts automatically.
    Else go for Z extension development which will assign as output type to your contract and once triggered it will create invoice.
    try and revert

  • Conditions for service contract

    hello,
    I am creating service contract containing one line item ( i.e.activity) and no. of services in that line item. in the change mode i wanna put some condition on the activity level but not on service code level, but system is not showing the condtion in change mode. for activity level . pls advice

    Hi,
    For service contract you can not assign any condition type.
    You can assign at service level.
    Hope it will help you.
    Regards,
    Manish Agarwal

  • Mile stone billing for  service contract

    Hi gurus,
    can you help me for the following:
    i want to configure mile stone billing for service contract in my client business process,
    can any one send me the complete configuration process steps for mile stone billing.
    I'll reward you full marks,
    Thanks in advance
    nitchel

    Hiya...
    Billing Plan for Milestone Billing
    Milestone billing means distributing the total amount to be billed over multiple billing
    dates in the billing plan.
    As each milestone is successfully reached, the customer is billed either a percentage of
    the entire project cost or simply a pre-defined amount.
    During sales order processing, the system determines from the item category whether a
    billing plan is required and, if so, which type of plan
    The type of billing plan that is determined at this point is set up in Customizing and
    cannot be changed in the sales document.
    Billing plans for periodic billing and milestone billing plans for project-related milestone
    billing have different overview screens so that you can enter data relevant to your
    processing.
    For example, for milestone billing, you must be able to enter data to identify the
    individual milestones.
    IMG configuration requires :-
    1.  Maintain billing plan types for milestone billing in OVBO.
    2.  Define date description in SM30 - V_TVTB.
    3.  Maintain Date Category for Billing Plan Type IN OVBJ.
    4.  Allocate date category in SM30 - V_TFPLA_TY.
    5.  Maintain date proposal for Billing Plan Type in OVBM.
    6.  Assign Billing Plan Type to Sales Documents Type in OVBP.
    7.  Assign Billing Plan Type to Item Categories in OVBR.
    8.  Define rules for determining the date in OVBS.
    Milestone billing is typically used for billing projects, such as plant engineering and
    construction projects. Such projects often include a series of milestones that mark the
    completion of different stages of the work. In the SAP R/3 System, milestones are defined
    in a network along with planned and actual dates for the completion of work. The milestones
    are also assigned to the billing dates in the billing plan.
    Each milestone-related billing date is blocked for processing until the Project System
    confirms that the milestone is completed.
    Delivery-relevant order items for which a milestone billing plan applies are billed on the
    basis of the requested delivery quantity and not on the total of the confirmed quantities.
    The connection between the project and the sales document item is made in the individual
    schedule lines of the item. Each schedule item can be assigned to a network in a project.
    To display the project-related data for a schedule line, proceed as follows:
    In one of the overview screens of the sales document, select
    1.  Item -> Schedule lines.
    2.  Mark the schedule line and select Procurement details.
    The following figure shows an example of milestone billing where only the Contract have
    been billed :
    Order  Item  Turbine    100,000
    Billing Plan
    Billing date Description    %  Value  Billing Block   Milestone   Billing Status
    01-10-94     Contract      10  10,000      -             x           x 
    01-03-95     Assembly      30  30,000      x             x          
    01-04-95     Maintenance   30  30,000      x             x
    01-05-95     Acceptance    30  30,000      x             x
    01-06-95     Final invoice ..    ..        x
    Network/Activities
    Milestone    Estimate      Actual
    Assembly     01-03-95      01-03-95
    Maintenance  01-04-95     
    Acceptance   01-05-95
    For each billing date in a milestone billing plan, you can specify whether the billing
    date is:
    1.  fixed
    2.  always updated with the actual date of the milestone
    3.  updated with the actual date of the milestone, if the date is earlier than the
        planned billing date for the date
    Keep Sapping
    Regards

  • Resuls Analysis for Service Contracts - Revenue in Excess of Billing.

    Dear Experts,
    We are running RA for Service Contracts.
    COntract period is 01/11/2010 to 30/10/2011.   Montlhy Value is 1000, Yearly value 12000
    1) The Billing Plan is Quarterly Billing (deferred).If we Run RA in KKA3.  Planned revenue showing is 12000 / 4 quarters = 3000 .
                                 If we Run RA in KKA3 , the planned revenue shown is 3000 instead of 12000.
    2)                          We have incurred some cost for the month of  November 2010.   If we RUN RA on KKA3 for the month of november 2010 , we should get 1000  as Actual Revenue and 2000  Should be shown in Revenue in Excess of Billing(REB). But it is not showing as Revenue in Excess of Billing.
    Please help.
    Regards,
    Shareeq
    Edited by: K M AHAMED SHAREEQ HUSSAIN on Oct 28, 2010 2:55 PM
    Edited by: K M AHAMED SHAREEQ HUSSAIN on Nov 4, 2010 4:18 PM

    Dear Experts,
    The Planned Revenue problem is solved now. We will have to run a Program(OSS Note). The Revenue in Excess of billing is there. Please help.
    Regards,
    Shareeq
    Edited by: K M AHAMED SHAREEQ HUSSAIN on Nov 7, 2010 4:32 PM

  • RA for Service Contracts.

    Dear Experts,
    We are running RA for Service Contracts.
    The Contract period is 01/11/2010 to 30/10/2011. The Montlhy Value is 1000, so the Total  value of the Contract  is12000
    The Billing Plan is Quarterly Billing (deferred).             We have incurred some cost for the month of November 2010. If we RUN
    RA on KKA3 for the month of november 2010 , we should get 1000 as Actual Revenue and 2000 Should be shown in Revenue
    in Excess of Billing(REB). But it is not showing as Revenue in Excess of Billing.
    Please help.
    Regards,
    Shareeq

    Patch Updated.

  • Need Help in Oracle Service Contracts API -- OKS_COVERAGES_PUB

    Hi All
    We have a requirement in service contracts module, wherein we have to delete the old coverage template of service line of a contract and attach the new template with the service line.
    For this, we are using OKS_COVERAGES_PUB (“OKS_COVERAGES_PUB.DELETE_COVERAGE”, “OKS_COVERAGES_PUB.CREATE_ACTUAL_COVERAGE”) API but not able to get the desired results.
    The API Works for only those service line ids of the contract which has the status “Entered”.
    For service line ids of status other than “Entered” the API throws an error.Error Message Details – (x_return_status – ‘E’, x_msg_count – 1, x_msg_data – ‘OKC’).
    We don’t know exactly the limitation of the API and there is no detail available about these API in both Service Contracts Development and API reference guide.
    If anyone come across similar requirement or known any details about this API, Kindly mail the details to this id : [email protected]
    Thanks in Advance
    Thanks & Regards
    Sivakumar

    Hi,
    i want to add the lines and covered product to the existing contract.
    Cuold you please suggest me the API for the same.
    Thanking you in anticipation.
    Regards,
    Reena
    Edited by: user10829701 on Mar 27, 2009 1:34 AM

  • Error in BAPI RETURN for Service Contract

    Hi,
      I get an error in the BAPI Return for the Uploading the Service Contracts by LSMW. The Error Message is E BS No status object is available for &.Also want to know can we upload multiple line of header text for a Contract by this BAPI. If so then how would I do this , as the BAPI structure BAPISDTEXT has textline upto 132 characters. And I am take only one file in LSMW where the header & details come alongwith text. Or could also tell me the file structure of for the data upload. The legacy system sends multiple text in the header for a Contract.For Eg.
    Header1 Detail1 Text1
    HEader1 Detail2 Text2
    Header1 Detail3 Text3
    So I would need this text1TEXT2text3 in the Header Text of the Contracts. Or do I need the change the file structure. Many thanks for your time and help.

    Thanks Nablan, I could do that for multiple header coming in file. But I have a question for you on BAdI ALM_ME_006_GOODSMVT. I have implemented this BAdI , and this BAdI is called by a function Module ALM_MEREP_006_CREATE. When I test this FM giving the Material , Orderid and Movement type entries, this BAdI is triggered when giving a breakpoint. I've given this code for changing the movement type to 961. Cause the stanadrd scenario does not maintain Movement type 961 in Mobile Asset Management. The Movement type 961 for unplanned Materials comes to SAP and changes to 261 as maiantained by TCOKO table. To bypass this & retain the movement type 961 in SAP I'm using this BAdI. Currently this is what I'm doing and am stuck in the method interface how do I call the method.
    method IF_EX_ALM_ME_006_GOODSMVT~CREATE .
    break-point.
    *DATA : i_ce_goodsmovement TYPE REFERENCE
              ALM_ME_CUSTOMER_ENHANCEMENT.
    DATA : lr_badi_goods_movement TYPE REF TO if_ex_alm_me_006_goodsmvt.
    DATA : ls_user_data TYPE ALM_ME_USER_DATA-USERID.
    *DATA : goods_movement TYPE ALM_ME_MATERIAL_MOVEMENT.
    CALL METHOD lr_badi_goods_movement->create
      EXPORTING
           ce_goodsmovement = ce_goodsmovement
      IMPORTING
           user_data        = ls_user_data
           custom_user_data = ls_ce_user_data
           goods_movement   = goods_movement
      changing
           return           = return[].
    CALL FUNCTION 'ALM_ME_COMMIT_OR_ROLLBACK'
           TABLES
                return = return.
    endmethod.
    Please help me to get the data in this method. How do I call this.

  • Proforma invoice for Service Contracts

    Hello,
    I know the invoice types F5 for order related proforma and F8 for delivery related invoice. Now I'm looking for possibilities to create a proforma invoice based on a Service contract (Order Type WV) as a periodical invoiced sales order.
    I tried to use proforma invoice (type F5) with Service contract but the billing plan will be set on status C (completely processed) so that the same period can not be invoiced again with the real commercial invoice. The billing status in the sales order has been changed as well with the proforma, which should not be the case as the proforma should just generate a printout.
    Does SAP offer anything or how can I setup customizing to be able to create proforma for periodical sales orders?
    Kind regards
    Rafael

    Hello,
    Thank's for the information.
    Finally I tried to copy our existing invoice type and set it up like F5 but the problem is still that the billing plan periods are set to status C - completely processed. The accounting side is OK as no accounting document is being created.
    But with this billing plan situation it would not be possible to create first the proforma invoice for one Period and then later create the real commercial invoice for the same period.
    Any ideas what I can setup to avoid this problem? I thought of chancelling the proforma after creation so that the billing period will be opened again, but this is no user friendly or professional solution.
    Thank's in advance for your ideas.
    Kind regards
    Rafael

  • Need BAPI to update 'Payment terms' for service contract

    Hi ,
    I need to update 'Payment Terms' for a large set of Service contracts. Can you pls suggest me a BAPI to do this. Can I use CRM_ORDER_MAINTAIN function module for my requirement. If yes, what are the parameters need to be passed?
    Thank you,
    Regards,
    Rajesh.

    Replace the
    LT_BAPISDITMX-CUST_MAT35 = 'X'.
    by a
    LT_BAPISDITMX-PMNTTRMS = 'X'.
    Regards,
    Raymond

Maybe you are looking for

  • On startup, FF loads 2 tabs - one is my default, the other a FF info window.

    I turn on my desktop and click my Firefox (FF) icon. When FF loads to the screen, two tabs appear. - one with some FF page that includes a FF video it says something like "Hurray: your browser is up to date." - the other is my default page The result

  • Problem with 9.2.0.1

    We have a problem with 9.2.0.1 database. In case when I connected on DB with Forms6i on some table I can't do anything of DDL statement like compile trigger on that table or compile package or even insert some data.When I disconnect from DB with Form

  • How Program RCPMAU03 or FM CX_IN_HOUSE_PRODUCTION_TIME calculates Prod time

    Hi All, FM CX_IN_HOUSE_PRODUCTION_TIME is used in Program RCPMAU03 which is used for Material Master Update from transaction CA47 or CA47N. I want to know how this FM calculates Processing(BEARZ) and InterOperation(MARC-TRANZ) time. Thanks in advance

  • Inserting text from one JTextpane to another

    How do i insert text from one jTextpane to another with the attributes i used in the first. Please help.

  • Could not Parse the Request

    Hello Friends, We have created VC models which has Html views and form view in it and each model is attached to a timer and is set to 30mins. In one of the models ("RFS_XXX.gml") I am getting popup of the error as "Could not parse Request" and the mo