Username availability check

Hi Friends,
How to check a user name availability in My SQL and jsp program. Can you provide me any sample coding ..... Please help me
Thanking you...

You could do a query and check if it returns results.
SELECT * FROM USER_TABLE WHERE USER_NAME = ?
IF RESULT SET HAS_NEXT
    PRINT "SORRY, NAME TAKEN - PLEASE CHOOSE AGAIN"
ELSE
   ADD NAME
END IFThe implementation is your job.

Similar Messages

  • Restrict Availability check for Line item in sales order

    Hi Folks,
         My requirement is some what different than the usual,I want to stop availability check for a particular line item,while creating sales order on a particular condition (example when quantity is changed for that line item),please suggest if there is any way to do so.
    Thanks for your valuable support.

    Hi
    we need to maintain the username of the person who has triggered this process through XI .
    I BAPI we cannot instruct the BAPI to maintain a specific username.
    that is why i am using this FM because this will allow us to maintain the change history with the username we want
    Regards
    Nikhil

  • Creation of Sale Order for configurable material with availability check.

    Hi,
    We have a scenario in which the material is configurable. The configurable material (X) has few variants (Ex: X1, X2, X3, X4, X5). While booking the sale order, we use the material number (X).
    Further, the material planning is done for the variants X1, X2, X3, X4, X5. The standard variants are planned for production in advance.
    1.     While booking the sale order, we want the availability check of the stock (type matching to happen). What needs to be done in configuration?
    2.     While booking the sale order, there is a possibility that the configuration selected will not match with any of the standard variants due to some additional requirements of the optional features, in such cases how to link the standard variants to the sale order & create requirement for additional requirements.
    Regards,
    Umesh

    Hi Umesh,
               1.Create material master for configurable material and variants in mm01.
               2.Maintain BOM for the configurable material in CS01
               3. Configur the variant configuration steps
                  a. Create charecteristics T.code CT04
                  b. Create values and assign classes
                  c. assign the values to charecteristics
                  d . Maitain dependence  T.code CU01
                  e.create configuration profile t.code CU41
                  f.stimulate the configuration profile.
    4. Do the availability check configuration through this path
    IMG --> Sales and distribution > Basic functions ,> Availabilty check and Transfer of requirements.
    5. Maintain the Availbility check field and MRP views in the material masters other wise you sit with PP people and do that
    I hope it will help you
    Regards,
    Murali.

  • Availability Check not working for Item Cat TANN or YG05 in Btch Split

    Currently working on implementing Automatic Batch Determination (BD) project and one fine piece is holding up the implementation (make or break for project).
    In our QA System:
      - In inventory we have a quantity of 2 for a material: 1 in one batch and 1 in another batch.
      - Create an order with 2 line items with the same material number for a quantity of 1 each.  Line item category is TANN
      - When you generate the delivery the batch determination causes the items to split (even though you have a quantity of 1 in the line item).
      - When you go into the delivery and open up the 1st line item and look at the 900001 line, BD chooses the 1st batch for a quantity of 1.  Line item category is YG05.
      - When you open up the 2nd line item and look at the 900002 line, BD chooses the 1st batch again, NOT the 2nd batch which it should.
    If I change the line item category on the Sales Order to TAN and generate the delivery, BD correctly assigns the 1st batch to the 900001 line item and the 2nd batch to the 900002 line item.  Which is correct.
    Now for the strange part.  The TANN item category and BD works find in our DEV Sandbox, but NOT in our QAS system.
    I have spent two days now trying to find out where Availability Check is assigned specifically to Item  Categories and any differences between our DEV Sandbox and our QA systems to no avail.
    Our customers need the ability to be able to put the same material number on multiple lines of a sales order due to special pricing per customer within an order.
    Can anyone direct me to some configuration or transaction that controls Availability Checking by Item Category.  I have checked the 0VLP transaction and they are identical between our DEV and QA system for the TANN and YG05 categories.
    Any help will be greatly appreciated.

    In VOV6 the 'CP' Schedule Line Cat. has the Availability flag check.  There were a few areas where I found an "Availability" flag and made sure there were all set.
    But, I did finally find out what the error was:
    Logistics Exec -> Shipping -> Basic Shipping Functions -> Avail Check and Transfer of Requirements -> Transfer of Requirements -> Determination Of Requirement Types Using  Transactions
    There are entries by Item Category.  For
    I/C = TANN
    MRP type = PD
    the Requirement Type was missing (if you look at the entry for TAN/PD you see an 11 in the RqTy column).
    So I entered a 11 (Delivery Requirement) into the field and now the Availability Check works and I am getting the correct Batches and quantities during Batch Determination.
    There is no entry for the YG05 batch split, so I guess the system just uses the Item Category of the main line item.
    Thanks for the responses.  Sorry to bother you I should have figured this out earlier.
    Scott.

  • Longer time for Material Availability check while creation of prd order.

    Hi guys,
    I am facing a weird problem while creating production orders thru CO01.
    I enter the component and plant and I am also using the forward scheduling option.
    for some reason, SAP is taking a long time for material availability check when I hit the release button.
    Sometimes its taking more than an hour. Its happening with few specific BOM's, and I have checked the master data but I could hardly find a problem in master data.
    Can someone suggest me some tips ??
    Thanks & Regards,
    Sashivardhan

    Hi,
    Please check the Availability check control maintained for Components it should be 01 or 02. Also check the issue storage location maintained or not. You can maintain issue storage location in BOM in Status/lng text tab in Production Storage Location.
    Hope this will help.
    Regards,
    Navin

  • Availability Check at Storage Location Level.

    Hi All,
    Currrently we have the availability check functionality happenin at the plant level. If the stock is available in the plant, then the sales order is getting confirmed. But, the requirement is if the stock is insufficient then system should check all storage locations attached to the plant. Can someone please guide as to how this can be achieved?
    Regards,
    Raghav

    Hi
    This is not a standard SAP functionality. Either you have to input the storage location manually in the sales order or to automate this,  you have to enhance the functionality using a userexit.
    Thanks,
    Ravi

  • Availibility check at Storage location level

    Dear all,
    we have implemented inventory management ( not wm and lean wm ) , my business scenerio is when i am creating the STO the availibility check is carried out which is considering all the storage locations of supplying site
    e.g  SL01 - Unrestritrd Use
           SL02 - Damage
           SL03 - Resrved
    My client requiremnt is when availibility check should carried out it should conside only one storage location i.e SL01 - Unrestricted use stock and should not considere Stock of other storage location except SL01.
    What configuration need to be done
    Thanks and Regards
    tara

    Dear,
    Check at: http://www.sap-img.com/sap-sd/configuring-availability-check-through-checking-groups.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-pp/availability-check-storage-location-1283776..
    Regards,
    Syed Hussain.

  • Reserve stock in availability check

    Dear Gurus
    I have one requirement. I have searched forum but I didn't get anything which helps me.
    I have a material A with 5 quantity in storage location 1064. When I create sale order of this material with 3 quantity system reserves this stock against this sale order.It will remain reserve until i reject this order. Thee are many open sale orders against which stock is reserved. I have to find out orders with VA05 and reject them. If i create new order of same material with 3 quantity system will only confirm 2.
    My requirement is that when i press availability check button system should only check available stock, no stock reserve. When i create delivery system should copy available stock. In short there must be only availability check, No stock reservation.

    Dear moazzamjii
    My requirement is that when i press availability check button system should only check available stock, no stock reserve.
    If this is your requirement you go to OVZ9 in that just flag the iinclude sales requirements in the in/out movements.
    Check and revert
    Thanks&Regards
    Raghu.k

  • Sales orders with availability check?

    Is there any transaction code to generate list of sales order /open orders with respect to availability check ( with the combination of organizational data)?.  will anyone share your expertise pl.

    Have you tried with VA05 where you can see tabs like
    -  Open Order quantity (quantity not yet despatched),
    -  Confirmed Quantity
    -  Status of the order (Partially delivered, Being processed etc)
    thanks
    G. Lakshmipathi

  • CRM Availability Check not working for certain Item Category

    Hi there,
    I have a situation where for certain order type/item category combinations, the availability check on the same material is not working.
    The check is set up to happen in SAP ECC.
    I have checked the config. under SPRO->CRM->Basic Functions->Availability Check->Availability Check using SAP ECC
    as per many SDN posts on this, and everything looks fine.
    The new item category, which was a copy of an existing one, works (i.e. gives availability) for certain order types, but not others.
    If I create the same order directly in ECC, it works correctly every time.
    I searched the code (from consultants who set it up originally) and can see nothing specific to the order type/ item category.
    I also put a breakpoint on AVAILABILTY_CHECK function module in SAP ECC - it is not being hit, in the case where check is not successful.
    Breakpoints in MV45AFZZ (Sales Order userexit) also not being hit, but they are hit for the Order/item category combination when it works successfully.
    Any suggestions on where else this could be configured would be appreciated!
    thanks,
    David

    Hi David,
    One 'simple' reason for this could be that the copied item category does not have the
    ATP Profile set up in the item category in the IMG. Make sure you have an ATP profile assigned in the area 'ATP Profile' in the item category.
    Please see as well the SCN Wiki link:
    Availability Check CRM-BTX-BF-ATP - CRM - SCN Wiki
    Best regards
    Christophe

  • Availability check

    Dear All
    We have a requirement that if a material say stock is 10 in unrestricted then we create a STO for 10 units then in MMBE  say in a plant 1000 still unrestricted will be 10 but in that details there will be 10 units STCK TRPSTORDER REL (under this heading) 10 units is appearing
    STO happening from plant 1000 to plant 1001
    When an incoming sales order comes for that same material in the same plant then system allocates these 10 units to that order which we dont want to happen in the plant 1000
    But when we initially make a sales order instead of STO if the unrestriced is 10 then it shows in sales order stocks (under this heading) 10 units is appearing in the plant 1000
    When an incoming sales order comes then system  does not allocate these 10 units to that order and says no stock which is our requirement
    *In Simple stocks are getting reserved for open sales orders but not for open STOs with availability check in a plant*
    This we want it for STO after creating PO itself
    Note if the delivery is generated for STO then system says no stock for the incoming order which is fine
    In OVZ9
    1.include sales requirements is ticked
    2. include rel ordd  requirements (for STO is consideration is marked as X)
    3.Include stock in transfer is ticked
    Friends Expecting your valuable comments and suggestions
    Stocks should be reserved for STO how do  i control  this in OVZ9?
    Hope i am clear about my Requirement Any clarifications needed?
    Regards
    Raja

    Dear Lakshmipathi
    Thanks for the reply But that doesnt solve.Already checked there
    But we have to control SD settings only in OVZ9 as the requirement is to check availability for sales order creation only
    Scenario 1
    In MMBE Plant is 1000 Material is A unrestricted stock is 10
    We create a sales order no 1 for material A for 10 units in this plant and saved
    Now in MMBE unrestricted also 10 in that details Sales reqirements also 10
    When we create a next sales order no 2 system tells no stock and gives confirmed qty as zero which is fine (in OVZ9 include sales requiremts is ticked and hence system reserves stocks for order no 1 and says 0 stocks for order no 2)
    Scenario 2
    Plant is 1000 Material is A unrestricted stock is 10
    We create a STO for material A for 10 units from this plant 1000 to be sent to  another plant 1001
    STO created and saved
    Now in MMBE unrestricted also 10 in that details Stock trnasport resevation also 10
    So as of now the stocks are reserved for that STO
    Now if an incoming sales order if comes system allocates these stocks to that sales order which we dont want to happen
    In Simple stocks are getting reserved for open sales orders but not for open STOs with availability check in a plant
    In OVZ9 in the inward and outward movements tab there is a control box called incl.rel.order.reqs which is set to X and the F1 explanation tells that it will take to STO also into consideration
    But actually it is not happening
    Include sales requirements is working but not this one
    Has anyone undergone  this scenario ?
    Regards
    Raja

  • How to execute availability check against delivery date in purchase order

    Hi all
    In MD04, I know that "available date = delivery date in purchase order + GR processing time" & "GR date = delivery date in purchase order". When I execute availability check in production order, I will get material's committed date = available date. But I hope to get material's committed date = GR date in purchase order.
    For example. delivery date in purchase order is 2012/02/06 and GR processing time is 2 days. After ATP in production order, I will get committed date 2012/02/08. But I hope it show 2012/02/06. How to customize it.
    (The GR processing time must be set 2 days for MRP calculation. it can be changed to 0.) Thanks!!

    Hi Rita,
    One Doubt, If you say that material commited has to be the GR date and you do not wish to wait for GR processing time, then why do you have the GR processing time in first place.
    For ex. My client, we get the stock as per GR in Quality inspection and so we have GR processing time considered for available time in MD04. But since the business considers the Inspection stock as avialble, The stock gets reflected in avialibility check the moment GR is done.
    So please explain your requirement in detail. There could some way to do so. If not the raise an issue with SAP.

  • Availability check on schedule lines of contract

    Hi,
    We have maintained 2 line items (L1 and L2) with same material (M1) in contract. Also these two line items have schedule lines maintained.
    e.g.
    L1  :  S1,S2
    L2 :   S3,S4
    Now we create a sales order in reference to line item L1 and do an availability check.  The ATP does not show schedule lines for S1,S2 in availability overview. only S3,S4 quantities is taken into consideration for ATP calculation.
    We have activated availability check at schedule line level.
    Any pointers as to why S1,S2 requirements are not shown in availability overview
    P.S.  If we create a sales order in reference to line item L2 ,then the ATP does not show schedule lines for S3,S4 in availability overview. only S1,S2 quantities is taken into consideration for ATP calculation.
    Any pointers will be highly welcome.
    Thanks.

    Hi,
    Sorry, for Sch. AV check is not activated but TR is activated.
    For material ATP is activated- check in MM03
    Chidambaram

  • Schedule lines in Availability Check Delivery Proposal screen

    Hi,
    This is in continuation to an earlier thread that I had created about Sales Orders not getting CIFfed across to APO. I have a situation in a different system where this is being configured for data transfer. The problem here is not about CIF. All issues pertaining to CIF were addressed in the earlier thread.
    This question is primarily about schedule lines of the sales order not opening up for confirmation in 'APO Availability Check: Delivery Proposal' screen as in this link: https://docs.google.com/leaf?id=0B78qjSKXsqbeNDFjMzlkM2MtMDNlOS00ODFmLWJmYjktYmU0ZDU5Zjk0ZDlh&sort=name&layout=list&num=50&authkey=CO2E0ZYN
    It is perhaps some config that is changed or missing that is causing this problem.
    Kind regards,
    Srikanth

    Srikanth,
    This is what the screen looks like when the ATP you have configured cannot confirm anything.  The only button available to you is to proceed without confirming the order. 
    An example of the types of reasons would be no allocation available, no stock available, no supply elements available, too many existing requirements, etc etc.  Improper or incomplete APO GATP configuration could unfortunately also be the culprit.
    You have two icons at the top, check instructions and Allocation.  Click on these buttons, and they may give you clues as to what is causing your problems. 
    Best Regards,
    DB49

  • Sales order - Schedule line or Availability check

    Dear friends,
    I have one requirement on sales order availability check or schedule line.
    When i enter material and quantity in sales order it should not determine stock from one storage location (0003 storage location for damaged goods) through availability check or schedule line whatever.
    Can i handle this through any routine or functional config. kindly suggest.
    Regards,
    Praveen Lobo

    Dear Praveen
    Dont maintain the storage location 0003 in MMSC.  Also, in material master, you dont maintain the "Delivering Plant" so that you will have to input manually in sale order.  If Plant is not flowing automatically in sale order, your storage location will also not flow.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Please help with text boxes

    Can somebody help me wit hmy problem. I have a fom with many tables in it, some cells of the table are text boxes or at least they were when I developed it. Now I need to edit some of the cells and for some reason I cannot do it as the cell is not a

  • How can i make Labels on JSP invisible on demand

    Hi All, I need to make the Labels on JSP page invisible based the diffrent selctions on the page. So is this possible to do in Java Script at client side by calling on change function. Please post a small code if possible. Thanks in advance for the a

  • Oracle Auditing.

    Hi All, Is there anyway, we can find, who created the user in terms of hostname and client from which, he initiated the create user command. We have auditing enabled at database level. hare krishna

  • Outof memory exception

    Hi, is any body help me? I m facing a problem in my servlet file. Actually i m creating a image with combination of two image. If i use small size image(inside 1MB) it is created perfectly but more than 1MB it is throwing outofmemory exception. Norma

  • Compounding attributes using flat files

    Hi experts, Many questions are asked relating compounding attributes previously. I think it is a unique one. Iam a freesher in sap BI Can we use compounding attributes using flatfiles. That is I have two file source systems. how can I use the compoun