To generate a restaurant bill

To generate a restaurant bill using blue j. take 3 categories of items like punjabi chinese and continental. take 3 dishes for each category.enter the quantity needed and display the total.
you can use methods like:- for,switch,while,do while etc.
the result should display :-
1)cost per dish (multiplied by its quantity)
2)total cost of the bill.
the user can enter as many items from as many categories he wants.

Re-run:
http://forum.java.sun.com/thread.jspa?threadID=681425
http://forum.java.sun.com/thread.jspa?threadID=681812
Believe me, even if you're going to post this another 20 times, it doesn't make homework questions and lazybums any more welcome.

Similar Messages

  • To generate a restaurant bill using blue j.

    To generate a restaurant bill using blue j. take 3 categories of items like punjabi chinese and continental. take 3 dishes for each category.enter the quantity needed and display the total.
    you can use methods like:- for,switch,while,do while etc.
    the result should display :-
    1)cost per dish (multiplied by its quantity)
    2)total cost of the bill.
    the user can enter as many items from as many categories he wants.

    Please do not repeat post. You have an extensive thread already:
    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=681425
    - Saish

  • Generate a restaurant bill using bluej. plz its urgent

    To generate a restaurant bill using blue j. take 3 categories of items like punjabi chinese and continental. take 3 dishes for each category.enter the quantity needed and display the total.

    Please drop the usage of shorthand for words, the use
    "u" and "plz" will only irritate peopleMe too. I can no longer read SMS messages from my sister....
    I assume you know a bit about OOP (object oriented programing). Think about a receipt, what do you have??
    1. The receipt.
    2. (which contains) items.
    What properties do each of these (objects) have? Well.... an item has a cost? A receipt has items. (You want to be able to add items to the receipt and maybe remove the last item added and calculate the total of all the items maybe). Carry on thinking, what else have you got. You should now be able to develop skeleton objects.
    And for reference, your post is not urgent. Although you have given a slightly better subject than help. (I know nothing about blueJ)

  • COPA document not generated though after billing and accounting generations

    I have an issue with one instant.
    For some reason COPA document is not generated even though billing and accounting document were created. Found no errors in simulation using KE4ST. The billing item details has all the PA segment characteristics.
    COPA documents were created for entries made befor and after this particular one.
    Also we have COPA documents for the product with the same customer and different customers.
    Our system is 'SAP ERP Central Component 5.0'

    Thanks Ajay for the quick response.
    Cost element category is correctly maintained.
    Condition types are mapped.
    COPA is in use for more than 4 years.
    Able to simulate COPA document for the Billing document without errors.
    We do have COPA documents created before and after this particular transaction.
    As you said raising OSS message with SAP.
    Thanks

  • To Generate the invoices (billing document) in t-code VF02 to DIRs in DMS

    Hi All,
    I have requirement is to generate the invoices (billing document) in t-code VF02 to DIRs in DMS or print list using ArchiveLink every night in batch program.
    Did anybody worked on similar scenerios, please let me know.
    Regards
    MM

    Hi Manish (and everyone).
    Were you able to find the solution to this?
    I am in a similar situation - trying to generate invoices from an ArchiveLink document.
    All setup pertaining to ArchiveLink is already in place.  What I need to do now is access the document from the content repository and start from there.
    Any input will be greatly appreciated.
    And of course, points will be rewarded.
    Many thanks!

  • Accounting Document Not Generated  for SD Billing

    Hello SAP Champs,
    Please let me know if you have any thoughts or solution for the below issue.
    Background:
    We have company code 3000 that was created three years back. In the month of November, 2007, we have activated Controlling in this company code. Now business is trying to cancel an Invoice that was posted prior to Controlling activation (for company code 3000).
    The transaction used is VF11.  The result is a cancellation document has been created in the  system but no accounting document was generated.  The error message is "Account XXXXX requires assignemnt to CO object".
    However there is no issue with the account determination or account assignment setup. In fact all other Invoices(that were generated after controlling is made active), account assignment works just fine.
    We are trying to see if there is any standard procedure or mechanism to resolve this issue.
    Question -  Can we manually create the accounting document for the cancelled invoice? I tried creating one(using FB01) but it was not recognized by the invoice and I'm not seeing it in the document flow. We have the same document number for Invoice and Accounting document.   Please let me know if I'm missing anythiing here or is there a better way to resolve this.
    Thank you in advance for your help. Points rewarded for sure.

    You can map Sales Order number to either 'Assignment' or 'Reference' fields in accounting document using Copy control function in SD. Please use transaction VTFA, this needs to be maintained for combinations of billing type and sales document type. Please ensure these fields are not currently used in your system for other information.
    Following fields can be mapped to 'Assignment' or 'Reference'.
    A Purchase order number
    B Sales order number
    C Delivery number
    D External delivery number
    E Current billing document number
    F External delivery no. if available, otherwise delivery no.
    If you currently use 'Assignment' or 'Reference' fields for other details, you can use user exit EXIT_SAPLV60B_008.
    Thanks
    Venkata Ganesh Perumalla
    Edited by: Venkata Ganesh Perumalla on Oct 4, 2010 11:52 AM

  • No accounting document generated for SD billing document

    Hello,
    We had a billing document with status "C Posting document has been created" but actually there was no accounting document generated.
    When we try to release the billing document again using VF02, the system displays the message "The document has already been passed on to accounting".
    What is the problem?
    Thanks in advance!

    longlost,
    Accouting documents not generated,
    1. VF02 Mode Click"Release o Acounting" the Accoutning documents not generated.
    2. If yes, then OK Else
    3. Check Whether you have assigned Accounting keys to the relevent condition types.
    4. Check Account assignment Procedure VKOA and check G/L account has been assigned.
    5. If error found correct it
    If you say "The document has already been passed on to accounting" then it is automatic
    Check with FI Consultant whether Accounting entries has been posted with reference to customer and Invoice.
    Fi consultant will run F-28 - Post incoming payments or F-26 Payment past entry after that it will come to cleared status.
    Regards
    Sathya

  • No accounting document generated after creating billing document.

    I created my billing document in SD and saved but I am getting the message "No accounting document generated"
    What am I missing and what do I need to do?
    Is there a T code or menu path to see all billing document blocked from posting?
    Thanks for your prompt response.

    Hi,
    Check in Tcode  VOFA if account determination procedure is assigned there.
    If it is there,then go to VF02 and try to release manually to accounting.
    Check Tcode VFX3 for blocked billing documents
    Reward points if useful
    Regards,
    Amrish Purohit

  • Profitability Analysis not generated in Contract billing Document

    I have created the Billing document against the contract order but the Profitability Analysis is not getting generated.  But any sale order related billing document is created; system automatically creates the Profitability Analysis.
    Can you tell me where the problem is or have I missed any steps?
    Regards,
    Devendra

    1) For a service material (DIEN), We are creating an Sales Order (VA01) and doing a order based billing (VF01). In the Sales Order we are giving the plant (no shipping point and storage location as it is a DIEN material).
    Once we do the billing we are able to see the Profitability Analysis document.
    2) Now we are using the same material we are creating a Contract (VA41) for a period of one year and doing a monthly billing. In this case we are using VF04 for doing the bills that are due.
    We are getting two results in this:
    a) If we give a Plant in the contract, the Profitability Analysis document is not getting generated at the time of billing.
    b) If we do not give any plant, the Profitability Analysis document is getting generated at the time of billing.
    Please note that we are using the same material, same pricing procedure in both the above cases 1) and 2). Only difference is that the source documents are different i.e., one is Sales Order and the other one is Contract.
    In our copa valuation we have assigned the conditions to value field, no derivation rule assigned.
    Regards
    Devendra
    Edited by: Devendrap on Apr 14, 2009 10:38 AM

  • Clearing document not generated on cancelling billing document

    When we cancel a billing document through VF11 the cancelled billing document generates a reverse document. The billing document and the cancelled billing document are not getting cleared i.e they show as an open item in the customer account.

    Hi ABAPER,
        1) Open Sales order means - Sales orders that   contain items still to be <u><b>delivered</b></u>.
        2) So unless the delivery of the goods is done. They will be not shown as close order.
        3) you can VBFA to confrim these.
      Any more quries. plez get back
      keeping SDNing,
       SDN

  • Accouting FI document is not generating at sale billing (VF01)

    Hi gurus,
    I am able to generate sales billing at sd (VF01), but Accouting document is not getting generated. Can any one help to correct this issue.
    Regards,
    RAM

    Hi Ram,
    Hope this link will help you.
    http://wiki.sdn.sap.com/wiki/display/ERPLO/SD+FAQ#SDFAQ-2.AccountDetermination
    Thanks and regards
    Praveen.J

  • No accounting doc generated while dong billing

    Hi
    while dong billing this error occur like dis
    Doc xxxxxxxxx saved(no accounting document generated)
    give me where cn i check?
    regards
    ss

    You need to either run VFX3 to see what the error is, the log will explain what the error is.
    You may find the account determination is not set up, the period is closed, so change the billing date to an open period, there may be a problem due to Foreign trade data or something else.
    Lastly you could go to VF02, for the billing document, go to release accounting document, and it will error, the go to edit and Log and the log will show you what the error is.
    Please assign points if useful and if you like please post again to tell us what the error message is.

  • Billing Document not gettting generated in Intercompany Billing Scenario

    Dear Experts,
    I am trying to create Intercompany Billing Document with Billing Type IV, but unable to create the same. I have done all the necessary config. I am getting error as Sales Organization is not defined.
    I have created normal billing document i.e. Invoice for End Customer but now i want to bill the supplying company code. So when i try to create Invoice wrt Delivery Doc., I get the above error i.e. Sales Org. not defined.
    I have also maintained ordering company code as internal customer and maintained it for Supplying Company code.
    Am I missing something plz let me know.
    Thnx in advance
    regards,
    Sagar

    Hi Abhijit,
    the customer for the internal invoice will be determined from the "delivering" sales organisation (as mentioned above). You need
    to create a customer with exactly the same address of the sales organization. Assign this customer no. to the delivering sales organisation (as mentioned above). Is your delivering plant in US? That's what I understood according to your explanation in the thread.
    Your example
    Sales organisation: 2000 Canada --> Cust.No. 5000 Canada
    Delivering plant 3000 US --> Sales organisation 3000 --> Customer 5001 US
    Customer: 6000 Canada
    Sales order
    Customer 6000
    Sales organisation for sales order: 2000 Canada
    Delivering plant: 3000 US
    Delivery & Invoice to the customer (normal procedure)
    Internal invoice
    Sales organistion 3000
    Customer 5000 Canada
    --> The System needs to have assigned the billing sales organisation for the plant in US. Did You assign
    the sales organisation? Futhermore the customer no 5000 (assigned to the sales organisation 2000) needs
    to be maintained in the sales area of 3000 for the internal billing.
    (the internal invoice is maybe complicated caused by tax requirments - internal invoicing between Canada und US)
    hopefully this helps you.
    Regards
    Reini

  • How to generate Billing Request Items in SAP CRM

    Hi Folks,
    We have requirements to create BRIs for Service contracts. Each BRI will create a Debit Memo Request in SAP ECC.
    All Billing activities happens in ECC.
    I did the following configuration:
    1. Synchronization of master data (SAP CRM and SAP ECC)
    2. Synchronization of pricing conditions (SAP CRM and SAP ECC)
    Conditions are identical in both systems.
    3. Customizing of service transactions in SAP CRM
    You have set the External Billing indicator for the relevant item categories. You do this in Customizing for Customer Relationship Management, by choosing Billing Define Billing Relevance of Item Categories.
    4. Customizing of controlling objects in SAP ECC
    You have defined CRM controlling objects to which costs and revenue generated by external billing can be automatically assigned. You do this in Customizing, by choosingIntegration with Other SAP Components Customer Relationship Management Settings for Service Processing Controlling Integration
    5. Controlling integration: Customizing: Integration with Other mySAP.com ComponentsCustomer Relationship Management Settings for Service Processing Billing Integration Map Transaction Types and Item Categories.
    When i release the Contract items, I dont see any BRI created. I am not sure where should i check, if BRIs are created.
    I have following questions:
    1- Where to check if BRI is created for contract
    2- How to generate BRI.
    3- Can i debug the process of BRI creation? Is there any FM which gets called or BADI?
    4. what am i missing in above config.
    Any help, material will be helpful.
    Regards,
    Shastri.

    Hi Naresh,
    You need to use Billing Plans for Service Contracts Scenario to create BRI items.
    In the Billing Plan - you can assign whether it is a Periodic Billing or Milestone Billing. Then you need to assign this billing plan to item categories. So based on the period (monthly,quarterly,yearly) - the BRI items will be generated.
    So Please try using Billing Plans for your scenario. As you mentioned earlier, you are using ECC for all Billing purposes. So the system will create one Debit Memo Request document per Contract and it will each line item for each of the BRI's in Service Contract. System will not generate one DMR per BRI item.
    You can check the BRI items generated at the item level --> Billing Plan Tab page (Assignment Block in Web UI).
    Hope this helps.
    Regards,
    Siraj

  • No more billing due list item(s) can be generated

    Dear All,
    We are using CRM 5.0 Stand-alone. We made all necessary Billing-relevant configurations. We created a service contract and upon releasing the item on the contract, we had one entry on the billing due list table (/1BEA/CRMB_DLI).
    Now we released the billing due list item and a billing document was created. However, since there is no R/3 system, this billing document/invoice cannot be transferred to R/3. Now, if we create more service contract, there was no more billing due list items to be created. It looks to us that something is stuck that keeps the billing due list items to be created. Could you please advise why?
    Your valuable input is much appreciated.
    Regards,
    Leon

    Hi,
    I am having the same problem so perhaps you could help me out.
    In our service scenario, no documents are generated in the billing due list.
    The procedure what i am following is: i am creating a Service confirmation and after releasing the confirmation and the Service contract, system is not producing the Documents in the Billing due list. I have already checked the table as well but its also  Empty.
    Please let me know how u have rectified the error. Please response promptly.
    Many thanks,
    Regards,

Maybe you are looking for

  • Cópia de Nota Fiscal

    Bom dia, Realizei a compra de um SDD Intel 530 Series 240GB na loja Best Buy 10760 NW 17th St Miami, FL 33172. A compra foi feita no dia 23/12/2014. Gostaria de saber como consigo uma cópia da nota fiscal, pois perdi a minha.

  • How can I prevent NULLs from appearing in my HyperTrend graph when restarting DSC engine?

    I am continuously logging data to a citadel database using DSC 7.0. Occasionally I need to restart the DSC engine because of a computer reboot, changes to SCF file, etc. Whenever I do this, and then review the data in HDV or with a HyperTrend graph i

  • Temporary solution to play flv files on nokia n8 h...

    Solution for playing flv video files from nokia N8 Following are the steps 1) Open the file 2) Quickly tap the screen, and move the volume key up and down 3) again tap the screen and that's all, now enjoy the video as you did prior to belle . note: t

  • Where Is The Archive (Link) For "The List" (Weekly Suggested Compilations)

    Each week (or so), the iTunes Store has a button link to the current song compilations for certain themes. For example, this week, it is 17 college fight songs. A few weeks ago, I wanted to check out the suggested downloads for popular TV commercial

  • Select range of anchor points

    Hello, I am new to the forums but not so new to Illustrator. I am working on a scanned black and white image that I image traced in Illustrator. I am now in the process of seperating certain parts of the image from each other for changing colors. I k