Archiving Materials MM_MATNR- set parameters?

I am customizing the settings in SARA to Archive Materials (MM_MATNR) and I want to set logic so the system doesn't archive Materials that are less than 1 year old.  So if I create an item, have no transaction against it, and run the archiving program, how do I make sure it doesn't archive this new materials?

There is no provision within SAP to set residence time for Material master records (MM_MATNR). Hence it is not possible to set the kind of logic you require in SARA. What you can possibly do is this.
1. Flag the material master record which are older than 1 year for deletion
2. In the archive variant uncheck the "Consider matls w/o del. flag"
Refer the following link for flagging material master records for deletion
http://help.sap.com/saphelp_470/helpdata/en/8b/8e963466880c30e10000009b38f83b/frameset.htm
Regards,
Samanjay

Similar Messages

  • Archiving Materials - MM_MATNR

    People,
    I have a situation with Archiving Materials:
    If a material is deleted (logical deletion), the archiving process must delete this material if there is no active purchasing document for it.
    We can see, if we have a purchase order with this material, the archiving process does not delete it.
    Now, when we have a Maintenance Order (PM) with this material, for instance, for next 3 months, when archiving process runs, it deletes this material.
    I think this process it is not checking the Maintenance Orders. Is it possible? What can I check?
    Thanks a lot!

    How is this material entered as component?
    you probably had never a quantity maintained.
    Once you have had a quantity, then you have a reservation, and with a reservation you cannot archive the material.
    I get message:  & reservation / dependent requirements exist

  • Using instruction for creating field catalog to archive object "MM_MATNR"

    Hi all,
    I need a using instruction for creating a new field catalog to archive object "MM_MATNR". I'd like to create a field catalog using some fields of tables mara, makt, mvke and marc.
    Thanks for your help!

    Hi,
    Go to following link;
    [Material Master Archiving|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f75a80-867f-2d10-7aa6-ac164e43e89f?quicklink=index&overridelayout=true]

  • Unable to set parameters for "Act as Prox" in OBI11g

    Hi Gurus,
    following Mark Rittman's blog I was able to set parameters and I could use this feature in OBI10g.
    However, in OBI 11g I was not able.
    1. In the init block of Proxyblock I am not able to add SET_RUNAS to Execution Precedence
    The Add button is inactive.
    2. In the init block of Proxylevel I am not able to add Proxyblock to Execution Precedence .
    Only the SET_RUNAS available.
    What to do?
    Any ideas and help are appreciated!
    Thanks
    Laszlo

    Hi Laszlo,
    Check this,
    Re: Unable to select Connection pool when creating init block for current_month
    Regards,
    Dpka

  • Setting Application Set Parameters For Variable

    Hi Guys,
    When I've read the BPC help about "Setting application set parameters" and the statement likes this : 
    Allows you to define a custom email message that is sent when a work status code is changed. The message is applicable to all applications in the application set. You can customize the message using the following variables:
    %USER% - name of user who changed the status
    %ED% - Entity dimension
    %EM% - Entity member
    %CD% - Category dimension
    %CM% - Category member
    %TD% - Time dimension
    %TM% - Time member
    %STA% - Work status
    %OWNER% - Entity owner
    %TIME% - time of change
    For example, you can enter "This is to inform you that %USER% has updated the work status for %EM%, %CM%, %TM% on %TIME%". The message can be up to 255 characters, and there is no need for quotes or brackets around parameters.
    The Questions:
    When I put the "%ED" into the textfield "APPROVALSTATUSMSG", after that I try to send email from BPF and the "%ED" still same into the email message. But it should describe the value of variable.
    Could you help me how to view the value of variable ?
    Thanks,

    If I look at the available parameters in the helpfile 2 things are strange in my opinion:
    1)the parameter is called approvalstatusmsg, approval status was the V4 naming convention of the function, right now it is called workstatus, so it might be a V4 function. Never used it myself but maybe it is something not correctly migrated to v5.
    2) Even if it is working in V5, which I don't know for sure, then it is strange that you only have variables for Categroy, time and entity, since you can setup the workstatus for more then these 3 dimensions in V5 which you would also like to have in a case you set it up for more then 3 dimensions. For example for if you want to use Category,time,Entity & Product dimension in the workstatus, you would also like to inform the people which product is updated, since only just category,time and entity won't say that much.
    So I think you best check with support if this function is still usable in V5 or if it is an old function from V4. and if it is working in V5, how do you get the right parameters in the variables when you setup workstatus for other dimensions then just Category/time/Entity.
    I would like to know the results!
    Joost

  • Set Parameters in sub reports - can't know which parameter is in sub report

    Hi,
    I am trying to set parameters in reports that some time build from sub reports, the only input that I got is the parameters name(key) and there values.
    What I need is a way to retrieve the parameters from report and set them by the parameter name(key) with it's value.(when I am handle the case of parameter in sub report)
    and hope it's work!!
    any idea how to do this?
    My code is below, and I am using CR/VS2008.
    Thanks,
    Amos
    public class reportGenerator
        public reportGenerator(string reportTemplate, string reportResults, ListDictionary parameters)
            //Instantiate variables
            ReportDocument reportDocument = new ReportDocument();
            reportDocument.Load(reportTemplate);
            // Database Access
            ConnectionInfo connectionInfo = new ConnectionInfo();
            connectionInfo.ServerName = "ServerName";
            connectionInfo.DatabaseName = "DBName";
            connectionInfo.UserID = "UserId";
            connectionInfo.Password = "UserPassword";
            connectionInfo.IntegratedSecurity = false;
            SetDBLogonForReport(connectionInfo, reportDocument);
            reportDocument.SetDatabaseLogon("UserId", "UserPassword", "ServerName", "DBName", false);
            double Num = 0;
            bool isNum = false;
            ParameterDiscreteValue paramValue;
            foreach (System.Collections.DictionaryEntry param in parameters)
                isNum = double.TryParse((string)param.Value, out Num);
                if (isNum)
                    paramValue = new ParameterDiscreteValue();
                    paramValue.Value = Convert.ToDecimal(param.Value);
                    reportDocument.SetParameterValue((string)param.Key, paramValue.Value);
                else
                    reportDocument.SetParameterValue((string)param.Key, param.Value);
            reportDocument.SaveAs(reportResults, true);
        private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
            Tables tables = reportDocument.Database.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                tableLogonInfo.ConnectionInfo = connectionInfo;
                table.ApplyLogOnInfo(tableLogonInfo);

    You should review the SDK guide online because it answers all your questions.
    The [SetParameterValue |http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEngineReportDocumentSetParameterValueTopic2.htm]method is overloaded 3 times. One of the overloads takes the name of the parameter, its value, and the name of the subreport it is in.
    public virtual void SetParameterValue(   string name,    object value,    string subreport);
    [Reading and Setting Discrete Parameters|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crtsktutorialsrdparametersdiscreteintro.htm]

  • Newbie (!) - created a report; have to set parameters to print? How to print it all, please?

    Hi,
    I confess I'm a newbie. I've created my first table and a report based on that table. When I try to print the report, I get a dialogue box asking for the parameters for certain fields. How do I indicate "print all"? Can I save this setting, to
    print all of this document, every time? Do I have to input the parameters for each field, each time I print the document?
    I see the value of setting parameters, but don't need to filter this report.
    Thanks so very much!  Endless gratitude!

    That would explain it.  Because the report no longer recognizes the references it contains to the div_cde column, it treats it as a parameter.  Hence the prompt.  You can change the report design so that every reference to div_cde becomes
    one to div.  This could be in a number of places such as the ControlSource property of a control in the form, or the name of a column (field) by which the report is grouped or ordered, so an easier solution might be to change the table design, renaming
    the div column back to div_cde.  The report should then work without amendment.
    Ken Sheridan, Stafford, England

  • I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vecto​r signal analyzer ) to measure such as RF frequency or power on the instrument​? Thanks

    I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vector signal analyzer ) to measure such as RF frequency or power on the instrument?
    I just want to set something on the front panel that will execute the Serial parameters first and then pass these settings to vector signal analyzer
    Thanks
    Phong

    You transfer data with wires.
    Frankly, I'm a little confused by your question. I can't think of any reason why you would want to pass serial parameters (i.e. baud rate, parity) to a GPIB instrument. Please explain with further detail and attach the code.

  • Archive Bits Not Setting

    Hello,
    I have just noticed a strange anomaly on our NetWare 6.5 SP4 server. I'm not sure how long this has been going on.
    When some documents are created/saved on the server, the archive bit is not being set. We discovered this when a file was inadvertently deleted and while trying to restore it could not find it on our backup tapes (differential backup based on archive bit). As I searched around the various drives (both Windows and NetWare), I found that this is randomly (as far as I can tell) happening with all users, but only on our Netware server. The Windows server is fine.
    It appears to be mostly MS Office documents, probably because that is mostly what we use here, but there are some PDFs missing the archive bit too. I have tried to create several test documents and am not able to reproduce it for myself. I had another user walk through and re-create several documents (duplicating the work from the day before where archive bits were not set), but while I was watching, all archive bits were set.
    I did a search on the NetWare server for all documents created/modified since Sept 30 (our last full backup where all archive bits should have been reset). I found about 1000 documents that have been created/modified,but did not have the archive bit set. I then set the archive bit on all of them. This afternoon I re-ran that same search and came up with about 50 documents that were created/modified today that did not get the archive bit set. This represents about 25% of the files created/modified today.
    I've searched the Internet and Novell's website looking for answers but haven't had any luck.
    Has anyone else run into anything like this before?
    thanks,
    david

    UPDATE:
    The first day after I installed the updates, I had about 20 documents not get the archive bit set. That was fewer than the 100 or so I was getting per day before the updates.
    In the last week or so since that day, I have now only had a few documents not get the archive bit set during the entire week. While it is not perfect, maybe it will continue to improve.
    Thanks for all your help with this.
    david
    >>> David Hodgson<[email protected]> 10/27/2010 4:29 PM >>>
    Hello,
    I have just noticed a strange anomaly on our NetWare 6.5 SP4 server. I'm not sure how long this has been going on.
    When some documents are created/saved on the server, the archive bit is not being set. We discovered this when a file was inadvertently deleted and while trying to restore it could not find it on our backup tapes (differential backup based on archive bit). As I searched around the various drives (both Windows and NetWare), I found that this is randomly (as far as I can tell) happening with all users, but only on our Netware server. The Windows server is fine.
    It appears to be mostly MS Office documents, probably because that is mostly what we use here, but there are some PDFs missing the archive bit too. I have tried to create several test documents and am not able to reproduce it for myself. I had another user walk through and re-create several documents (duplicating the work from the day before where archive bits were not set), but while I was watching, all archive bits were set.
    I did a search on the NetWare server for all documents created/modified since Sept 30 (our last full backup where all archive bits should have been reset). I found about 1000 documents that have been created/modified,but did not have the archive bit set. I then set the archive bit on all of them. This afternoon I re-ran that same search and came up with about 50 documents that were created/modified today that did not get the archive bit set. This represents about 25% of the files created/modified today.
    I've searched the Internet and Novell's website looking for answers but haven't had any luck.
    Has anyone else run into anything like this before?
    thanks,
    david

  • Archiving materials

    Hi,
    I'm trying to archive some materials but at the end of the job something went wrong and the log file shows the following:
    Job started
    Step 001 started (program MMREO050N, variant TEST, user ID
    Inizio dell'elaborazione dati.
    Logical file name or logical path name incorrectly defined
    2 di 2 materiali ( 100 %) sono stati elaborati
    Job finished
    Don't understand what is the problem

    Hi,
    this is what I read in the spool:
    Summary
    Archiving Session Number                                  000015
    Number of Written Data Objects                                0
    Size of Archiving Session in MB                           0,000
    Proportion of Header Data in %                              0,0
      Log (Summary) for MM_MATNR
        Message                                                                           Obj. Disp. Object (Example)
        Note: no input data was found - processing is cancelled                                    1
      Detail Log for MM_MATNR
    Object                                   Message
                                              Note: no input data was found - processing is cancelled

  • How to set Parameters in RRW3_GET_QUERY_VIEW_DATA

    Hello All,
    I am trying to use RRW3_GET_QUERY_VIEW_DATA function module for executing a query. Currently i am stuck big time figuring out how to set the parameters in  I_T_PARAMETER.
    I my case i need to run a query with the following key,value pairs
    1. 0I_FY_OP    =  001.2004
    2. ZHWORKCT = ABC
    Can some one throw more light into how to set the above parameters into I_T_PARAMETER??
    Thanks a  lot,
    Naveen

    Hello Prathibha,
    Thanks for the quick respone. I did go though the weblog and am trying to find my way through the documentation. I was wondering if the BW gurus could point me to some useful tips or examples.
    Thanks a lot,
    Naveen

  • How to set parameters in CR4E

    Hi,
    Need:
    To generate PDF reports from standalone java program using CR4E runtime engine. Reports will be designed using CR4E. The java program will use CR4E engine APIs to open the report and populate date in it from database.
    Scenario:
    I have created a report and mapped the report fields from SQL file (similar to using it as SQL command). I have also created 2 parameters and also included in the SQL file.
    Problem:
    1) These parameters don't prompt when run within CR4E designer & i see no way to set these values to work in preview mode and it appears as a blank page. Bcos of above reason, my java application when executed also gnerates blank report as the parameters are not set. How to resolve this?
    2) Then i tried using record filters to map the SQL file field name to parameter name in the report. Now, when previewed the prompts for parameters appeared and the report was displayed as expected. But, when the java application gave 'FormulaException: Field name not known' error (with mention to SQL field names used in filter). I am not using any formula in my report so this error is bcos of using record filter. How to resolve this error?
    Finally, i need a design & runtime solution to execute my reports with parameters.
    TIA,
    M.Ravi

    Ravi,
    Have you tried searching through the rest of the threads in this forum, I am sure all your questions have
    been asked and answered before.
    As to your last comment, I personally try steer away from people demanding help so maybe not
    putting such comments in the forums would help get people to reply to you. Sometimes the people who
    know the answers are busy doing other things for a day or two, so sometimes you need to be patient.
    Just a thought.

  • Can't set parameters for embedded audio files using css

    I'm embedding numerous audio files in Dreamweaver CS3 using
    the <embed> tag. I'm using CSS to control the box size and
    other attributes relating to how the file displays on the page, but
    I'd also like to set the parameter "autoplay" to false, and
    controller to "true," for all of the audio files. I've been doing
    this individually for each file (very time consuming), because I
    can't figure out a way to do it with CSS. Is there a way to set
    those parameters in CSS and apply it to all files?

    .oO(teachAA)
    >I'm embedding numerous audio files in Dreamweaver CS3
    using the <embed> tag.
    >I'm using CSS to control the box size and other
    attributes relating to how the
    >file displays on the page, but I'd also like to set the
    parameter "autoplay" to
    >false, and controller to "true," for all of the audio
    files. I've been doing
    >this individually for each file (very time consuming),
    Search & replace exists.
    >because I can't figure
    >out a way to do it with CSS. Is there a way to set those
    parameters in CSS and
    >apply it to all files?
    No. CSS is for presentation, but these parameters belong to
    the HTML and
    have to be written there.
    BTW: The 'embed' element is invalid HTML. If you care about
    valid markup
    and your site doesn't have to be compatible with really old
    browsers
    like NN 4 or IE 5.5, then you should use the valid method
    using 'object'
    elements.
    Micha

  • Integration Directory: Archiving in the Processing Parameters

    Is it possible to archive to multiple folders in FTP via XI?
    Looks like XI will only let you archive into one folder after you've renamed it with a timestamp in the processing parameters.
    We are loooking at a way to rename the folders (by store number and time stamp) and archive these files into multiple archive folders.
    Is this at all possible in XI?
                            Thank-You.

    Hi,
    Using OS command and by executing the shell script you can acheive this,
    btw, are you talking of archiving these files for BackUp strategy..If so, i suggest, to use some of the standard mechanism to archive these files. Not just moving the files from one directory to another.
    If the requirement to just move these files, then you can plan for batch job/shells cript etc
    Rgds,
    Moorthy

  • Archiving materials - Arquiving selection empty

    Hi Gurus,
    To archive a list of materials (without PO's, stock, etc) I do the following:
    - Flag materials for deletion (t-code MM06);
    - Create archive file (t-code MM71), or at least I try to do so (the jobs have status finished).
    But when I'm going to MM72 or SARA - Delete, the arquiving selection is empty. I also runned program MMREO050 and I receive the following message: BA248 "Archive file c:\temp\MMO cannot be opened for write program".
    Does anyone know what should I do to have the archive file in MM72 or SARA?
    Thanks in advance!
    Best regards,

    Thanks for your answer Jurgen,
    Job Log:
    Job Started;
    Step001 started (program RSARDISP, variant, user ID PMARIANO);
    Write job ARV_MM_MATNR_WRI20090923123516 with ID 12351700;
    Job Finished;
    The problem appeard in the spool file. It says that can't open the C:
    temp\xxxx file to write.
    How can I overcome this problem?
    Best regards,
    Pedro Mariano

Maybe you are looking for