RegEx: How do I use ^ and &?

I have the following code in my unit test:
     String regex = "^([-]{78})&";
     Pattern pattern = Pattern.compile(regex, Pattern.MULTILINE);
     Matcher matcher = pattern.matcher(contents);
     assertTrue(matcher.find());
     assertEquals(0, matcher.start());And I am trying to find matches in something like:
CBC Merged Infile Credit Summary   09/13/2005     ID: 200125615513800
Repositories: TU-J                                Loan #: J-IN-02
Prepared For: O.T.T.T.II                          Requestor: cbc
------------------------------------------------------------------------------To me, the regex should match the first line and the test should succeed, but it doesn't. If I take ^ and & out of the pattern, the test succeeds. Also, the simple pattern "------------------------------------------------------------------------------" (78 dashes) succeeds, but, again, ^ and & cause it to fail. What am I missing?
Thanks,
Eric

& is not end of input, $ is.
Holy schnike! I'm such an idiot! In my own defense, the two look pretty similar, don't they? I mean, if I kind of squint with one eye, like this, and....

Similar Messages

  • What is 3G and how do I use and set up for my ipad2?

    hi just got a ipad2 with wifi and 3G off gumtree just wondering what is 3G and how do i use and set it up
    thanks

    no you dont need one follow steps below
    for at&t
    http://support.apple.com/kb/HT4157
    for verizon
    http://support.apple.com/kb/HT4571

  • I need help with my Mac OSX 10.5.8. How can I use and install Flash Player 11.7?

    From one to another day it wasn't possible to watch  videos from certain TV channels in my browser (Firefox, but I think it doesn't matter).
    I have Mac OSX 10.5.8 and don't know how I can use Flashplayer 11.7. Do I have to upgrade to Mac OSX 10.6? Does it really work then?
    Or is the technical progress so fast, that if I upgrade to 10.6, they invent a new Flashplayer and I can't use it anymore? Do I have to upgrade maybe even to Mac OSX 10.7 and then OSX 10.8? I am confused...
    It is really unfair, that a 5 year old laptop is too old to use normal equipement!
    Can someone help me and tell me if my assumption is right?
    Thank you very much!
    Snootsy

    Is this a PowerPC?  See
    What version of Flash Player should I use with my Power PC based Mac?

  • SMART FORMS: How are they used and how can they be configured/enhanced?

    Hi Experts,
    I would like to know how are the smart forms used in crm.I know that by using t-code SMARTFORMS we can view/edit standard smart forms . But I am confused about the fact that how are they used.If some one can list me the steps to be followed in simple language that would be of great help.
    Any pointers would also be appreciated.
    Regards,
    Aneesh

    Hi Aneesh,
      In CRm we use smartforms to send mail to Business partners based on the client requirement. This sending process will be defined using Actions. Through actions we will trigger the smartform and send to the concerned busines partner mail id.
    Hope this helps you.
    Regads,
    Lakshmi.Y

  • How to find used and free space

    Hi all,
    How to find the used and free space of a particular user (schema) in a Database.
    I need the sql query .
    PLz urgent..
    Thanks
    Gobi

    SYS@db102 SQL> select file_name, file_id, bytes
      2  from dba_temp_files
      3  where tablespace_name = 'TEMP';
    FILE_NAME                                        FILE_ID           BYTES
    /home/ora102/oradata/db102/temp01.dbf                  1        52428800
    SYS@db102 SQL> alter database tempfile '/home/ora102/oradata/db102/temp01.dbf'
      2  resize 70M;
    Database altered.
    SYS@db102 SQL> select file_name, file_id, bytes
      2  from dba_temp_files
      3  where tablespace_name = 'TEMP';
    FILE_NAME                                        FILE_ID           BYTES
    /home/ora102/oradata/db102/temp01.dbf                  1        73400320
    SYS@db102 SQL>                                                                   

  • How can I use AND's with OR's in the smartlists?

    SO what is the trick in combining OR's and AND's within a smartlist? like
    "(hip/hop OR Rap) AND (My Rating over 3 stars)"
    Is that possible?

    If there are two or more rules, a drop down box will
    appear next to Match rules.
    Change it to Match Any instead of Match All.
    Right, this makes it an OR. So with two rules:
    1. genre equals hip hop
    2. genre equals rap
    and I pick the ANY, then my list will be a combo of both (and yeah statistically speaking could be all of 1 or 2)
    HOWEVER, the next part is where I am stuck - How do I make sure the selections from 1 or 2 are ALL 3 stars or better in rating??
    So with three rules:
    1. genre equals hip hop
    2. genre equals rap
    3. Rating at least 3 stars
    Now with using ANY (aka OR) I could get a 4 star heavy metal song in my list - right? because the above is not the same as
    (1 or 2) and 3 <<-- which is what I really want to do.
    Any ideas how to do that? somewhere a while back I saw a thread talking about some trick that would do that, but I cant find it again. I am not even sure I read it on this site. But anyway - any one know how to make a smartlist to do
    (1 or 2) and 3
    thanks
    Gc

  • How do i use and iphone with the ios7 if the phone is completely locked and i dont know the previous owner?

    how do i fix a phone that is completly locked bc of the ios7? i dont know the previous ower? and i dont know if the phone is stollen.

    You don't get it to work. You can not bypass the activation lock. Do you not know who you bought it from? Talk to them. If they can't give you the credentials to unlock it, get your money back. The phone is useless.

  • Illustrator has this "Sketch and Line Art" Under "Object. How is this used and for what? Please enlighten me.

    I tried to search and nothing comes up. I can't even find it in the Illustrator's Manual. I am trying to play with different ways to trace or sketch and clicked on this Sketch and Line Art, which seems to always be greyed out, no matter what image I have on the artboard.
    Has anyone used it? Please advise.
    Thanks!

    It's an useful function if you also use this:
    Adobe Photoshop Sketch per iPhone, iPod touch e iPad dall'App Store su iTunes
    It's an Adobe mobile application you can download and use for free in connection with Illustrator on your desktop computer.
    Leonardo Agosti
    Join us on: http://www.facebook.com/groups/indesignusergroupit/

  • HT204053 I have two Apple ID's and one I have used to purchase all my apps but now I want to use my other one. But I can not purchase my old apps with my other one. How can I use my other one to purchase apps?

    I can't remember why but I made two Apple ID's, one with a Gmail address and another with a Yahoo address. I have always used my Yahoo address Apple ID to purchase my apps but I have recently deactivated my Yahoo address. So now I want to start using my Gmail address Apple ID but I can't purchase any apps or even my old apps on my iPhone. How can I use and re-install apps through my Gmail address Apple ID on my iPhone? And is there a way to deactivate my Yahoo address Apple ID that I do not want to use anymore?

    Apple does not transfer content bought with one Apple ID to another Apple ID. Apple will not merge two Apple IDs.
    If most of your content was bought with the Yahoo! Apple ID but you now want the Gmail address for your Apple ID, the trick will be to change the address used for the Yahoo ID with the Gmail address. However, to do that you must first free the Gmail address from that other Apple ID. Use the instructions from Apple to substitute another address that is not used as an Apple ID for your Gmail address in the Apple ID with the Gmail address. Then, when the Gmail address is no longer used in an Apple ID, you can use the same instructions to substitute the Gmail address for the Yahoo address in the Apple ID with the Yahoo address.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • The option "tell websites I do not want to be tracked" is missing from the Options Window/Advance/General/Browsing. How can I use the feature I do no want to be tracked by websites?

    The option "tell websites I do not want to be tracked" is missing from the Options Window/Advance/General/Browsing. How can I use and find the feature: I do no want to be tracked by websites? I am using Windows Vista, Firefox 8.0.1

    That option has been moved to the Privacy tab in Options (first item).
    *See --> https://support.mozilla.com/en-US/kb/how-do-i-turn-do-not-track-feature
    *Do Not Track is voluntary; the site you are visiting must honor your request to not be tracked --> https://www.eff.org/deeplinks/2011/02/what-does-track-do-not-track-mean
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How can I use anchor points in Photoshop CC?

    I'm using a trial version of Photoshop CC and I am trying to put a formed border around some text. I was able to do this with my other Photoshop program with manipulating anchor points. The CC version is layed out differently. How can I use and form anchor points?

    Hi Sheryl.  I must admit, I looked at your post earlier, and it was too obscure to get a handle on (did I really just say 'handle'? ).  But I think I can see where you are coming from now.  Yes, the manipulation of paths has changed a wee bit with CC, but it is pretty intuitive, and a lot of it will still work fine using your old methodology.
    Take a look at some of these Julieanne Kost blog posts
    https://blogs.adobe.com/jkost/tag/path-selection-tool
    I find the most reliable way to make individual point selection work first time every time, is to select the Direct Selection tool > and with the shape/path layer selected, drag a tiny marquee around your target point.  You can then click drag that point to edit the shape or path.
    But there are so many ways to do the sort of thing you are talking about.  If you make a copy of the text layer, and make the lower of the two in the layer stack bigger (Free Transform with Alt Shift) you can then turn that lower text layer into a path or shape to manipulate it.
    Or you could add a broad stroke around the text on a new layer.  Ctrl click the stroke to load it as a selection, and turn the selection into a path using the icon at the bottom of the Paths panel, and then manipulate its points.  If you want to make the stroke a solid filled layer, then I don't know of a better way than dragging a marquee around the inner points wth Direct Selection tool, and hitting Delete.
    It's an interesting subject, so please keep asking about anything you are not sure about.

  • What is availability check concept  how it is used in SAP

    hi friends,
    i don't know what is availity check,how is it used and how it should be configured,please help me.

    Availability Check in Sales and Distribution Processing 
    There are three types of availability check:
    •     Check on the basis of the ATP quantities
    •     Check against product allocation
    •     Check against planning
    In Customizing, you determine whether an availability check is to be carried out against the ATP quanitity or against planning. The check against product allocations is controlled in the material master and elsewhere in the system.
    Check on the Basis of the ATP Quantities
    The ATP quantity (ATP = Available To Promise) is calculated from the warehouse stock, the planned inward movements of stock (production orders, purchase orders, planned orders) and the planned outward movements of stock (sales orders, deliveries, reservations). This type of check is performed dynamically for each transaction, taking into account the relevant stock and planned goods movements with or without replenishment lead time. Planned independent requirements are not taken into account here.
    Check against Product Allocation
    Product allocation facilitates period-based distribution of products for certain customers or regions. As of Release 3.0F, you can carry out an availability check against product allocation. This ensures, for example, that when production is low, the first customer does not get the full amount, resulting in following sales orders not being confirmed or being confirmed far too late.
    Check against planning
    The check against planning is performed against independent requirements which are usually created for an ‘anonymous’ market rather than being customer-specific (for example, in the strategy ‘Planning without assembly’, when production occurs only up to the stocking level). The planned independent requirements result from demand program planning and are used for planning expected sales quantities independent of orders
    Controlling the Availability Check in Sales and Distribution Processing 
    You control the availability check using general and SD-specific control features.
    General Control Features
    The following control elements need to be maintained in Customizing and in the material master record:
    •     Strategy group
    The allowed planning strategies (main strategy and further possible strategies) are combined in the strategy group. As of Release 3.0, the strategy group is specified in the material master record in the MRP 1 Screen. In Customizing, strategy groups are assigned, dependent on plant, to MRP groups. If the strategy group is missing in the material master record, it is determined on the basis of the MRP group, if it has been maintained.
    Up to Release 3.0, the strategy group is determined on the basis of the MRP group
    •     MRP group
    The MRP group combines materials from the point of view of material requirements planning. This enables you to control planning for these materials in a particular way using, for example, the strategy group, consumption mode and planning period. You enter the MRP group in the material master in the MRP 1 screen. The strategy group is determined from the MRP group.
    •     Planning Strategy
    The planning strategy specifies the requirements type for planning and customer requirements. This represents the decisive control feature for the interaction between Production Planning and Sales and Distribution.
    •     MRP type and item category
    If no requirements type is found using the planning strategy, the system tries to determine a corresponding requirements type on the basis of the MRP type and the item category.
    Until 3.0C, determination of the requirements type via planning strategy has taken priority. This is not always the best option, however, as the following example will show. A requirements type is determined for a material, which causes availability to be checked against planning. In consignment stock processing, however, availability should be checked against stock. Until 3.0C the availability check had to be deactivated in these cases. As of Release 3.0C, you can determine how the requirements type is to be determined for each transaction by maintaining the Source field in Determination of requirement types using transaction in Customizing.
    •     Requirements type
    The various requirements are identified by their requirements type. The requirements type refers to the requirements class and its control features.
    •     Requirements Class
    The requirements class contains all control features for planning such as relevance for planning, requirements planning strategy and requirements consumption strategy. In addition, it is specified at a global level whether an availability check is to take place for the material in the sales and distribution documents on the basis of the ATP quantity (ATP = available to promise) and whether requirements are to be passed on. A finer degree of control can be obtained for sales documents using the schedule line category.
    Control Features Specific to Sales and Distribution
    The following SD-specific control features need to be maintained in Customizing:
    •     Checking group
    The checking group controls whether the system is to create indivdual or collective requirements in sales and shipping processing. In addition, a material block for the availability check with transfer of requirements can be set here. The checking group can also be used to deactivate the availability check. This option was created especially for the assembly order so that when the bill of material is exploded in the assembly order, the individual components, if necessary, can be classified as non-critical parts as far as procurement is concerned.
    The checking group specifies in combination with the checking rule the scope of the availability check. It is proposed in the material master record on the basis of the material type and the plant, and copied into the sales and distribution documents.
    •     Checking Rule
    You use the checking rule to control the scope of the availability check for each transaction in sales and distribution. You also specify whether the check should be carried out including or excluding replenishment lead time. The individual checking rules define by transaction, which stock and inward and outward movement of goods should be taken into account for the availability check.
    •     Schedule line category
    You can control with the schedule line category whether an availability check and transfer of requirements should be carried out in the sales documents. The possible settings for this at schedule line level are dependent on the settings in the requirements class which is determined from the requirements type of the material.
    •     Delivery item category
    The delivery item category can be used to control whether an availability check takes place in deliveries.
    Prerequisites
    An availability check can only be carried out if the following prerequisites have been fulfilled:
    •     The control elements described above for the availability check must be maintained in Customizing for Sales and the relevant assignments made to the sales transactions
    •     The availability check must be switched on at requirements class level and - for the availability check in the sales documents - at schedule line category level
    •     A requirements type must exist by which the requirements class can be found
    •     A plant must be defined. It can either be proposed from the customer or material master record or can be entered manually in the document.
    •     A checking group must be defined in the material master record on the Sales/plant data screen in the Availability check field
    Timing of the Availability Check in Sales and Distribution Processing 
    When you create an order, the system determines the required materail availability date on the basis of the customer’s requested delivery date. On this date, you must begin picking, packing, labeling, and loading the goods. Therefore, this is the date of significance for requirements planning on which the availability should be checked.
    The following data is required for determining this date:
    •     Route from the shipping point to the ship-to party location
    •     Shipping point from which the goods are issued
    •     Loading group from the material master record
    •     Weight group determined from the order using the order quantity
    Scheduling
    This data, which you have already entered in the system, means that scheduling can occur automatically. Since scheduling is carried out backwards from the requested delivery date, it is also called backward scheduling. If backward scheduling determines that the preparation for the shipping activities should have been started already to meet the customer's requested delivery date, the system then starts forward scheduling automatically from the current date.
    Scope of the Availability Check in Sales and Distribution Processing 
    The following elements can be included in the availability check:
    •     Stock
    o     safety stock
    o     stock in transfer
    o     quality inspection
    o     blocked stock
    •     Inward/Outward movement of goods
    o     purchase orders
    o     purchase requisitions
    o     planned orders
    o     production orders
    o     reservations
    o     dependent reservations
    o     dependent requirements
    o     sales requirements
    o     delivery requirements
    Requirements in sales and distribution (sales requirements and delivery requirements) result from all transactions which forward a requirement to Materials Management (MM) or to Production Planning (PP). For example, this could include sales orders or deliveries and quotations as well. Sales and distribution requirements reduce existing stock or inward movements of stock on the material availability date to ensure that other outward movement of stock elements cannot access the quantity reserved in this way.
    Requirements relevant for Sales and distribution are created in Sales and Distribution, whereas other elements in this list are created in Materials Management or in Production Planning.
    Defining the Elements to be Included in Check
    A checking rule is assigned to each transaction. This rule in combination with the checking group controls the scope of the availability check. You can use the checking rules in Customizing for Sales to specify for the various transactions which of the elements listed above should be included in the availability check.
    For trading goods it does not make sense to include planned or production orders, for example, in the availability check. However, for products manufactured by your company these orders should be included in the check.
    For transactions such as make-to-order production, consignment or returnable packaging processing that create special stock, the availability check is performed against special stock.
    If it is defined by the checking rules that both sales and delivery requirements are taken into account in the availability check in sales documents but only delivery requirements are taken into account in the availability check in deliveries, there is a danger that quantities reserved in the sales documents are considered to be available by the availability check in the deliveries. This can lead to sales documents becoming backlogged.
    Reactions to the Availability Check in Sales Documents 
    If the goods ordered by the customer are not available on the requested date, the system branches automatically during sales document processing to a further screen where delivery proposals are offered for selection. The system determines these proposals on the basis of the availability situation. This screen also provides you with information on the scope of the check, the current ATP quantity, and the availability situation across all plants.
    Availability Control
    On the Availability Control screen, you can choose between the following delivery proposals:
    •     One-time delivery on the requested delivery date
    In this section, the system checks whether the requested delivery date can be kept to. If stock of the material is available to make a delivery on the requested delivery date, the stock quantity is confirmed here. If there is no stock available, confirmed quantity zero is displayed.
    To copy this data into the sales document, select Edit &#61614;&#61472;One-time delivery.
    •     Complete delivery
    In this section, the system checks whether there will be sufficient stock for complete delivery at a later date:
    o     If there is sufficient stock available at a later date to cover the required quantity in the sales document, the system proposes the date here.
    o     If the system determines that complete delivery cannot be made at a later date, no date is proposed in this section.
    When availability is checked including replenishment lead time, the date which is proposed in this section is the date on which the replenishment lead time period ends if the stock before the end of replenishment lead time does not cover the order quantity.
    When availability is checked excluding replenishment lead time, the system bases its calculations on the stock and the planned inward movements of stock.
    To copy this data into the sales document, select Edit &#61614;&#61472;Complete delivery
    •     Delivery proposal
    In this section, the system checks whether and for which dates partial deliveries can be made. Partial deliveries are displayed for different dates. These dates are based on the planned inward and outward movements of stock.
    During an availability check which takes replenishment lead time into account, the date on which replenishment lead time ends is displayed if insufficient stock means that no partial deliveries can be made before replenishment lead time ends.
    During an availability check which does not take replenishment lead time into account, the system displays the dates on which partial deliveries can be made with the available stock.
    To copy this proposal into the sales document, select Edit &#61614;&#61472;Delivery proposal
    The dates displayed in the sections complete delivery and delivery proposal are determined from the material availability date using forward scheduling and represent actual delivery dates.
    Availability Across Plants
    You can display the availability situation in the various plants for which a material is maintained. To do this, proceed as follows:
    1.     Select Goto &#61614;&#61472;Other plants on the availability control screen.
    The dialog box Plant Selection appears. All plants for which the material is maintained are displayed.
    2.     Mark the plants in which you want to check availability and select Check plants.
    You reach the Availability Check: Overview screen. The requirements quantity and the quantity which could be confirmed as well as some additional information is displayed in a separate line for each plant you selected.
    3.     If you require detailed information on the availability check for a particular line, select the relevant line and select Edit &#61614;&#61472;Check availability.
    You reach the Date proposals dialog box where the detailed data is displayed.
    4.     You can select a plant with sufficient quantity for confirmation to be copied automatically into the Overview screen. Select the appropriate line and select Edit &#61614;&#61472;Copy plant.
    Using the user exit USEREXIT_PLANT_SELECTION in the Include LV03VFZZ you can make a preselection of the allowed plants. If you use this option, the Plant selection dialog box does not appear and the availability check is performed immediately for the allowed plants. If, on the basis of information resulting from the availability check, you want to deliver from a plant other than the one specified in the item, you must at present enter this plant manually in the item. In a later release, however, you will be able to select the plant directly from the list of plants.
    Displaying the ATP Quantities
    If you want to display the current ATP situation on the availability control screen, select Goto &#61614;&#61472;Availability overview.
    Displaying the Scope of the Check
    If you want to display the scope of the check (stock and inward/outward movements of goods taken into account during the availability check) from the availability control screen, select Goto &#61614;&#61472;Scope of check.
    Delivery Agreements in the Customer Master Record
    A customer may react in different ways to the fact that a complete delivery can not be provided for the required delivery date. You can define in the customer master record, the way a customer reacts to the inability to meet the requirements represented by the key data.
    •     The customer wants complete delivery of all items by the requested delivery date or at a later date.
    The complete delivery indicator is copied into the sales document from the customer master record. To find it, select Header &#61614;&#61472;Business data on an overview screen or a header screen. You find the indicator in the Shipping section.
    If the complete delivery indicator is set in the sales document, the individual items are automatically correlated when the document is saved if the schedule lines exist for various dates (that is, a delivery group is automatically created for the sales document items and the latest delivery date within this group becomes the group delivery date). For further information on delivery groups, see  Combining Sales Document Items for Delivery.
    •     The customer only allows a certain number of partial deliveries for each item.
    The partial delivery indicator and the number of partial deliveries are copied into the sales document item from the customer master record. To find the indicators:
    1.     Go to the Business Data screen for this item.
    2.     Select Edit &#61614;&#61472;Shipping details.
    The indicators are found in the Shipping section.
    Performing the Availability Check Again
    Usually, an availability check is only performed when a sales document is created. If quantities or dates are changed in the document and availability needs to be checked again, the check is performed again automatically . However, you can also initiate an availability check manually.
    Automatic Checks
    In the following situations, a new availability check is automatically carried out:
    •     Quantity change
    •     Date change (requested delivery date, material availability date)
    •     Change to the fixed data
    •     After new delivery scheduling (for example, the route or shipping point has been changed)
    •     Change of plant
    •     Change of storage location or batch
    •     Removal of blocks which affect requirements
    •     Removal of reasons for rejection
    Initiating a Check Manually
    In the sales document, you can initiate a new availability check manually. If you want to perform an availability check for all items in a sales document, select Sales document &#61614;&#61472;Check availability on the header screen. If you want to check availability for an individual item, select Edit &#61614;&#61472;Item availability.
    Fixing Quantities and Dates in Sales Documents 
    If the availability check for an item determines that the item cannot be delivered fully on the requested delivery date, and, as a result one or more schedule lines have to be created for later delivery dates, the customer can decide whether to accept these delivery dates and quantities.
    You can record the customer's decision either by setting an indicator in the Fixed date and qty field or by leaving this field blank. The field is displayed both on the schedule line overview screen and on the availability screen.
    Customer Accepts the Schedule Line Proposal
    If the customer accepts the schedule lines which are proposed by the system, mark the Fixed date and qty field. The system then transfers the requirements for the schedule lines to material requirements planning.
    Customer Requires Goods Earlier
    If the customer requires the goods earlier than the date that the system can confirm after the availability check, leave the Fixed date and qty field blank. The system then only passes on the requirements for the requested delivery date and does not take the quantities and dates confirmed by the system after the availability check into account. In this case, it is assumed that the requested delivery date can be kept to because, for example, additional production capacity may become free. The system only confirms the sales order once the entire order quantity can be delivered on the requested delivery date. In the subsequent delivery processing, the sales order is only considered to be completed when the entire order quantity has been delivered or when all partial delivery agreements have been fulfilled.
    A fixed item is considered to be completed once the entire confirmed quantity (which can be smaller than the originally requested order quantity)has been delivered. Therefore, it does not make sense to fix the confirmed quantity to 0 as the item is considered to be completed from the start.
    During rescheduling, the fixed quantities and dates are no longer taken into account.
    Blocking Confirmation of Quantities in Sales Documents 
    In Customizing, using Block transfer of requirements by delivery block, you can specify that certain delivery blocks in the sales document header also block the confirmation of order quantities.
    If you enter such a delivery block in a sales order header, the system confirms the available quantity to show you the delivery options. If you save the document, however, the confirmed quantities are not saved. Your company could block confirmation for a customer if this customer's credit worthiness was questionable. The sales order in this case is not only classed as unconfirmed, it is also blocked for delivery.
    Thus, no stock is reserved. The stock is still available for other customers. Although the order quantities are not confirmed, the system still transfers the requirements to material requirements planning. It is assumed that the delivery block will be removed at some point. The automatic transfer of requirements means that the order quantity can be confirmed at a later point in time
    Source: SAP Library
    Hope this is of some help.

  • How to use AND,OR,NOT condition in Pattern Matching in java

    how to use AND,OR,NOT condition in Pattern Matching in java
    Please anyone give example..

    Stop asking these stupid vague questions and do some of your own research.
    Start here:
    http://www.regular-expressions.info/
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html

  • How do I use Qt and OpenGL with Visual Studio

    Hi! I mainly want to program in C++ and I want to use Qt and OpenGL with Visual Studio.
    I am currently revising C++ and later on i am going to start reading Qt and OpenGL. I have a background of
    Embedded firmware design(C and Assembly).
    The Visual Studio Version I have is 2013 ultimate. How do I use Qt and OpenGL with Visual Studio?
    Thanks
    Alexandros

    Hi ClassicalGuitar,
    The forum supports VS setup and installation. And your issue is not about the forum. I will move the thread to off-topic forum. Thanks for your understanding.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How we will use these Job_open and Job_submit job_close??

    Hi Experts,
    i am new in Developement, i need one help here my problem is
    I have one issue which is a report here i am getting the data into internal table, that data fetching i want to schedule it in background job..
    can any body tell me how can i use the JOB_OPEN and JOB_SUBMIT function modules....
    plz provide any example..
    Thanks in Advance,
    Venkat N

    Hi,
    Here is the sample program
    *Submit report as job(i.e. in background) 
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Regards
    Sudheer

Maybe you are looking for

  • New quad and lots of force quits

    hi i just got my G5 quad and i have instaled FCP studio but it seems like i have to do a lot of force quits on it. can anyone help me. and when i export a movie that is about an hour long it takes about 3 to 4 hours to export when using quick time co

  • VI time measured through the profile performanc​e

    Hi all, My app works not so fast as usual and I decided to measure time with the profile performance tool. But times in a report are much less then the real times. What is the matter?

  • Upgrading FDM applications from 11.1.1.3 to 11.1.2.2

    We have freshly installed FDM 11.1.2.2 on a new server and I am trying to migrate our existing 11.1.1.3 applications. I first need to upgrade the scema for these applications. The documentation for this procedure is scarce but I was able to do the fo

  • Help - Error in PR BAPI :  Purchasing across company codes is not allowed..

    I have written a program to create Purchase Requisition.I am using two BAPIs.In the file i specify the old PR No, New Plant,Purch Group and Purch Org.It is actually a program to create a new PR in a new plant which is a copy of an Old PR in older pla

  • Can the filename be printed on exported images?

    I'm using LR 3.5, and am wondering if I can have the filenames show on the images when I export them.  If so, how do I make that happen?  I am already watermarking a copyright script, which I suppose I could change to include the image name, but that