Error with authorisation in planning function, URGENT!

Hello,
the following error occurs in our BPS Q system:
we have an authorisation variable for different BPS functions (projection and medium-term planning), which has to guarantee that all authorised sales types will be displayed and not only these restricted in the planning folder.
This variable doesn't work correct only in ta. BPS0, i.e. it draws all sales types and not only the authorised.
It also displays an error with message no. UPC302: "Errors occurred when executing planning function ZIPF079/ZIPG079" and when executing  the autorisation check log in ta. RSSM it is noticeable that program UPB_PM_START is used instead of UPB_PM_CUST_START.
Any ideas about the reason for this error?
Any help is appreciated,
regards, Martin Lehmann

Hello CSM reddy,
you are right, one infocube in the multi area wasn't adjusted to "authorisation relevant". A colleague of mine found this out.
Thanks,
Martin Lehmann

Similar Messages

  • BPC 10.1 Unified - error when selecting a planning function

    Hi BPC experts,
    configured planning function in BW-IP.
    Opened EPM Add-in, went to data processing tab to look for the planning function, Found it but when tried to select the function got the following:
    epm error: object reference not set to an instance of an object
    I did some research and it seems that this error seem to appear for multiple reasons so I am just wondering if anyone seen this error in this context.
    tested it further with as many planning functions I found in BW and got this error message every single time.
    thanks
    Paul

    Hi Paul,
    I've faced with the same issue. Have you resolved it?
    Thanks a lot.
    Tatsiana

  • Error when execute a planning function on selected line

    Hello together, 
    we are using SAP BusinessObjects Analysis 1.4 SP9 (1.4.9.3241, Office 2013) and SAP BW 7.3 SP 11 (SAPKW73011).
    When executing a planning function on an selected line in the crosstab, the following error appears:
    The VBA Coding used is from HowTo Execute a Planning Function on Selected Lines in an Analysis for Office Workbook.
    The Code worked fine with an older version of SAP BO Analysis and Excel 2007.
    Going to debugging:
    As you can see in the screenshot, the selected line (Dimension "0PRODUCT") is selected correctly.
    The settings for the planning function are the following:
    Thank you in advance for any advice.
    Best regards
    Alex

    Hello together, 
    we are using SAP BusinessObjects Analysis 1.4 SP9 (1.4.9.3241, Office 2013) and SAP BW 7.3 SP 11 (SAPKW73011).
    When executing a planning function on an selected line in the crosstab, the following error appears:
    The VBA Coding used is from HowTo Execute a Planning Function on Selected Lines in an Analysis for Office Workbook.
    The Code worked fine with an older version of SAP BO Analysis and Excel 2007.
    Going to debugging:
    As you can see in the screenshot, the selected line (Dimension "0PRODUCT") is selected correctly.
    The settings for the planning function are the following:
    Thank you in advance for any advice.
    Best regards
    Alex

  • Error when creating a planning function

    hi,
    I am creating a Planning function type using RSPLF1. Also i have created a custom class for the same. But when i try to create a planning function through RSPLAN, and using this custom planning function type, I get the following error:
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
        at java.util.Vector.get(Vector.java:733)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.hlp.FromToStore2.getToList(FromToStore2.java:74)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.fromto.FromToHelperComp._fillTableFromStore(FromToHelperComp.java:1422)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.fromto.FromToHelperComp._loadAll(FromToHelperComp.java:1825)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.fromto.FromToHelperComp.setAll(FromToHelperComp.java:388)
        ... 53 more
    Can anyone let me know what this means and what I am missing ?

    Hi,
    Generally these error come when we manually enter the value in the Visible and Input column. Instead we should try select value from the Drill down options which gets generated based on the Time Bucket Profile you have selected as input for Planning Horizon.

  • DB error with Authorisation on Hierarchy

    Hi,
    In both web reporting and BeX I get an error that says:
    "An exception with the type CX_SY_FILE_AUTHORITY occurred, but was neither
    handled locally, nor declared in a RAISING clause
    Message no. RS_EXCEPTION000"
    It occurs when expending a hierarchy node in one hierarchy, when a (authorisation) filter is set on a node in another hierarchy.
    Problem does not occur when using profile sap_all / sap_new
    When going to system logs I see the error in the DB occuring:
    BY2 Database error -471 at EXE
    BY0 > DSNT408I SQLCODE = -471, ERROR: INVOCATION OF FUNCTION OR
    BY0 > PROCEDURE SYSPROC .DSNUTILS FAILED DUE TO REASON
    BY0 > 00E7900C DSNT418I SQLSTATE
    BY0 > 55023 SQLSTATE RETURN CODE
    BY0 > DSNT415I SQLERRP = DSNX9WCA SQL PROCEDURE DETECTING ERROR
    BY0 > DSNT416I SQLERRD = 0 0 0 -1 0 0 SQ
    BY0 > DIAGNOSTIC INFORMATION DSNT416I SQLERRD =
    BY0 > X'00000000' X'00000000' X'00000000' X'FFFFFFFF'
    Any ideas how this can be resolved?
    thanks,

    Hi,
    A PROCOBJ is a procedural object. There are objects in a database the can't be exported in a normal way so there are annonymous pl/sql blocks written that the datapump code calls. These anonymous blocks will generate the infromation that the datapump needs to export and then import these types of objects. It looks like this anonymous block has an error in it.
    I would talk to Oracle customer support and tell them what is happening.
    You could always restart the job
    impdp user/password attach=user.jobname
    The user.jobname is the information it gave you at the beginning of the job. If you didn't specify job_name, then it would be something like:
    SYS_IMPORT_SCHEMA_01
    SYS_IMPORT_FULL_01
    etc. When you get to the impdp prompt do this:
    start=skip_current
    It will continue the job, but skip the current object being worked on.
    Hope this helps
    Dean

  • Error with the FIELD CAT function module.

    Hi folks,
    This was the error message i had got from the FIELDCAT function module.
    An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_READ_SRC_LINE_TOO_LONG', was
         not caught in
        procedure "K_KKB_FIELDCAT_MERGE" "(FUNCTION)", nor was it propagated by a
         RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        There was an attempt to read program "/A1SSPC/ITP_SCH_REP" from the database.
        The READ REPORT statement allows you to copy a program text into an
        internal table. The occupied line length in the program text must not
        exceed the width of the internal table.
        The internal table "\FUNCTION=K_KKB_FIELDCAT_MERGE\DATA=???" is 72 characters
         wide. The program line is
        204 characters wide.
    Reg,
    Hariharan

    You can do this
    TYPE-POOLS:slis.
    DATA: it_vabp TYPE STANDARD TABLE OF vbap WITH HEADER LINE.
    DATA: it_fieldcat TYPE slis_t_fieldcat_alv.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       i_program_name               = sy-repid
       i_internal_tabname           = 'IT_VBAP'
       i_inclname                   = sy-repid
      CHANGING
        ct_fieldcat                  = it_fieldcat
    * EXCEPTIONS
    *   INCONSISTENT_INTERFACE       = 1
    *   PROGRAM_ERROR                = 2

  • Error with data transfer in functional module

    Hi all,
    I need to upload file to the employee through BDS. (oaor transcation).  i am using functional module
    function zin_bds_dms_upload.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(P_CLASS) TYPE  BDN_CON-CLASSNAME
    *"     VALUE(P_OBJCT) TYPE  BDN_CON-OBJKEY
    *"     VALUE(P_DESCR) TYPE  BDN_CON-DESCRIPT
    *"     REFERENCE(P_PATH) TYPE  SAPB-SAPFILES
      data: begin of i_bds_conn occurs 10, " ITAB for the actual
             bdn_tab_i type  num08,
            client type mandt,
            classname type      seoclsname,
            classtype     type bds_clstyp,
            objkey  type  bds_typeid,
            log_system    type swo_typeid,
            loio_id   type char42,
            doc_ver_no    type num08,
            doc_var_id    type num08,
            doc_var_tg    type bds_var_tg,
            descript    type sdok_descr,
            langu   type spras,
            comp_id   type bds_compid,
            mimetype  type  bds_mimetp,
            crea_user   type sdok_crusr,
            crea_time   type sdok_crtst,
            chng_user   type sdok_chusr,
            chng_time   type sdok_chtst,
            contrep   type bds_conrep,
            docuclass   type sdok_prv_m,
            doc_type    type sdok_prv_s,
            expirytime    type sdok_prv_m,
            bds_docid   type sdok_prv_l,
            loio_id_to    type sdok_loid,
            rela_id     type      bds_relaid,
            state   type sdok_phsta,
            bds_status    type bds_state,
            stor_tab  type saearstat,
            bdn_tab_d     type bar_keep,
            note_type     type bds_state,
            objecttext type toasp-objecttext,
            objecttext2 type toasd-objecttext,
            objecttext3 type toasr-objecttext,
            ntext type tojtt-ntext,
    end of i_bds_conn.
      data: begin of bds_doctype_list occurs 10,
      mandt type mandt,
      classname type bapibds01-classname,
      contrep type bapibds01-contrep,
      docuclass type bapibds01-doc_class,
      docuclass_text type toasd-objecttext,
      doc_type type bapibds01-doc_type,
      doc_type_text type toasp-objecttext,
      appl_type type toadd-appl_type,
      appl_type_text(50) type c,
      standard type toadv-standard,
      check_box type toadv-standard,
      end of bds_doctype_list.
      data: file_extension type toadd-doc_type, " file-extension
      i_files type bapifiles occurs 1 with header line,
      i_signature type bapisignat occurs 1 with header line,
      logical_system type bds_conn00-log_system.
      data: classname_select type bdn_con-classname,
      classtype_select type bdn_con-classtype,
      objkey_select type bdn_con-objkey,
      mask(20) type c,
      answer type c,
      mimetype type toadd-mimetype,
      i_toadd type toadd,
      file_path type sapb-sapfiles,
      filename_all type sapb-sapfiles,
      file_path_memory(250) type c, " path für SAP memory
      file_path_length type i, " length of the file_path
      file_name type sapb-sapfiles.
      classname_select = p_class.
      classtype_select = 'BO'.
      objkey_select = p_objct.
      filename_all = p_path.
      get parameter id 'OAP' field file_path.
      if sy-subrc <> 0. " no file_path found.
        file_path = space.
      endif.
      concatenate ',.' '' ',.' '' '.' into mask.
    -- split filename -- *
      perform split_path(oaall) using filename_all file_path file_name.
    -- set new file_path to SAP memory -- *
      file_path_length = strlen( file_path ).
      if file_path <> space and file_path_length < 250.
        file_path_memory = file_path.
        set parameter id 'OAP' field file_path_memory.
      else.
        file_path_memory = space.
        set parameter id 'OAP' field file_path_memory.
      endif.
    -- check documentclass -- *
      perform get_file_extension using file_name
      file_extension.
    -- check file extension -- *
      if file_extension = space.
    -> if no docuclass is found from the document
    -> default docuclass from the doctype!
        file_extension = bds_doctype_list-docuclass.
      endif.
    -- get the mimetype of the docuclass -- *
      perform mimetype_get(oaall) using file_extension
      changing i_toadd.
      move i_toadd-mimetype to mimetype.
    -- fill file and signature structure -- *
      clear: i_files, i_signature.
      refresh : i_files, i_signature.
      i_files-doc_count = 1.
      i_files-directory = file_path.
      i_files-filename = file_name.
      i_files-mimetype = mimetype.
      append i_files.
      i_signature-doc_count = 1.
      i_signature-prop_name = 'BDS_DOCUMENTCLASS'.
      i_signature-prop_value = file_extension.
      append i_signature.
      i_signature-prop_name = 'BDS_CONTREP'.
      if bds_doctype_list-contrep = space.
        i_signature-prop_value = ' '.                           "#EC NOTEXT
      else.
        i_signature-prop_value = bds_doctype_list-contrep.
      endif.
      append i_signature.
      i_signature-prop_name = 'BDS_DOCUMENTTYPE'.
      i_signature-prop_value = bds_doctype_list-doc_type.
      append i_signature.
      i_signature-prop_name = 'DESCRIPTION'.
      i_signature-prop_value = p_descr.
      append i_signature.
      i_signature-prop_name = 'LANGUAGE'.
      i_signature-prop_value = sy-langu.
      append i_signature.
    -- create new document via KPro -- *
      call function 'BDS_BUSINESSDOCUMENT_CREATEF'
        exporting
          logical_system = logical_system
          classname      = classname_select
          classtype      = classtype_select
          client         = sy-mandt
          object_key     = objkey_select
        tables
          files          = i_files
          signature      = i_signature
        exceptions
          internal_error = 1
          others         = 2.
    endfunction.
    *& Form GET_FILE_EXTENSION
    try to get the extension of the uploaded file
    form get_file_extension using file_name file_extension.
    -- data declaration ------------------------------------------------ *
      data: length type i,
      single_c type c.
      data: begin of bds_doctype_list occurs 10,
      mandt type mandt,
      classname type bapibds01-classname,
      contrep type bapibds01-contrep,
      docuclass type bapibds01-doc_class,
      docuclass_text type toasd-objecttext,
      doc_type type bapibds01-doc_type,
      doc_type_text type toasp-objecttext,
      appl_type type toadd-appl_type,
      appl_type_text(50) type c,
      standard type toadv-standard,
      check_box type toadv-standard,
      end of bds_doctype_list.
      clear: single_c.
      length = strlen( file_name ).
      if length > 0.
        while length > 0.
          single_c = file_name+length(1).
          if single_c co '.'.
            length = length + 1.
            exit.
          else.
            length = length - 1.
          endif.
        endwhile.
        if length > 0.
          file_extension = file_name+length.
        else.
          file_extension = space.
        endif.
      else.
        file_extension = space.
      endif.
      if file_extension <> space.
        set locale language sy-langu.
        translate file_extension to upper case.              "#EC TRANSLANG
        set locale language space.
      endif.
    endform.                    "get_file_extension
    example  : class = PREL
    object = pernr_no
    desc =  'leav application'
    p_path = file_path
    I used this in abap program then it is uploading fine but when used in the web dynpro file is not uploading. On debugging it is showing error in function module SDOK_PHIOS_CHECKIN
    error key 5 ie error in transfer.
    So please suggest how to upload in web dynpro abap.
    Edited by: Bhavya belagal on Dec 22, 2010 11:55 AM
    Edited by: Bhavya belagal on Dec 22, 2010 12:09 PM

    Hallo Bhavya,
    Please do not post like this as it is not readable . Mostly when you describe it in a simple manner you would get more response.
    See this thread for answers from Thomas Jung [Re: Approach content repository other way then URL approach|Re: Approach content repository other way then URL approach]
    Wiki [http://wiki.sdn.sap.com/wiki/display/WDABAP/File%2bUpload%2busing%2bcl_fitv_gos%2bclass|http://wiki.sdn.sap.com/wiki/display/WDABAP/File%2bUpload%2busing%2bcl_fitv_gos%2bclass]
    Edited by: Baskaran Senthivel on Dec 22, 2010 2:42 PM

  • Error while executing planning Function

    Hi All,
    I'm getting some error while executing planning function. Below are errors. Please check and provide solution.
    Errors occurred when executing planning function RTFMPF01/RTFMPG01
    Value 08 of chara Region does not correspond to the attrib.val MI of chara Store
    Value 10 of chara Region does not correspond to the attrib.val RM of chara Store
    Value 11 of chara Region does not correspond to the attrib.val NA of chara Store
    Thanks,
    Vamsi

    Hi,
    Value 08 of chara Region does not correspond to the attrib.val MI of chara Store
    Looks like there is a characteristics relationship which derives the attribute store from Region.
    Check the master data for Region for attribute Store and the corresponding values.
    The values that are maintained in the master data will only be allowed to enter in the cube.
    Thanks
    pratyush

  • Error - Planning function - BUdget retraction

    Hi Friends,
    need your help. while running process chain in BW, its giving the following error:"Errors occurred when executing planning function SPPF2300(Budget Retraction)/SPPG2300(Execute) "
    "I0809ACANCF01 : ( BP / 743 )  
    Overall budget less than cumulative budget ( BQ / 007 )  
    - I/0809.B.CAN.CF.ED: 8,014,523.00 < 8,473,564.00 (INR) ( BQ / 008 )  
    - I/0809.B.CAN.CF.ED.CAP01: 380,575.00 < 839,616.0 0 (INR) ( BQ / 008 )  
    - I/0809.B.CAN.CF.ED.CA001: 5,379.00 < 464,420.00 (INR) ( BQ / 008 )  
    I0809ACANCF01 : ( BP / 743 )
    but have checked the WBS elements, but still no solution.  whats this BP,BQ, unable to resolveTks & Rgds,
    Anitha J

    got soln from SAP

  • Authorization problem in executing a Planning Function

    Hi All,
    We are facing an authorization issue  while executing a planning function in a WAD template.
    The error message is :
    The planning function ended with errors.
    The user does not have authorization on infoprovider YF2IGM37.
    But the relevant authorizations have already been provided to the said user for:
    S_RS_ALVL,S_RS_PLENQ ,S_RS_PLSE ,S_RS_RLSQ, S_RS_PLST        along with authorization for
    Cube, multiprovider, query as well as aggregation layer.
    Could anyone pls help us resolving the issue.
    rgds,
    Nandini.

    Check any authorization relevant infoobject user is not authorized for.
    For example, if company code is authorization relevant,and in your query any default company code is provided, user may not have the relevant access.

  • Planning function ended with errors

    Hi Folks,
    Issue: While Executing The Planning Sequnce it is througing me Planning Function Ended with Errors.
    I have one existing Planning Sequence which contain the Filter and Planning Copy Function. And also Variable input ( two variables 1 is Profict Center and 2nd one is Fiscal Year)
    First i was tried to execute the Planning Sequece it througing me error message saying as in below:-
    Values entered are invalid; check these values again
    Variables contain invalid values.
      Specify a value for variable Fiscal Year (Single Value Entry, Required)
      You have to enter variables before you execute
    Then i have entered Fiscal year value in the Planning Sequece>Variable Input>select the Fiscal Year Variable>Input help>selected the 2008-->ok. Now then Fiscal year variable is showing 2008.
    And then i was executed once again here Planning Sequnce it is througing me Planning Function Ended with Errors.
    Here is cross checked Filter area associated Variables( two variables 1 is Profict Center and 2nd one is Fiscal Year).
    1.Profit Center Variable: Containing the default value is 1000
    2.Fiscal Year Variable : Does not maintained any default values.
    Can any one provide your v

    Hi Venkat,
    Please execute the planning function with Execution with Trace option.
    Verify the planning function particularly from Values.
    Also some simple tricks:
    1. Try with some other values.eg. FisYear 2007. ( Check in database)
    2. Save the variant in variable input panel & then execute.
    Hope it helps,
    Shamkant

  • Error while executing planning function with reference data

    Hi,
    I have a two planning functions one is used to upload the file (with out reference data checkbox in planning function RSPLF1) and other planning function ('Referece data'check box is selected in custom planning function RSPLF1) to execute the logic of creating new record along with the flat file data.
    Following data is uplooaded
    Company code | Profit_ctr | calmonth | Amount
    1000                 | 50000      | 01.2011  | 150
    Cube data
    Field1    |  Company code | Profit_ctr | calmonth | Amount
             |  1000                 | 50000      | 01.2011  | 150
    Z1         |  1000                 | 50000      | 01.2011  | 150
    Now I want to change the value from 150 to 200 and when I try to execute with the following data, it is giving dump 'a row with the same key already exists'.
    Company code | Profit_ctr | calmonth | Amount
    1000             | 50000          | 01.2011  | 200
    Ideally in the second execution it should append the new row with Amount value 50 to cube which is the delta value.
    I debugged the issue and found that I_TH_REF_DATA has following data and C_TH_DATA also contains the same records.
    Field1     Company code | Profit_ctr | calmonth | Amount
    #     1000                 | 50000      | 01.2011  | 150
    Z1     1000                 | 50000      | 01.2011  | -150
    Z1     1000                 | 50000      | 01.2011  | 150
    Due to this, record which already exists in C_TH_DATA and trying to append new record with the same combination is failing.
    C_TH_DATA should only contain the source data of Amount 200, but not sure why reference data is coming in C_TH_DATA.
    Could anyone please guide me on how the reference data is getting populated in C_TH_DATA ?
    Thanks in advance
    Edited by: peppy on Aug 3, 2011 5:00 PM
    Edited by: peppy on Aug 3, 2011 8:37 PM

    Hi Peppy,
    C_TH_DATA is hashed table!  According to your post you are trying to append to C_TH_DATA and this results in a dump. Please take a look at the standard planning function to see how SAP is programming the planning functions. E.g. in CL_RSPLFC_REPOST method IF_RSPLFA_SRVTYPE_IMP_EXEC~EXECUTE you can find the following code:
      CREATE DATA l_r_data_wa LIKE LINE OF c_th_data.
      ASSIGN l_r_data_wa->* TO <s_data_wa>.
      CREATE DATA l_r_new_wa LIKE LINE OF c_th_data.
      ASSIGN l_r_new_wa->* TO <s_new_wa>.
    LOOP AT c_th_data INTO <s_data_wa>.
    <s_new_wa> = <s_data_wa>.
    now the SAP code changes the  values, you can do it your way here
    and than write the changes back
            MODIFY TABLE c_th_data FROM <s_data_wa>.
    ENDLOOP:
    Another option is to use the READ statement to check if the record is already in the table. If not, you can use MODIFY otherwise you use INSERT. So you get something like this:
    READ C_TH_DATA from <s_data_wa> transporting no fields.
    if not sy-subrc EQ 0.
      INSERT <s_data_wa> into table C_TH_DATA.
    else.
      MODIFY TABLE c_th_data FROM <s_data_wa>.
    endif.
    Depending on your requirements you can also use the collect  statement.
    If c_th_data shows the reference data as well, you may need to adjust the filter to restrict it to the correct values.
    Hope this helps.
    Best regards
    Matthias Nutt
    SAP Consulting Switzerland

  • BI IP - Planning Function Type Formula Error "Characteristic not Supported"

    Hi all,
    I have created a planning function type formula with very simple code. The code was copied from SAP Library and FISCPER was replaced with 0CALDAY. I continue to get an error 'Characteristic 0CALDAY is not supported".
    The characteristic 0CALDAY is in the Infoprovider and the aggregation level. I have tried 'To Characteristic Usage' with both changed and in condition.
    DATA D1 TYPE D.
    DATA D2 TYPE D.
    DATA I1 TYPE I.
    DATA I2 TYPE I.
    DATA CALDAY TYPE 0CALDAY.
    FOREACH CALDAY.
    CALCULATE 1ST DAY OF ZCALEND
    D1 = C2DATE( CALDAY, S ).
    CALCULATE LAST DAY OF CALDAY
    D2 = C2DATE( CALDAY, E ).
    CALCULATE THE DIFFERENCE BETWEEN LAST AND 1ST DAY MINUS TWO DAYS
    I2 = 2.
    I1 = D2 - D1 - I2.
        MESSAGE I001(UPF) WITH 'DIFFERENCE' I1.
    ENDFOR.
    Thank you in advance for any help.
    Teri

    Thank you very much for your reply. What would you suggest? I must use 0CALDAY.  As you can tell I am very new to IP, I have tried other options for example:
    DATA ZDAYS TYPE I.
    DATA ZDT TYPE ZCALSTART.
    DATA ZDF TYPE ZCALEND.
    ZDT = ZCALSTART.
    ZDF = ZCALEND.
    ZDAYS = ZDT-ZDF.
    {KF,ZDT,ZDF} = ZDAYS.
    I received an error "ZCALSTART could not be recognized"
    I also tried to call a function. 'FIMA_DAYS_AND_MONTHS_AND_YEARS'.
    DATA D1 TYPE D.
    DATA D2 TYPE D.
    DATA DD TYPE I.
    DATA CALS TYPE ZCALSTART.
    DATA CALE TYPE ZCALEND.
    D1 = CALS.
    D2 = CALE.
    CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      EXPORTING
        I_DATE_FROM          = D1
      I_KEY_DAY_FROM       =
        I_DATE_TO            = D2
      I_KEY_DAY_TO         =
      I_FLG_SEPARATE       = ' '
    IMPORTING
       E_DAYS               = DD.
      E_MONTHS             =
      E_YEARS              =
    I received an error "Types of parameter I_DATE_FROM () and variable D1(D) are inconsistent".  From what I could find they should be consistant.  Please provide any suggestions. Thank you!
    Teri
    Edited by: teri chandler on Mar 30, 2010 3:26 PM

  • Error message in planning function

    Hi,
    I have implemented a plausibility check for values in a planning function:
    IF { Z6SLSPRIC } = 0 AND NOT {Z6SLSQTY}  IS INITIAL.
         MESSAGE E000(ZOP1) .
         MESSAGE E001(ZOP1).
         MESSAGE I003(ZOP1).
    ENDIF.
    With raising an error message the data will not be saved. Unfortunately the function sends the message '...ended with errors'. I think this is the cas because of raising an error message. How is it possible to raise an error message without getting the function standard message?
    Regards
    Andreas

    Hi,
    I think the syntax is correct. The function works and give the implemented messages without saving the data.
    After that I get the following message: "Planning function Z6OPF4 ( Z6OPF4 ) ended with errors".
    How is it possible to suppress such system messages?
    I think the function is working fine. The message mentioned above is the result of raising an error message in my code...
    Regards
    Andreas

  • Error during the execution of a planning function in BI 7

    Dear All,
    I created an input ready query and took it into a workbook.
    I have to execute a planning function (by a button) which calculates some new data but I get the following error after I clicked on the button message:
        Error when inserting or changing in a sorted table
    And the BW server closes the connection.  
    Any help?
    Thanks in Advance,
    Dezso

    You seem to be having a multi-mapping involved.
    The operation mapping has to produce at least the start and end tag.....even if the entire message is not present
    Ex:
    <SRC>
    <First>
    <Middle>
    <Last>
    </SRC>
    If above is the structure, then it should be ensured that at least <SRC></SRC> is created by your mapping program....however in your case this is not happening....the tags that you see Messages and Message1 are due to the multi-mapping program and your message should be more than this.
    if you say that occurence is 0..1 then what you can do is map this 0..1 node (root) with at least a blank Constant.
    Unless you create a message (even though empty) you will continue to receive the error message.
    Regards,
    Abhishek.

Maybe you are looking for