Supplier Group Creation Error  in SRM 7.0

Hello,
  We are on SRM 7.0, SP 9. When creating a root supplier group using tcode PPOCV_BBP in SRM, we are  getting a "DATA_LENGTH_0", "CX_SY_RANGE_OUT_OF_BOUNDS" error in the program "SAPLRHOMDETAIL_PP01".
This error happens during the new supplier group creation process, when we change the default name of the vendor group with a custom name and try to save the new supplier group.
Please let me know if any one has come across this issue.
Thanks,
Raj

HI Raj,
you have to implement the note 1572049  to resolve this issue.
Regards
Ajay
Edited by: ajay ch on Aug 15, 2011 10:57 AM

Similar Messages

  • Product group creation error

    Hi Guys,
    While creating product group i am getting the following error can any one help me out to resolve the same
    The error
    Required parameters missing when calling up module
    Message no. M3749
    Thanks and regards
    Thamizhchelvan G

    Dear Thamizhchelvan,
    I think you must be working in ECC 5.0 or ECC 6.0 version.
    If so means first create a material say test using material type PROD - Product group in T Code MM01
    and then assign the members in MC85/MC86 for the product group.
    check this link
    product group
    This will solve your problem.
    Regards
    Mangalraj.S

  • Clustering model ..target group creation ...error

    Hello All
    After i created a Clustered model successfully i went ahead to create a CRM target group and as the last step in the process I selected the Training source of my Clustering Model ,right clicked it and clicked Monitor
    The result shows that the CRM target group creation was incorrect.The following screeen shows the error screen.
    http://www.geocities.com/aditya_ponnam/errorscreen.JPG
    Please advise.
    Thank you
    Aditya

    Hi naveen
    Thank you.How can I check the RFC setting for my CRM system?Has it got anything to do with this problem?I have just started learning SAP BW and CRM.Please suggest.As a matter of fact, this error occured in the BW system.The version of BW system is 3.1 Support Package 6.I could not figure out anything from the error description.Please look at this error screensot.
    http://www.geocities.com/aditya_ponnam/errorscreen.JPG
    Thank you
    Regards
    Aditya

  • Material creation process in SRM-MDM

    Dear All,
    I am new to SRM. Please correct me about material creation procedure in SRM if I am wrong:
    Normally in classic/extended classic scenario, material first created in MM and then it replicated to SRM. Base on configuration setting for number range, system either create the product ID same as material number number in SRM when it replicated into SRM. In final steps, the product information will upload into MDM either XI integration or manually via excel upload.
    My question:
    + Is it possible to automatic create product without XI via T.Code - MDMGX in MDM.
    + If the replicated product ID of SRM is different then MM material number, which number we should consider for creating product
       MDM.
    Thanks in advance.
    BR
    Jennifer

    Hi Jennifer,
    Answer1) You can only replicate Product Groups, Currencies and Unit of Measures through t-code MDMGX. XI/PI is required for Contract and Product Catalogs.
    Answer 2) If the replicated product ID of SRM is different then MM material number, you should enter MM material number and in External Web Service Configuration for that internal catalog, uncheck  "Do not check Product" indicator so that SRM will not check the Product ID and when item goes to backend system, it will have correct MM material number.
    Thanks,
    Anshuk Saxena

  • Product Category Error in SRM

    Hello Gurus,
    I tried to replicate Material Group from ECC to SRM using R3AS tcode.
    When I checked the status in R3AM1 it was showing running status but by mistake I clicked on cancel button and the status is "abort"
    Even after setting filter in Product category I tried to load but the system is throwing same error message as "abort"
    Please help me how to do fresh load.
    Thanks,
    Vish

    Hi Vishvas
    I assume that you have correctly maintained the relationship of BP and org unit in PPOSA_BBP ?
    You can see that they are linked in the org structure .
    Follow these and see if it helps ?
    1. Now try to click on repair
    2. Fill the email ID here ..
    3. Click on relationship and then display there also edit the Email Address ..
    Regards
    Vinita

  • CRM target griup creation error

    Hello All
    After i created a Clustered model successfully i went ahead to create a CRM target group and as the last step in the process I selected the Training source of my Clustering Model ,right clicked it and clicked Monitor
    The result shows that the CRM target group creation was incorrect.The following screeen shows the error screen.
    http://www.geocities.com/aditya_ponnam/errorscreen.JPG
    Please advise.
    Thank you
    Aditya

    Thnak you ashwin..
    These were my steps
    1.Created a clustering model
    2.checked for inconsistencies and activated both the training model and training source
    3.Trained source online
    4.Viewed training source results-Value Distribution,Attribute data and Attribute charts and went ahead to create a target gruop
    5.Created target group
    6.Selected "immediate" and saved .
    7.Went back and selected my training source and rightclicked to monitor it
    8.The results were as shown in the figure below
    http://www.geocities.com/aditya_ponnam/errorscreen.JPG
    It flags that as Incorrect target group creation.Please see the figure.
    What could be the problem here?
    Thank you
    Aditya

  • CUSTOM VIP CREATION ERROR

    Hi all, i have tried to define a new VIP on my ORACLE 11gR2 RAC cluster, in order to manage third-party component by using ORACLE Clusterware.
    I have used the info written on the ORACLE manual "Oracle Clusterware Administration and Deployment Guide E10717-04" at page 5-15.
    I have executed the command "/u01/app/grid/bin/appvipcfg create -network=1 -ip=xx.xxx.xxx.140 -vipname=appsVIP -user=root", as the manual says, from root user.
    My environment is AIX 6.1.
    Unfortunately, i get an error (reported following) but i am not able to solve it.
    Please, may you help me?
    Thanks
    Marco
    CUSTOM VIP CREATION ERROR
    [nodo01][]>/u01/app/grid/bin/appvipcfg create -network=1 -ip=xx.xxx.xxx.140 -vipname=appsVIP -user=root
    Production Copyright 2007, 2008, Oracle.All rights reserved
    2010-05-31 18:39:54: Creating Resource Type
    2010-05-31 18:39:54: Executing cmd: /u01/app/grid/bin/crsctl add type app.appvip.type -basetype cluster_resource -file
    /u01/app/grid/crs/template/appvip.type
    2010-05-31 18:39:55: Create the Resource
    2010-05-31 18:39:55: Executing cmd: /u01/app/grid/bin/crsctl add resource appsVIP -type app.appvip.type -attr
    USR_ORA_VIP=xx.xxx.xxx.,START_DEPENDENCIES=hard(ora.net1.network)
    pullup(ora.net1.network),STOP_DEPENDENCIES=hard(ora.net1.network),ACL='owner:root:rwx,pgrp:root:r-x,other::r--,user:root:r-x'
    CRS-0247: User name or group name is invalid
    CRS-4000: Command Add failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/grid/bin/crsctl add resource appsVIP -type app.appvip.type -attr
    USR_ORA_VIP=xx.xxx.xxx.,START_DEPENDENCIES=hard(ora.net1.network)
    pullup(ora.net1.network),STOP_DEPENDENCIES=hard(ora.net1.network),ACL='owner:root:rwx,pgrp:root:r-x,other::r--,user:root:r-x'
    2010-05-31 18:39:56: ###### Begin Error Stack Trace ######
    2010-05-31 18:39:56: Package File Line Calling
    2010-05-31 18:39:56: --------------- -------------------- ---- ----------
    2010-05-31 18:39:56: 1: crsconfig_lib crsconfig_lib.pm 7474 crsconfig_lib::error
    2010-05-31 18:39:56: 2: main appvipcfg.pl 241 crsconfig_lib::system_cmd
    2010-05-31 18:39:56: 3: main appvipcfg.pl 93 main::config
    2010-05-31 18:39:56: 4: main appvipcfg.pl 74 main::process_arguments
    2010-05-31 18:39:56: ####### End Error Stack Trace #####
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Hi,
    On Solaris 10 and Oracle Grid Infrastructure 11.2.0.2 did the following. Posting this as it might be useful to someone else. Installed Grid Infrastructure as oracle.
    As root:
    # ${GRID_HOME}/bin/appvipcfg create -network=1 -ip=<vip_address> -vipname=<vip_name> -user=root
    In the above command, if you are wondering what -network=1 is, got useful info from "Oracle GoldenGate high availability using Oracle Clusterware" white paper at http://www.oracle.com/technetwork/middleware/goldengate/overview/ha-goldengate-whitepaper-128197.pdf
    As per the white paper, if you do
    crsctl status resource -p | egrep -i 'network|subnet' | egrep -i 'name|subnet'
    output will look something like this:
    NAME=ora.net1.network
    USR_ORA_SUBNET=10.2.0.0
    net1 in NAME indicates this is network 1, and second line indicates the subnet on which the vip will be created.
    # ${GRID_HOME}/bin/crsctl setperm resource <vip_name> -u user:oracle:r-x
    I did the following as oracle:
    Oracle_Prompt> ${GRID_HOME}/bin/crsctl start resource <vip_name>
    If you want to relocate this vip to other node in the cluster:
    Oracle_Prompt> ${GRID_HOME}/bin/crsctl relocate resource <vip_name> -s <source_node> -n <target_node>
    Hope this helps.
    Thanks,
    Moorthy.
    帖子经 Moorthy Rekapalli编辑过

  • OIM Group - tcDuplicateGroupException Error

    Hello Experts,
    I have created a java program using OIM APIs to load around 500 groups in OIM and it was success. I have created a small stored procedure to clean up those loaded group directly from db table (UGP & GPP Table) . Now when I again run the java program , it gives "tcDuplicateGroupException" error for all 500 groups.
    I am able to create the group from OIM Admin Console but when I try to create the same group using java program it give me "tcDuplicateGroupException" error.
    Can u assist me?
    Thanks & Regards
    INIYA.

    Should be some problem with the custom piece of code which you have written. You must be having the DB backup, go back to your previous db state and then try to run this java code with these Group Names. By the way its recommended not to play with the DB, you should have used the java code to delete the groups as well.
    Also check that you don't have any Entity Adapters which is doing something with your group creation.
    Thanks
    Sunny

  • Error in SRM:  a user with enough authorisation level is miss

    Hello,
    We are on SRM 5.0 and our users get the following error in SRM when creating a shopping cart:
    No user assigned to object a user with enough authorisation level is missing.
    Anybody any idea ?
    Thanks as ever

    Hello Can anybody helpe me please ?

  • Download Helper, even with paid converter upgrade, gives "Invalid Capture File" errors and will not record audio, with "File Creation Error - Unable to rename/copy audio file" Error.

    Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With either "speakers" or "microphone" selected, the captured file has poor audio and no video. Re-capture efforts (speakers) get "Invalid capture file error" and "File Creation error- Unable to rename/copy audio file"
    The paid upgrade of "Converter" doesn't work.
    Instructive documentation - not very good.
    Suggestions - Need time delay between initiation of "Record" and starting the video to be recorded.
    Could use timer tracking of the record process.
    Are there operating system limitations? (Have Windows XP Pro)

    That is an issue for the developer of that Download Helper.

  • PO creation Indicator in SRM

    Hi Experts,
    I have a question for you?
    Where can i find the PO creation indicator in SRM?
    We are in Extended Classic scenario. POs are created from Shopping carts either manually by Purchaser from SOCO or autmatically by the system for catalog items & for items with Contract.
    I want to know whether there are any status indicators for a PO in SRM from which i could know whether the PO was created manually or automatically...similar to the field we have in EKKO for a R/3 PO.
    Thanks in advance!
    Cheers - Aakash

    Hello Aakash,
    You can determine whether PO hasbeen created automatically from a preceeding document or created manually at line item level only. If the PO is created from a preceeding documents like shopping cart then the fields SRC_GUID and SRC_OBJECT_TYPE of the table BBP_PDIGP will be filled. If the PO is created manually then these fields will be empty.
    Hope this will answer your question.
    Best Regards,
    Mani

  • Automatic Profile Set / Target Group Creation in SAP CRM

    Hi,
    Need some help on the listed process.
    Is there any procedure to create Profile Ser/Target group automatically based on certain criteria? We want to reduce the manual work of Profile/Target group creation for the users.
    We are currently using SAP CRM 5.0 and looking at options of creating Target Groups automatically based on infoset. The criteria used to model is below mentioned.
    - New Customers  & Head Office (They are the customer specific Z-fields in BP Master Data)
    - Relationship Data: Has contact person Relationship. This is based on the assignment of Contact person to the BP (i.e. Day when the Relationship assignment done to the respective BP Master Data --> under Relationship tab page.
    We are not using Attribute Set (that we assign to Marketing Attribute tab page of BP Master), for your information.
    Appreciate, if you could let us know whethe this is possible by Standard feature/ any work around on this.
    Kindly do the needful.
    Thanks,
    Rahul

    Hello Rahul,
    it is possible to create a target group from an external list as far as i am aware. Maybe have a look at
    http://help.sap.com/saphelp_crm50/helpdata/en/57/d7de42777c2978e10000000a155106/frameset.htm
    Regards
    Mark

  • Screen become blank during the Manual Target Group creation

    Hi SAP,
    In the Marketing Segmentation, there is an option to allow the manual Target Group creation. I have a list of 5000 BP and I upload it via "Import Business Partner". It is just 5krecords and the screen goes blank. We have tried several times and encountering the same thing which there is no enhancement applied. Any idea if there is limit on BP to be uploaded?

    Hi Subhashish,
    High Volume Segmentation is recommended for segmentation activities for more than 500.000 BPs. In  your case Classic Segmentation fits perfectly.
    Please read the SAP documentation for more information:
    Segmentation - SAP Library
    Furthermore since the Import Business Partner functionality is not Java based this cannot be a Java problem.
    Do you receive a dump in transaction "st22" after trying the import?
    Regards,
    Markus

  • Purchase group creation details

    Hi Gurus,
    Can we know when the purchase group was created from SPRO or from any table..
    Please suggest how to know the purchase group creation date details
    regards
    subbu

    Hi,
    To Know the purchase group creation date, please ask your Basis team to check the all logs for the transaction code  OME4.
    I hope it will help
    Regards,
    Manish

  • 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

Maybe you are looking for

  • Creating a new site

    Whats going on with creating a new site using Dreamweaver CS4?  When I create a new site and select the 'Local Root Folder' & 'Default images folder' I always have to go up one folder level. For example if my site was located here 'C:\Users\Me\Docume

  • How to create a custom Firefox installation?

    I would like to install a custom version of Firefox on several computers. I would like to customize Firefox in the following ways: - Set the default language to English. - Set the default search engine to Google, and set the language of Firefox's def

  • Print problem

    SAP guru's:-         I watched one of issue for the solution in this website:- Here run the APP use the T-code 110, completed up to document generated and entered, now select the print tab, when they select print tab it is getting "print job schedule

  • Regarding Video Files

    Hi, I am unable to download or copy any video files, could anyone please guide me out in storing videos in Ipod Touch..

  • I had to reinstall iTunes and now my iPad won't sync.

    I tried to upgrade with 11.1.4 and everything go messed up (Windows 7 user).  I ended up going back to a later version of data on my computer.  Then I was able to reinstall iTunes.  My iPhone is syncing like it should, but my iPad won't sync.  I've l