Problem with Table Value Set

Hi,
i have created a Table value Set for showing Vendor_site_code in DFF
XXXX_VENDOR_NAME
Table Application :Purchasing
Table Name:PO_VENDORS
Value:VENDOR_NAME
ID:VENDOR_ID
XXXX_VENDOR_SITECODE
Table Application :Purchasing
Table Name:PO_VENDORS PV, PO_VENDOR_SITES_ALL PVS
Value:PVS.VENDOR_SITE_CODE
ID:PVS.VENDOR_SITE_ID
where/order by: where PV.VENDOR_ID=PVS.VENDOR_ID
XXX_ITEM
Table Application :IVENTORY
Table Name:MTL_SYSTEM_ITEMS_B
Value:PVSSEGMENT1||'-'||SEGMENT2||SEGMENT3
ID:PVS.INVENTORY_ITEM_ID
where/order by:WHERE ORGANIZATION_ID = cs_std.get_item_valdn_orgzn_id
i am facing the below error when opening the Form related to that DFF
APP-FND-01564: ORACLE error 1722 in FDFGVD
Cause: FDFGVD failed due to ORA-01722: invalid number.
The SQL statement being executed at the time of the error was: SELECT PVS.VENDOR_SITE_ID,PVS.VENDOR_SITE_CODE VALUE, PVS.VENDOR_SITE_CODE DESCRIPTION, NVL('N', 'N'), NVL(TO_NUMBER(NULL), -1), NULL, NVL('Y', 'Y'), NVL(TO_CHAR(TO_DATE(NULL), 'J'), 0), NVL(TO_CHAR(TO_DATE(NULL), 'J'), 0) FROM PO_VENDORS PV, PO_VENDOR_SITES_ALL PVS WHERE ( PV.VENDOR_ID=PVS.VENDOR_ID) AND PVS.VENDOR_SITE_ID = :X and was executed from the file &ERRFILE.

Can you say where have you placed this valueset - which DFF, in which form?

Similar Messages

  • Cost Allocation Flexfield with Table Value Sets

    Hi
    I am setting up Costing for Payroll. I have a requirement where I want to use Table Validated value sets for Cost Allocation Flexfield. In the Administrator Guide it is written that we should not use Table validated value sets for any KFFs.
    I still tried the same (defining Table validated value sets) and my process errored out. It was giving following error
    Value 381 for the flexfield segment Cost Center does not exist in the value set
    SJR_COST_CENTER_LIST.
    invalid code combination:
    381SJR_COST_CENTER_LIST is name of the value set.
    Then I changed the value set and keep the code and meaning in the value set table as same and my process worked fine.
    Now I want to know that should I use Table validated value set or not. As Oracle does not support these in KFFs

    Hi Thierry
    Thanks for the reply
    have you used cross validation rules?I am not sure about cross validation rules and how we can use in my case.
    An other thought: there is an action parameter available parameter_name=COST_API_IMODE
    Set the parameter_value = 'Y'In my case my costing process is working fine, even when I define my table validated value sets. My question is should we define table validated values sets or not as Oracle does not support it now? Oracle use to support this for KFFs some time back but now they are saying they does not support.
    Are there any known issues if we use Table validated value sets? Why Oracle does not support it for KFFs?

  • Problem with Table value QAMR....

    Hi All,
    I am developing one report from QALS, QAMR for PRUEFLOS.  The result value is always stored 1.240000000+02 format in table (QAMR).
    1) What is required to do to get this value exactly same as entered. I mean suppose it is entered as 0.124 or 124 but when getting the value, I have to assign some decimal places and the value is shown 0.124 and 124.000
    2) If I enter the value 0, it is shown as zero. If I don't enter the value, then also it is shown as zero. (In this case I want blank display ). Both the cases, the table value is 0.0000000+00. Please advise
    Thanxs.
    Umesh

    just take it in type p variable it will automatically take the value.. this is because the data element is defined as float ...
    if you want blank uinstead of 0 then you have to take in a char var...
    regards
    shiba dutta

  • Problem with Table control lines

    Hi Friends,
    This is the problem with table control lines:
    I have screen with table control and I would like change the table control lines dynamicaly.
    Exp:
    In my PBO the Internal table which I am using to loop the TC is havig 7 records and its displayed with 7 records, now I have added one more record into my ITAB and now ITAB is having 8 records, when I am looping this ITAB with TC its taking the TC lines 7 only.
    here is the code:
    Initial values in gt_scr400 = 8
    Initial values in tc_scr400 = 8
    Now added one more recor into gt_scr400 , now gt_scr400  = 9.
      LOOP AT   gt_scr400
           INTO wa_scr400
           WITH CONTROL tc_scr400
           CURSOR tc_scr400-current_line.
      ENDLOOP.
    I have used this logic :
      DESCRIBE TABLE gt_scr400 LINES g_rec_300 .
      tc_scr300-lines = g_rec_300.
    but its not modifying the lines in my table control.
    How to change the TC lines based on ITAB total records.
    Thanks,
    Sridhar

    there is a field in TableViewName-xxx
    don't remember the exact field name for (total no of records)
    you can check it in debug.  when you add records in Internal table, u need to modify this field which is set at the first time when table control is populated.

  • Problem with table paging [PDK for NET]

    Hi All,
    I have a problem with table paging in PDK for .NET (ver 2).
    The Table has 14 visible rows.
    The lead selection is set to "SINGLE"
    When the user selects a row I can use
    Table1.SelectedKeys(0) Mod Table1.VisibleRowCount
    in order to get the info of the selected row.
    If I will page using the "Prev/Next" page of the Table UI element it will also work.
    However, when I press "Prev/Next" item and then select a row it chooses the wrong row.
    (See picture: http://img509.imageshack.us/img509/3882/table5tq.jpg)
    What can I do in order to solve the problem?
    Thanks,
    Omri

    Hi Omri,
    how are you doing ?
    The SAPTable is similar to a DataGrid control and need to be bound to the datasource on every postback
    a good idea is to keep the dataset available in the page or on the server ( so that you dont need to keep making expensive fetch operations
    The selected row is affected by the recordset (dataset) and needs additional programming
    A work around for the selected row issue is to save it in a server side hidden variable (or anything that will persist) and read and set the value in the page / next button handler
    with respect,
    amit

  • Fnd_request.submit_request issue with PA_SRS_DATES2 value set.

    Hi,
    We are applications 12.0.6 with 10.2.0.3.0 database. I'm trying to submit the "PRC: Generate Draft Revenue for a Single Project" through fnd_request.submit_request and is erroring out with "PA: Error - Entered Accrue through date is not within open/future PA period". I'm able to run the same program from the application with the same parameters. I'm passing Accue date of 2009/08/31 00:00:00 from the program and I can see the same value when submitted frm the applications also.
    Value set for this Accrue date parameter is "PA_SRS_DATES2". It is setup as format type "Standard Date" and maximum size is 11.
    Thanks for your help,
    Shree.
    Here is the script
    SELECT TO_CHAR (rec1.per_end_date, 'RRRR/MM/DD HH24:MI:SS')
    INTO v_rev_accrue
    FROM DUAL;
    fnd_file.put_line (fnd_file.LOG,
    'Revenue Accrue Date is :' || v_rev_accrue
    fnd_file.put_line (fnd_file.LOG, 'Parameters for GDR :');
    fnd_file.put_line (fnd_file.LOG,
    'Argument1 is :' || TO_CHAR (rec1.project_id)
    fnd_file.put_line (fnd_file.LOG, 'Argument4 is :' || v_rev_accrue);
    v_fc_req_id :=
    fnd_request.submit_request (application => 'PA',
    program => 'PARGDR_SINGLE',
    sub_request => FALSE,
    start_time => NULL,
    argument1 => rec1.project_id,
    argument2 => 'N',
    argument3 => 'Y',
    argument4 => v_rev_accrue,
    argument5 => NULL,
    argument6 => NULL,
    argument7 => NULL,
    argument8 => NULL,
    argument9 => NULL,
    argument10 => NULL,
    argument11 => 'Y',
    argument12 => 'N',
    argument13 => NULL,
    argument14 => NULL,
    argument15 => NULL,
    argument16 => NULL,
    argument17 => NULL,
    argument18 => 'N',
    argument19 => 'N',
    argument20 => 'N'
    IF NVL (v_fc_req_id, 0) = 0
    THEN
    gv_debug_name :=
    'Error in Submitting the draft revenue program program. ';
    fnd_file.put_line (fnd_file.LOG, gv_debug_name);
    RAISE general_error;
    ELSE
    COMMIT;
    fnd_file.put_line (fnd_file.LOG,
    'draft revenue program. Request Id:'
    || TO_CHAR (v_fc_req_id)
    END IF;
    Here is the log for the request submitted via fnd_request.submit_request.
    Projects: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    PARGDR_SINGLE module: PRC: Generate Draft Revenue for a Single Project
    Current system time is 13-AUG-2009 18:59:19
    Entering parmai()
    ...Connected to Oracle
    Accrue Thru date from Command line is : 2009/08/31 00:00:00
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    PA: Error - Entered Accrue through date is not within open/future PA period
    Exceptions posted by this request:
    Concurrent Request for "PRC: Generate Draft Revenue for a Single Project" has completed with error.
    Concurrent request completed
    Current system time is 13-AUG-2009 18:59:20
    Here is the log for the request submitted via the application
    Projects: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    PARGDR_SINGLE module: PRC: Generate Draft Revenue for a Single Project
    Current system time is 10-AUG-2009 17:12:11
    Entering parmai()
    ...Connected to Oracle
    Accrue Thru date from Command line is : 2009/08/31 00:00:00
    project:196 delete:N regenerate:Y acc_thru_dt:2009/08/31
    start project: end project:
    Operating unit is 153Revenue is running in Normal revenue mode
    Revenue is not based on specific project type...
    Revenue is not based on specific organization...
    Revenue is not based on specific customer...
    Revenue is not based on specific Agreement...
    Revenue is running for MCB/Non MCB projects...
    Revenue is running for Unrelease revenue mode...
    Revenue is not creating the detail report ...
    Revenue Processing Parameter List
    =================================
    -------------- < parameter list > -----------------------
    Accru Through Date ----------------------------------------> 2009/08/31
    Project ID ------------------------------------------------> 196
    From Project Number --------------------------------------->
    To Project Number ----------------------------------------->
    Adjusting Revenue Run -------------------------------------> No
    Project Type ID -----------------------------------------> 0
    Organization ID ------------------------------------------> 0
    Customer ID ----------------------------------------------> 0
    Agreement ID ----------------------------------------------> 0
    Multi Currency Projects -----------------------------------> No
    Release Draft Revenue -------------------------------------> No
    Include Detail Report -------------------------------------> No
    -------------- < End of parameter list > -----------------------
    ...Request ID = 714111
    This concurrent request is not being rescheduled
    Current system time is 10-AUG-2009 17:12:11
    ...about to delete revenue for project id 196
    ...0 draft revenues deleted
    Current system time is 10-AUG-2009 17:12:11
    ...about to process adjustments
    SELECT p.project_id, p.segment1,
    p.distribution_rule, p.project_level_funding_flag,p.project_currency_code,
    p.project_bil_rate_date_code,
    p.project_bil_rate_type,
    to_char(p.project_bil_rate_date,'YYYY/MM/DD'),
    p.project_bil_exchange_rate,
    p.projfunc_currency_code,
    p.projfunc_bil_rate_date_code,
    p.projfunc_bil_rate_type,
    to_char(p.projfunc_bil_rate_date,'YYYY/MM/DD'),
    p.projfunc_bil_exchange_rate,
    p.revproc_currency_code,
    p.funding_rate_date_code,
    p.funding_rate_type,
    to_char(p.funding_rate_date,'YYYY/MM/DD'),
    p.funding_exchange_rate,
    p.multi_currency_billing_flag,
    p.assign_precedes_task,
    p.enable_top_task_customer_flag,
    p.enable_top_task_inv_mth_flag,
    nvl(p.inv_by_bill_trans_curr_flag, 'N'),
    nvl(p.revtrans_currency_type, 'PROJ_FUNC_CURR_ONLY')
    FROM pa_projects p, pa_project_types t
    WHERE p.project_id = :project_id
    AND pa_project_utils.check_prj_stus_action_allowed(p.project_status_code,'GENERATE_REV') = 'Y'
    AND :start_project_number||'x' != :end_project_number||'y'
    AND p.project_type = t.project_type
    AND t.project_type_class_code = 'CONTRACT'
    AND EXISTS (SELECT /*+ INDEX(pf pa_summary_project_fundings_u1)*/ NULL
    FROM pa_summary_project_fundings pf
    WHERE pf.project_id = p.project_id
    AND nvl(pf.revproc_baselined_amount, 0) != 0)
    AND NOT EXISTS
    (SELECT NULL
    FROM pa_draft_revenues r2
    WHERE r2.project_id = p.project_id
    AND r2.released_date||'' is null
    AND r2.generation_error_flag||'' = decode(:mass_gen,
    1, 'Y', r2.generation_error_flag)
    AND (EXISTS (SELECT NULL
    FROM pa_expenditure_items_all i
    WHERE i.project_id = p.project_id
    AND i.cost_distributed_flag ||''= 'Y'
    AND i.revenue_distributed_flag = 'N'
    AND i.expenditure_item_date
    <= NVL(TO_DATE(:acc_thru_dt,'YYYY/MM/DD'),sysdate)
    AND (EXISTS (SELECT /*+ LEADING(l)*/ NULL
    FROM pa_draft_revenues r, pa_cust_rev_dist_lines l
    WHERE r.project_id = i.project_id
    AND ((l.expenditure_item_id = i.adjusted_expenditure_item_id AND i.adjusted_expenditure_item_id is not null )
    OR (l.expenditure_item_id = i.expenditure_item_id))
    AND NVL(l.reversed_flag,'N') = 'N'
    AND l.line_num_reversed IS NULL
    AND r.project_id = l.project_id
    AND r.draft_revenue_num = l.draft_revenue_num
    AND (r.released_date||'' is not null
    OR r.generation_error_flag||'' = decode(:mass_gen,
    1, 'N', 'E')))
    or exists (
    select 1 from pa_expenditure_items ei2
    where ei2.project_id = i.project_id
    and ei2.expenditure_item_id=i.adjusted_expenditure_item_id
    and ei2.revenue_distributed_flag='Y'
    and ei2.raw_revenue=0))
    union all
    SELECT /*+ LEADING(v)*/NULL
    FROM pa_events v
    WHERE v.project_id = p.project_id
    AND ((v.revenue_distributed_flag = 'N'
    AND v.completion_date
    <= NVL(TO_DATE(:acc_thru_dt,'YYYY/MM/DD'),sysdate))
    OR (substr(p.distribution_rule,1,4) = 'COST'
    AND v.revenue_distributed_flag = 'Y'
    AND v.completion_date
    > NVL(TO_DATE('2009/08/31','YYYY/MM/DD'), sysdate)))
    AND (DECODE(NVL(v.bill_trans_rev_amount, 0), 0 ,
    DECODE(NVL(v.zero_revenue_amount_flag, 'N'), 'Y', 1, 0),1) = 1)
    AND NVL(revenue_hold_flag, 'N') = 'N'
    AND EXISTS (
    SELECT NULL
    FROM pa_tasks t
    WHERE v.task_id is not NULL
    AND t.ready_to_distribute_flag = 'Y'
    AND v.task_id = t.task_id
    UNION ALL
    SELECT NULL
    FROM pa_tasks t1
    WHERE v.task_id is NULL
    AND t1.ready_to_distribute_flag = 'Y'
    AND v.project_id = t1.project_id )
    AND Exists (select null from pa_draft_revenues r,pa_cust_event_rev_dist_lines l
    where l.project_id = v.project_id
    AND ( l.task_id = v.task_id OR v.task_id is NULL )
    AND l.event_num = v.event_num
    AND NVL(l.reversed_flag,'N') = 'N'
    AND l.line_num_reversed IS NULL
    AND r.project_id = v.project_id
    AND r.draft_revenue_num = l.draft_revenue_num
    AND (r.released_date||'' is not null
    OR r.generation_error_flag||'' = decode(:mass_gen,
    1, 'N', 'E')))
    union all
    SELECT /*+ USE_CONCAT */ NULL
    FROM PA_Billing_Extensions be, PA_Billing_Assignments bea
    WHERE bea.active_flag = 'Y'
    AND bea.billing_extension_id = be.billing_extension_id
    AND (bea.project_id = p.project_id
    OR bea.project_type = p.project_type
    OR bea.distribution_rule = p.distribution_rule)
    AND be.calling_process in ('Revenue','Both')
    AND nvl(be.call_after_adj_flag, 'N') = 'Y'
    AND be.trx_independent_flag = 'Y'))
    Current system time is 10-AUG-2009 17:12:11
    ...0 projects processed for adjustments
    Current system time is 10-AUG-2009 17:12:11
    ...about to generate revenue for project id 196
    ...Fetching next project
    Current system time is 10-AUG-2009 17:12:11
    ...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'PRE', '2009/08/31', 714111 )
    Current system time is 10-AUG-2009 17:12:11
    ...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'PRE', '2009/08/31', 714111 )
    Current system time is 10-AUG-2009 17:12:11
    Leaving pauoarchn()
    ...no rows to process for this project.
    Current system time is 10-AUG-2009 17:12:11
    ...generated revenue for project id 196, number 72DM000001
    ...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'REG', '2009/08/31', 714111 )
    Current system time is 10-AUG-2009 17:12:11
    ...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'REG', '2009/08/31', 714111 )
    Current system time is 10-AUG-2009 17:12:11
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    l_inv_by_btc_flag is ...N
    l_mcb_flag is ...Y
    l_rpc_code is ...GBP
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    ...Else loop 1
    ...else loop 2
    ...else loop 4
    ...else loop 5
    ...non_zero_amount
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    ...Else loop 1
    ...else loop 2
    ...else loop 4
    ...else loop 5
    ...non_zero_amount
    Leaving pauoarchn()
    Leaving pauoarchn()
    Leaving pauoarchn()
    Current system time is 10-AUG-2009 17:12:11
    ...generated revenue for automatic events for project id 196, number 72DM000001 calling loc REG
    ...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'POST-REG', '2009/08/31', 714111 )
    Current system time is 10-AUG-2009 17:12:11
    ...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'POST-REG', '2009/08/31', 714111 )
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    ...generated revenue for automatic events for project id 196, number 72DM000001 calling loc POST-REG
    ...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'POST', '2009/08/31', 714111 )
    Current system time is 10-AUG-2009 17:12:11
    ...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'POST', '2009/08/31', 714111 )
    Current system time is 10-AUG-2009 17:12:11
    ...Fetching next project
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    ...about to call AutoAccounting
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    Entering pafvsu
    Allocating pafvcs structure
    Allocating memory for structure, fdfkai
    Allocating memory for structure, fdfkao
    Allocating flex input and output structure
    Assigning ptype
    Calling pagtfn
    Nullig out
    Setting everything that does not need to be allocated
    Allocating optional arrays
    Checking a_line_id
    Checking a_trans_ind
    Checking a_param_lst
    Checking a_extra_atr
    Allocating required array
    Allocating auto accounting elements
    Describing kff and control processing options
    Tune flex validation system options
    Allocate main cache
    Allocate additional memory for main cache
    Allocate ksv if needed
    Store pointer to text strings in last ksv element so we can free later
    val [¿], segval [00000000]
    val [00000000], segval [000000]
    val [000000], segval [7210OCOA01]
    val [7210OCOA01], segval [0000]
    val [0000], segval [72OXLFTG]
    val [72OXLFTG], segval [66101010]
    val [66101010], segval [7210]
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    ...returned from AutoAccounting
    ...about to update pe_expenditures_all for intercompany processing
    Current system time is 10-AUG-2009 17:12:11
    Entering parddl()
    ...setting error codes and bad code combination id to null
    ... Update draft revenues for marking autoaccounting error if any
    Current system time is 10-AUG-2009 17:12:11
    0 rows updated.
    ... Update draft revenues without generation error to normal state
    Current system time is 10-AUG-2009 17:12:11
    1 rows updated.
    ... Update pa_cust_event_rev_dist_lines for setting bad CCID to null
    Current system time is 10-AUG-2009 17:12:11
    0 rows updated.
    ... Update pa_events for marking AutoAccounting error if any
    Current system time is 10-AUG-2009 17:12:11
    0 rows updated.
    ... Update pa_events for setting revenue_distributed_flag to 'N'
    Current system time is 10-AUG-2009 17:12:11
    0 rows updated.
    ... Update pa_cust_rev_dist_lines for setting bad CCID to null
    Current system time is 10-AUG-2009 17:12:11
    0 rows updated.
    ... Update pa_expenditure_items_all for marking AutoAccounting error if any
    Current system time is 10-AUG-2009 17:12:11
    0 rows updated.
    ... Update pa_expenditure_items_all for setting revenue_distributed_flag to 'N'
    Current system time is 10-AUG-2009 17:12:11
    0 rows updated.
    Leaving parddl()
    Current system time is 10-AUG-2009 17:12:11
    Current system time is 10-AUG-2009 17:12:11
    0 rows updated with Generation error due to ccid=-1
    Current system time is 10-AUG-2009 17:12:11
    0 rows updated with Generation error PA_REV_GEN_ERROR
    Current system time is 10-AUG-2009 17:12:11
    ...1 projects processed for revenue generation
    Deleting automatic event for which revenue has generation error
    Current system time is 10-AUG-2009 17:12:11
    ...about to update proj summary funding amounts
    executing pa_billing.check_spf_amounts('B',196, , ) Calling check_spf_amounts...Inside the Single projects If
    Current system time is 10-AUG-2009 17:12:11
    ...about to generate reports
    SEL-SUC:72DM000001 4 1048 AP Exploration Operating DML 101 31-AUG-09 121659.83
    Current system time is 10-AUG-2009 17:12:12
    ...completed generating reports
    Process completed.
    0 rows deleted from distribution_warnings table.
    Start of log messages from FND_FILE
    Request id is :714111
    Before calling the insert event for top task_id :19839
    Parameters to the insert event API :
    Revenue amount is :12106.73
    Bill amount is :12106.73
    Project id is :196
    Event Type is :BILLING
    Top Task id is :19839
    organization id is :239
    completion date is :31-AUG-2009
    event description is :Financing Fee
    Return status after calling insert event is :0
    error message after calling insert event is :
    Before calling the insert event for top task_id :14612
    Parameters to the insert event API :
    Revenue amount is :109553.1
    Bill amount is :109553.1
    Project id is :196
    Event Type is :BILLING
    Top Task id is :14612
    organization id is :239
    completion date is :31-AUG-2009
    event description is :Expenditure
    Return status after calling insert event is :0
    error message after calling insert event is :
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 714111
    Number of copies : 0
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 10-AUG-2009 17:12:12
    ---------------------------------------------------------------------------

    Duplicate thread.
    fnd_request.submit_request error with PA_SRS_DATES2 value set
    fnd_request.submit_request error with PA_SRS_DATES2 value set

  • Problem While Defining  "VALUE SET"

    Dear All,
    I am finding problems while defining "Value Set".
    I wanted to select "DISTINCT" Column from a particular Table.
    It is not allowing me to select distinct Column.
    Is there any other alternative ??

    Hi Tarak,
    Create a view selecting distinct values and then use this view as a table in your value set.
    Vishal

  • How to change stored procedure with Table Valued Parameter

    I am not sure how to change the normal stored procedure with Table Value Parameter.Do I have to create a separate Table or do I have to create a datatype. Can you please help me with this
    ALTER PROCEDURE [dbo].[uspInsertorUpdateINF]
    @dp_id char(32),
    @dv_id char(32),
    @em_number char(12),
    @email varchar(50),
    @emergency_relation char(32),
    @option1 char(16),
    @status char(20),
    @em_id char(35),
    @em_title varchar(64),
    @date_hired datetime
    AS
    BEGIN
    SET NOCOUNT ON;
    MERGE [dbo].[em] AS [Targ]
    USING (VALUES (@dp_id, @dv_id , @em_number, @email, @emergency_relation, @option1, @status, @em_id, @em_title, @date_hired))
    AS [Sourc] (dp_id, dv_id, em_number, email, emergency_relation, option1, status, em_id, em_title, date_hired)
    ON [Targ].em_id = [Sourc].em_id
    WHEN MATCHED THEN
    UPDATE
    SET dp_id = [Sourc].dp_id,
    dv_id = [Sourc].dv_id,
    em_number = [Sourc].em_number,
    email = [Sourc].email,
    emergency_relation = [Sourc].emergency_relation,
    option1 = [Sourc].option1,
    status = [Sourc].status,
    em_title = [Sourc].em_title,
    date_hired = [Sourc].date_hired
    WHEN NOT MATCHED BY TARGET THEN
    INSERT (dp_id, dv_id, em_number, email, emergency_relation, option1, status, em_id, em_title,date_hired)
    VALUES ([Sourc].dp_id, [Sourc].dv_id, [Sourc].em_number, [Sourc].email, [Sourc].emergency_relation, [Sourc].option1, [Sourc].status, [Sourc].em_id, [Sourc].em_title, [Sourc].date_hired);
    END;

    It's not clear how you would change the procedure. But assuming that you want to replace the existing scalar parameters with tabular input, this is how you would do it. You first create a table type:
    CREATE TYPE  Insertor_type AS TABLE
        (dp_id                char(32),
         dv_id                char(32),
        em_number            char(12),
        email                varchar(50),
        emergency_relation   char(32),
        option1              char(16),
        status               char(20),
        em_id                char(35),
        em_title             varchar(64),
        date_hired           datetime)
    Then you change the procedure header:
    ALTER PROCEDURE [dbo].[uspInsertorUpdateINF] @tvp Insertor_type READONLY AS
    And finally you change the USING clause:
       USING (SELECT dp_id, dv_id , em_number, email, emergency_relation, option1, status, em_id, em_title, date_hired
              FROM   @tvp) AS [Sourc] ON [Targ].em_id = [Sourc].em_id
    The rest is fine as it is.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Problem with offset values

    Hi Experts,
    I have a problem with offset values. I have create a variable on OFISCPER, it's characteristic value, indivdual value, mandatory and ready for the input. I need to show the varibel period and the l previous period and so on till 12 periods. I used the offset values (-1, -2, etc.) but when I execute the query I can show just the variable period and the period previous I don`t see. The query is based on multiprovider and don´t has filters. Can anyone help me?

    Leonel,
    You may nt need to have 12 columns in the query designer.
    You could include the keyfigure and restrict it to the variable and create the offset for the 12 periods
    Check this http://help.sap.com/saphelp_nw04/helpdata/en/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm
    -Doodle

  • Problem with table formatting

    I'm having a lot of problems with tables not reflecting their formatting when I open them in a browser. I've tried opening in Safari, Firefox & Camino with the same results. For example, a row with the following html content has a much larger height & aligns the text to the top when opened in a browser:
    <tr>
              <td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
              </td>
            </tr>
    If it matters, this is a row in a table nested in another table. Here's the code down to the row in question (all tags are closed properly in the remaining code):
    <table width="600" border="2" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="top"><img src="images/events.jpg" width="250" height="35"></td>
        </tr>
        <tr>
          <td align="left" valign="top">
          <table width="100%" border="0" align="center" cellpadding="1" cellspacing="0">
            <tr>
              <td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
              </td>
            </tr>
    I am using a style sheet for text. Here's the code for "h6" if that matters:
    h6 {
    font-family: Verdana, Geneva, Arial;
    font-size: 14px;
    font-weight: bold;
    color: #660099;
    Any ideas is appreciated. This is driving me nuts. Spacing and alignment sometimes work and sometimes don't work. Dreamweaver is supposed to make such things easier!
    Kevin

    Header tags are usually used round a bit of text, not parts of a table, and if you don't specify the margins on them, can force different amounts of space below in different browsers. Try making the bottom margin on h6 zero, and confine it to text within a cell.
    Also, if you can upload your page somewhere and let us have the url it will be easier to troubleshoot.

  • Problem with tables -- need help!

    I am having problems with table formatting, when using
    Preformatted text. The tables look fine in the WYSIWYG editor, but
    have lots of extra space above and below the text when looking at
    the output files.
    I will attach the code from one of the HTML files from my
    project, so you can see what I'm talking about.
    Thanks.

    Well, if you're talking about the single-celled table with
    the line:
    <p class=Preformatted>[assembly:
    Ace.AceAssembly]</p>
    </pre>
    ... you can eliminate the <P> tags. that will give you
    one line less. Otherwise, your remaining space is the result of the
    <PRE> tag. It, like the <XMP> tag, gives it one line of
    space beneath as well.
    Your alternative beyond that would be to, when needed, wrap
    up the script in Javascript. That line, for instance, wouldn't need
    it.

  • What could be the problem with table REGUH

    Hi exprts
    i developed a report . its wrking ok in developemt system
    but in Quality system ,
    the below query is taking more time.
    in quality even  i have taken slection criteria which is very less than devlopment selection.
    please tell me the below query is performance wise not good or
    is there any problem with table REGUH in quality system?
      IF NOT ( t_bsak_aux[] IS INITIAL ).
        SELECT laufd laufi xvorl zbukr lifnr rwbtr kunnr empfg"
               vblnr ausfd rzawe
          FROM reguh
          INTO TABLE t_reguh
          FOR ALL ENTRIES IN t_bsak_aux
          WHERE laufd <> space
            AND laufi <> space
            AND zbukr = t_bsak_aux-bukrs
            AND lifnr = t_bsak_aux-lifnr
            AND vblnr = t_bsak_aux-augbl.
    thanks in advance
    regards
    neeru

    Hi,
    Using SPACE against the keys (LAUFI, LAUFD - specifically LAUFD) will most likely return no results. LAUFD, being one of the keys and the date which the program is supposed to run (considering that this is settlement data - it has already run) - implies that this field will be populated.  Putting " = SPACE" in your where clause is saying that you want to find records from the table where those fields are not populated.  That is fine for LAUFI, considering it is the indicator for a proposal only. In my requirement, my client did not want to see proposals but only real payment runs - therefore, LAUFI = SPACE is correct. 
    The reason you are having poor performance while selecting form this table is because it is a cluster table like bseg.  This thread explains a little bit of why cluster tables are a performance nightmare when trying to select - although it is about bseg, you will get the idea:
    http://blogs.ittoolbox.com/sap/db2/archives/select-from-bsegrfblg-performance-problem-14247
    I'm trying to find an alternative to get bank account information regarding payments - I will post a reply if I am lucky to find one! 
    Good luck

  • Problem with a data set: DIAdem crashes

    Hi,
    I've got a problem with a data set. When I want to zoom in DIAdem-View, DIAdem crashes with the following message (translated from German ;-):
    error type: FLOAT INEXACT RESULT or FLOAT INVALID OPERATION or FLOAT STACK CHECK
    error address: 00016CB8
    module name: gfsview.DLL
    I've got some similar data set not showing such problems. Further on I scanned the data a bit, but in the 59000 points I didn't see anything special. I did try to delete "NOVALUE"s as well, but after that there still exist "NOVALUE"s.
    Does anyone have an idea what to look for?
    Thanks,
    Carsten

    Carsten,
    Could you please upload you Citadel database to the following FTP site:
    ftp.ni.com/incoming
    If you want to compress (ZIP) and/or put a password on the data, that's fine. Please send me a private email at [email protected] (with the file name and password if you put one on the file) once you have uploaded the file and I will check it out.
    Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Problem with table MBEWH

    Hello SAP experts , im having a little problem with table MBEWH because the data i whant to extract isnt the correct one, i saw that this table stores all the prices for the materials and it groups them by year and by month but when i check to see what was the price for a specific material the price i had on that time periord inst the same as the one on the system, also i manage my material with baches and when i check to  see if that batch was in that period of time it isnt so im really confused as to how the system saves the historical data on this table, thank you in advanced.
    kind regards

    read OSS note 193554 , it explains everything

  • Bex analyzer - internal error problem with table c_t_variable

    HI All,
         When ever I try to refresh a query in Bex-Analyzer ,Iam getting "internal error problem with table c_t_variable".
         Please advise
    Edited by: Aparna Duvvuri on Jan 13, 2010 10:53 AM

    Hi Aparna,
    try to open the query in RSRT and debug the query.the error is due to some  customer exit variable so try to debug the code for the variable and rectify it.
    Thanks,
    Ashok

Maybe you are looking for

  • File Upload and download from a central repositiory.

    Hi experts,   I  have written the following code in webdynpro for abap...But it is giving error as "Access Via Null Object Not possible" This code runs perfectly fine in abap. I dont know what is the problem in webdynpro . Code :    data: ifile1 type

  • PO details in VK11

    Hi gurus, The scenario is like this: Condition records are maintained based on the Purchase order received from the customer and corresponding despatches and billing has to be done. Can we capture the PO details while creating the condition records i

  • Oracle Syntax for Update with Join

    Can anyone help with the Oracle Syntax on and update that includes a join? This is what I've got: Update (SELECT a.DOCUMENT_NO From DOCUMENT_CONTROL a, DOCNOTEST b where a.DOCUMENT_NO = b.DOCUMENT_NO) set a.PATH = NULL Everything I try leads to anoth

  • Publication instances not visible to others

    Hi All, We have one publication having webi report as source document. This publication is scheduled to run for one recipient but the idea is to make these instances visible to another user group who share same database profile as of this user. This

  • PPTPlex Features in Keynote

    Hi I stumbled upon pptplex (http://www.officelabs.com/pptplex) which adds a great feature to powerpoint which allows you to present in a non-linear format - a bit like a mindmap, with slides categorised according to type... I'm reasonably new to Keyn