E-REc: Error in Candidate Data Overview

Hi All,
When we try to  open the external candidate 'print preview' - Data overview for Candidate is not opening.
we are getting this error only for one candidate in production, rest for all the candidates - data overview is opening fine.
Error is: Error when generating the form for the data overview.
We have checked in SLG1 error are
Table row is larger than 176 cm
The error occurred in program CL_HRRCF_M_DATAOVERVIEW=======CM007 line 92.
Could you please advice.
Regards
BTM

Hello BTM,
as Antje described there is a technical restriction on the maximum length of a field in a SMARTFORM and can't be directly changed. But your issue is not unique. At some time it is found in nearly every eRecruiting system.
The most common case is that a candidate copied his cover letter from MS Word into the eRecruiting application. In some cases layout information and other special characters are transformed into line  breaks which causes the text to get very very long. More rarely you find candidates which actually have the urge to write a lot of pages for their cover letter or their work experience. The result is the same in both cases when the system tries to create the SMARTFORM the field exceeds the technical restrictions and you get the generation error.
My standard solution for this is to put a function into my data overviews to truncate texts which have the possibility to have this problem (cover letter, work experience description, education description, other qualifications). I truncate after a defined number of characters or a number of line breaks whatever comes first. I set the values as system parameters / values in a table of delivery type A so a system admin can change them quickly if necessary. Of course you could try to distribute the text to several fields but so far none of my customers thought this was necessary.
Kind Regards
Roman       

Similar Messages

  • E Recruiting HRRCF_CANDIDATE_PREVIEW'- Candidate data overview form

    Hi
    I have copied the standard candidate overview screen u2018HRRCF_CANDIDATE_PREVIEWu2019 and created two forms i.e. one for internal and the other for external. The reason is due to adding the 2 additional fieds for the Internal Candidates  I think I need assign these forms to respective objects/activities. I have verified the IMG path and I didnu2019t get the right path. Can you provide me a table or IMG path to assign the above document for the right object/activity please?
    Thanks in advance.

    Hello,
    Like what Nicole has mentioned, if you have different forms, it will not be possible to show the different forms based on candidate type i.e. Internal or External. What you can do is to include a condition in the smartform to check the candidate type. You can then have 2 tables, one for external and another internal which you can place under 'TRUE' and 'FALSE' to handle this requirement. I do not think there is a standard field paramter to check but you could look at using CL_HRRCF_CANDIDATE:IS_EMPLOYEE to determine True or False.
    Best Regards,

  • Sending External Candidate data from E-Rec to CRM

    Hi,
    I need to transfer candidate data that is stored in another HR instance (data is saved in Business Partners in E-Rec).
    Any recommendation how can it be achieved ? Via ALE?
    Thanks a lot for your help !!!

    Hi,
    i used different approaches here depending on the release, number and content of the additional fields:
    One option is transfering the additional information into HR by having a modification in the data transfer activity so the fields are put into table T752F in the HR system and are available in PA48.
    Similar but without a modification is a workflow linked to the data transfer activity which transfers the additional fields into the table. No modification needed but a bit more tricky to put the data into the table as you have to identify the correct temporary employee id the records need.
    A complete other approach would be using the XI / PI data transfer instead of the RFC based one.
    Best Regards
    Roman

  • E-Recruiting 3.0 - Problem with emailing Candidate's Data Overview as .pdf

    Hello,
    Not sure if I'm posting this to the correct forum, so please let me know if you suggest somewhere else to post.
    I'm trying to make available the data overview for applicants to hiring managers by emailing the Data Overview .pdf to them.  This is done while logged into the system via the web, and having the data overview open.  One of the options is to email a copy of the .pdf, which is what I am choosing to do.
    The email recipient can open up the .pdf file, but if there is an attachment to the overview (like a resume), the url link is incorrect, and the attached document cannot be retrieved.  When I hover over the url, it starts out with "file:///sap....", when it should start out with "https://jobs.mphi.org/sap...."
    When we originally testing this out months ago it did work.  Not sure what has changed in the meantime causing this to no longer work.  I'm hoping that someone else might have experienced the same or similar issue and would be able to assist me.
    Thank you,
    Leeanna

    Well,
    this is not a WebDynpro topic. The issue you have is quite clear.
    The links within the PDF have a relative link. Because of this, you can only click on the links within the PDF while having it open in the web browser.
    The only possibility to make the links available offline, is to modify. In this case you need to change the link generation to absolute links.
    But besides that, sending data overview by mail is quite unsafe and a big security risk for handling of applicant privacy.
    Regards

  • Problems with E-Recruiting Data Overview Smartforms

    Hello,
    We recently upgraded from E-Recruiting 3.0 sp12 to sp15.  During this upgrade we have noticed that our custom Data Overview Smartforms have not being displayed.  Instead the system is calling the original SAP delivered forms.  The problem is that in table T77RCF_UI_PARAM we have the parameters set to display the correct forms.  As strange as that sounds we were able to fix most of them by changing the case, i.e. from lower to upper or upper to lower, of the BSP application name.  We are still however having problems with one particular BSP application:
    <b>Name                         Paramtyp             Parameter</b>
    HRRCF_CAND_DOVR    DISPLAY_PDF     Z_ER_CANDIDATE_PREVIEW
    HRRCF_CAND_DOVR    SF_VIEW_CAND     Z_ER_CANDIDATE_PREVIEW
    The SAP delivered smartform is HRRCF_CANDIDATE_PREVIEW.
    This one, regardless of what case the BSP application is in, continually displayes the SAP delivered smartform.
    I have verified that the custom form is indeed active.  And we also went as far as appying oss notes:
    Note 1017662 - T77RCF_UI_PARAM: Application name is case-sensitive
    Note 1037121 - T77RCF_UI_PARAM: Length of Input Field ‘Parameters” too short
    Yet another twist to this is that when I log on as an Internal Candidate and click on the Data Overview link on the external candidate personnel page the custom form is displayed.  However, when I log on as an External Candidate and click on the same link the SAP delivered form is displayed.
    Could this have something to do with the type of roles assigned?  Just incase I verified that the roles for the External Candidate were indeed SAP_RCF_EXTERNAL_CANDIDATE and the internal role was SAP_RCF_INTERNAL_CANDIDATE.
    Any help would be appreciated!
    Respectfully,
    Ryan

    Well the error you are facing, that the external candidate does not see the custom smartform depends on a new BSP application that is delivered with SP14.
    You need to copy the customizing of hrrcf_cand_dovr to hrrcf_cdovr_ext.
    Regards

  • Error while loading data to ODS in BI7

    Getting such following errors when loading data to ODS through DTP(Data Transfer Process) in BI7.     
    Runtime error while executing rule -> see long text RSTRAN     
    Record filtered because records with the same key contain errors     RSM2
    and many so on...
    source system is ok no problem with the connection part.
    plz help.

    Hi Anup.
    Probably your records are not Unique, while you have told the system they should be.
    Try to move a discrimination characteristic from data fileds to key fileds.
    Or
    Try to set the "duplicate reords allowed" setting in your datasource (tab "General Settings" Delivery of Duplicate Data Recs. = Allowed)
    Udo

  • Error while populating data

    hi,
    Here i am giving the DDLs and Inserts of Database .i am getting error while fetching data into outlist.
    and the error is err_msg = ORA-00932: inconsistent datatypes: expected - got -
    I also posted the same one in my previous post but i did not got any satisfactory answer .Please help me out .It's urgent ..
    CREATE TABLE ip_lov_hdr
    (table_id VARCHAR2(50) NOT NULL,
    table_name VARCHAR2(30) NOT NULL,
    col_name VARCHAR2(30) NOT NULL,
    codetype VARCHAR2(2))
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    ALTER TABLE ip_lov_hdr
    ADD CONSTRAINT pk_lov_hdr PRIMARY KEY (table_id)
    USING INDEX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    CREATE TABLE ip_lov_dtl
    (table_id VARCHAR2(50) NOT NULL,
    col_name VARCHAR2(30) NOT NULL)
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    ALTER TABLE ip_lov_dtl
    ADD CONSTRAINT pk_lov_dtl PRIMARY KEY (table_id, col_name)
    USING INDEX
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    ALTER TABLE ip_lov_dtl
    ADD CONSTRAINT fk_lov_hdr FOREIGN KEY (table_id)
    REFERENCES ip_lov_hdr (table_id) ON DELETE SET NULL
    CREATE TABLE emp
    (ename VARCHAR2(50),
    empno VARCHAR2(9),
    dept VARCHAR2(4))
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    CREATE OR REPLACE
    TYPE out_rec_lov AS OBJECT(ename VARCHAR2(50),empno VARCHAR2(9))
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('titu','111','10')
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('naria','222',NULL)
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('tiks','123','55')
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('tiki','221',NULL)
    INSERT INTO emp
    (ENAME,EMPNO,DEPT)
    VALUES
    ('narayan',NULL,NULL)
    INSERT INTO ip_lov_hdr
    (TABLE_ID,TABLE_NAME,COL_NAME,CODETYPE)
    VALUES
    ('emp_id','emp','ename',NULL)
    INSERT INTO ip_lov_dtl
    (TABLE_ID,COL_NAME)
    VALUES
    ('emp_id','empno')
    create or replace PACKAGE PKG_LOV_1
    AS
    TYPE listtable IS TABLE OF out_rec_lov INDEX BY BINARY_INTEGER;
    PROCEDURE p_getlov (
    tab_id IN VARCHAR2,
    col_value IN VARCHAR2,
    OUTLIST OUT LISTTABLE,
    err_msg OUT VARCHAR2);
    END;
    create or replace PACKAGE BODY PKG_LOV_1 AS
    PROCEDURE p_getlov( tab_id IN VARCHAR2,
    col_value IN VARCHAR2,
    outlist OUT listtable,
    err_msg OUT VARCHAR2)
    IS
    query_str VARCHAR2(2000);
    col_str VARCHAR2(2000);
    type cur_typ IS ref CURSOR;
    c cur_typ;
    i NUMBER := 0;
    l_table_name ip_lov_hdr.TABLE_NAME %TYPE;
    l_col_name ip_lov_hdr.col_name%TYPE;
    l_codetype ip_lov_hdr.codetype%TYPE;
    BEGIN
    BEGIN
    SELECT TABLE_NAME,
    codetype,
    col_name
    INTO l_table_name,
    l_codetype,
    l_col_name
    FROM ip_lov_hdr
    WHERE UPPER(table_id) = UPPER(tab_id);
    EXCEPTION
    WHEN no_data_found THEN
    NULL;
    END;
    col_str := l_col_name;
    FOR rec IN
    (SELECT col_name
    FROM ip_lov_dtl
    WHERE table_id = tab_id)
    LOOP
    col_str := col_str || ',' || rec.col_name;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE (col_str);
    IF l_codetype IS NULL THEN
    query_str := 'SELECT ' || col_str || ' FROM ' || l_table_name || ' WHERE ' || l_col_name || ' like :col_value';
    ELSE
    query_str := 'SELECT ' || col_str || ' FROM ' || l_table_name || ' WHERE Codetype =' || l_codetype || ' And ' || l_col_name || ' like :col_value';
    END IF;
    DBMS_OUTPUT.PUT_LINE(QUERY_STR);
    BEGIN
    OPEN c FOR query_str USING col_value;
    LOOP
    FETCH c INTO outlist(i);
    i := i + 1;
    EXIT WHEN c % NOTFOUND;
    END LOOP;
    CLOSE c;
    EXCEPTION
    WHEN others THEN
    err_msg := SUBSTR(sqlerrm, 1, 500);
    END;
    EXCEPTION
    WHEN others THEN
    err_msg := SUBSTR(sqlerrm, 1, 500);
    END p_getlov;
    END PKG_LOV_1;
    Regards,
    Dhabas
    Edited by: Dhabas on Dec 29, 2008 12:58 PM
    Edited by: Dhabas on Dec 29, 2008 2:43 PM
    Edited by: Dhabas on Dec 29, 2008 2:54 PM

    I made one more small change. This code
    15             i number := 0;I modified as
    15             i number := 1;And It works fine for me
    SQL> create table ip_lov_hdr
      2  (
      3     table_id varchar2(50) not null,
      4     table_name varchar2(30) not null,
      5     col_name varchar2(30) not null,
      6     codetype varchar2(2)
      7  )
      8  /
    Table created.
    SQL> alter table ip_lov_hdr add constraint pk_lov_hdr primary key (table_id) using index
      2  /
    Table altered.
    SQL> create table ip_lov_dtl
      2  (
      3     table_id varchar2(50) not null,
      4     col_name varchar2(30) not null
      5  )
      6  /
    Table created.
    SQL> alter table ip_lov_dtl add constraint pk_lov_dtl primary key (table_id, col_name) using index
      2  /
    Table altered.
    SQL> alter table ip_lov_dtl add constraint fk_lov_hdr foreign key (table_id) references ip_lov_hdr (table_id) on delete set null
      2  /
    Table altered.
    SQL> create table emp1
      2  (
      3     ename varchar2(50),
      4     emp1no varchar2(9),
      5     dept varchar2(4)
      6  )
      7  /
    Table created.
    SQL> create or replace type out_rec_lov as object(ename varchar2(50),emp1no varchar2(9))
      2  /
    Type created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('titu','111','10')
      5  /
    1 row created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('naria','222',null)
      5  /
    1 row created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('tiks','123','55')
      5  /
    1 row created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('tiki','221',null)
      5  /
    1 row created.
    SQL> insert into emp1
      2     (ename,emp1no,dept)
      3  values
      4     ('narayan',null,null)
      5  /
    1 row created.
    SQL> insert into ip_lov_hdr
      2     (table_id,table_name,col_name,codetype)
      3  values
      4     ('emp1_id','emp1','ename',null)
      5  /
    1 row created.
    SQL> insert into ip_lov_dtl
      2     (table_id,col_name)
      3  values
      4     ('emp1_id','emp1no')
      5  /
    1 row created.
    SQL> commit
      2  /
    Commit complete.
    SQL> create or replace package pkg_lov_1
      2  as
      3     type listtable is table of out_rec_lov index by binary_integer;
      4
      5     procedure p_getlov
      6                     (
      7                             tab_id in varchar2,
      8                             col_value in varchar2,
      9                             outlist out listtable,
    10                             err_msg out varchar2
    11                     );
    12  end;
    13  /
    Package created.
    SQL> create or replace package body pkg_lov_1
      2  as
      3     procedure p_getlov
      4                     (
      5                             tab_id in varchar2,
      6                             col_value in varchar2,
      7                             outlist out listtable,
      8                             err_msg out varchar2
      9                     )
    10     is
    11             query_str varchar2(2000);
    12             col_str varchar2(2000);
    13             type cur_typ is ref cursor;
    14             c cur_typ;
    15             i number := 1;
    16             l_table_name ip_lov_hdr.table_name %type;
    17             l_col_name ip_lov_hdr.col_name%type;
    18             l_codetype ip_lov_hdr.codetype%type;
    19     begin
    20             begin
    21                      select table_name,
    22                             codetype,
    23                             col_name
    24                        into l_table_name,
    25                             l_codetype,
    26                             l_col_name
    27                        from ip_lov_hdr
    28                       where upper(table_id) = upper(tab_id);
    29
    30             exception
    31                     when no_data_found then
    32                             null;
    33             end;
    34
    35             col_str := l_col_name;
    36
    37             for rec in (select col_name
    38                           from ip_lov_dtl
    39                          where table_id = tab_id)
    40             loop
    41                     col_str := col_str || ',' || rec.col_name;
    42             end loop;
    43
    44             dbms_output.put_line (col_str);
    45
    46             if l_codetype is null
    47             then
    48                     query_str := 'select out_rec_lov(' || col_str || ') from ' || l_table_name || ' where ' || l_col_name || ' like :col_value';
    49             else
    50                     query_str := 'select out_rec_lov(' || col_str || ') from ' || l_table_name || ' where codetype =' || l_codetype || ' and ' || l_col_name || ' like :col_value';
    51             end if;
    52
    53             dbms_output.put_line(query_str);
    54
    55             begin
    56                     open c for query_str using col_value;
    57
    58                     loop
    59                             fetch c into outlist(i);
    60                             i := i + 1;
    61                             exit when c % notfound;
    62                     end loop;
    63
    64                     close c;
    65             exception
    66                     when others then
    67                             err_msg := substr(sqlerrm, 1, 500);
    68             end;
    69
    70     exception
    71             when others then
    72                     err_msg := substr(sqlerrm, 1, 500);
    73
    74     end p_getlov;
    75  end pkg_lov_1;
    76  /
    Package body created.
    SQL> declare
      2     outlist pkg_lov_1.listtable;
      3     err_msg varchar2(1000);
      4  begin
      5     pkg_lov_1.p_getlov('emp1_id', 'titu', outlist, err_msg);
      6     for i in 1..outlist.count
      7     loop
      8             dbms_output.put_line(outlist(i).ename ||','||outlist(i).emp1no);
      9     end loop;
    10
    11     dbms_output.put_line(err_msg);
    12  end;
    13  /
    ename,emp1no
    select out_rec_lov(ename,emp1no) from emp1 where ename like :col_value
    titu,111
    PL/SQL procedure successfully completed.
    SQL>

  • ESS : Career and job - data overview problem

    Hi Experts,
    I am getting error in ESS -> Career and job -> data overview.
    Although SSO is successfully configures it asks for login  when i click on data overview link and it always fails for login.
    Please give me solution
    Thanks
    Sameer

    Hi Sameer,
    Generally this type of problem occurs when the Portal Certifcate is expired, please check the validity of Certificate.
    Please check it through strustsso02 transaction.
    Thanks and Regards,
    Deepak..

  • EIC Authentication-Error occurred while data was read from your ERP system

    Hi everybody,
    hope someone can help me with this issue in a EP 7.0 Portal (SP 08):
    In ESS --> Personal Information --> EIC Authentication when I click on the service, I get the following message in roadmap step 1 (overview), :
    "An error occurred while data was read from your ERP system. Contact your system administrator."
    I appreciate your help! Thanks and best regards,
    Jasmin

    Hi,
    Found similar threads.It ma help u.
    /message/3652173#3652173 [original link is broken]
    /message/3652594#3652594 [original link is broken]
    Regards,
    Manoj.

  • Data overview - SAP E-recruiting

    Hi experts,
    I  observed that the data overview is working if we use PDF in the personal settings. However it doesnot work .
    Regards,
    Bharat

    Hello Bharat,
    some questions:
    - with which dataoverview do you have this problem
    - on which particular place / step of the application are you opening the dataoverview
    - which ui technology do you use there (BSP or WebDynpro)
    - is the dateroverview showing up as html or is there a general error with the dataoverview
    If you could supply this information we surely can give hints what to do.
    Best Regards
    Roman Weise

  • Error when transferring data; communication error when analyzing

    Hi,
    When I load the data from the SAP CRM source system. Iam getting the following error.
    Error when transferring data; communication error when analyzing
    Diagnosis
    Data Packets or Info Packets are missing in BW, but there were - as far as can be seen - no processing errors in the source system. It is
    therefore probable that an error arose in the data transfer.
    With the analysis an attempt was made to read the ALE outbox of the source system, which lead to error .
    It is possible that no connection exists to the source system.
    Procedure
    Check the TRFC overview in the source system.
    Check the connection of the source system for errors and check the
    authorizations and profiles of the remote user in both the BW and
    source systems.
    Check th ALE outbox of the source system for IDocs that have not been
    Can anyone guide me on this.
    Thanks in Advance
    Varun

    ok here's a development..when i logged in the source system to check the job...it says the job defn is incomplete. The description says:
    Definition for job ARFC:SYSLOAD1C800CRMREMOTE is incomplete. Job cannot be released
    Can anyone give an insight on it.
    Any kind of input will be appreciated.
    Regards
    Varun

  • E-recruiting status of a external candidate data

    Hi experts,
    I have a question about status of an external candidate data. Here I have a situation where the customer I'm working for asked that whenever a external candidate create data (a CV) via e-recruiting, the information should be available to recruiters and only be blocked if the candidate perform a step to block data. Today the standard does the opposite, when an external candidate creates data, this data remais blocked until the candidate unblocks it via a step in E-recruiting.
    Is there any possible way to change that via customize or I'll have to create an enhancement?
    Thanks in advance for your time!
    best wishes,
    Thais

    Hi Sally
    Apologies for the late resonse, we have applied the note and system is generating another error. Please see the details below:
    When a Recruiter creating the external candidate and on saving the data system is generating the following error.  We are using the EP5 system.
    u201CThe client xxxx doesnu2019t contain an active application areau201D.
    Thanks in advance.

  • Can Attachments be displayed in Job Postings Data Overview in E-recruiting?

    Hi All,
    Please advise if it is possible to have attachments displayed in the data overview of published job postings to be viewed via Web Dynpro applications e.g. apply direct for internal candidates to view the attachments as they are searching for jobs?
    Any help and information will be greatly appreciated!
    thanks!
    Eng Han
    Edited by: Eng Han Heng on Sep 10, 2008 4:26 PM
    Edited by: Eng Han Heng on Sep 10, 2008 4:27 PM
    Edited by: Eng Han Heng on Sep 10, 2008 4:44 PM

    Hi Venki,
    Thanks for your information!
    May I also clarify that in order for attachments to be displayed in the data overview ofpublished job postings for internal candidates (candidates point of view) via the web dynpro screens in the portal, programming will be required?
    Currently, from the recruiter point of view, attachments in the requisitions are already available in the data overview of the job posting.
    thanks again!

  • Rename filename of Data Overview PDF

    Hi,
    Using E-Recruiting, when the user opens a BSP to see a Data Overview (SmartForm), it opens up Adobe Acrobat to view it.  However, the filename is 'dummy.pdf' when it opens up.  The client would like it to be something else, but I can't find out where the filename gets populated!
    I have checked the controller for the BSP, as well as the function module for the SmartForm, but I still can't find out where this name is being populated.  I check this forum often for other problems, and you guys are great!!  Please help!

    Joe,
    In this sample BSP application SF_WEBFORM_04 I see the following code, which might be of interest, just check out.
    Conversion of output format OTF into PDF format
    now convert the final document (OTF format) into PDF format
      call function 'CONVERT_OTF'
           exporting
             format                      = 'PDF'
           MAX_LINEWIDTH               = 132
           ARCHIVE_INDEX               = ' '
           COPYNUMBER                  = 0
           importing
             bin_filesize                = l_pdf_len
             bin_file                    = l_pdf_xstring       " binary file
           tables
             otf                         = ls_output_data-otfdata
             lines                       = lt_lines
           exceptions
             err_max_linewidth           = 1
             err_format                  = 2
             err_conv_not_possible       = 3
             err_bad_otf                 = 4
             others                      = 5
      if sy-subrc <> 0.
      error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

Maybe you are looking for

  • Illustrator Files in Bridge filename used in Title field

    When annotating Illustrator files in CS3 Bridge, the original filename auto populates the "Title" field. Is there a reason for this and does anyone know of a workaround? We are converting AutoCad files to AI for use in publications using Framemaker.

  • Add field in dynamic selections of FBL3N

    Hi, I know this question has been post before and i have followed the sap note 188663  and 832997, and also I read it in the wiki tab, "Enhancing Selection Views in the dynamic selection of FB03, FBL3n, FBL5n and etc". But no available for me. Requir

  • Drag and Drop - image of draggable item is not near mousepointer

    I have created pane where you can drag contact into a group, everything works fine but the drag image is not always at the same spot as the mouse pointer is. As visible in the image: Drag image. These contacts are in a VBox: <mx:VBox id="summariesCon

  • Eject DMG via the keyboard

    Hi, I was wondering if there's a way to bind the eject to both: 1) Eject media out of the SuperDrive as normal and 2) Unmount DMG/ISO/Whatever image files which show up as a drive? I know how to easilt do it via the mouse etc... but a keyboard showcu

  • Error in 12.1 Oracle Database Concepts guide

    Dear Oracle team, I found the following issues when go through Database Concepts guide in Chapter - 2 [ Tables and Table Clusters ]. 1. In the example section of Invisible columns topic, table name is provided incorrectly. CREATE TABLE products ( pro