Failure of a single article prevents the distribution of all articles in a publication to a subscriber

We have a SQL Server 2012 R2 SP2 environment and Transactional Replication configured with 1 instance publishing all tables in a database via a single publication (circa 150 articles in the one publication). We have a separate distribution instance,
and a third subscription instance. All articles in the publication are configured to copy all data, with no advanced filtering configured. It is also noted that Alerts were not configured in Replication Monitor.
We had an issue whereby, inexplicably, a table on the subscriber vanished (I use this term because I could not find any record in the log file of a DELETE statement being issued against that table - regrettably I wasn't in the position to query the distribution
database for any such commands either).
In Replication monitor we saw that the article for the table in question was failing, but no others.
The issue was that no other articles were being replicated to the subscriber, and this was evident via stalled rowcounts on the subscriber database, but increasing rowcounts on the publishing database.
When we removed the offending article from the publication, all other articles started getting applied to the subscriber database - and we could observe both publication and subscription rowcounts increasing in lockstep.
My questions are:
1) in a single publication with many articles, are the articles applied to the subscription in a single batch - meaning that if a discreet transaction for one article fails, that all other articles will be rolled back with this transaction until it
is cleared.
2) Why would Replication Monitor not start showing widespread warnings for every other table (article) that was not successfully being replicated to the subscriber?
3) Aside from configuring alerts in Replication Monitor (which has happened already) and a bespoke rowcount checking 'monitor', how could Transactional Replication be configured so that the failure of the publication of an obscure article doesn't fail all
articles --> I note that creating multiple publications with smaller number of articles would limit the exposure, but from what I've observed, this would only limit the exposure to those articles in the same publication.
Many thnaks

1) they could be - it all depends on the batch size.
2) I suspect because the distribution agent applies the changes serially, ie one article after another in the order the changes occurred on the publisher. So if it fails on one table it will not continue until this error is leared.
3) use the continue on data consistency error profile, or put your problem article in its own publication.
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

Similar Messages

  • Distribution version 1124206935184 was not completely received by this subscriber server

    We've got 9 subscriber servers, and 1 central distribution server. We're in
    the process of rolling out all our new applications for XPSP2, so I have set
    all the existing distributions to inactive, with only the SP2 tested
    applications set active.
    I've set up a distribution to deploy out 4 applications, and it's working
    fine to 8 of the 9 subscribers. One subscriber is giving me the not
    completely received error.
    I've closed down ZfS on the subscriber, deleted the directories to force it
    back out, and I still get the same error. I've even deleted the distribution
    from the distributer (and also the subscribers) to force it to rebuild, but
    I am still getting this error on just the one server.
    I can't seem to find anything in the KB about this type of error, other than
    delete/recreate/repush... Has anyone else seen this, and if so, did you find
    a solution?
    Graham
    2005.08.16 14:11:05 *** Exception:
    com.novell.application.zenworks.ted.agents.AgentEx ception: ERROR - the
    distribution version 1124206935184 was not completely received by this
    subscriber server...
    2005.08.16 14:11:05
    com.novell.application.zenworks.ted.agents.AgentEx ception: ERROR - the
    distribution version 1124206935184 was not completely received by this
    subscriber server...
    at
    com.novell.application.zenworks.nalted.tedagent.TE DNalSequentialExtractAgent
    ..processTimeStampBuild(TEDNalSequentialExtractAge nt.java, Compiled Code)
    at
    com.novell.application.zenworks.nalted.tedagent.TE DNalSequentialExtractAgent
    ..sequentialExtract(TEDNalSequentialExtractAgent.j ava, Compiled Code)
    at
    com.novell.application.zenworks.ted.agents.TEDSequ entialExtractAgent.extract
    Distribution(TEDSequentialExtractAgent.java, Compiled Code)
    at
    com.novell.application.zenworks.ted.agents.Receive rAgentThread.runAgent(Rece
    iverAgentThread.java, Compiled Code)
    at
    com.novell.application.zenworks.ted.agents.AgentTh read.run(AgentThread.java:
    97)

    IR3a did it.... Easy to install, since I could use ZfS to push out the
    server package.... Now, if only they had supplied an SPK rather than a CPK,
    I wouldn't have had to drop the files onto my SYS volume, but I can live
    with that...
    If only we could get them to do that for the ZfS6.5 files, and indeed every
    other patch Novell release.... Please!! :)
    Graham
    "Graham Mitchell" <[email protected]> wrote in message
    news:%[email protected]...
    > Indeed... I was having a bad day yesterday....:) The ZfS3.02 servers are
    all
    > running IR2.... I'll install IR3a on the recalcatrant server, and see if
    > that improves it's mood any..... We're in the process of upgrading to
    > NW65/Zen65, and didn't want to keep patching the 5.1 servers, which seemed
    > to be working fine (and to be honest, I've been working with 6.5 for so
    > long, I'd forgotten about the IR3a patch)
    >
    > I'll go apply that this morning and report back... Thanks.
    >
    >
    > Graham
    >
    >
    > "Ron van Herk" <[email protected]> wrote in message
    > news:[email protected]...
    > > ZFS401IR5 ????
    > >
    > > Looks like you mix up the ZfS and ZfD versions
    > >
    > > In a mixed 6.5 / 3.02 environment, make sure you run the last IR on the
    > ZfS
    > > 3.02 box
    > >
    > > Ron
    > >
    > > "Graham Mitchell" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > Sigh.... Distributer is running NW6.5SP3, ZfS6.5SP1, the subs are a
    > > mixture
    > > > of the same and NW5.1SP6, ZfS4.01IR5. The one giving me the problems
    is
    > a
    > > > ZfS4.0IR5 one, tho others of this vintage are working fine.
    > > >
    > > >
    > > > Graham
    > > >
    > > >
    > > > "Graham Mitchell" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > We've got 9 subscriber servers, and 1 central distribution server.
    > We're
    > > > in
    > > > > the process of rolling out all our new applications for XPSP2, so I
    > have
    > > > set
    > > > > all the existing distributions to inactive, with only the SP2 tested
    > > > > applications set active.
    > > > >
    > > > > I've set up a distribution to deploy out 4 applications, and it's
    > > working
    > > > > fine to 8 of the 9 subscribers. One subscriber is giving me the not
    > > > > completely received error.
    > > > >
    > > > > I've closed down ZfS on the subscriber, deleted the directories to
    > > force
    > > > it
    > > > > back out, and I still get the same error. I've even deleted the
    > > > distribution
    > > > > from the distributer (and also the subscribers) to force it to
    > rebuild,
    > > > but
    > > > > I am still getting this error on just the one server.
    > > > >
    > > > > I can't seem to find anything in the KB about this type of error,
    > other
    > > > than
    > > > > delete/recreate/repush... Has anyone else seen this, and if so, did
    > you
    > > > find
    > > > > a solution?
    > > > >
    > > > >
    > > > > Graham
    > > > >
    > > > >
    > > > > 2005.08.16 14:11:05 *** Exception:
    > > > > com.novell.application.zenworks.ted.agents.AgentEx ception: ERROR -
    the
    > > > > distribution version 1124206935184 was not completely received by
    this
    > > > > subscriber server...
    > > > > 2005.08.16 14:11:05
    > > > > com.novell.application.zenworks.ted.agents.AgentEx ception: ERROR -
    the
    > > > > distribution version 1124206935184 was not completely received by
    this
    > > > > subscriber server...
    > > > > at
    > > > >
    > > >
    > >
    >
    com.novell.application.zenworks.nalted.tedagent.TE DNalSequentialExtractAgent
    > > > > .processTimeStampBuild(TEDNalSequentialExtractAgen t.java, Compiled
    > Code)
    > > > > at
    > > > >
    > > >
    > >
    >
    com.novell.application.zenworks.nalted.tedagent.TE DNalSequentialExtractAgent
    > > > > .sequentialExtract(TEDNalSequentialExtractAgent.ja va, Compiled Code)
    > > > > at
    > > > >
    > > >
    > >
    >
    com.novell.application.zenworks.ted.agents.TEDSequ entialExtractAgent.extract
    > > > > Distribution(TEDSequentialExtractAgent.java, Compiled Code)
    > > > > at
    > > > >
    > > >
    > >
    >
    com.novell.application.zenworks.ted.agents.Receive rAgentThread.runAgent(Rece
    > > > > iverAgentThread.java, Compiled Code)
    > > > > at
    > > > >
    > > >
    > >
    >
    com.novell.application.zenworks.ted.agents.AgentTh read.run(AgentThread.java:
    > > > > 97)
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

  • How to prevent the logging of a single field in XI ?

    Hi Guys,
    we have developed the interfaces for payment card services using the Enterprise services and the major problem what we are facing is to prevent the logging of the 3 digit security code in XI.
    According to the payment card industry standards you should not store it as well as you should not encrypt this 3 digit CVV code.
    Is there any way we can prevent the logging of this single field in XI ?
    Is it possible if we develop our own custom adapters then we can acheive this ? Do we have full control over the DB in the custom adapters?
    any help or suggestions or other alternatives would be really appreciated. I want to hear some solution from the experts.
    Thanks in advance,
    Srini

    Hi Beena,
    You can encrypt the credit card no and SSN and that should not be a problem, but you should not store or encrypt the CVV no.
    as i said we have our own tools many customers are using with respect to RFCs where you can encrypt and decrypt the card numbers and also not storing the values of CVV.
    The above scenario works fine with no issues and it is according to the PCI standards. If you use PI 7.1 and use adaptive controlling the values are stored at a single place ie you can acheive single persistance and even this will not be our solution.
    Advanced Adapter Engine Configuration in PI 7.1
    with the single persistsnce, if there is a adapter module or custom adapter which takes the payload and prevents the stroage of the value of a single field then it would be our solution.
    Thanks,
    Srini
    Edited by: Srinivas Reddy on Aug 20, 2008 7:42 PM
    Edited by: Srinivas Reddy on Aug 20, 2008 7:57 PM

  • I want to reset Firefox, and the message is that something is preventing the reset. I have closed all open windows and I still get the "Oops" message,

    I have uninstalled and reinstalled Firefox because I was receiving unwanted adware and was being directed to untrusted sites. Now I want to reset Firefox because I want to change the home page and toolbars, and something is preventing the reset. I have closed all open windows repeatedly, but the problem continues.
    =====Moved from Firefox OS product to Firefox for Desktop product category by Moderator. -feer56=====

    Check the programs that are on your computer
    '''Windows:''' Start > Control Panel > Uninstall Programs.
    '''Mac:''' Open the "Applications" folder
    '''Linux:'''
    * [http://www.freesoftwaremagazine.com/articles/see_all_your_installed_applications_ubuntu_unity Ubuntu Unity]''' {web link}
    * Xfce: Applications Menu category sections
    * options depends on the package manager and the desktop environment
    Go thru the list. If you find something that you don't
    know what it is, use a web search.
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware Troubleshoot Firefox Issues Caused By Malware]''''' {web link}

  • Prevent the same user login on multiple computers at the same time

    prevent the same user login on multiple computers at the same time

    Is there any way (currently running 2012 Servers) that we can prevent users from logging into multiple domain computers simultaneously with the same username?
    We still want them to log into those computers, just not simultaneously?
    LimitLogin utility not work in Windows 2012 server.
    Thanks.
    Babu
    Unfortunately Windows has never offered this feature as a built-in feature, but there are several possibilities discussed in these articles:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/0103b5e7-0db5-4fb4-bfe7-d7132983880a/limit-concurrent-logins-on-a-ws-2008-environment
    http://www.edugeek.net/forums/windows-server-2008-r2/61216-multiple-logins.html
    http://windowsitpro.com/windows/prevent-multiple-logons-gpos
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Exporting (sharing) just a single scene in the middlw of many scenes?

    Exporting (sharing) just a single scene in the middlw of many scenes?
    I have just imported a 15 minute clip of some pets
    I have split it into 7 scenes
    scene 3 is of a dog while all the others are of rabbits
    Is it possible, I haven't found a way yet, to export (share), the dog scene on its own to an mpg file and then remove then dog scene and export all the rabbit scenes into a separate mpg file?

    Harry,
    For more info on the WAB (Work Area Bar), see this article: http://forums.adobe.com/message/3961685#3961685
    It is a very useful tool, and can be used for a few other things, beyond just Export/Share.
    Good luck,
    Hunt

  • How can I permanently prevent the Reminder Fox icon (in the Add-on Bar) and the Add-on Bar from showing?

    Installed: Firefox 27. ReminderFox 2.1.4. Windows XP Professional
    Since ReminderFox 2.1.4 was installed, I have deselected the 'Status/Add-on Bar Display 'Bow' and text on status bar' numerous times, but the setting never takes effect even after pressing the Apply and OK buttons.
    The Add-on Bar, which has always been deselected from the View > Toolbars menu, shows as selected in the menu, and even though I deselect it manually, when I close Firefox and then reopen it, it shows again as selected in the menu.
    How can I permanently prevent the Reminder Fox icon (in the Add-on Bar) and the Add-on Bar from showing?

    It is possible to uninstall the add on or to customize the add on toolbar from the Toolbar Customize option. To troubleshoot this try this article [[How to fix preferences that won't save]]

  • How can I move the distribution database to a new server?

    I need to migrate an old distribution database to a new VM. My understanding is that you can detach/attach the distribution DB to make this easier. What are the 'gotchas' in this process? Do I need the detach/attach the system databases as well? The distributor
    is facilitating data from Oracle to SQL Server.
    Another question.. what are some good benchmarks for figuring out how much horsepower I should have set up in my VM that running distribution?
    Thanks,
    phil

    Hi philliptackett77,
    As your description, you want to migrate the distribution database to a new server. Based on my research, you need to remove the replication,  create the distribution on the new server, and recreate publication and subscription according to Satish's post.
    So you don’t need to detach or attach the distribution database or system databases.
    To make this process simple, you could use SQL Server Management Studio (SSMS) to generate scripts and run the scripts to recreate publications and subscriptions or drop publications and subscriptions as the screenshot below. Checking ‘To create or enable the
    components’ generates the script for creating the publications and subscriptions, and Checking ‘To drop or disable the components’ generates the script for dropping the publications and subscriptions.
    Firstly, please use SSMS to generate the script which is used to create publications and subscriptions.
    1.Connect to Publisher, or Subscriber in SSMS, and then expand the server node.
    2.Right-click the Replication folder, and then click Generate Scripts.
    3.In the Generate SQL Script dialog box, check ‘To create or enable the components’.
    4.Click Script to File.
    5.Enter a file name in the Script File Location dialog box, and then click Save. A status message is displayed.
    6.Click OK, and then click Close. For more information about the process, please refer to the article:
    http://msdn.microsoft.com/en-us/library/ms152483.aspx
    Secondly, follow the steps above, check ‘To drop or disable the components’ to generate the script used to drop publications and subscriptions. Then run the sript to drop publications and subscriptions.
    Thirdly, please disable distribution using Transact-SQL or SSMS following the steps in the article:
    http://technet.microsoft.com/en-us/library/ms152757(v=sql.105).aspx.
    Fourthly, please create the distribution at the new server using Transact-SQL or SSMS following the steps in the article:
    http://msdn.microsoft.com/en-us/library/ms151192.aspx#TsqlProcedure.
    Last, please run the script generated in the first step to recreate publications and subscriptions.
    Regards,
    Michelle Li

  • Unable to create the Distribution cycle with WBS Element as Receiver

    Dear SAP Friends,
    I am creating the Distribution cycle in KSV1, Sender is Cost center and Receiver is WBS element.
    Once i select Receiving tracing factor Tab i am getting the error like :
    Message :
    No valid receiver entries exist
    Message no. GA015
    Diagnosis
    You have established a group of receivers by entering either intervals or groups in the selection criteria. However, in the master data check, the SAP System cound not find any valid receivers in your selected group.
    System Response
    The single value entry screen is not shown.
    Procedure
    Check your entries for the selection criteria. It is possible that the master data is locked. You can get more info be choosing "Error log...".
    Please let me know how we need to create the Assesment cycle for WBS elements as receivers and Cost centre as Sender.
    Let me know in this Regard ASAP..
    Regards,
    Anand

    We are encountering a simiilar situation related to Cost Center Assessements to a Work Order (Order Category 30) I'm thinking the promble is related to a similar situation that you had with a WBS.
    Thanks,
    Lou

  • Form:The user sees on the screen a single page, for the second page (and to fill it in) he will click a button "next page"!

    Hello, sorry for my english!
    I am currently creating a form. This form contains 20 pages. For more comfier to fill it in, I want it to be loaded 1 page to 1 page. The user sees on the screen a single page, for the second page (and to fill it in) he will click a button "next page"!
    Is it possible to do this with adobe acrobat pro?
    In the case of a negative answer, can Indesign do this?
    thank you.

    Technically it's possible to use a script to prevent someone from going to the next page unless they click a button, but I think it's a bad idea and very user un-friendly. You can add a button that will take someone to the next page, but don't try to restrict them from doing so themselves if they so wish.

  • How do I encrypt a pdf file (ebook) to prevent unauthorized distribution of my ebook?

    Hi, guys.
    I am planning to sell my ebook from my website. It is in Word format. I would like to create a PDF file for viewers since it is versatile, then encrypt the PDF file to prevent unauthorized distribution of my book. How do I do that?
    Thanks
    genesis

    If you want to be friendly to your users, generate encrypted .epub format and not .pdf.
    pdf is great for its original purpose of print preparation, but terrible for more flexible formats.
    As different ereaders have different screen sizes and resolutions, and different people will want to read with different font sizes (**),
    pdf format will be very hostile in all cases except the one that excactly fits how you make the pdf.
    I think that InDesgin will create encrypted epub or pdf files for you.
    For the encryption to be effective for your purposes you need to encrypt differently for different AdobeIDs. 
    Looks as if Adobe's official way to do that is Adobe Content Server.
    I suspect the cost of all that adds up quite a bit; you may want to look at third party solutions that handle all the infrastructure for you.
    (**) or even the same person: I change font sizes depending how tired I am.

  • Java Mail: send a SINGLE email to a distribution list

    Is it possible to send a single email to a distribution list using Java Mail?
    Please help with some code samples.
    Right now, our mail program uses java mail api to send one email/person in the distribution list and runs in a for loop. Is it possible to have the distribution list in the to field and just send one single email to all persons in the list?
    Thanks,
    Jayashree.

    Yes, of course, assuming your mail server supports
    distribution lists. Most mail servers do, but exactly
    how you create and administer a mailing list varies
    from server to server.
    Once you've created the mailing list on the server,
    just use the name of the list in the To field of the
    message.

  • How can I prevent the MediaTracker waitForID method from blocking?

    Hi everyone:
    I am writing an application that deals with various image file formats with the help of the JIMI package (available at http://java.sun.com/products/jimi/). Everything works fine except for the Targa format. When I generate an Image object as follows (url is a valid URL object):
    Image image = Jimi.getImage(url);
    ImageIcon icon = new ImageIcon(image);the program execution blocks at the second line above. I searched the ImageIcon source code for some clues, which led me to the following ImageIcon method (tracker is a MediaTracker object, a static property of ImageIcon):
    (01) protected void loadImage(Image image) {
    (02)   synchronized(tracker) {
    (03)     tracker.addImage(image, 0);
    (04)     try {
    (05)       tracker.waitForID(0, 0);
    (06)     } catch (InterruptedException e) {
    (07)       System.out.println("INTERRUPTED while loading Image");
    (08)     }
    (09)     loadStatus = tracker.statusID(0, false);
    (10)     tracker.removeImage(image, 0);
    (11)
    (12)     width = image.getWidth(imageObserver);
    (13)     height = image.getHeight(imageObserver);
    (14)   }
    (15) }The program blocks at line (05) above. I peeked into the MediaTracker class source code, which brought me to determine that the image loading process never finishes. The symptoms are as follows:
    (1) When I perform a c.checkImage(image, null) where c is some Component, I always get a result of 7, which translates to the following combination of ImageObserver constants:
    WIDTH | HEIGHT | PROPERTIESAs matter of fact, the dimensions are indeed determined correctly. However, when the loading process terminates, the checkImage result includes ALLBITS or FRAMEBITS in case of success, ABORT or ERROR in case of failure. None of these bits is ever turned on whenever I try to load a Targa image.
    (2) When I get to the MediaTracker source code, I see that when none of the four bytes above is set, the internal MediaTracker status has the MediaTracker.LOADING bit turned on (nothing abnormal here). And the waitForID method terminates precisely only when this bit is turned off!
    Logically, if the loading process fails for some reason, I should expect to get an error response so that I can go further in code execution. However, since the loading process never terminates, everything stays blocked at the waitForID method invocation.
    Is there an efficient way to detect such a hidden loading error without letting my program go into the waitForID endless loop? In other words, going back to the first two lines of code of this message, how could I detect that an Image loading process will not terminate before calling the ImageIcon constructor?
    Thanks in advance for any useful help...
    Jean-Fran�ois Morin

    Hi:
    I tried precisely your suggestion before posting my message to the forum yesterday. I just forgot to mention it... Maybe I was afraid of increasing my message length more and more...
    I already know that this solution prevents the MediaTracker from blocking. However...
    (1) If they reach a troublesome image (like a Targa), the users of my application might not be pleased by its freezing for 10 seconds. Actually, this image loading module is part of an architecture for database applications from which my development team and I produce applications for various customers. Images are used, in particular, in Oracle BLOB support.
    (2) If I use a smaller timeout delay, I have no guarantee that any image, whatever its length, will load properly (Targa excluded, of course). According to tests I performed yesterday, I am virtually sure that the 10-second delay will be busted very easily by pictures larger than 1 Mb. I cannot overlook this potential problem: an Oracle BLOB can contain up to 2 terabytes of data!
    On the other side, I don't want to focus too much the attention on the JIMI Targa import filter because I know that a revised version of the JIMI and JAI packages will be part of JDK 1.4. This is why I am trying to figure out what is happening in the MediaTracker and Toolkit classes, which are much more fundamental than the Jimi ones...
    Thanks anyway...
    Best regards,
    Jean-Fran�ois Morin

  • How to prevent the use of wild cards in select-option

    Hello experts,
    Is it possible to prevent the use of wild cards in a select-option? If yes, how is it done please?
    I have a
    SELECT-OPTIONS: o_comp  FOR dbtab-field OBLIGATORY DEFAULT 'FI'.
    and, I want to prevent the users for giving in some thing like FI* with the wildcard bc it would lead to dump.
    I want an error message to display and prevent the users for making such entry.
    Please I need your help and I would be very grateful.
    Thanks
    Nadin

    You have to use SELECT_OPTIONS_RESTRICT to restrict input allowed. Call this FM in INITIALIZATION or SELECTION-SCREEN OUPUT sections.
    Sample :
    TYPE-POOLS: sscr.
    INITIALIZATION.
    * Restrict SELECT-OPTIONS
      PERFORM restrict_select.
    FORM restrict_select.
      DATA: restrict TYPE sscr_restrict,
            opt_list TYPE sscr_opt_list,
            *** TYPE sscr_***.
    * Défine select-options modes (aka option list)
    * - ALL standard - all options allowed
      CLEAR opt_list.
      MOVE 'ALL' TO opt_list-name.
      MOVE 'X' TO: opt_list-options-bt,
                   opt_list-options-cp,
                   opt_list-options-eq,
                   opt_list-options-ge,
                   opt_list-options-gt,
                   opt_list-options-le,
                   opt_list-options-lt,
                   opt_list-options-nb,
                   opt_list-options-ne,
                   opt_list-options-np.
      APPEND opt_list TO restrict-opt_list_tab.
    * - EQU only equality allowed (list of values)
      CLEAR opt_list.
      MOVE 'EQU' TO opt_list-name.
      MOVE 'X' TO opt_list-options-eq.
      APPEND opt_list TO restrict-opt_list_tab.
    * Affect modes to parameters or block of parameters
    * ALL by default
      CLEAR ***.
      MOVE: 'A'          TO ***-kind,
            '*'          TO ***-sg_main,
            'ALL'        TO ***-op_main.
      APPEND *** TO restrict-***_tab.
    * EQU to internal material number
      CLEAR ***.
      MOVE: 'S'          TO ***-kind,
            'S-MATNR'    TO ***-name,
            'I'          TO ***-sg_main, " no exclusion
            'EQU'        TO ***-op_main. " only value list
      APPEND *** TO restrict-***_tab.
    * Call  FM
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
           EXPORTING
                restriction = restrict
           EXCEPTIONS
                OTHERS      = 1.
    ENDFORM.                    " restrict_select
    In the sample, only select-options for matnr is restricted to single value list.
    For your request build a mode with all options except "pattern" ones : CP and NP.
    Regards

  • Should we use MM01 or MM41 single articles

    Hello,
    I have the following dilemma. My client is a group of companies, some sell retail fashion products, others sell electronics products. For the latter or in general terms for all non-retail articles (e.g. services), should we use MM01 or should we use MM41 and ATTYP = '00' (i.e. single article materials)?
    We are on ECC 6.0 and it seems to me that we can use both (I think in older versions, transaction MM01 could not be used). I just want to know if one of those is recommended by SAP?
    Thanks & Regards,
    Sotiris Chantzis

    Hi Sotoris,
    please be aware that - as far as I know - materials created with MM01 cannot be processed with MM42/MM43 and cannot be used in special Retail-functionality such as allocation table. Therefore I would recommend MM41 to create single articles if you need Retail-functionality.
    I'm not sure if it would be a good idea to keep retail articles (maintained via MM41/42) AND materials (maintained via MM01/MM02).
    Regards
    Tobias

Maybe you are looking for