Dump CREATE_OBJECT_CLASS_NOT_FOUND with BADI in MM_MATBEL archiving object

Hi all,
I have searching the error for this dump, the dump is in report RM07MARCS for the BADI 'ARC_MM_MATBEL_CHECK'. In SE19 I called it like ZARC_MM_MATBEL_CHECK, but this time it return me a dump in report CL_EXITHANDLER================CM001 when SAP create with CREATE OBJECT sentence.
The text for the dump is :
Anál.errores / Analysis of errors
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_CREATE_OBJECT_ERROR',
     was neither
    caught nor passed along using a RAISING clause, in the procedure "GET_INSTANCE"
     "(METHOD)"
    Since the caller of the procedure could not have expected this exception
     to occur, the running program was terminated.
    The reason for the exception is:
    The class entered dynamically at CREATE OBJECT
     ("CLASS=CL_EX_ARC_MM_MATBEL_CHECK") cannot be found,
    neither locally. nor as a global class in the system.
Notas para corregir errores / Notes to correct errors
    Either the name of the class is wrong, or the class does not exist.
    Probably the only way to eliminate the error is to correct the program.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "CREATE_OBJECT_CLASS_NOT_FOUND" CX_SY_CREATE_OBJECT_ERRORC
    "CL_EXITHANDLER================CP" or "CL_EXITHANDLER================CM001"
    "GET_INSTANCE"
I've checked it in SE18/SE19/SE24 and so on, but I don't find the origin of problem.
Any suggestion or advice is wellcomed.
Thanks in advance.
Best Regards,
Eduardo

Hi,
Thanks by your reply, it has been so useful for me. I copy the report of archiving to a Zreport and I change it in AOBJ.
Why? Two reasons:
- In OSS notes I have found some notes about program error and I dont want that in the future SAP deny us support because the BADI is register in SCCR (prudential reasons), and I dont want to write a message to SAP because it's urgent.
- It's so easy to replace the call to BADI with the module function that I had wrote in the BADI, so:
  BAdI ARC_MM_MATBEL_CHECK, Methode CHECK
   IF NOT check_exit IS INITIAL.
      LOOP AT mkpf_tab INTO ls_mkpf.
        CLEAR: lv_veto, lv_detail_text.
       CALL METHOD check_exit->check
         EXPORTING
           im_mkpf        = ls_mkpf
         CHANGING
           ch_veto        = lv_veto
           ch_detail_text = lv_detail_text.
        CALL FUNCTION 'Z_ARCHIV_MM_MATBEL_CHECK_001'
          EXPORTING
            i_mkpf              = ls_mkpf
          IMPORTING
            E_VETO              = lv_veto
            E_DETAIL_TEXT       = lv_detail_text.
        IF NOT lv_veto IS INITIAL.
          IF lv_detail_text IS INITIAL.
            lv_detail_text = text-e04.
          ENDIF.
          DELETE mkpf_tab.
          CONCATENATE     ls_mkpf-mblnr ls_mkpf-mjahr       "v_n833784
            INTO          mkpf_tab_entry
            SEPARATED BY  space.
          CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL'
            EXPORTING
              i_object  = mkpf_tab_entry
              i_msgtype = 2
              i_text    = lv_detail_text.                   "^_n833784
        ENDIF.
      ENDLOOP.
   ENDIF.
Thanks newly by your time.
Regards.
Eduardo

Similar Messages

  • Archiving object MM_MATBEL.

    Hi,
    I need to archive data using archiving object MM_MATBEL. Now the condition is that in this archiving object, I need to restrict the data (to be archived) to company code 1030 (country US). As the company code field is not available in the selection screen of this archiving object, can you please tell me, how can I limit the data to company code 1030, using other fields in the selection screen.
    Thanks and Regards,
    Anuj

    If people need to look/work with archived data, then you need the infostructures, except you use the archive add-ons from PBS  ( http://www.pbs-software.com/PBS-Startseite.1.0.html?&L=1 ) which allow you do see archive data by using the well-known SAP transactions, without the need of space-consuming SAP infostructures.
    I try my best to avoid infostructures, means I archive data that is no needed for business, not needed to be looked up often.  (developing infostructure or even programs to analyse data that was archived early is more expensiv than the costs of the disk space, at least in our branch)
    But if an infostructure is given by SAP, then you can activate (fill it) or deactivate (delete content) within a few seconds with tiny effort. So I do it in rare cases if somebody needs to see archived data.

  • Archiving object in open hub with logical file name

    Hello,
    I am trying to use an open hub with a logical file name.
    By the SAP help looks like you have to use/define a archiving object:
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm
    Steps 1 and 2 of "Defining Logical Path and File Names" are done and tested:
           1.      Definition of the logical path name
           2.      Definition of the logical file name
           3.      Assignment of the logical fine name for the archiving object
    But is it not clear to me if an archiving object is suppose to be used, which one then?,  or if you have to create a new archiving object, with which characteristics?
    Any help welcome,
    Alberto.

    Alberto,
    Can you explain what you are trying to do. Are you trying to archive data from a BI object or are you trying to export data out of a BI object using open hub.

  • Count total number of record of table with deletion from archiving object

    Does anyone know is there any SAP standard program to count the total number of record of the table with deletion from Archiving Object and display in repprt?

    Not sure of the question. Are you looking to get the sql "select count(*) from table" from using the TopLink expression framework or are you getting that SQL already and want something else?
    If you are looking just to get the count from a table/class, you can use a ReportQuery:
    ReportQuery rquery = new ReportQuery(ClassToQueryOn.class);
    rquery.addCount(); //equivalent to count(*);
    session.executeQuery(rquery);
    You can use a report query to return data instead of objects, and use selection criteria just like a normal read query.
    Best Regards,
    Chris

  • Archiving objects from tabel QMEL, JEST, JCDS with priotype SR

    Hi,
    In tx SARA I can find 5 archivingobjects to archive data from table QMEL.
    CM_QMEL
    NM_QMEL
    PM_QMEL
    QM_QMEL
    SM_QMEL
    It looks they correspond to the priotypes named in field ARTPR in table QMEL.
    CM, GO, PM, QM, SL, SM, SR
    Our table QMEL consists of records with priotype SR.
    My question: Which object can I use to archive?
    Regards Marco

    Hi,
    I haven't found any documentation related to this so what you can do is spend around 25 mins and test it to see which archiving object suits your need. Try the following in a test environment:
    1. Complete a notification and flag it for deletion.
    2. For every archiving object (you have 5) create a test variant for the pre-processing program. In this variant specify the notification ID in the notification field and select run in "Test mode".
    3. Execute the pre-processing program for each archiving object using the variants that you created and then check their output, you should get an archiving object that selected for archiving this notification and then you can go on with that archiving object.
    Please let me know if this helps.

  • Archiving object FI_DOCUMNT

    Hi, my requirement is to archive the data in table BKORM also along with the archiving object FI_DOCUMNT. I have seen the archiving object FI_DOCUMNT through tcode SARA. Here I observed that this archiving object do not include table BKORM. Can I add this table also the archiving object?
    My basic purpose is that the data of table BKORM (and its associated tables) also should get archived along with the table mentioned in this archiving object...
    Is there a way out to solve this problem?
    Helpful answers will surely be rewarded...
    Thanks,
    Husain.

    Hi Husain,
    you may have a look at the BAdI "FI_DOCUMNT_WRITE". This seems to be for archiving additional tables with the AO FI_DOCUMNT. But I am not definitly sure how to deal with it...
    Regards,
    David

  • Create a site collection with dedicated content db with the help of server object model

    Hi,
     I have a requirement to implement a create a new site collection with dedicated content db. i have got 2 PowerShell scripts which does the same. first i will  create a content  db and then create the sitecollection with contentdb
    parameter with the created contentdb name.
    Now the site collection created must contain few doc libs and few splists with look up columns, people picker data type, multiline of text, single line of text,choice field. hence i am thinking the below approach:
     1) create a web template and include sp doclibs, splists , site columns in this.
     2) i am thinking of a ui design to create the below:
     These are called "projects" which is actually the site collection with the doclibs, splists and must be created by sharepoint admin on click of a link in my landing page.end users access these "projects"  aka 
    "site collections" and uploads the documents into these projects and collaborate.
    so my question is :  On click of a button can I create a site collection with a dedicated content db based on the web template created with the  hel of  server  object model?
    The other approach is on click of this button call the power shell script which accepts the sitecollection name and contentdb name as parameter. is this possible in  server obj.model ?
    passing a paramter from code behind- visual web part ui to power shell ?
    and it should create the site collec based on the web template and create the content db.
    my doubt #3 : will it not throw error "request timed out" when creating the site collec and contentdb from ui ?

    Try below:
    http://sharepoint.stackexchange.com/questions/21606/programmatically-create-a-site-collection-in-an-existing-mounted-content-databa
    PowerShell is just a wrapper for the object model. You shouldn't need to reference PowerShell in your feature, just create the new site collection with C# inside your feature. There's a blog post here that illustrates some code that may get you started.
    http://blog.mastykarz.nl/programmatically-creating-sites-site-collections-custom-web-template/
    http://blogs.msdn.com/b/vesku/archive/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom.aspx
    # Enable the remote site collection creation for on-prem in web application level
    # If this is not done, unknon object exception is raised by the CSOM code
    $WebApplicationUrl = http://dev.contoso.com
    $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'}
    if ($snapin -eq $null)
    Write-Host "Loading SharePoint Powershell Snapin"
    Add-PSSnapin "Microsoft.SharePoint.Powershell"
    $webapp=Get-SPWebApplication $WebApplicationUrl
    $newProxyLibrary = New-Object "Microsoft.SharePoint.Administration.SPClientCallableProxyLibrary"
    $newProxyLibrary.AssemblyName = "Microsoft.Online.SharePoint.Dedicated.TenantAdmin.ServerStub, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    $newProxyLibrary.SupportAppAuthentication = $true
    $webapp.ClientCallableSettings.ProxyLibraries.Add($newProxyLibrary)
    $webapp.Update()
    Write-Host "Successfully added TenantAdmin ServerStub to ClientCallableProxyLibrary."
    # Reset the memory of the web application
    Write-Host "IISReset..."
    Restart-Service W3SVC,WAS -force
    Write-Host "IISReset complete."
    If this helped you resolve your issue, please mark it Answered

  • MM_EKKO Archiving Object

    Hi,
    Reg: MM_EKKO - Material Management Archiving Object.
    I have executed the Write Job it completed successfully. And then I executed Delete Job in 'Test Mode', it also executed successfully and it didn't delete the record from the table which is correct. But when i tried to open the Purchase order from ME23N it shown message in status as ' Purchase Order already archived'. Kindly let me know why this message is produced.
    Regards,
    Vimal

    Hi Reddy,
    Thanksfor your reply.
    Actually my concern is not that.
    Write Job(Production Mode) --  It Created a Archive file with the Purchase Order i specified in the selection parameter. So write Job is fine.
    Delete Job(Production Mode) - It deleted the Purchase Order from the database and the archived PO is displayed from ME23N. So this is also fine.
    Delete Job(Test Mode) -- It just executed, Purchase Order is not deleted from database. Which is also fine and correct as well. When i displayed the same PO in ME23N, The PO is displayed with message 'Purchase Order is already archived' . But it should not show the message bcoz i didnt archived it. This is wat my concern.
    Regards,
    Vimal

  • Archiving Objects in SAP Retail (transaction SARA)

    Hi All.
    I have problem with archiving object WS_ACSITE in SAP RETAIL.(Transaction SARA)
    When I write data archiving, message appeard is that archive sessions are created.
    When I try to execute the next step: delete - the archive sessions are not appearing in the dialog box where we should choose the archive sessions for deletion.
    The above situation appear when I am working with plants existing in system for a while, but when I've create a new one and try to go through all SARA's steps it is OK, and master date of sites are deleted (e.g WB03).
    Can anyone help me?
    The second question is u2013 can I restore deleted sites to system?
    thanks in advance.
    Marcin

    Hello,
    Check below information for Material master record required to archive:
    1. Is there any stocks in the plant for which MMR need s to be archived? (Stock = Zero)
    2. Is there any open items at FI accounting? (There should be no pending bills or parked documents)
    3. Is there any pending delivery for this material? (there should be no open deliveries)
    If all the above criteria is met then set the deletion flag and indicator for perticular Plant you are looking for.
    Note: Make sure that non of the other plants which is sharing this MMR is marked for deletion flag / indicatory
    Then execute Archive run for archiving object MM_MATNR.
    Note: All the required configuration is done for archiving object MM_MATNR.
    Hope this will help you to archive MMR only for your required plant.
    -Thanks,
    Ajay

  • BADI for ME22n - Component Object List

    Hi ,
    I am working with transaction ME22n. When the item category is L. The material data tab shows a button called Components (Object List). On clicking this button i am taken to another screen which has childeren material items and the related data. I need to capture the values on this screen and compare them with the database values to identify any changes.
    I am working with BADI ME_PROCESS_PO_CUST , method CHECK and OPEN. Please tell me in which method parameter those screen values are stored and i can fetch them.
    Also please suggest me any other approach possible which i can use to capture the screen field values in the component screen.
    Any help would be deeply appreciated.
    Thanks in advance.
    Moderator message : Duplicate post locked. Continue with thread [BADI for ME22n - Component Object List|BADI for ME22n - Component Object List]
    Edited by: Vinod Kumar on Aug 9, 2011 12:25 PM

    Hi,
    Please check this thread
    User exit for component data in ME21n/ME22n
    Thanks

  • Creation of archiving objects in AFX_WB

    Hi,
    I am trying to create an archiving object in AFX_WB.
    I assigned a custom package which I created to the archiving object.
    The transaction generates the programs for the archiving object by itself with the inputs given.
    In one of the steps, I am getting an error " SAP Object cannot be assigned to the custom package".
    When I tried with a standard package, I got error in another step saying "custom object cannot be assigned to standard package".
    Is there an appropriate package which I can assign the archiving object ( as it has got a combination of custom and SAP standard object) ?
    What is the purpose of including package in package hierarchy and defining user access for them?
    Thanks and regards,
    Lakshmi Reghuvaran

    Hi,
    What is your Apex version?
    Is your Apex instance runtime environment or can you login to INTERNAL workspace?
    See this for Apex 4. Document do not say how disable demonstration app creation on runtime environment.
    http://download.oracle.com/docs/cd/E17556_01/doc/admin.40/e15521/adm_mg_service_set.htm#sthref255
    Regards,
    Jari

  • ARCHIVING OBJECT : CO_TOTAL  - Fiscal year issue regarding

    Hi,
    I am trying to archive  (01.04.2007 - 31.03.21008).    - fiscal year : 2008
    when i give the fiscal year : 2008  ( period 1 - 12)
    it 's archiving all the datas relevant to 01.04.2007 - 31.03.2008.  which  is correct.
    but some of company codes following a  calendar year as financial year .
    in that case  if i give 2008 (period 1 -12)  ( it is archiving jan'2008 - dec'2008) data.
    which is incorrect.
    in the archiving object configuration , there is no way for company code wise processing....
    *the company code which follows a calendar year is having different controlling area....
    Your inputs are useful to us.
    Thanking you.
    Regards
    Giri

    Hi Soyab,
    Before archiving these CO archiving objects please check whether DaRT is taken care. As CO_ITEM is already ongoing then i thing DaRT is done.
    1. CO_TOTAL: This archiving object is dependent on CO_ITEM, so first archive this AO and later with CO_TOTAL.
    - Controlling area, Order type, Fiscal year and Value type are the major selection criteria for restricting it for archiving.
    2. CO_CCMAST: Dependent on CO_ITEM and CO_TOTAL.
    - Controlling area, Cost center group and Fiscal year are the major selection criteria for restricting for archiving.
    Apart for this there are no other reports to execute before archiving these archiving objects.
    Reward if it benifits.
    -Thanks,
    Ajay

  • Archiving Object Impact

    I  am trying to run some analysis for my customer - they are interested in knowing all ABAPs (SAP standard and Z-ABAP) that would be impacted if we archived certain data.
    I have tried looking at SE11 for specific tables but that is throwing up a lot of ABAPs.
    Does anyone know if there is a way in SAP (or some 3rd party tool) where by I can enter the archiving object (rather than the specific table) and for the system to return a list of ABAPs that are impacted by 1 or more tables with in that object.
    thanks in advance

    Shibu:
    EMMA archive should have no impacts, provided you are not using EMMA cases OR if you are archiving for periods which are no longer used in case management.
    regards,
    bill.

  • Archiving object for tables GLPCC and GLPCO

    Hi All,
      GLPCA table stores the actual line items in PCA and GLPCT table stores the totals records of PCA.
    What are the transactions which get affected in regular course by these tables?
       GLPCC - EC-PCA: Transaction Attributes
       GLPCO - EC-PCA: Object Table for Account Assignment
    There is no archiving object for the tables GLPCC and GLPCO when checked in DB15. What is the alternative for archiving the entries in those tables?
    Thanks in advance
    Regards
    Anupama

    Hello Anupama,
    The standard archiving objects for PCA are EC_PCA_ITM & EC_PCA_SUM. Most of the data is archived with above two objects.  Hence it would be better to use given archiving object. About 80% of data can be archived through standard archiving objects.
    For more information you may read SAP Data Management Guide.
    Regds
    Ambadas

  • Archiving object CRM_SEOPD in solution manager

    Hello,
    The self diagnostics for solution manager throws a warning under "Service Desk" functionality with message text "Critical number of incidents per support team or error reading volume". The detail display shows:
    Strategy for resolving the alert -  to start an archiving project for incidents using archiving object CRM_SEORD.
    Details of this Alert - 1. No support teams, i.e. business partner type organization (Message no. DSWP_SD127).
    Does anyone have a clue how to go about resolving this warning.
    Thanks,
    Asif

    Hello,
    For Archiving Support Desk messages you should refer to SAP Note  1329247 - Archiving Solution Manager Service Desk messages. It describes the process which is a two part process, one part in Solution Manager, the second part in CRM.
    This will resolve this issue.
    Glad to help!
    Regards,
    Paul

Maybe you are looking for

  • Messages are in to be delivered state and slows down the message processing

    Hello, Messages are in to be delivered state and slows down the message processing. this happenens in case of DB2 on some machine where the issue about high load on DB2  is caused by standard programming in SAP XI that executes a statement, where it

  • Variable in the Queries

    Hi people, I would like to know if there is some table where I can find the variables used in a query. Besides some table, if there is some practic way too. Thank you, Rosana.

  • CD's & DVD's eject w/o reading, and no external USB drive recognition

    We just recently got a "newly refurbished" 15" PowerBook G4, and it's got issues with the CD/DVD drive. As soon as you put the disk in (CD-Rom, R, or RW, DVD-Rom) it spits it out about 3 seconds later. Can't figure out why. We also have an external h

  • Making a link open a new window.

    Hi guys, I want to make a link in a flash website that I am working on and that link is going to lead to a video hosted on another site. Is there a way to make the window that opens for it new and not the same one that is being used? I mean force thi

  • Enable Multi Stream ICA parameter in WAAS(5.1.1c)

    Hi all! I have questions about the settings of Multi Stream ICA(MSI) in WAAS (ver 5.1.1c). (1) Setting Parameter * Enable only the parameter "Enable Multi Stream ICA" ? * Is there other parameter for such quality of service(QoS)?   We should set the