Report- 0736 uncompiled program units

i have report .rep file build and compiled on oracle report 6.0.11.0.3 and trying to run on 6.0.8.8.3 version.
It is working file .But when i am trying to recompile on the older version whuch is 6.0.8.8.3 it is showing error REP-0736 there exist uncompiled programm units.
I have to convert more than 500 report .how can i do it.
is it require to rewrite or it may work by changing the only the Report builder version.Because the runtime version is working fine.
i need help please help ....

hi
You can not compile rep.
Problem may be due to some invalid objects in database. or you must be using 'select * ' in the query and the table structure might have been changed after u generated the rep.
or check is there any objects invalid which are used by report.
Regards
chaluve

Similar Messages

  • REP-0736: There exist uncompiled program unit(s).

    Hi All,
    I have a custom report, it contains two libraries FARSV and FADOLIF, When I compile it from FA_TOP, it compiles successfully onto the server but when I compile it from Custom_Top, it gives errror
    REP-0736: There exist uncompiled program unit(s).
    What might be wrong?

    961040 wrote:
    Hi All,
    I have a custom report, it contains two libraries FARSV and FADOLIF, When I compile it from FA_TOP, it compiles successfully onto the server but when I compile it from Custom_Top, it gives errror
    REP-0736: There exist uncompiled program unit(s).
    What might be wrong?Please see (A Custom Report Fails with REP-0736: There exist uncompiled program unit(s). [ID 369627.1]).
    Thanks,
    Hussein

  • REP-1247: There exist uncompiled program unit(s). REP-1247: Report contains

    Hello,
    i have the following problem when i first run this Report i have :
    REP-1247: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL.
    many other reports i have having this problem pls help
    Abdetu..

    Any help pls...?
    i still experience the problem..?
    i found out the forulam that causes the problem as it is :
    ==========================================
    function CF_PREVIOUS RETURN Number is
              V_MATERIAL_HEIGHT1 NUMBER(40);
              V_MAX_SERIAL NUMBER(40);
              V_MAX_DATE DATE;
    BEGIN
              IF :SERIAL > 1 THEN
                   BEGIN
                                       SELECT MAX(SERIAL)-1
                                       INTO V_MAX_SERIAL
                        FROM PLN_TANK_TRANSACTION
                        WHERE TRANSACTION_DATE = :TRANSACTION_DATE
                        AND TANK_CODE = :TANK_CODE
                        AND MATERIAL_CODE = :MATERIAL_CODE;
                             EXCEPTION
                        WHEN NO_DATA_FOUND THEN V_MAX_SERIAL := 0;
                             END;
                        BEGIN
                             SELECT NVL(MATERIAL_HEIGHT,0)
                             INTO V_MATERIAL_HEIGHT1
                        FROM PLN_TANK_TRANSACTION
                        WHERE PLN_TANK_TRANSACTION.TRANSACTION_DATE = :TRANSACTION_DATE
                        AND PLN_TANK_TRANSACTION.TANK_CODE = :TANK_CODE
                        AND PLN_TANK_TRANSACTION.SERIAL = V_MAX_SERIAL
                        AND PLN_TANK_TRANSACTION.MATERIAL_CODE = :MATERIAL_CODE;
                   EXCEPTION
                        WHEN NO_DATA_FOUND THEN
                        V_MATERIAL_HEIGHT1 := 0;
                   END;
              ELSE --IF :SERIAL =  1 THEN
                        BEGIN
                             SELECT MAX(TRANSACTION_DATE)
                             INTO V_MAX_DATE
                   FROM PLN_TANK_TRANSACTION
                   WHERE TRANSACTION_DATE <=:TRANSACTION_DATE
                   AND TANK_CODE = :TANK_CODE
                   AND MATERIAL_CODE = :MATERIAL_CODE;
                        EXCEPTION
                        WHEN NO_DATA_FOUND THEN
                        V_MAX_DATE := NULL;
                        END;
                             BEGIN
                                  SELECT NVL(MATERIAL_HEIGHT,0)
                                  INTO V_MATERIAL_HEIGHT1
                                  FROM PLN_TANK_TRANSACTION
                                  WHERE SERIAL = V_MAX_SERIAL
                                  AND TRANSACTION_DATE = V_MAX_DATE
                                       AND TANK_CODE = :TANK_CODE;
                             EXCEPTION
                        WHEN NO_DATA_FOUND THEN
                        V_MATERIAL_HEIGHT1:= 0;
                             END;
         END IF;
         RETURN (V_MATERIAL_HEIGHT1);
    END;
         ------------------------------------------------------------------------------------------

  • URGENT: REP-1249: There exist uncompiled program unit(s).

    Hi all,
    We just had a problem in our production environment one report suddently started giving the following error:
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1249: There exist uncompiled program unit(s).
    REP-1249: Column 'C_original_buyer' has no PL/SQL formula.
    We have a similar report in french and it works fine...
    We have recompiled the report so its does not make sense the error we get.
    And also the pl/sql formula for the c_original_buyer is there and is compiled and it does not contain errors.
    Does anyone have a clue of what this could be ?
    Its in our production environment so if you know anything please reply a soon as possible.
    Any help is appreciated.
    Cheers,
    Carl

    Hi all,
    We just had a problem in our production environment one report suddently started giving the following error:
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1249: There exist uncompiled program unit(s).
    REP-1249: Column 'C_original_buyer' has no PL/SQL formula.
    We have a similar report in french and it works fine...
    We have recompiled the report so its does not make sense the error we get.
    And also the pl/sql formula for the c_original_buyer is there and is compiled and it does not contain errors.
    Does anyone have a clue of what this could be ?
    Its in our production environment so if you know anything please reply a soon as possible.
    Any help is appreciated.
    Cheers,
    Carl

  • Rep-771 There exist uncompiled program unit(s).

    hi ,
    i am using 10g when i run my reports , some reports giving this error message
    rep-771 There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    REP-1247: Report contains uncompiled PL/SQL.
    i have compiled my reports number of times and also these are properly running when i run them from reports builder but when i try to run them from menu above errors occured.
    please can someone help me
    thanks
    Najeeb

    I got the problem resolved by myself. I looked at the "showjobs" and found that the blobdestination output type was actually recognized. All the error messages (when running the url) had nothing to deal with the new output type. Here is the trick.
    In addition to specifying the DESNAME=http://username:password@host:port/sid for the output destination, you also need to specify the userid userid=username/password@database_name in the same url in order for the report to run.
    Thanks.
    Andy

  • REP-1247: There exist uncompiled program unit(s).

    i can't run the report aganinst App Serv
    REP-1247: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL.
    Pls help
    Abdetu..

    Hello
    i found out where is the problem by testing each formula well the problem was exactly in the datatype width of the formula itself and the variabgle i declared was n't match with the columns on the db
    thanks,
    Regards,
    Abdetu..

  • REP-1247: Report contains uncompiled PL/SQL.

    Hi learned friends
    I have created a batch script that runs rdf generates pdf reports for me at each eod run.
    The report errors out:
    REP-0736: There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    This is the command i execute:
    /udd001/app/oracle/product/dev60/bin/rwrun60 userid=/ report=/udd001/app/mu_tosd/ci/reports/GT0009R.rdf paramform=no destype=file batch=yes desformat=pdf mode=bitmap desname=/udd001/app/mu_tosd/ci/eodreport/GT0009R.pdf nonblocksql=no
    Now I have compiled all (Ctrl+Shift+K) successfully.
    Thanks a mil guys

    Hi,
    1) did you save the compiled reports?
    2) is the connect string you use to compile the reports with the same as the connect string you use when you run your reports in your batch?
    hope this helps,
    E.

  • Encountered REP-1247: Report contains uncompiled PL/SQL

    Hi All,
    I am facing an issue where I have created a formula column inside the invoice RDF report but when I run the report this is errored with the below message ,I do have compile the formula column properly and i have also compiled the complete rdf properly .
    REP-0736: There exist uncompiled program unit(s).
    MSG-00100: DEBUG: AfterPForm_Trigger +
    MSG-00100: DEBUG: Multi Org established.
    MSG-00100: DEBUG: AfterParam_Procs.Get_Country_Details
    MSG-00100: DEBUG: AfterParam_Procs.Switch_On_Debug
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_Low
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_High
    MSG-00100: DEBUG: AfterParam_Procs.Get_Tax_Option
    MSG-00100: DEBUG: BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG: P_Choice: SEL
    MSG-00100: DEBUG: Choice is other than ADJ, setting ORDER BY.
    MSG-00100: DEBUG: AfterPForm_Trigger -
    REP-1247: Report contains uncompiled PL/SQL
    When I removed the formula column ,report is running succesfully .Any hint would be very helpfull ,please give your thoughts .Thanks in advance .
    Thanks
    Pratap

    Hi Paul
    This error usually means that the user that is running the report does not have the required privs on tables or packages used in the report. Solution: Open the report in reports builder. Set the runtime properties (Role) that is assigned to the report. Connect as the user running the report on the same database instance as your run environment. Compile the report (Shift-Ctrl-K). This should show you where the error lies.
    Regards
    Logan

  • Generate txt output using a program unit in web report (OAS 10g)

    Hi Everyone.
    I have a c/s report (6i) which generates a txt file in a program unit using TEXT_IO package. I need to move this report to web (Reports 10g) and publishing it in OAS 10g. I've done that (without the text file generation), I can see the report on the browser in PDF Format and works fine... but, I still have a problem... when I use Text_io package, the c/s version of the report in 10g runs an generates the output.txt file but when I move it to web I got an error in the before report trigger (in which I invoke the program unit sp_generate_txt)
    I looked around for a solution and I just find the usage of webutil package, but as you know, webutil package is only usable in Forms.
    Any Ideas on how can I solve this problem?

    Hello,
    TEXT_IO can be used in Reports deployed on the web.
    The difference with Client /Server is the fact that the file create by TEXT_IO will be created on the "Middle Tier Server" and not on the Client.
    Regards

  • Lexical Parameter in Reports 6i Program Unit

    A report I'm writing requires me to use the lexical parameter in a program unit rather than a query in the data model. Lexical parameters in a query have always worked with the example "WHERE &my_parameter". But using "WHERE :my_parameter" or "WHERE &my_parameter" in a program unit gave me the error "expression is of wrong type" so the code wouldn't compile in the editor.
    The parameter returns "segment1 = '8675309' AND segment2 = 'Jenny'I was able to resolve it by using the first column of the expression and the replace function on the parameter so the program unit editor thinks it's a valid expression and the resulting line is a valid predicate that gets the correct data. Here's my example:
    WHERE segment1 = replace(:my_parameter, 'segment1 = ')The replace function strips off the "segment1 = " from the lexical parameter so the resulting line that gets passed to the server is:
    WHERE segment1 = '8675309' AND segment2 = 'Jenny'This solution will not work where the parameter could return something other than "segment1 = " at the beginning of the parameter string like "segment1 BETWEEN " or a different column name to compare other than segment1. Anyway, this is working but if there are better ways to do it I'd like to try them. Using Reports 6i with EBS 11.5.10.2.

    Hello,
    You'll find explanations and examples here :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/whatare/dmobj/sq_a_lexical_references.htm
    This documentation is for Reports 10.1.2 but is valid for Reports 6i too ...
    Regards

  • Created below function (program units) in report builder

    hi all,
    I created below function (program units) in report builder and added two insert statements to know how much time it is taking to execute.Report is executing successfully but no rows inserted into tale testtime.
    Is there any other way to know the execution time of this function.
    Please help me
    function CF_TYPEFormula return Char is
    begin
         insert into testtime values(sysdate,1,'CF_TYPEFormula');
      IF(:CATG0=1)
           THEN RETURN ('MOVING STOCK');
           insert into testtime values(sysdate,1,'CF_TYPEFormula');
      ELSE RETURN('NON-MOVING STOCK');
      END IF;
      insert into testtime values(sysdate,1,'CF_TYPEFormula');
      commit;
    end;Edited by: maddy on 26 Dec, 2011 8:46 PM
    Edited by: maddy on 29 Dec, 2011 9:25 PM

    Shashank,
    Try,
    function CF_TYPEFormula return Char is
    Str_Ret_Val VARCHAR2(100);
    BEGIN
       INSERT INTO TESTTIME VALUES(SYSDATE, 1, 'CF_TYPEFormula');
       IF(:CATG0=1) THEN
          Str_Ret_Val := 'MOVING STOCK';
          INSERT INTO TESTTIME VALUES(SYSDATE, 1, 'CF_TYPEFormula');
       ELSE
          Str_Ret_Val := 'NON-MOVING STOCK';
       END IF;
       INSERT INTO TESTTIME VALUES(SYSDATE, 1, 'CF_TYPEFormula');
       COMMIT;
       RETURN Str_Ret_Val;
    END;Regards,
    Manu.

  • How to reference Report level program unit in report query?

    I have created a report level function FREF13 which returns a VARCHAR2 variable. I am trying to reference this function in report SQL statement like:
    select * from wtr where file_ref = FREF13(:fref)
    I am getting error 'ORA-00904: Invalid column name' error. This is because it is unable to recognize FREF13 as local function.
    Is it possible to reference local program units in report query?
    Rgds,
    Manish

    No, it's not possible. The only things you can reference in a SQL query are columns and functions accessable in the database (since this is where the query is executed). You should create the function in the database.
    Regards,
    Danny

  • Error : ORA-06508: PL/SQL: could not find program unit being called

    Hi
    I got surprise issue while testing my Oracle code . Let me explain first the environment detail . Our appliaction built on
    Java/J2EE(Weblogic) and backend is Oracle 11g re2 . While calling from java it call thru different user which have been provide
    synonym and exectue option for corresponding procdure ,
    I created on package EXTRACT_CUSTOMER_INFO_PK which will exract data to text file using UTL_FILE ( direcory , UTL_FILE grant is provided to DB user).
    Now this package has been called from rp_execute_procedure_pr -- Here I is the code
    CREATE OR REPLACE PROCEDURE RP_EXECUTE_PROCEDURE_PR
    i_atlas_job_schedule_fk IN atlas_job_schedule.atlas_job_schedule_pk%TYPE,
    i_job_id IN atlas_job.job_id%TYPE,
    i_parm_value IN atlas_job_schedule.parm_value%TYPE,
    o_status_code OUT NUMBER,
    o_status_mesg OUT VARCHAR2
    IS
    -------Other old code which is not relevent for this issue ----
    --------Other old code which is not relevent for this issue ----
    ----Below code I added ----
    ELSIF l_job_id = 'CUST_EXTRACT' THEN
    EXTRACT_CUSTOMER_INFO_PK.customer_report ( i_parm_value ,
                   o_status_code,
    o_status_mesg ) ;
    -- o_status_code := -99999999;
    --o_status_mesg := 'PARTHA PARTHA PARTHAcess terminated!';
    ELSE
    o_status_code := -20300;
    o_status_mesg := 'Job Id : ' || l_job_id || ' NOT found. Process terminated!';
    END IF;
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Processing End Time (GMT): '
    EXCEPTION
    WHEN eProcError THEN
    o_status_code := SQLCODE;
    o_status_mesg := SUBSTR(vMsg ||'-'||SQLERRM, 1, 200);
    WHEN OTHERS THEN
    o_status_code := -20300;
    o_status_mesg := SUBSTR(SQLERRM, 1, 200);
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Error : '||SQLERRM||' '
    update_log_auto
    ajs_rec.atlas_job_schedule_pk,
    'Processing End Time (GMT): '
    END RP_EXECUTE_PROCEDURE_PR;
    Now It compiled sucesfully . And while I did SIT then RP_EXECUTE_PROCEDURE_PR run fine and extracted txt file . But while I called it from Java procedure It gives us error like
    Error : ORA-06508: PL/SQL: could not find program unit being called 02-AUG-2012 13:16:51.
    As I told RP_EXECUTE_PROCEDURE_PR old proc and used by other proc , So I first suspect issue is newly added code or may be some grant or synonym ( Although it should not be )
    so I created public synony amd gave execute grant to my pkg to public .
    But it repeat same error .
    I did lot of R&D on my pkg but nothing happen . Finally I remane my new pkg RP_EXTRACT_CUSTOMER_INFO_PK and it works fine
    I need to know what is the RCA for it . I donot think any dependecy issue as renaming pkg is working fine .
    NB my DB user is iATLAS and Javauser is SUDEEP
    Thanks in Advance
    Debashis Mallick

    First of all If i run the main procedure in like below in my Schema it is working fine
    begin
    -- Call the procedure
    rp_execute_procedure_pr(i_atlas_job_schedule_fk => :i_atlas_job_schedule_fk,
    i_job_id => :i_job_id,
    i_parm_value => :i_parm_value,
    o_status_code => :o_status_code,
    o_status_mesg => :o_status_mesg);
    end;
    So thre is no question of parameter .... or Invalid state etc . If it is parameter or Invalid state issue it will give other error.
    Here problem is not syntax issue .
    let me give u more detail regards this issue
    1.. All objects corresponding to procedure all Valid
    2.. If I test on the proc on my schema like above code . It works fine
    3.rp_execute_procedure_pr is a old procudere which called for differner report generartion based on parameter passing . Also as extract_customer_info_pk called with in rp_execute_procedure_pr So there is no question of synonym or privilage issue for new procedure.
    4. Suprising thing is if I rename and recreate package like extract_customer_info_pk _1 or rp_extract_customer_info_pk . Which are exactly same as extract_customer_info_pk and replace those new one with extract_customer_info_pk then it work fine in my java application
    I think I make it clear the issue
    Edited by: debashisora on Aug 3, 2012 5:31 AM
    Edited by: debashisora on Aug 3, 2012 5:40 AM

  • How to reference a user parameter in program unit

    I tried to define a user parameter in Oracle Report 6i and I could reference it (&p_where_clause) in the main query but I failed to reference it in one of the program units. Here is the logic:
    function CF_OTHER_COURSESFormula return Char is
    cnt           number;
    priority     number;
    class_code     varchar2(8);
    oc           varchar2(100) := null;
    cursor oc_cur is
    select class_code, branch_priority
    from nominations n, employments e
    where n.hkic_no = e.hkic_no
    and e.staff_status_code = 'EMP'
    and &p_where_clause --> contain "n.course_code in ('A','B','C')"
    and n.hkic_no = :hkic_no
    and n.class_code != :class_code;
    begin
    cnt := 1;
    open oc_cur;
    loop
    fetch oc_cur into class_code, priority;
    if oc_cur%notfound then
         exit;
    end if;
    if cnt = 1 then
    oc := oc||class_code||'('||priority||')';
    else
    oc := oc||', '||class_code||'('||priority||')';
    end if;
    cnt := cnt + 1;
    end loop;
    close oc_cur;
    return oc;
    exception
    when no_data_found then      
    return '';
    end;
    Does anyone tell me how to reference it in program unit? Does Oracle Reports 6i support this operation?

    There hasn't been any changes to the way lexicals and bind variables work in Reports between 2.5 and 6i. There are different versions of PL/SQL and you might be hitting some problem here.
    In your case, you shouldn't be using the query lexical "&p_where_clause" just the PL/SQL bind variable syntax ":p_where_clause". Since you're creating a PL/SQL cursor, you should probably use dynamic sql creation with a concatenation of the where clause to build up the SQL for the cursor. Check out the PL/SQL documentation for this.

  • Reporting data in alternate unit of measure

    hi
    I was going through the document " How to report data in alternate unit of meaure" .
    There they have talked about modification in program LRRSVF20.
    Can anyone tell me what does this include "LRRSVF20" does?
    Regards,
    Moniika

    Hi,
    Please tell me when i create a program "YBW_AUNIT_ENHANCEMENT" UNDER se38 and type: include...
    what code i should write under this program?
    i am pasting the program LRRSVF20 AND please tell me what should i write in program ""YBW_AUNIT_ENHANCEMENT"?
    ***INCLUDE LRRSVF20 .
    *& Form varchavl_atr_get
    form varchavl_atr_get using i_t_sid type rrsi_t_sid
    i_chanm type rsd_iobjnm
    i_th_var_atr type rro01_th_var_lrech
    i_srdate type sy-datum
    i_mostrecent type rsr_mostrecent
    changing c_th_varchavl type rrsv_th_varchavl.
    call method l_r_reader->sid_read_master
    exporting
    i_readatr = rsdm_c_readatr-specified
    i_t_req_atr = l_t_req_atr
    i_date = i_srdate
    i_mostrecent = i_mostrecent
    importing
    e_tx_atr = l_tx_atr
    changing
    c_t_chavlinfo = l_t_chavlinfo
    exceptions
    others = 1.
    if sy-subrc <> 0.
    raise inherited_error.
    endif.
    *{ INSERT
    Enhancement Alternate U.o.M.
    INCLUDE ybw_aunit_enhancement.
    *} INSERT
    PERFORM varchavl_atr_fill USING i_th_var_atr
    l_tx_atr
    CHANGING c_th_varchavl.
    endform. " varchavl_atr_get
    ***INCLUDE YBW_AUNIT_ENHANCEMENT.
    TYPE-POOLS: rrs0.
    DATA:
    l_vnam LIKE rszglobv-vnam,
    l_s_cob_pro TYPE rsd_s_cob_pro,
    l_s_rkb1d TYPE rsr_s_rkb1d,
    l_periv TYPE rro01_s_rkb1f-periv,
    l_t_var_range TYPE rrs0_t_var_range,
    l_s_var_range TYPE rrs0_s_var_range,
    l_t_range TYPE rsr_t_rangesid,
    l_s_range TYPE rsr_s_rangesid,
    l_unit LIKE rszglobv-meeht,
    l_currency LIKE rszglobv-waers.
    FIELD-SYMBOLS:
    <l_sx_atr> TYPE rsdm_sx_atr,
    <l_s_var> TYPE rro01_s_var_lrech,
    <l_s_atr> TYPE rsdm_s_atr,
    <l_s_atr_cu> TYPE rsdm_s_atr.
    Loop over all characteristic values
    LOOP AT l_tx_atr ASSIGNING <l_sx_atr>.
    Loop over all variables to be replaced by attributes
    LOOP AT i_th_var_atr ASSIGNING <l_s_var>.
    Fill additional information into pseudo variables
    REFRESH l_t_var_range.
    InfoObject (i.e. characteristic)
    CLEAR l_s_var_range.
    l_s_var_range-sign = 'I'.
    l_s_var_range-opt = 'EQ'.
    l_s_var_range-vnam = '1CHANM'.
    l_s_var_range-iobjnm = i_chanm.
    l_s_var_range-low = <l_sx_atr>-chavl.
    APPEND l_s_var_range TO l_t_var_range.
    Attribute
    READ TABLE <l_sx_atr>-t_atr ASSIGNING <l_s_atr>
    WITH KEY attrinm = <l_s_var>-attrinm.
    IF sy-subrc <> 0.
    RAISE x_message.
    ENDIF.
    CLEAR l_s_var_range.
    l_s_var_range-sign = 'I'.
    l_s_var_range-opt = 'EQ'.
    l_s_var_range-vnam = '1ATTRINM'.
    l_s_var_range-iobjnm = <l_s_atr>-attrinm.
    l_s_var_range-low = <l_s_atr>-attrivl.
    APPEND l_s_var_range TO l_t_var_range.
    Unit of measure (only for amounts and quantities)
    IF ( <l_s_var>-mwkz = 'M' OR <l_s_var>-mwkz = 'Q' ) AND
    ( <l_s_var>-fixcudim IS INITIAL ).
    CLEAR l_s_var_range.
    l_s_var_range-sign = 'I'.
    l_s_var_range-opt = 'EQ'.
    l_s_var_range-vnam = '1CUNM'.
    READ TABLE <l_sx_atr>-t_atr ASSIGNING <l_s_atr_cu>
    WITH KEY attrinm = <l_s_var>-cunm.
    IF sy-subrc = 0.
    l_s_var_range-iobjnm = <l_s_atr_cu>-attrinm.
    l_s_var_range-low = <l_s_atr_cu>-attrivl.
    APPEND l_s_var_range TO l_t_var_range.
    ENDIF.
    ENDIF.
    Key date of query
    CLEAR l_s_var_range.
    l_s_var_range-sign = 'I'.
    l_s_var_range-opt = 'EQ'.
    l_s_var_range-vnam = '1DATE'.
    l_s_var_range-iobjnm = '0DATE'.
    l_s_var_range-low = i_srdate.
    APPEND l_s_var_range TO l_t_var_range.
    InfoObject properties
    CALL FUNCTION 'RSD_COB_PRO_GET_ALWAYS'
    EXPORTING
    i_iobjnm = i_chanm
    IMPORTING
    e_s_cob_pro = l_s_cob_pro
    EXCEPTIONS
    infocube_not_found = 1
    error_reading_infocatalog = 2
    iobjnm_not_found = 3
    illegal_input = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    l_vnam = <l_s_atr>-attrinm.
    Call variable exit to get virtual attribute
    CALL FUNCTION 'EXIT_SAPLRRS0_001'
    EXPORTING
    i_vnam = l_vnam
    i_vartyp = rrkg_c_vartyp-formula
    i_iobjnm = i_chanm
    i_s_cob_pro = l_s_cob_pro
    i_s_rkb1d = l_s_rkb1d
    i_periv = l_periv
    i_t_var_range = l_t_var_range
    IMPORTING
    e_t_range = l_t_range
    e_meeht = l_unit
    e_waers = l_currency
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc = 0.
    READ TABLE l_t_range INTO l_s_range INDEX 1.
    IF sy-subrc = 0.
    Attribute value
    <l_s_atr>-attrivl = l_s_range-low.
    Attribute unit of measure (only for amounts and quantities)
    IF <l_s_var>-mwkz = 'M' AND <l_s_var>-fixcudim IS INITIAL.
    <l_s_atr_cu>-attrivl = l_unit.
    ELSEIF <l_s_var>-mwkz = 'W' AND <l_s_var>-fixcudim IS INITIAL.
    <l_s_atr_cu>-attrivl = l_currency.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDLOOP. " variables for attributes
    ENDLOOP. " characteristic values
    Thanks,
    Vijaya.

Maybe you are looking for

  • I can't download apps in creative cloud

    I am on Mavericks, and I can't seem to download apps. I looked for the error log in Library/logs/Adobe, and I don't see a log in there.

  • How to migrate Mac Pro to MacBook Pro?

    After cloning my Mac Pro Boot Camp XP2 to my MacBook Pro via Netrestore I realized I'm not sure how to deal with the hardware differences. XP boots fine on the MacBook Pro but has no trackpad, and no USB mouse support. I tried to reinstall "Boot camp

  • Unresolvable conflict on update (qt conflicts with qt-copy)

    Hi! I use Archlinux with kde-svn. And after some time without updating the whole system, I have got this problem since a few days: pacman -Syu :: Starting full system upgrade... resolving dependencies... looking for inter-conflicts... :: qt conflicts

  • ASA 5512-X DHCP Backup ISP

    I installed a new ASA 5512-X over the weekend for a client.  Their backup ISP connection is DHCP based.  I need to use the 'dhcp client route track' command on the interface, but it is not available.  However according the all the documentation I am

  • Arch from scratch

    Hi there, I am planning on installing LFS next week with a good friend, for the learning experience. But the lack of a package manager is a big drawback. Would it be possible to get pacman running on lfs but then also make it possible to upgrade ever