Error in UBB Service Contract

Hi All,
I'm Configuring UBB - Usage Based Billing scenario. Once I enter Service Product & reference product in UBB Service contract, I see the following messages.
1. Error when reading billing plan date with GUID 00000000000000000000000000000000
2. Transfer parameter missing in function CRM_BILLPLAN_D_READ_OB
3. Item was not found
Please advise me where the config is missing.
Thanks & Regards,
JM

Hi J M,
I am configuring Milestone billing.
I also have seen same error messages while creating transaction in CRM.
Please advice me if i missed any configuration.
Thanks,
Venu.

Similar Messages

  • Error while creating Service Contract

    Folks,
    While I create a service contract, I am getting the error:
    "An error occurred in system PEC510 during account assignment"
    Could someone help me out with this?
    Thanks,
    Divya.

    Hi Divya,
    Please check the following in IMG:
    CRM -> Transactions -> Settings for Service Processes -> Integration -> Set up time sheet and controlling integration
    After that you should enter the corresponding R/3 System. In R/3 customizing use the following path: Settings for Service Processing -> Controlling Integration -> Establish Controlling type, controlling level and controlling scenarios.
    Here you should check if a controlling scenario for single object controlling (usually) has been maintained. See also paragraph 3.1.1.10.3 in BP guide C26 at the following location: http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/Documentation/C26_BB_ConfigGuide_EN_US.doc
    Kind regards,
    KZ

  • ERROR IN CREATING SERVICE CONTRACT

    HI GUYS,
      WHEN IAM CREATING SERVICE CONTRACT IN VA41 IAM GETTING ERROR " BASELINE DATE=TODAYS DATE FOR PERIOD
    HORIZON" WHY IAM GETTING THIS ERROR HOW I CAN  RESOLVE THIS.PLEASE GIVE ME STEP BY STEP SOLUTION

    Hi Nagesh,
      Check if the settings for baseline date are correct. Please refer the below mentioned thread and see if it is helpful for you:
    Contracts Creation message Base line date for rule 11 not
    Thanks

  • Error while creating services contract

    dear all
    when i am trying to create service contract i am getting error message as
    Enter reason for change for version
    Message no. MEDCM003
    kindly help

    >
    sardendu kumar wrote:
    > dear all
    > when i am trying to create service contract i am getting error message as
    >
    > Enter reason for change for version
    > Message no. MEDCM003
    > kindly help
    Seems like there is version management active, and its asking for reason or number, look up a field requiring the input and fill it up.
    Edited by: Afshad Irani on May 31, 2010 5:12 PM

  • Service Contract Address Error

    Dear Experts ,
    Facing an error in the Service Contract(CRMD_ORDER) - Address doesn't exist when the BP is existing and has an active address.
    Also facing an error at the BP level saying - Partner Address doesn't exist (AM013) .
    Have checked the relevant SAP notes but doesn't seem to be applying to our situation.
    Can you suggest where from the service contract would pick the address for the BP.
    Thanks
    Rishika

    Hi Rishika,
    I have faced similar issue before. The reason of the AM13 error is primarily due to incosnistencies in ADCP and ADRC table.
    Check if the number of entries are same in both. If not, then maintain them. It solved my issue once!
    Good luck!
    Regards,
    Suman

  • Create a service contract under SAP CRM

    Hi,
    I try to create a service contract under SAP CRM with transaction code CRMD_ORDER but when I click on "Create" button, nothing display !
    Is it possible to create a contract under SAP CRM ?
    In the end, I would like to replicate a contract from CRM to ISU.
    Thanks by advance for your help !
    Best regards,
    Rémi

    Hi Remi,
    In transaction CRMD_ORDER, click F5 button and under "Service Contract", just choose the transaction type you'd like to use. Examples:
    Contract w. ERP Bill
    ITIL Serv. Contract
    Remote Service Contr
    Serv Cont Quote.
    Service Contract
    UBB Service Contract
    If nothing is displayed, this may mean that transactions have been blocked. Therefore, you have to follow the path under IMG: Customer Relationship Management -> Transactions -> Basic Settings -> Define Transaction Types, and disable the "Inactive" flag.
    So yes, it is definitely possible to create a service contract in SAP CRM. However, it is recommended that you use WebClient UI with business role SERVICEPRO instead of GUI, for most of the time.
    Edited by: Kivanc Bilgin on May 18, 2011 2:39 PM

  • Ibase and configuration error while creating a Service Contract

    Hi,
    I am creating a Service Contract programatically and not manually through the T-code CRMD_ORDER.
    I am using the Function module CRMXIF_ORDER_SAVE for the same as the FM BAPI_BUSPROCESSND_CREATEMULTI and CRM_ORDER_MAINTAIN did not work for me because of the number of parameters that needs to be passed for creating the Service contract.
    The Service contract does get created but there are errors corresponding to the Point of delivery and configuration missing.
    The error corresponding to the point of delivery says "IS-U:allocate a point of delivery to the item" even though I am passing the values in the REF_OBJECTS field of the CRMXIF_BUSTRANS_ITEM structure.
    Structure for the same is :
    ls_objects_i-TYPE_REF_OBJ = 'B'.
      ls_objects_i-object_task = 'I'.
      ls_objects_i-PRODUCT_GUID = lv_product_guid.
      ls_objects_i-PRODUCT_ID = p_product_id.
      ls_objects_i-IBASE_COMP_GUID = ls_output-IBASE_GUID.
      ls_objects_i-IB_INSTANCE = 1582.
      ls_objects_i-IB_COMP_VALID = '20070926093651'.
      ls_objects_i-SERIAL_NUMBER = '0102 46CC9C278B92025BE10000000AD5920E'.
      append ls_objects_i to lt_objects_i.
      p_ls_item-REF_OBJECT-data = lt_objects_i.
      p_ls_item-REF_OBJECT-datax = 'X'.
    Similarly,the error for the configuration says "Configuration for the item missing" and here again I am passing the values in the CONFIGURATION structure.
    Structure for this is :
      p_ls_item-configuration-data-consist = 'T'.
      p_ls_item-configuration-data-kbname = 32.
      p_ls_item-configuration-data-kbvers = '0.0'.
      p_ls_item-configuration-data-kbprofile = 'E_H_B'.
      p_ls_item-configuration-data-complete = 'T'.
      p_ls_item-configuration-data-spras = 'E'.
      p_ls_item-configuration-data-cfginfo = 'VCOND=VARIANT_CONDITION_KEY'
      ls_cuins-OBJ_TYPE = 'SERV'.
      ls_cuins-class_type = 300.
      ls_cuins-obj_key = 'E_H_B'.
      ls_cuins-obj_txt = 'E_H_B'.
      ls_cuins-QUANTITY = '1.0'.
      ls_cuins-COMPLETE = 'T'.
      ls_cuins-CONSIST = 'T'.
      append ls_cuins to lt_cuins.
      ls_config_i-instance = lt_cuins.
      p_ls_item-configuration-data = ls_config_i.
      p_ls_item-configuration-datax = 'X'.
      clear ls_config_i.
      ls_cuval-charc = 'DISCOUNT_EUR'.
      ls_cuval-charc_txt = 'DISCOUNT_EUR'.
      ls_cuval-value = '0.0'.
    ls_cuval-value_txt
      append ls_cuval to lt_cuval.
      ls_instance-value = lt_cuval.
      insert ls_instance into table lt_instance.
    ls_config_i-instance = lt_instance.
    p_ls_item-configuration-data = ls_config_i.
    p_ls_item-configuration-datax = 'X'.
    clear ls_config_i.
    Kindly help if anyone has worked on this.......
    Regards,
    Puneet Jhari.

    Hi,
    I am creating a Service Contract programatically and not manually through the T-code CRMD_ORDER.
    I am using the Function module CRMXIF_ORDER_SAVE for the same as the FM BAPI_BUSPROCESSND_CREATEMULTI and CRM_ORDER_MAINTAIN did not work for me because of the number of parameters that needs to be passed for creating the Service contract.
    The Service contract does get created but there are errors corresponding to the Point of delivery and configuration missing.
    The error corresponding to the point of delivery says "IS-U:allocate a point of delivery to the item" even though I am passing the values in the REF_OBJECTS field of the CRMXIF_BUSTRANS_ITEM structure.
    Structure for the same is :
    ls_objects_i-TYPE_REF_OBJ = 'B'.
      ls_objects_i-object_task = 'I'.
      ls_objects_i-PRODUCT_GUID = lv_product_guid.
      ls_objects_i-PRODUCT_ID = p_product_id.
      ls_objects_i-IBASE_COMP_GUID = ls_output-IBASE_GUID.
      ls_objects_i-IB_INSTANCE = 1582.
      ls_objects_i-IB_COMP_VALID = '20070926093651'.
      ls_objects_i-SERIAL_NUMBER = '0102 46CC9C278B92025BE10000000AD5920E'.
      append ls_objects_i to lt_objects_i.
      p_ls_item-REF_OBJECT-data = lt_objects_i.
      p_ls_item-REF_OBJECT-datax = 'X'.
    Similarly,the error for the configuration says "Configuration for the item missing" and here again I am passing the values in the CONFIGURATION structure.
    Structure for this is :
      p_ls_item-configuration-data-consist = 'T'.
      p_ls_item-configuration-data-kbname = 32.
      p_ls_item-configuration-data-kbvers = '0.0'.
      p_ls_item-configuration-data-kbprofile = 'E_H_B'.
      p_ls_item-configuration-data-complete = 'T'.
      p_ls_item-configuration-data-spras = 'E'.
      p_ls_item-configuration-data-cfginfo = 'VCOND=VARIANT_CONDITION_KEY'
      ls_cuins-OBJ_TYPE = 'SERV'.
      ls_cuins-class_type = 300.
      ls_cuins-obj_key = 'E_H_B'.
      ls_cuins-obj_txt = 'E_H_B'.
      ls_cuins-QUANTITY = '1.0'.
      ls_cuins-COMPLETE = 'T'.
      ls_cuins-CONSIST = 'T'.
      append ls_cuins to lt_cuins.
      ls_config_i-instance = lt_cuins.
      p_ls_item-configuration-data = ls_config_i.
      p_ls_item-configuration-datax = 'X'.
      clear ls_config_i.
      ls_cuval-charc = 'DISCOUNT_EUR'.
      ls_cuval-charc_txt = 'DISCOUNT_EUR'.
      ls_cuval-value = '0.0'.
    ls_cuval-value_txt
      append ls_cuval to lt_cuval.
      ls_instance-value = lt_cuval.
      insert ls_instance into table lt_instance.
    ls_config_i-instance = lt_instance.
    p_ls_item-configuration-data = ls_config_i.
    p_ls_item-configuration-datax = 'X'.
    clear ls_config_i.
    Kindly help if anyone has worked on this.......
    Regards,
    Puneet Jhari.

  • Error during Replication of Service Contracts from CRM to ECC

    Hi,
    I'm encountering a problem when replicating a Service Contract from CRM (I'm using SAP CRM 2007) to ECC.
    I insert a first Item which is not relevant for pricing (let say, product 123)
    I Insert a second Item relevant for pricing, with reference to the previous one (let say, product 456)
    I release the Items and I save the contract
    When I try to go in edit mode in the Contract, an error appears:
    An error has occured in the system DE1CLNT200 while copying the document
    Message no. CRM_ORDER_MISC 020
    Diagnosis
    Errors have occured while transferring the document into another system. Remove the error messages from the enclosed log.
    Transmission log
    u2022     SALES_HEADER_IN has been processed successfully (Notification S V4 233)
    u2022     Material 0 does not exist in plant ZX01 / country CH (Notification E V1 391)
    u2022     Error in SALES_ITEM_IN 000101 (Notification E V4 248)
    u2022     Sales document  was not changed (Notification E V4 219)
    It seems that the program does not recognize the product (the error message says "Material 0", not "Material 456") ...
    Any idea?
    Thanks in advance,
    Andrea

    Should it be a problem related to the leading zeros?

  • Error message when copying a service contract

    Hi Experts,
    I'm copying the service contract using TRX CRMD_ORDER. When I save the new contract, a message is displayed "Administration header could not be found 47EABD1F5ADC5B38E1000000C8B91C2F" .
    We are using CRM 5.0 SP 09.
    Can you help me to understand why this message happens?
    Best regards,
    Caíque Escaler
    Edited by: Caíque Escaler on Mar 27, 2008 3:18 PM

    Hi Arun,
    I wouldn't recommend to deactivate the order_save badi - this may impact the replication process to ECC. This is not what I mentioned. I asked you to check your badi implementations, maybe you are trying to read some GUID that doesn't exist and this is probably a custom code issue.
    Please check the Z implementations.
    I would also check where the message error is being raised and check the stack. You may find a Z in the middle of stack.
    Let me know if you have any comments.
    Regards,
    Caíque

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

  • Not able to edit Service Contract from WEBUI beacause of error

    Hi,
    I am trying to edit Service Contract from WEB UI. But, when ever I say edit, it is giving error saying
    "Document is being distributed. Changes are not possible".
    Can you please let me know, why such error comes..and how to rectify that.
    Thanks,
    Sandeep

    Hi Sandeep,
    This happens when the document is distributed to ERP Systems. There are certain Item Categories that are sent to ERP System and only once the confirmations comes from those system you can further process those document.
    You won't find any errors there.
    You can check the BDOC Entries and then can find the target system where the document was distributed. And then logon onto that system and release that document.
    Hope this helps.
    Thanks,
    Samantak.

  • Service Contracts Billing Schedule Creation Error

    Hi,
    I have a requirement of creating service contracts from back-end for which I am using the oks_contracts_pub.create_contract_header, create_service_line, and create_bill_schedule. I am creating my contracts with active status and renewal type of EVN (Header level), FUL(Line Level). My contract is of type subscription. The contract header and line are creating fine but the Bill schedule API is throwing an UNEXPECTED ERROR. The billing schedules need to be created based on accounting rule which can be quarterly or monthly. I have included the bill schedule code (hard coded values) for review. Any help is greatly appreciated.
    Also the version I am working on is R12
    ________________________________________________CODE___________________________________________________________________
    CREATE OR REPLACE PROCEDURE BILLING_SCHEDULE AS
    l_strm_level_tbl OKS_BILL_SCH.STREAMLVL_TBL;
    v_bill_qtrs NUMBER := 0;
    v_bill_mths NUMBER := 0;
    v_bill_days NUMBER := 0;
    v_net_amount NUMBER := 468;
    v_acct_rule_name VARCHAR2(50) := 'QUARTERLY';
    v_amt_per_day NUMBER;
    x_error_locator VARCHAR2(2000);
    v_start_date DATE := '04-MAY-2010';
    v_end_date DATE := '25-MAY-2010';
    x_return_status VARCHAr2(3);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    v_billing_sequence NUMBER;
    x_chr_id NUMBER := 17000;
    x_line_id NUMBER := 223248604345353294444923586786456728480;
    g_day_uom VARCHAR2(10) := 'DAY';
    g_month_uom VARCHAR2(10) := 'MTH';
    g_quarter_uom VARCHAR2(10) := 'QTR';
    v_amt NUMBER;
    v_invoicing_rule_id NUMBER := -2;
    BEGIN
    --Create Billing Schedule based on accounting rule
    okc_context.set_okc_org_context;
    MO_GLOBAL.INIT('OKS');
    MO_GLOBAL.SET_POLICY_CONTEXT('S', 83);
    v_bill_qtrs := 0;
    v_bill_days := 0;
    v_bill_mths := 0;
    SELECT NVL(v_net_amount, 0)/(v_end_date - v_start_date)
    INTO v_amt_per_day
    FROM dual;
    dbms_output.put_line('Calculated amt per day ' || v_amt_per_day);
    IF v_acct_rule_name LIKE '%QUARTERLY%' THEN
    --Quarterly billing schedule
    SELECT FLOOR(MONTHS_BETWEEN( v_end_date,
    v_start_date)/3),
    v_end_date - ADD_MONTHS(v_start_date, (FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date)/3)*3))
    INTO v_bill_qtrs,
    v_bill_days
    FROM dual;
    dbms_output.put_line('Calculated the qtrs and days');
    IF v_bill_qtrs > 0 THEN
    SELECT (ADD_MONTHS(v_start_date, (FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date)/3)*3)) - v_start_date)*v_amt_per_day
    INTO v_amt
    FROM dual;
    dbms_output.put_line('Calculated qtr amt');
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    -- l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_quarter_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := 1;
    l_strm_level_tbl(v_billing_sequence).level_periods := v_bill_qtrs;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_amt/v_bill_qtrs;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_amt/v_bill_qtrs;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for QTR');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for QTR');
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Quarterly schedule creation error ' || x_msg_data);
    ---DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    -- RETURN;
    END IF;
    END IF;
    IF v_bill_days > 0 THEN
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    dbms_output.put_line('sequence '||v_billing_sequence);
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    --l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_day_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_periods := 1;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_net_amount;--v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_net_amount;--v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for QTR days');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for QTR days ' || v_bill_days || ' ' || x_return_status);
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Day schedule, for quarterly accounting rule, creation error ' || x_msg_data);
    --DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    --RETURN;
    END IF;
    END IF;
    ELSE
    --Monthly billing schedule
    SELECT FLOOR(MONTHS_BETWEEN( v_end_date,
    v_start_date)),
    v_end_date - ADD_MONTHS(v_start_date, FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date)))
    INTO v_bill_mths,
    v_bill_days
    FROM dual;
    dbms_output.put_line('Calculated the mths and days');
    IF v_bill_mths > 0 THEN
    SELECT (ADD_MONTHS(v_start_date,FLOOR(MONTHS_BETWEEN(v_end_date, v_start_date))) - v_start_date)*v_amt_per_day
    INTO v_amt
    FROM dual;
    dbms_output.put_line('Calculated the mths amt');
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    --l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_month_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := 1;
    l_strm_level_tbl(v_billing_sequence).level_periods := v_bill_mths;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_amt/v_bill_mths;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_amt/v_bill_mths;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for MTHS');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for MTHS');
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Monthly schedule creation error ' || x_msg_data);
    --DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    --RETURN;
    END IF;
    END IF;
    IF v_bill_days > 0 THEN
    SELECT NVL(MAX(sequence_no), 0) + 1
    INTO v_billing_sequence
    FROM oks_stream_levels_b
    WHERE dnz_chr_id = x_chr_id
    AND cle_id = x_line_id;
    --Populating the stream line variables
    l_strm_level_tbl(v_billing_sequence).sequence_no := v_billing_sequence;
    l_strm_level_tbl(v_billing_sequence).dnz_chr_id := x_chr_id;
    --l_strm_level_tbl(v_billing_sequence).id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).cle_id := x_line_id;
    l_strm_level_tbl(v_billing_sequence).uom_code := g_day_uom;
    l_strm_level_tbl(v_billing_sequence).uom_per_period := v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_periods := 1;
    l_strm_level_tbl(v_billing_sequence).start_date := v_start_date;
    l_strm_level_tbl(v_billing_sequence).end_date := v_end_date;
    l_strm_level_tbl(v_billing_sequence).invoice_offset_days := NULL;
    l_strm_level_tbl(v_billing_sequence).amount := v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).level_amount := v_amt_per_day*v_bill_days;
    l_strm_level_tbl(v_billing_sequence).lines_detailed_yn := 'Y';
    l_strm_level_tbl(v_billing_sequence).due_arr_yn := 'Y';
    dbms_output.put_line('Before calling the Bill Sch API for MTH days');
    OKS_CONTRACTS_PUB.CREATE_BILL_SCHEDULE ( p_billing_sch=>'E',
    p_strm_level_tbl=>l_strm_level_tbl,
    p_invoice_rule_id=>v_invoicing_rule_id,
    x_return_status=>x_return_status);
    dbms_output.put_line('After calling the Bill Sch API for MTH days');
    IF x_return_status <> 'S' THEN
    x_msg_count := 1;
    dbms_output.put_line('Day schedule, for monthly accounting rule, creation error ' || x_msg_data);
    --DBMS_TRANSACTION.ROLLBACK_SAVEPOINT('OKS_A');
    --RETURN;
    END IF;
    END IF;
    END IF;
    COMMIT;
    EXCEPTION
    when others then
    dbms_output.put_line('Error ' || sqlerrm);
    END;
    Thanks,
    Yash.

    Hi There,
    I have a similar requirement to create rental service contracts and create billing schedules.
    Can you please pass on your functional docs so that i can refer to them.
    Thanks,
    Raidu

  • Error at the time of Terminating Service Contract

    Getting the following error at the time of terminating the contract in Oracle Service Contracts Module.
    OKC_CONTRACTS_REQUIRED_VALUE(COL_NAME=QP CALL FAILURE Routine"QP_PREQ_GRP.INSERT_LINE_ATTRS2 ORA-01400: cannot insert
    NULL into ("QP".QP_PREQ_LINE_ATTRS_TMP_T"."VALUE_FROM"))
    Thanks in advance.
    Ram

    Hi Friends,
    Is it that we can only have one no. range for service entry sheet even if there are 2 different company code in the same client.
    Regards,
    Wasim.

  • Error in Service Contract in CRM 4.0

    Hello,
    I am running into a wierd problem in our CRM 4.0 production system. On a particular service contract, I am getting the following error.
    IPC:_error: Calculation type   is not permitted while processing configuration or pricing in context spe.pricing.transactiondata
    Technical data
    Message type__________ E (Error)
    Message class_________ PRC_MESSAGES_EXT (Messages for Calling Public Pricing Modules)
    Message number________ 099
    Message variable 1____ IPC:_error: Calculation type   is not permitted wh
    Message variable 2____ ile processing configuration or pricing in context
    Message variable 3____ spe.pricing.transactiondata.application.imp.Prici
    Message variable 4____ ngCondition.loadAttributes(PricingCondition.java:3
    The pricing procedure on the service contract has suddenly disappeared. But it is present in the underlying tables. This contract is old and has a number of invoices already posted against it. So something bad happened in IPC.
    Has anybody had this error before? Any help will be welcome.
    Thanks
    Prasad

    Hi Aneez ,
    Thanks for the replay.
    The error reads : Tue Aug 29 11:07:56 GMT+05:30 2006 Name or password is incorrect. Please re-enter
    Tue Aug 29 11:07:59 GMT+05:30 2006 User not authorized. Session terminated.
    Here i am trying the overview page which contains the iViews
    1.Today's activities.
    2.My tasks.
    3.My Team's Overdue Activities.
    4.Activities in my resions.
    Thanks
    Amit

  • Error When Trying to Add Item to Service Contract

    When I try to add new items to a service contract I keep getting the message below.  This message makes no sense as I am not trying to delete any items, just add a new one.
    Any thoughts.
    "You cannot delete item from service contract that is linked to service call"

    Hi,
    Your issue is a database corruption which happened due to a specific scenario which lead to the issue. As per the Note which was referred, you need to contact the partner as in your case, there is no partner, then you have to contact the Local Product Expert (LPE) who would help you in finding one.
    The Partner will on behalf of you can raise a support ticket and the same can be checked further.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for

  • Open sales order not getting updated in FD32

    HI We are configuring Credit management, and found that the open sales orders are not getting updated in FD32. I have checked all the settings in OVA8 and all are working fine. This is a Static credit check and system is blocking the customer in case

  • Empty cartridges?

    We have an HP LaserJet Pro color MFP M276nw.  We have allowed the color cartridges to run down as we do very little color copying.  SUPPOSEDLY the printer is designed to use only the black when the color cartridges are empty.  But we have been experi

  • Photoshop cannot open EM5 II RAW files even with 8.8 ACR?!

    I have an active Adobe CC subscription so my Photoshop is already the latest version, but when I try to open EM5 II .ORF files, I get message "Photoshop cannot open this file." (see attached screenshot) EM5 II is already officially supported accordin

  • Extracting data from dynamic forms

    I am new to using Livecycle and see the advantages of using dynamic forms for collecting data. I have designed several dynamic forms which include rows with 6 to 9 text fields and may be completed with 10 to 100 rows. I  have had to use text fields f

  • Error in Generating Absense Quota - PT60

    Hi Experts, When I am running the PT60 to generate absence quota, i am getting an error msg no data in table T001P i have checked the grouping values as well, still i am not able to generate. kindly give ur inputs Appreciate your early response. Rega