Error when generating program when creating CVC using infoprovider

We are receiving the message "Error when generating program" when
creating CVC using infoprovider.
This may have something to do with the fact that we added an attribute
to the infoObject 9ALOCNO. We are getting an information message if we
run a consistency check in the POS.
We had this same issue in our development system. Here, I deactivated
and then reactivated the CVCs and this resolved the problem. However,
this is not a good solution since this is also a problem in our
production system and we do not want to deactivate the POS.
is there another option to fix this problem?
Thank you,
Rumi

Hi Rumi,
i would try these:
1. Make sure the cube is active and every thing ok there
2. Run programs /SAPAPO/TS_PSTRU_CONS_CHECK on POS and /SAPAPO/TS_LCM_CONS_CHECK on planning area respectively.
3. Check the CVC creation log in transaction /n/sapapo/mc62 for more details.

Similar Messages

  • Error when generating program /SAPAPO/TSM141

    Hello APO Experts!!
    I have one infocube for sales history, which has one key figure that contains the sales history values.
    First, I was using this key figure in one planning area. This Key Figure Semantics for Read and Write Operations was 002 = Semantics for InfoCube key figures.
    Now, I had to include the same key figure in another planning area and with the same configuration Semantics = 002.
    The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error  "Error when generating program /SAPAPO/TSM141" when trying to access the data in the planning books that are created in the first planning area.
    For the second planning area, nothing happens, everything is working correctly.
    Do you have any idea of what this could be?
    Regards
    Anglea

    Hi
    Sounds like a Planning Area extraction problem. First of all check that all your required BW InfoObjects are created for the Planning Areas, then check that the Semantics you mentioned are the same for all Aggregates in the Planning Area.
    Also try running program /SAPAPO/TS_PSTRU_GEN to regenerate the planning area extractor.
    Delete and recreate the data source.
    Hope that helps
    Regards
    Ian

  • Error when generating program /SAPAPO/TSM141 and Errors in source system

    Hello APO Experts!
    I had to include a new key figure in the cube and the planning area with configuration semantic = 000.
    The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error "Error when generating program /SAPAPO/TSM141" and u201CErrors in source systemu201D when trying to load data in the Infopackage.
    Do you have any idea of what this could be?
    Best Regards
    Nik

    Hello,
    The problem may come from the inconsistency between the datasource settings and the content in table /SAPAPO/TSAREATE.
    - SE16, go to table /SAPAPO/TSAREATE, input the planning area name, check the extraction structure, which is started from  '/1APO/EXT_STRU'.
    - SE16, go to table /SAPAPO/TSAREAEX, input the datasource name, and check the extraction structure.
    Are the two extraction structures the same or different ?
    If they're different, please read the below solutions, otherwise, you can ignore the following.
    In general and most customer cases this inconsistency happens during transporting of datasource alone. In many cases the planning area is directly created at target system and datasoucre transported from a a different system which causes incorrect export structure entry in planning area table.
    Please refer to following content from note 549184:
    Q4: Why could I have extraction problem after transport of DataSource?
    A4: DataSources for DP/SNP planning areas depend directly on the  structure of the planning areas. That's why the planning area MUST  ALWAYS be transported with or before the DataSource.
    The simple solution will be to create a dummy data source for this planning area. This will regenerate the extract structure for all other data sources as well and update the corresponding tables. After that you can delete the dummy datasource.
    After delete the dummy datasource, in case of inconsistency, please also run the report /SAPAPO/TS_PSTRU_GEN report for
    - Basis - form routines
    - Create planning objects
    - Planning area extractor
    with the flags "Reset generation time stamp" and "Generate" set.
    And in order to transfer datasource correctly, please also refer to the consulting note 514524.
    Best Regards,
    Ada

  • RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''

    Hi,
    While executing the below code i am getting the error
    " RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ' ' am new to ABAP , can anyone kindly help me where i have went wrong ? .
    IF ( V_DO_CDS_NAME_MAIN <> '' ).
        ABAP.
            DATA: ref_it_tab TYPE REF TO data,
                  ref_wa TYPE REF TO data.
            FIELD-SYMBOLS: <fs_itab> TYPE ANY TABLE.
            FIELD-SYMBOLS: <fs_wa> TYPE ANY.
            FIELD-SYMBOLS: <fs_field> TYPE ANY.
            CREATE DATA ref_it_tab TYPE STANDARD TABLE OF (V_DO_CDS_NAME_MAIN) WITH NON-UNIQUE DEFAULT KEY.
            ASSIGN ref_it_tab->* TO <fs_itab>.
            SELECT * FROM (V_DO_CDS_NAME_MAIN) INTO TABLE <fs_itab> where C1 = V_WORK_ITEM_ID_MAIN.
            CREATE DATA ref_wa LIKE LINE OF <fs_itab>.
            ASSIGN ref_wa->* TO <fs_wa>.
            loop at <fs_itab> assigning <fs_wa>.
                assign component 'CLIENT' of structure <fs_wa> to <fs_field>.
                V_CLIENT = <fs_field>.
                assign component 'C0' of structure <fs_wa> to <fs_field>.
                V_C0 = <fs_field>.
                assign component 'C1' of structure <fs_wa> to <fs_field>.
                V_C1 = <fs_field>.
                assign component 'C2' of structure <fs_wa> to <fs_field>.
                V_C2 = <fs_field>.
                assign component 'C3' of structure <fs_wa> to <fs_field>.
                V_C3 = <fs_field>.
                assign component 'C4' of structure <fs_wa> to <fs_field>.
                V_C4 = <fs_field>.
                assign component 'C5' of structure <fs_wa> to <fs_field>.
                V_C5 = <fs_field>.
                assign component 'C6' of structure <fs_wa> to <fs_field>.
                V_C6 = <fs_field>.
                assign component 'C7' of structure <fs_wa> to <fs_field>.
                V_C7 = <fs_field>.
                assign component 'C8' of structure <fs_wa> to <fs_field>.
                V_C8 = <fs_field>.
                assign component 'MESSAGE_ID' of structure <fs_wa> to <fs_field>.
                V_MESSAGE_ID = <fs_field>.
                assign component 'TIMESTAMP' of structure <fs_wa> to <fs_field>.
                V_TIMESTAMP = <fs_field>.
                assign component 'EXTRACTKEY' of structure <fs_wa> to <fs_field>.
                V_EXTRACTKEY = <fs_field>.
                assign component 'STATEID' of structure <fs_wa> to <fs_field>.
                V_STATEID = <fs_field>.
                assign component 'DEVICE_ID' of structure <fs_wa> to <fs_field>.
                V_DEVICE_ID = <fs_field>.
            ENDLOOP.
        ENDABAP.
    ENDIF.

    Hi Mubeen,
    While Copying the cotes have come closer otherwise its working fine , i was able to find the error .
    There are ten predefined ABAP data types. There are 100 possible type combinations between these elementary data types. ABAP supports automatic type conversion and length adjustment for all of them except type D (date) and type T (time) fields which cannot be converted into each other.
    I commented the TimeStamp part where i had given the ABAP Type as D and it started working .
    But now i want to display the content of  "TimeStamp"  field but i am not able to do so .
    This is the format in which it has to be displayed 2009.011.915.3353.
    Which ABAPTYPE i need to use ?.
    i am able to display in this format 20090119153353
    regards
    Harsha

  • Hierarchy load - Error RSAR 683 Syntax error in generated program, row 0

    Hi guys,
    When I load the hierarchy on ZMATERIAL (load from 0MATERIAL hierarchy - source system BW), I have this error message : RSAR 683 Syntax error in generated program, row 0.
    I have found several SAP notes, especially [Sap Note 944842|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_whm/~form/handler], but the implementation on our system does not change anything.
    We are working on BW3.5 SP12.
    Can anyone could tell me what to do ?
    Will this issue be solved once we upgrade until SP18 as it is mentionned in the SAPNote ?
    Thanks,
    Alexandra
    Edited by: Alexandra Guillaux on Apr 1, 2009 4:36 PM

    Hello Alex,
    after implementing the corrrection part of note 944842 via SNOTE, plaese also:
    1. replicate datasource
    2. activate transfer structure (report RS_TRANSTRU_ACTIVATE_ALL)
    3. activate infoobject   (make dummy change to description
    of infoobject etc, save and activate it, remove change and save and
    activate it again).
    Hope it could resolve the incident.
    Thank you & Best regards,
    Vince

  • Syntax Error in generated program.

    Hi Experts -
    I saw a similar thread regarding the issue I'm having but I thought I'd open another thread.
    0CMMT_ITEM_FMCI_PU_HIER Syntax Error for Generated Program
    I'm doing an extraction for 0CRM_ORGUNIT_HR01_HIER in RSA3 of CRM.
    I get an error message:
    Message RJ028 : Error 6 in function module RSS_PROGRAM_GENERATE
    There is a syntax error in the code.
    How do you solve this issue?
    We applied OSS note 822323 but still get the same error. The code still has the syntax error.
    Any one saw this or have any solutions? Please let me know. Thanks a lot in advance!

    Hi,
    Use the program RSA1HCAT in SE38 to check your hierarchy.
    Transaction RSA3 was not developed for checking hierarchy DataSources.
    Rather, it is only for transaction and attribute/text datasources.  If
    you want to check the extraction of hierarchy datasources in the R/3
    system, you should use the report RSA1HCAT.  In this report, enter the
    name of the hierarchy datasource in the "DataSource with HierarchyType"
    field.
    For this problem look at the note: 632920.
    Regards,
    Srikanth.

  • Error- DBMS_STANDARD package must be created before using PL/SQL

    HI
    I am trying to run a very small and simple program on my Oracle81 personal edition on Win98.
    I get this error when i want to execute the program
    " package DBMS_STANDARD must be created before using PL/SQL "
    What should i do to create the package??
    Thank you
    Lin

    The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this question to the Database - General forum or the Installation forum.
    The URLs are:
    General Database Discussions
    and
    Database Installation

  • Create CVC using Standard Function /SAPAPO/TS_PLOB_CREATE

    Hello All,
    please can you explain me in detail how the Function /SAPAPO/TS_PLOB_CREATE work to create the CVC.
    we have a custom program that use this function to create the CVC for Italy Project, we have copied this program to use it for a roll out project in brasile, my client is asked me for the new project brasile should we create new tables?
    my interest is to now if this function need a custom table to work? or we can use it in various program without needing different
    tables?
    if we use this function on the same system to create CVC for different area Italy/brasile will we have some problem on the data?
    for our brasile project we have created new custom master data  tables.
    thanks for All
    Bilal

    Hi Bilal ,
    Function /SAPAPO/TS_PLOB_CREATE - Create Single characteristic combination, is nothing but a program  called internally in standard TCode: /sapapo/mc62 for CVC creation. This function is used specifically when you want to create single CVC based on the individually/interactively entered characteristics combination.
    Whereas there is a similar function /SAPAPO/TS_PLOB_MAINTAIN-Create Characteristic combinations (again a part of standard TCode/SAPAPO/MC62 called internally) which is used for multiple CVC creation based on the characteristic data either from MPOS, Info provider, external file or BAdI.
    As understand from your requirement that you want to roll out the CVC creation process based on the table entries, we have similar setup in which we have following process which is working very fine u2026
    -We have created a Z Table where the new characteristic combinations are entered globally -for all four regions
    -Based on entries in that Z table as a data source we have built a Info provider(Cube) and then
    -This Info provider is used in function /SAPAPO/TS_PLOB_MAINTAIN (as a part of scheduled jobs running with some frequency) to create multiple CVC combinations across regions.
    Hope this helps youu2026
    Regards,
    Digambar

  • Error in Java Program when passing table to RFC function . JCO is used

    Hai All,
    I developed a JAVA application to update data into SAP using JCO via RFC. When i pass table to the function module i am getting the below error
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Conversion from type T to D not supported.
    Please let me know how to solve this.
    Below is my code
    IRepository m_Repository;
    IFunctionTemplate ftemplate;
    JCO.Table PwdReq;
    JCO.Function function;
    m_Repository = JCO.createRepository("MYRepository", client);
                ftemplate = m_Repository.getFunctionTemplate("Z_GESEFM_UPD_PWD_RESET_REQUEST");
    // Create a function from the template
    function = new JCO.Function(ftemplate);
    // Feeding in input parameters
    PwdReq = function.getTableParameterList().getTable("RESULT2");
    String userid = "PATCHTEST14 ", reqDate = "",reqNo = "01",reqStatus = "03", boxID = "09",ind2 = "X",
                        lcode = "abcd",rem = "One record testing";
    PwdReq.appendRow();
                    PwdReq.setValue(userid, "USERID");
                    PwdReq.setValue(reqNo,"REQ_NO");
                    PwdReq.setValue(reqStatus,"REQ_STATUS");
                    PwdReq.setValue(boxID,"BOX_ID");
                    PwdReq.setValue(ind2,"IND2");
                    PwdReq.setValue(lcode,"LCODE");
                    PwdReq.setValue(rem,"OTHER_REMARKS");
                // execute the function with the input parameters
                client.execute(function);
    Thanks & Regards,
    H.K.Hayath Basha.

    hi,
    I am not very good in Java.
    but try this code to giving input parameter.
    function.getImportParameterList().setValue(userid, "USERID");
    if you are not using Try and Catch blok then use Try and Catch blok,
    Regards
    Manoj

  • How to catch errors in calling program when using SUBMIT ... AND RETURN ?

    Hi ,
    I am calling a report using submit and return statement from a function module. The report has select-options field for a date field. If user enters a date in low, which is greater than high, getting error message "Lower limit is greater than upper limit".
    How to catch this error without endup stoping on selection screen of the report?
    In the documentation, I read :
    Programs called with SUBMIT ... AND RETURN or CALL TRANSACTION cannot propagate exceptions to the caller, because exception objects are bound to the internal mode of a program.
    Is there any way to overcome this?
    Also my aim is to write a validation on the date selection-option to have the date range not more than 20 days.
    I am not sure of how to achieve this. 
    Is there a way to do validation of select-options data before submiting to the report ?
    Is there any standard FM to achieve this task?
    Thank you,
    Surya.
    Edited by: Surya on May 24, 2009 6:08 PM

    Hi Surya ,
    In your function module's code validate the date .
    If the low value of the date less than high and date period is not more than 20 then
    call transaction and in else condition raise exception.
    In your FM write like that - -
    IF   date-low LT date-high AND
                           date_difference LE '20' .
    CALL  TRANSACTION   'transaction'.
    ELSE.
    RAISE  ...........  " Raise the invalid date exception
    ENDIF.
    Regards
    Pinaki

  • Error while generating the report in BI using CRM

    dear experts...   .  / friends  ...
    i have created a query long back called SERVICE REQUEST using Query designer
    using that particular query i have generating the reports from MAY 1 to till date
    in my report i have a characteristics called USER STATUS , for this user status i can restrict the below values i.e
    open
    reopen
    waiting
    in - transfer
    resolved
    new
    completed
    in the above values , i want to get the transaction numbers which are not completed i.e. i need to exclude complete
    and i need to include all the above values
    but after generating the report , am getting completed records too...
    and in the report  i saw for that completed record i have OPEN DOCUMENTS(key figures)  and NO.OF DOCUMENT HEADERS(key figures) is 0
    actually if we see any updated record for the particular report the key figure NO.OF DOCUMENT HEADERS should be 1 right?
    so in my scenario if NO.OF DOCUMENT HEADERS getting 0 so the filter condition for COMPLETED , is not working
    so that the reason  even though i have filtered the COMPLETED value for the USER STATUS field , am getting those
    fields....
    so friends kindly help me in this regard to avoid completed value for the filed USER STATUS..
    thanks in advance...for u r helping
    regards...
    GA

    dear experts,
    for the above issue i have raised the OSS message and i got the below reply as well..
    they told me to create a pre queris can any one help me in this regard?
    =>
    => If you want to ensure that all completed transactions are filtered
    from the report even when keyfigure "open documents" <> 0 then
    you have to adjust your query definitions, e.g. by means of
    pre-queries to create a list of records for which a "completed"
    state-entry exists.

  • Error while saving report after creating it using webi java panel?

    Hi,
    Whenever i create report through java panel & RE SDK and then try to save it i got below error
    Could not save the document to the repository for the following reason: [repo_proxy 30] InfoStore::ObjectExport::commit - (Helpers::InfoStore::ObjectExport::commit) Failed to commit objects to server :
    Invalid parent id.(hr=#0x80041e0e)(Error #-2147213810 (WIS 30567)
    Actuallly i want to  save report in User's personal category.
    For that i retrive the ID of that User's personal category then pass it to variable to save
    Code while saving
    //JavaScript
    if ("<%= strSubmit.Equals("submit")%>"=="True")
              var value = new Array();
               value[0] = "<%= strName %>"; //Given value of Report
               value[1] = "<%= strComments %>"; //Value ""
              value[2] = "<%= strkeywords %>"; //Value ""
              value[3] = "<%= strFolderId  %>"; //Value ""
              value[4] = "<%= strCategories  %>"; //Value ""
              value[5] = "<%= strPersonalCategories %>"; //Here i assign the ID of User's personal category
              value[6] = "<%= strRefreshOnOpen %>"; //Value ""
              //save the document
                window.opener.saveDocumentCall(value[0],value[1],value[2],value[3],value[4],value[5],value[6]);
                window.close();
    any help?
    Thanks in Advance
    Amol Mali

    Hi Teda,
    Thanks for the reply.
    Actually i'm setting User's PersonalCategory id to Parent ID not setting Folder ID to Parent ID.
    How can i proceed?
    Please help.
    Thanks
    Amol Mali

  • Make Indicator "check bw master data" mandatory when creating CVC in MC62

    Dear All,
    There is a requirement to make the indicator "check bw master date" mandatory while creating CVC using tcode /sappao/mc62.
    I have tried SHD0 - transaction variant. This field is not shown.
    Is any other way to realize this?
    Thanks,
    Bin

    Hi,
    It is not possible to make the indicator "check bw master date"  mandatory  as this is generated program.
    To meet your requirement using BADI /SAPAPO/SDP_MASTER method SET_COMBI_VALUE_CHECK you can force the
    system to check 'BW master data' or if this flag is not set then throw the error message.
    Regards,
    Sunitha

  • Vendor not intended when create SC using create limit item

    Hi All,
    This is a challenging issue for all of us...
    SRM : 5.0
    ECC : 6.0
    I am facing the problem when creating the Shopping cart..
    When i click on Centralized purchasing -- > Shop -- > Create Limit item
    and give the Desc, Product category, Value limit, Expected value, Date between, Supplier and Follow-up actions as Confirmation and Invoice and account assignment as Known and click add to shopping cart..
    It is giving a message vendor not intended for purchaing org.. in the Item under Good/Service field value LIMIT is getting created automatically.. I dont understand how it is getting created..
    If i try to create one more item and specify the Good/service as our custom field value  , for this item there are no error and
    no message saying Vendor not intended for Purchasing organization..
    Please help me in finding out the issue.So that will be greatful to you..
    Advanced thanks
    Points will be rewarded..
    Regards
    Raju

    Hi Teja,
    I agree with you answer..
    When i tryo to create SC using the Product which are repliacted from ECC to SRM.. I am able to create SC successfully. That means vendor is properly intended to the Porg and Pgrp right...
    When i click on Centralized purchasing -- > Shop -- > Create Limit item
    and give the Desc, Product category, Value limit, Expected value, Date between, Supplier and Follow-up actions as Confirmation and Invoice and account assignment as Known and click add to shopping cart..
    It is giving a message vendor not intended for purchaing org.. in the Item under Good/Service field value LIMIT is getting created automatically.. I dont understand how it is getting created and Product type is neither a Material nor service.. The product type field vale is blank....
    Please help me in finding out the issue.So that will be greatful to you..
    REgards
    Kumar

  • Creating Certificate using Acrobat dll in C# program

    Hello,
    I need to create a certificate, basically .pfx file in C#. I used makecert tool to create the certificate first and then export it into .pfx file through command line. My attempt was successful. Then I used the .pfx file to encrypt a pdf using iTextSharp. The pdf is encrypted successfuly but when i try to open the pdf,  Acrobat/Reader shows a message "You do not have access rights to this encrypted document". I intalled the .pfx file but the problem still remains.
    Can anyone please guide me what am I doing wrong. I used the following code from command prompt to create a certificate and then export the certificate to a pxf file
    Create certificate - makecert -r -pe -n "CN=My CA" -ss CA -sr CurrentUser -a sha1 -sky signature -sv MyCA.pvk MyCA.cer
    Export to pfx - pvk2pfx -pvk MyCA.pvk -spc MyCA.cer -pfx MySPC.pfx -po <password>
    Is it possible to create a pfx file using acrobat dll in C#??
    Please help me, its urgent.
    Thanks in advance!

    No, there are no APIs for working with certificates from C#.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 13 Dec 2011 22:35:57 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Creating Certificate using Acrobat dll in C# program
    Re: Creating Certificate using Acrobat dll in C# program
    created by poortip87<http://forums.adobe.com/people/poortip87> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4083490#4083490

Maybe you are looking for

  • Persistent error message when trying to load a VOD show

    For the past few weeks, I keep getting an error message whenever I try to watch anything on VOD. The message says try again later but after repeated attempts it ususally doesn't work. Although, on one or two occasions I finally got the program to loa

  • Jdbc theme query problems

    Hi all, I'm integrating Oracle Maps (10) in BISE, I've used Navtweq maps with my spatial data and I've created some maps, themes etc. Now I'm trying to create some more complex JDBC themes. Everything works fine if I use simple query, but I'm not abl

  • Connect to an Oracle database by using oracle.jdbc.OracleDriver: error

    Hi, I'm trying to connect to an Oracle database so we can retrieve notes of tables, views and packages. By using the API of Data Modeler (transformation script) we want to add these notes to corresponding objects in Data Modeler. I'm starting with th

  • How to upload .csv file with tab as delimiter.

    HI, I want to upload a .csv file with tab as delimiter to unix path in background.                                                                                                              I know there is function module 'GUI_UPLOAD', but in my ca

  • What is the idea of a private chat

    Hi i want to know what is the idea of private chatting? a user can chat with a user in a private room. public chat is easy. just sending the text to the server and all users can see what about sending a message to a server and then to a user and both