Status clsd not unique (Selection via input help (F4) only) -COOIS

Hi all,
We doing upgradation 4.7E to Ecc 6.O
In coois , When we enter system status as 'clsd' , system showing error msg
Status clsd not unique (Selection via input help (F4) only)
Message no. COIS054
Why this error occurs.. how to solve this???
looking for answers..
Thanks in advance..

Please read OSS note 1377678.

Similar Messages

  • Sys. status :REL not unique in transaction code -- COOIS

    Hi expert
       In erp 6.0 , when I run t-code  COOIS and choose the sys. status "REL", the system show me the error :Status rel not unique .
    And I press F4, there are two REL status in fact. I want to know how to define the sys. status. How can we deal with this
    case of this problem? Thank you in advance : )

    Dear Liting,
    The root cause of the problem is that the status 'REL' is not unique in your system. In transaction BS23, you can see that there are two status with the abbreviation REL: status I0002 (which is the status that is relevant for COOIS) and status I7203 (which belongs to ECM).
    The I0002 is the correct one for the 'Release' status of order, and I7203 is for the status of ECM (Engineering change management),
    Since the status 'REL' is not unique, note 1257156 causes the error message COIS 054 and enforces the use of F4. Of course, there is no error if you use F4 directly, because the user is already using F4. 
    In order to solve the issue, please use transaction BS22 and change the status text of status I7203 from 'REL' to 'RELZ' or to 'Rel' (Lower case). Save and add the change to a transport request.
    After this, status REL should be unique once more and message COIS 054 should no longer appear.      
    I hope this could be helpful.                                       
    Regards,
    Tibor

  • Sales doc items with the status CLSD ARE being selected for month-end

    We are working to improve month-end processing time for Sales Orders  We use SAPKKA12 to set CLSD status on line items
    SAP Help states: be sure that the status CLSD (closed) is set for all sales document items that you do not want to include in the period-end closing process. The sales document items with the status CLSD are then not selected for processing in the period-end closing process. Use report program SAPKKA12 to set the status.
    This use to work (in 4.0). I have been on other projects and just brought back to this after several years (now in 5.0).  Testing today shows that orders with CLSD status are being selected for month-end process.
    Any ideas why this is so?  System is selceting over 300,000 orders when well over half of them are set to CLSD.  I do get a message that the order is not relevant to processing, but selecting the order and logging the message take time. and the logs are VERY long.
    thanks

    Does any one else have this issue  that Sales documents with status CLSD are selected by RA (KKAK)?
    In just one of our jobs, i get this Basic List
    Perform actual results analysis      31273      
    Not relevant                                                 103894
    Error                                                        2306      
    Objects Selected                                    137,473
    75% of the orders are CLSD.  and the system is still counting them. (we do not out put information messages)
    I do understand that the orders are not analyzed,  but all documentaion states that CLSD status is not selected, and in our 5.0 system, they are selected.  In our 4.0 system, they were not selected.
    Does this truely work for anyone in a 5.0 system?
    Thanks
    Althea

  • Selection-screen: Input help for VTWEG

    Hello!
    Can anybody help me with the following problem:
    I have two select-options (VKORG and VTWEG) on my selection screen. Now there should be the possibility to restrict the values shown as input help for VTWEG after having selected a value for VKORG.
    I've already tried to do this by using a matchcode object but for VKORG and VTWEG I was not able to find suitable search helps.
    In my opinion this should be possible without using the "AT SELECTION-SCREEN ON VALUE-REQUEST FOR ...". If not, it would be interesting to getting to know your approaches to this task.
    Thank you in advance!

    you can refer to the following code
    and you can write the code in the same way as per your requirement
    *& Report  ZRKTEST5                                                    *
    REPORT  ZRKTEST5                                .
    DATA: PROGNAME TYPE SY-REPID,
          DYNNUM   TYPE SY-DYNNR,
          DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
          FIELD_VALUE LIKE LINE OF DYNPRO_VALUES.
    DATA: BEGIN OF T_T001L OCCURS 0,
            WERKS TYPE WERKS_D,
            LGORT TYPE LGORT_D,
          END OF T_T001L.
    DATA: V_WERKS TYPE WERKS_D,
          V_LGORT TYPE LGORT_D.
    SELECTION-SCREEN BEGIN OF BLOCK B1.
      PARAMETERS: P_PLANT LIKE MSEG-WERKS,
                  P_STOLOC LIKE MSEG-LGORT.
    SELECTION-SCREEN END OF BLOCK B1.
    INITIALIZATION.
      PROGNAME = SY-REPID.
      DYNNUM = SY-DYNNR.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_STOLOC.
      CLEAR: FIELD_VALUE, DYNPRO_VALUES. REFRESH DYNPRO_VALUES.
      FIELD_VALUE-FIELDNAME = 'P_PLANT'.
      APPEND FIELD_VALUE TO DYNPRO_VALUES.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME             = PROGNAME
                DYNUMB             = DYNNUM
                TRANSLATE_TO_UPPER = 'X'
           TABLES
                DYNPFIELDS         = DYNPRO_VALUES.
      READ TABLE DYNPRO_VALUES INDEX 1 INTO FIELD_VALUE.
      SELECT WERKS LGORT INTO TABLE T_T001L FROM T001L WHERE WERKS = FIELD_Value-fieldvalue.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                RETFIELD    = 'P_STOLOC'
                DYNPPROG    = PROGNAME
                DYNPNR      = DYNNUM
                DYNPROFIELD = 'P_STOLOC'
                VALUE_ORG   = 'S'
           TABLES
                VALUE_TAB   = T_T001L.
    START-OF-SELECTION.
      WRITE:/ 'TEST F4 PROGRAM'.
    END-OF-SELECTION.
    <b></b>
    reward points if helpfull
    Regards
    Vikure

  • ALV - refresh data after value is selected from input help

    Hello,
    I have input ALV where after I enter material number and press enter, the logic goes ahead and populates description column by utilizing ON_DATA_CHECK event.
    Is is possible to trigger some kind of event after the value is selected from search help without hitting enter key?
    When the user done with using search help and clicks on material number that he needs, the value is populated in ALV cell, and this is where I need some event trigger to fire the logic to get description without pressing enter.
    Thanks,
    Alex

    Alex, in that case, the alternative you have is to:
    - Create a Z structure where you have all the table fields
    - Bind the Standard DDIC search help to the Material ID (Importing) and the Description (Exporting)
    - Create the whole context node in WD referencing that DDIC structure.
    The important thing here is that the context node as a whole must reference the structure in order for this to work, not just the fields affected. This may not be possible or desirable in certain cases.
    If you do this, the Description will be populated by the SH through its returning parameter, so you wont have to do anything in WD to retrieve it as for the manual input + Enter cases.
    Here you have some help on SHs parameters:
    http://help.sap.com/saphelp_nw70/helpdata/EN/35/bdb6e2c48411d1950800a0c929b3c3/frameset.htm
    Hope this helps.
    Edited by: Alejandro Bindi on Sep 19, 2008 12:36 PM

  • Selection from Input help different from PA30 IT0014

    Hi Guys,
    Need advise as i'm trying to get the same result data from input help in IT0014 (wage type). I'm using normal selection from table but the result set are diffrent.
    I'm noticed more value appeared than the input help in IT0014 PA30.
    I checked on the input help seems no parameter passing.
    Attached is the screen for input help .
    Brgds
    Badz

    Finally after few debugging the logic and google searching .
    The answer is because in they wage type appeared in the search help already filtered by employee group and subgroup also personnel area.
    So each user will have different search result/input help  based on their group or pers area.

  • The ToC node is not getting selected although the help result pane displays the correct help page

    I have followed steps given below for a merged project system:-
    1.  I created 3 projects Module_1 and Module_2.
    2. Created the CHM output for the above 2 projects.
    3.  Created a Main project.
    4.  Merged the above 2 CHM in the project.
    5.  Created a new window and added Main.hhc in the TOC option under advance properties.
    6. Generated html output for entire project Main.chm.
    7. Decompile the ‘Main.chm’ and extracted the ToC file ‘Main.hhc’.
    8. For each module project, imported ‘Main.hhc’ as a Baggage File, created window definitions same as Main project and with reference to ‘Main.hhc’.
    9. Again generated html output for all the modules and copied both the CHM at the same place.
    10. Now regardless of my entry point I am able to see entire ToC.
    Issue: When I open Module_1.chm, the chm is displayed as follows, but Main book is highlighted instead of module 2 Book. As I have selected both the options, i.e. Auto-synchronize ToC and Always Show Selection option (when generating chm), Module 1 book should get selected.
    Is there a way to control the selection in the LHS pane?  I am working on a project which has 15 module chms and the chms are integrated with the application. When I press F1 on a module, the default topic is getting displayed and the respective module is not selected in the LHS pane.
    Best regards,
    /Vikas

    I have followed steps given below for a merged project system:-
    1.  I created 3 projects Module_1 and Module_2.
    2. Created the CHM output for the above 2 projects.
    3.  Created a Main project.
    4.  Merged the above 2 CHM in the project.
    5.  Created a new window and added Main.hhc in the TOC option under advance properties.
    6. Generated html output for entire project Main.chm.
    7. Decompile the ‘Main.chm’ and extracted the ToC file ‘Main.hhc’.
    8. For each module project, imported ‘Main.hhc’ as a Baggage File, created window definitions same as Main project and with reference to ‘Main.hhc’.
    9. Again generated html output for all the modules and copied both the CHM at the same place.
    10. Now regardless of my entry point I am able to see entire ToC.
    Issue: When I open Module_1.chm, the chm is displayed as follows, but Main book is highlighted instead of module 2 Book. As I have selected both the options, i.e. Auto-synchronize ToC and Always Show Selection option (when generating chm), Module 1 book should get selected.
    Is there a way to control the selection in the LHS pane?  I am working on a project which has 15 module chms and the chms are integrated with the application. When I press F1 on a module, the default topic is getting displayed and the respective module is not selected in the LHS pane.
    Best regards,
    /Vikas

  • MB467 Trackpad not registering clicks via press but touch only

    Recently I discover that my trackpad is not working as it normally does.
    The buttonless trackpad is now registering clicks badly. For 10 times I press on the glass, it register around 6. Touching to click is just fine.
    This is embarrassing, when I try to drag, it stop halfway or doesn't register at all!
    Anybody?

    The trackpad physically moves, so it could be a faulty connection inside the machine. Certainly sounds like it. It's unlikely to be a software issue.
    Your best step is to contact Apple to have the machine serviced, or take it into an Apple Store if you can.

  • Cal Day input help not calendar but list of entries in infoprovider?

    Good Day,
    is there any setting in BEX or on the infoobject defintion that changes the behaviour of the input help?
    We got the requirement that for a loaddate field (referencing 0CALDAY) not the calendar as input help should be displayed (when user clicks input help or presses F4 in the query filter) but a list of load dates that are in the info provider.
    All replies are appreciated and points assigned.
    Best regards,
    Axel

    Hello Axel,
    As long as the InfoObject is of Type Date or Reference a Date InfoObject, you will get a calendar popup when you try selecting the value in the Selection screen.
    If your requirement is to have a list format, then you could try creating a new InfoObject of Type DATS.
    Another approach would be to create a new InfoObject of Type CHAR 10. Write a routine in the transformation to populate this. You need to store it as YYYY.MM.DD, if you want it to appear in Chronological order in the Selection Screen.
    Hope this helps you out.
    Regards
    Zubin Kurian

  • A question about search help and input help,PLZ take a look at it.

    hi everyone,
    i want to know the difference between search hlep and inpu help
    can anyone tell me about that?
    thanks

    HI
    BOTH ARE SAME
    you can define F4 help in 2 ways
    in SE11 or in the report program
    IN SE11
    Attaching a search help to a table field
    Choose the field name, click on search help tab and
    provide the name of the search help.
    A search help is attached to a field of a table or structure in the maintenance transaction for this table/structure, analogously to attaching to a table. You must assign the interface parameters of the search help to any fields of the table/structure. The search field must be assigned to an EXPORT parameter of the search help at this time.
    Attach the search help to the table field
    The search help ZSTRAVELAG_NAME is therefore directly attached to the field AGENCYNUM of table ZSTRAVELAG.
    Attaching a search help to a data element
    Provide the search help name and the parameter name
    under the further characteristics tab of the data element.
    If the input help of a field is defined by its data element, no further screen fields can be used in the input help.
    Also note that the input F4 help would be available wherever the data element is used.
    Attaching a search help to a screen element
    A search help can be directly assigned to a screen field in two ways.
    The name of the search help must be entered in the Screen Painter in the Attributes for the field in the field Search help.
    The name of the search help can be defined for selection screens in ABAP reports in the PARAMETERS or SELECT-OPTIONS statement directly following the supplement MATCHCODE OBJECT.
    However, input help is only available for this particular screen.
    in REPORT PROGRAM
    in this way we declare in report program
    TYPES : BEGIN OF ST_OBJID_SH,
    OTYPE TYPE HRP1000-OTYPE,
    OBJID TYPE HRP1000-OBJID,
    END OF ST_OBJID_SH.
    DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
    DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    *SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
    SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
    SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    IF S_OBJID IS NOT INITIAL.
    SELECT OTYPE OBJID FROM HRP1000
    INTO TABLE IT_OBJID_SH
    WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    SEARCH HELP FOR QUALIFICATION.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'OBJID'
    PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'S_OBJID'
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'S'
    MULTIPLE_CHOICE = ' '
    DISPLAY = ' '
    CALLBACK_PROGRAM = ' '
    CALLBACK_FORM = ' '
    MARK_TAB =
    IMPORTING
    USER_RESET =
    TABLES
    VALUE_TAB = IT_OBJID_SH
    FIELD_TAB =
    RETURN_TAB = RETURN_TAB
    DYNPFLD_MAPPING =
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    Check this out
    http://www.sap-img.com/abap/value-request-for-parameter.htm
    ******************************8
    sample program
    report zrich_0001 .
    data: begin of ihelp occurs 0,
    field type char10,
    ftext type char50,
    end of ihelp.
    data: a_field(20) type c.
    select-options s_field for a_field.
    initialization.
    ihelp-field = 'A'.
    ihelp-ftext = 'Description A'.
    append ihelp.
    ihelp-field = 'B'.
    ihelp-ftext = 'Description B'.
    append ihelp.
    ihelp-field = 'C'.
    ihelp-ftext = 'Description C'.
    append ihelp.
    at selection-screen on value-request for s_field-low.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
    retfield = 'FIELD'
    dynprofield = 'S_FIELD'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    value_org = 'S'
    tables
    value_tab = ihelp.
    start-of-selection.
    one more program....
    REPORT ZHELP .
    TABLES : MARA.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_MATNR(10) TYPE C.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF ITAB OCCURS 0,
    MATNR TYPE MATNR,
    END OF ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
    SELECT MATNR
    FROM MARA
    INTO TABLE ITAB
    UP TO 10 ROWS.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'MATERIAL NUMBER'
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_MATNR'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = ITAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3.
    Create it from SE11.
    enter search help
    and create elementary
    enter description and below Table name
    and the fields
    see the doc
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm

  • Cannot see the default input help values in the preview mode ALDesigner P&F

    Hi experts,
    I'm currently implementing a HCM PROCESS FORM process.
    I'm wondering why I'm not able to see the default input help of a dropdown UI ISR element in the Preview mode within adobe live cycle designer.
    I have linked my field with SAP-PA backend-service through Form Scenario.
    Within adobe live cycle designer, in the Binding tab page and then Element Values, I entered the following value in the Objects field: $record.sap-vhlist.<Field
    name>\.DATA\.FIELD.item[*], whereby <Field name> is the name of the form field. but cannot see any values...?
    Could you provide me any help, advices on that.
    Thanks in advance,
    Regards
    Louis

    Hi
    You can do that in two ways.
    One is from PA services provided by SAP. Other one is you care create a Generic service to load the values.
    1. In HRASR_DT tcode  select the process and create the backend service for SAP_PA and add the field Employee group (PERSG )  by choosing IT 0001 and screen element  then select the Input Help and check the box for PA service .
    2. Create a backend service and create the BADI and inside that do the logic to load the Employee group from FM and bind the value to the field.
    Please refer the Enhancement Implementation HRASR00_USER_NAME for the sample. Class CL_HRASR00_GS_USER_NAME.
    see this link
    http://help.sap.com/saphelp_erp2005/helpdata/en/82/b6b94278560c31e10000000a1550b0/frameset.htm
    Kind Regards,
    Mukesh

  • Assignment: Business partner for person '50000029' is not unique

    HI,
    In the past, whenever I use to create the employee using Tcode PA40, the corresponding Business Partner (BP) used to get created.
    But now when I create the employee, BP does not gets created.
    I checked using the program "HR_SYNC_PERSON" and found that whenever I select the employee option and execute it gives the following error(whenever I select the employee option and execute):
    Assignment: Business partner for person '50000029' is not unique
    Can you please help!
    Regards
    Manish

    Oh, I understand.  Earlier I misunderstood your statement.
    So the CP is 50000029.  Regardless, the point is still the same.  SAP tried generating a BP to tie to CP 50000029.  Your system HAS configured a BP number range.  Whatever the next value of your number range is, seems like is already being used. 
    Go to the BP number range config and look at the next value.  Look in transaction BP and enter that BP and see if you get any hits.  My guess is that you will.  You'll likely need to end up changing your business partner number range.  You won't get unique violations for different OTYPE values. 
    What's your existing BP number range next value?  What happens when you search for that value in transaction BP?

  • Mapping a field from input help screen(Using POV) to user screen

    I have used the Function module 'DYNP_VALUES_UPDATE', to get the value from Description field in the search help.Now its throwing a runtime error mentioned below.
    Runtime errors: CALL_FUNCTION_CONFLICT_LENG
    Except. CX_SY_DYN_CALL_ILLEGAL_TYPE.
    Short text: Type conflict when calling a function module
    the function module was called incorrectly.
    Below is the code i implemented.
    ws_dynpfields-fieldname = wc_scrfld.
    ws_dynpfields-stepl = tc_1017-current_line.
    ws_dynpfields-fieldvalue = ws_hssr-text.
    APPEND ws_dynpfields TO wt_dynpfields.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    dyname = 'sapmzapp01'
    dynumb = '1008'
    TABLES
    dynpfields = wt_dynpfields
    EXCEPTIONS
    invalid_abapworkarea = 1
    invalid_dynprofield = 2
    invalid_dynproname = 3
    invalid_dynpronummer = 4
    invalid_request = 5
    no_fielddescription = 6
    undefind_error = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    MESSAGE e800(zmdb_mda_supplier).
    ENDIF.
    The above code is in screen USER COMMAND OF 1017(POV-input help screen).
    wt_dynpfields is the internal table.
    and its fields are fieldname,stepl and fieldvalue
    ws_dynpfields is the workarea of the internal table.
    wc_scrfld-Constant with value zbut0000qnnyxa-ztfldg6h7np'(the description field name of the screen 1008 where i want the description value to get in automatically after selecting from input help)
    ws_hssr-text= The Work area containing the value 'eg ORDER'.
    kindly get back immediately....

    Hi,
    This function works only after POV.
    So ensure that it is written in that module:
    like AT SELECTION-SCREEN ON VALUE-REQUEST FOR f_name.
    Hope it will guide you.
    Jogdand M B

  • ORA-01007 - variable not in select list error in pl\sql code

    Hi,
    When I tried to run this program I am getting below error:
    ORA-01007 - variable not in select list.Please help to resolve.
    Code:
    create or replace procedure "XX_BPM_DATA_P" (P_PROCESS_ID IN VARCHAR2)
    is
    TYPE l_entity_type IS TABLE OF xx_BPM_data.ENTITY%TYPE INDEX BY PLS_INTEGER;
    TYPE l_data_type IS TABLE OF XX_BPM_DATA.DATA%TYPE INDEX BY PLS_INTEGER;
    TYPE l_count_type IS TABLE OF XX_BPM_DATA.count%TYPE INDEX BY PLS_INTEGER;
    l_Entity_v l_Entity_type;
    l_data_v l_data_type;
    l_count_v l_count_type;
    l_security_group_id number;
    app_id number(20);
    l_Actual_value XX_BPM_DATA.DATA%TYPE;
    cursor BPM_CUR is select id,process_id , sequence, to_char(query) query,report_num from xx_test_bpm_dynamic
    where
        process_id = p_process_id
           and report_num=1
    order by process_id, sequence;
    BEGIN
    --delete xx_bpm_data where process_id = p_process_id;
    for bpm_rec in bpm_cur
    loop
    delete xx_bpm_data
    where process_id = bpm_rec.process_id
    and sequence = bpm_rec.sequence
    and report_num = bpm_rec.report_num;
    l_security_group_id := apex_custom_auth.get_session_id_from_cookie;
    --dbms_output.put_line(l_security_group_id);
    execute immediate bpm_rec.query BULK COLLECT INTO l_ENTITY_v,l_DATA_v,l_count_v;
    if (bpm_rec.report_num=2) then
    app_id:= 108;--NV('APP_ID');
    FORALL i IN l_ENTITY_v.FIRST..L_ENTITY_V.LAST
    INSERT INTO XX_BPM_DATA
        (EnTITY,
    value,data,count,
    Process_ID,
    Sequence,report_num)
    VALUES(l_entity_v(i),
    l_data_v(i),
    '<A HREF="f?p='||app_id||':301:'||':APP_SESSION'||'::::P301_process_id,p301_sequence,p301_id,p301_entity:'||bpm_rec.process_id||','||bpm_rec.sequence||','||bpm_rec.id||','||l_entity_v(i)||':">'||l_data_v(i)||'</A>',
        l_count_v(i),bpm_rec.process_id,
    BPM_rec.sequence,
    bpm_rec.report_num);
    else
    FORALL i IN l_ENTITY_v.FIRST..L_ENTITY_V.LAST
    INSERT INTO XX_BPM_DATA(EnTITY,data,
        count,
    Process_ID,
    Sequence,report_num)
    VALUES(l_entity_v(i),
    l_data_v(i),
        l_count_v(i),
        bpm_rec.process_id,
    BPM_rec.sequence,
    bpm_rec.report_num);
    end if;
    select round(avg(value),2) into l_actual_value from xx_bpm_data where process_id=bpm_rec.process_id and sequence=bpm_rec.sequence and report_num=bpm_rec.report_num;
    update xx_test_bpm_dynamic set value=l_actual_value where process_id=bpm_rec.process_id and sequence=Bpm_rec.sequence and report_num= bpm_rec.report_num;
    end loop;
    Commit;
    END;

    When I tried to run this program I am getting below error:
    ORA-01007 - variable not in select list.Please help to resolve.
    You likely would not need any help in you wrote and tested your code using standard best practices.
    Your code has NO exception handler and you are NOT identifying each step in the code so that the exception handler could print/log a message telling you EXACTLY which step raised the exception.,
    v_step NUMBER;
    -- before step 1
    v_step := 1;
    -- before step 2
    v_step := 2;
    Then in the exception handler the value of 'v_step' will tell you which step raised the exception.
    The exception you posted refers to a 'select list' so examine ALL of the select lists in your code. If you do that you will see that the primary query being run is obtained from a database table and then executed using dynamic SQL
    execute immediate bpm_rec.query BULK COLLECT INTO l_ENTITY_v,l_DATA_v,l_count_v;
    We have no way of knowing what query is in 'bpm_rec.query' when the exception happens or what columns that query returns. For all we know the query returns 2 columns and you are trying to load 3 collections. Or maybe the query returns 8 columns and you are trying to load 3 collections.
    Why don't you print out the query and execute it manually so you can see exactly what the result set looks like?
    dbms_output.put_line(bpm_rec.query);
    And don't even get us started on why you are using such security-prone dynamic sql to perform this processing instead of using ordinary SQL statements. Or why you are using associative arrays for the BULK COLLECT instead of nested tables.
    In short your code could blow up in several places and, because you have NO logging statements, control statements or exception handlers, anyone having to troubleshoot that code would have absolutely no idea what part of it may be the problem.

  • Input help of the org. hierarchy

    Hello all,
    I have two similar enviroments, one with ish version 4.6 and another with version 6.00
    The input help of the organizational hierarchy when it is called from nv2000 or report RNLORG01
    in 6.00 is very slower than 4.6. (Both enviroments have the same parameters OE_LEVEL and OE_LOAD) There is something I can do to optimize this input help? Thanks in advance.
    Regards.

    There are two more recent notes related to this input help:
    Note 1272171 - IS-H: OrgUnit input help does not display all OrgUnits
    The input help for organizational units does not display all inter-departmental organizational units
    Note 1292719 - IS-H: Input help for nursing OU displays incorrect info
    If you call the input help in NV2000 in the field "Nursing OU", the system may not display the name of the nursing OU correctly in some cases. The system displays the name of higher-level departmental OU instead.

Maybe you are looking for

  • How can I customize Waveform Chart?

    I want a routine to display selected waveforms on a chart. The input is a waveform array.  The chart should have the following: 1. Y axis labels using the waveform names 2. Legend plot labels using the waveform names 3. X axis in seconds from the sta

  • Incoming excise invoice posting problem

    Dear All,          When i post the Incoming excise invoice the following error is coming.           Register Number not defined for the location            Please guide. Edited by: Hitesh Parsawala on Oct 23, 2008 12:05 PM

  • Business Area wise Vendor Entry

    Hi, When a PO is raised and an IV created, we get the following FI entry            Business Area     Dr     Cr Expense A/C Dr           1     100      Expense A/C Dr           2     100      Expense A/C Dr           3     100           To Vendor A/C

  • Userexit to update sales order no for packaging material during PGI

    Hi, Scenario is like this:- 1.Sales order will be created for material X 2.Delivery will take place and packaging of material X will take place. 3.The packaging material will come as a line item and we do PGI by picking the quantity. 4.Now when we se

  • Windows Server 2012 Essential Role

    I am running Win2k12 R2, and have available the essential role. Can someone explain what feature would I gain from having this role?