PP Full cycle with t-codes and enterprise structure?

*Hello Guru's,*
*Will anyone share your expertise with PP Full cycle process with t-codes, and its enterprise sturcture and integration points with SD,MM, fico, WM and PM etc,.

Hi,
Pls. go through the following links:
http://www.sap-img.com/sap-pp.htm
http://help.sap.com/saphelp_erp60_sp/helpdata/en/ba/df293581dc1f79e10000009b38f889/frameset.htm
You will get all details related to PP module.
If any specific doubt come back.
Regards,
Tejas

Similar Messages

  • Purchase full cycle process with T-Codes and screen shots

    HI GURUS,
    will anyone mail PO Full Cycle with screen shots? And t-codes
    1. PURCHASING REQUISITION
    2. REQUEST FOR QUOTATION
    3. QUOTATION
    4. PURCHASE ORDER
    5. GOOD'S RECEIPT
    6. INVOICE VERIFICATION
    7. PAYMENT

    The typical procurement cycle for a service or material consists of the following phases:
    1. Determination of Requirements (MD02 / ME51N): - Materials requirements are identified either in the user departments or via materials planning and control. (This can cover both MRP proper and the demand-based approach to inventory control. The regular checking of stock levels of materials defined by master records, use of the order-point method, and forecasting on the basis of past usage are important aspects of the latter.) You can enter purchase requisitions yourself, or they can be generated automatically by the materials planning and control system.
    2. Source Determination: - The Purchasing component helps you identify potential sources of supply based on past orders and existing longer-term purchase agreements. This speeds the process of creating requests for quotation (RFQs), which can be sent to vendors electronically via SAP EDI, if desired.
    3. Vendor Selection and Comparison of Quotations (ME41 / ME47 / ME49): - The system is capable of simulating pricing scenarios, allowing you to compare a number of different quotations. Rejection letters can be sent automatically.
    4. Purchase Order Processing (ME21N): - The Purchasing system adopts information from the requisition and the quotation to help you create a purchase order. As with purchase requisitions, you can generate Pos yourself or have the system generate them automatically. Vendor scheduling agreements and contracts (in the SAP System, types of longer-term purchase agreement) are also supported.
    5. Purchase Order Follow-Up: - The system checks the reminder periods you have specified and - if necessary - automatically prints reminders or expediters at the predefined intervals. It also provides you with an up-to-date status of all purchase requisitions, quotations, and purchase orders.
    6. Goods Receiving and Inventory Management (MIGO): - Goods Receiving personnel can confirm the receipt of goods simply by entering the Po number. By specifying permissible tolerances, buyers can limit over- and under deliveries of ordered goods.
    7. Invoice Verification (MIRO): - The system supports the checking and matching of invoices. The accounts payable clerk is notified of quantity and price variances because the system has access to PO and goods receipt data. This speeds the process of auditing and clearing invoices for payment.
    Rebate Process:
    1. XK02 - Changing a Vendor Master Record (Activate "Subsequent Settlement" and "Sebseq. sett. index" in Purchasing view)
    2. MEB1 - Creating a Rebate Arrangement
    3. ME21N - Creating a Purchase Order
    4. MIGO - Processing the Goods Receipt for the Purchase Order
    5. MIRO - Processing the Incoming Invoice on the Basis of a Purchase Order
    6. MEB4 - Creating an Interim Settlement
    7. MEU2 - Creating a Business Volume Comparison
    8. MEB2 - Creating a Final Settlement
    A centrally agreed contract is involved if:
    A single purchasing organization procures for an entire corporate group, or
    A reference purchasing organization makes a contract available to other associated purchasing organizations, enabling the latter to issue release orders against this contract
    Centrally Agreed Contracts are created in same transaction ME31K, but here is some difference in maintaining the pricing conditions and partner functions.
    Maintaining Plant Conditions
    1. When maintaining the centrally agreed contract, choose Edit > Plant conditions > Overview.
    2. On the overview screen that then appears, enter the desired plant and choose "Overview" icon Plant prices.
    3. An item overview screen appears, starting from which you can maintain conditions.
    Choose Item > Conditions to access the condition maintenance screen.
    4. Return to the overview and repeat the process for all plants for which you wish to store plant-specific conditions.
    5. Save your input.
    Maintaining Partners
    You can maintain the different partners either in the vendor master record or individually in the contract. If the partners have been maintained in the vendor master, they are suggested in the contract.
    Maintaining partners in a contract
    1. In the contract, choose Header > Partners.
    2. The Data Retention Level: Partners screen appears. Enter the plant and/or vendor sub-range, and choose ENTER. The Maintain Partners screen appears.
    Note
    To see which partners have already been maintained, select the desired item and choose "Display" button Level.
    3. Enter the desired partner and return to the item overview for the contract.
    4. Save your input.
    Maintaining partners in the vendor master
    1. Choose Extras > Different data on the Partner Roles (partner functions) screen in the vendor master record.
    2. On the Create Different Data screen, enter the plant or vendor sub-range and select Partner Roles.
    3. Click "Enter" button. The Change Vendor: Partner Roles screen appears.
    4. Enter the desired partners and click "SAVE" button to save your input.
    Then create Release orders (in ME21N) w.r.t. Centrally Agreed Contrat

  • Red highlight next to code in dreamweaver. What is wrong with the code and is it affecting the websi

    What is wrong with the code and is it affecting the website?

    Line 107 looks dodgy to me and it won't have any effect on your code.  However, it is a good idea to post a complete link to your CSS for us to see it in full and to validate it using external tools.  In fact, you could validate the CSS (and HTML) yourself..
    <http://jigsaw.w3.org/css-validator/>
    Good luck.

  • Importing a journal voucher with GL Codes and BP Codes

    Hi Experts,
    I'm trying to get a DTW import for Journal Vouchers working on 8.8 PL05. I have a journal voucher template with GL Codes and BP Codes that I need to import as this is part of some integration.
    If I leave out the BP Codes it works fine but if I add them into the sheet is gives a DTW error "invalid account code application-defined or object-defined error 65171".
    I have tried to add BP code to shortname and add contra account.
    Please any help would be appreciated.
    Regards
    Lou van Wyk

    Welcome to SAP forum Lou...
    I do not know about 8.8 Journal vouchers, but some time ago we were importing with BP codes and we ran into a somewhat similar situation.  I believe we had to format the BP codes to Text in Excel before saving the file to CSV.
    Another time I was working with an individual who had not set up two BP Master Data records before doing transactions like it states in SAP's User Guide titled Data Migration and Opening Balances...
    Maybe that helps?
    Regards,
    Zal

  • I am qualified for the free version of lion...once I took a snap shot of my proof of purchase, it said it would send me a confirmation email with a code and it never did?

    I am qualified for the free version of lion...once I took a snap shot of my proof of purchase, it said it would send me a confirmation email with a code and it never did?

    You will get a .pdf file with the Redemption Code in it in your registered email inbox. You will have to enter the Redemption Code into the Redeem link on the right in App Store.
    You will also receive an additional email with a password to open the .pdf file from the first email.
    Enter the password to .pdf file > Copy the redemption code and enter it in App Store > Enter your Apple ID and password  in the App Store pop-up > Poof!!! Magic! Your OS X Lion icon shows up in your dock and the download begins!

  • Assignment of Purchase Organization with Company Code and Plant

    Please give me solution to Assign Purchase Organization with Company Code and Plant. While creating a material in organization level plant and purchase organization should be assigned.
    Please help me out.
    Thanks

    Hi,
    I am not sure if i have really understood your query.
    Material creation means creating master data, as far as creation and assignment of organization elements with other organizational elements are concern for eg : purchase org in you case is part of standard configuration.
    You create Purchase org using t-code OX08 here you copy from and existing one and then chane the description of Pur org as per your requirement.
    You assign Purchase Org using t-code OX01 to company code assignment, t- codeOX17 for plant assignment to Purchase Org.
    Normally you do all your changes in Devlopment server save the changes in an transport request then move it to quality and production enviornment.
    Hope this helps.
    BR

  • HT201407 Ipod My daughter locked my iPod with a code and now she does not remember it  It is locked and it will not work connected to iTunes

    My daughter locked my iPod with a code and now she does not remember it  It is locked and it will not work connected to iTunes

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    Forgotten Restrictions Passcode Help
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    Also, see iTunes- Restoring iOS software.

  • IDOC, XCBL and Enterprise Structures

    Hi all,
        I would like to know the pros and cons of using IDOC's, XCBL and Enterprise Structures.
        Inputs will be rewarded.
    Regards,
    Sandeep

    Hello,
    You can find help on HTTP Adapter here :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm
    Regards,
    Chris

  • I cannot sync because both computers insist I register the other device with their code and vice versa

    I want to sync two computers, but both insist they have the master code and insist that I enter it into the other machine. however the other machine will not accept it.

    From your description, I believe you are not logged in with any of your machines. Do you see something like [https://support.mozilla.com/media/uploads/gallery/images/compcode.jpg this image on the left]? If that appears in both of your computers, you need to log in first. Once you do that in one computer, you would see [https://support.mozilla.com/media/uploads/gallery/images/2011-01-27-15-46-25-9c0352.png this menu].
    This way you could proceed as explained from the Step 2 in this article: [[How to sync Firefox settings between computers]].
    In order to log-in with one computer, make sure you follow Cor-el's intructions:
    "Tools > Options > Sync" or "Firefox > Set Up Sync":
    Click "Set Up Firefox Sync" to go to "Firefox Sync Setup"
    Click "I already have a Firefox Sync account" : Connect
    Click "I don't have the device with me" at the bottom
    The "I don't have the device with me" appears at the bottom of the 3 boxes with the code.
    Remember that in order to log-in, you would need to have your sync-key.
    If you don't have it anymore, the only way to proceed is to go to [https://account.services.mozilla.com/ your account] and delete it. That way you can start from scratch and by following the steps in the article I linked you should be fine.

  • Names and codes for enterprise structure

    HI all,
    I would like to know the right procedure for giving the naming conventions for the enterprise structure. whether should crete with  alpha numeric or numeric or only alphabets are also accepted.
    Let point of time if we go for upgrades,  will there be any problem.
    Your suggestion will be highly appreciated.

    Numeric / Alphabetical / Alphenumeric which ever is good for your client. All are supported in SAP and upgrades.
    Numeric is most widely used.
    Regards
    Sai

  • HUB showing contact number with country code and not with its name..blackberry Z10 STL100-2

    I have an issue with Text Messages and call lists, in my blackberry Z10 (STL100-2), which is, If I have not saved my contact numbers without country code, the msg may appear in local formate (w/o country code), and it also appear as International formate (another times), and though the number is same (only saperate is country code) in the hub, it appear as two conversation. for eg: if I sent txt to 9899100 (w/o country code), reply used to come as +960-9899100. or vice-versa.
    So its very difficult. and here i came for help.
    You might know a lot what we do not know as we do know a lot you do not know. Asking is the way to get to know....

    The movies were all on my SD card. They are also not backed up by Link which is why had them synced to my phone as a poor man's backup.
    So either Link did not backup the necessary licensing information in the main memory of my phone, or Link did not synchronize the necessary licensing information off my SD card. Either way I am stuck with 3 movies that I cannot play, because I can no longer find them in the BlackBerry World store to re-dowbload whatever licensing information is needed.
    I even just tried a media restore from Link because it was 138 MB in size (and in don't normally store anything on my phone's main storage), but alas no licensing information was restored.

  • Working fine with JAVA code and Error Occured while using in JSP

    Hi.....
    When initiating a BPEL process from JAVA the code is working fine and the Process is getting initiated.But while using that code in J2EE project as a java code and while calling that method Error is occuring.....
    Here by i am attaching my JAVA Code which runs as an applicateion and package which runs in Server....
    JAVA Code (Run as Application) Working Fine:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class processit {
         public static void main(String args[]){
              String input = "TATA";
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              String replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
    JSP and Java Method Used:
    JSP Code:
    ===============
    <%@ page import=" bo.callbpel" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>FEATT - I30</title>
    </head>
    <body>
    <%
    String input=request.getParameter("dnvalue");
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    out.print("The Input Given to the BPEL Process is : "+input);
    %>
    <BR><BR><BR><BR><BR><BR>
    <%
    out.print("The Reply from BPEL Process is : "+Output);
    %>
    </body>
    </html>
    Java Code:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    //import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class callbpel {
         public String Initiate(String value){
              String replyText=null;
              String input = value;
              System.out.println(input);
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              String uniqueBpelId = com.collaxa.cube.util.GUIDGenerator.generateGUID();
              //System.out.println(uniqueBpelId);
              //java.util.Map msgProps = new HashMap();
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              //msgProps.put("conversationId",uniqueBpelId);
              //nm.setProperty("conversationId",uniqueBpelId);
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
              return replyText;
    While Creating and Object for the Class callbpel and Whilw Calling that Method
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    Its throwing an Error:
    Error Occured is:
    After creating the locator object......
    Before creating the NormalizedMessage object......
    After creating the NormalizedMessage object.*.*.*...
    Before creating response object......
    Apr 24, 2008 9:12:00 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at bo.callbpel.Initiate(callbpel.java:55)
         at org.apache.jsp.output_jsp._jspService(output_jsp.java:55)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    For Running JSP i am Using Eclipse 3.2.0 and apache-tomcat-5.5.25
    Please Provide me a Solution......
    Thanks in Advance.....
    Regards,
    Suresh K

    A JSP is not the same as a Java application. A Java application has package statment, import statements, try/catch block, a JSP doesn't.

  • E52 - problem with lock code and bluetooth connect...

    I have an E52 as my work phone, and due to company security policy, a lock code and autolock (30 minutes max) is mandatory. This is giving me problems when using bluetooth headsets, regardless of the make (Plantronics, my Garmin GPS, and latest the built in Fiscon in my car). As long as the phone is not locked, everything works fine, I can make and receive calls. But, when the phone locks, I am no longer able to make calls. In the car (both on the GPS, and on the built in connection) I can still browse the phone book and select a number, but when I attempt to dial, nothing happens.
    If I enter my lock code, I can make calls without problems. However, it sort of defies the purpose of having a rather expensive hands free kit in my car, if I can only make calls the first 30 minutes of my ride.
    Is this a known problem, and is there a solution?

    This is not a problem as such, more of a design flaw.  It is not possible to make a call when the phone is locked, I guess the only way around the issue is just to press a button on the phone every now and then.  Say every 15 to 20 mins just push the menu button or any button randomly, that should reset the timer back to 30 minutes until it is locked next.
    Hope this helps.
    Everything should be made as simple as possible, but not simpler.
    Nokia E7-00
    Click the white star if you think I helped you please

  • HR - SRM Replication: Issue with company code and cost center

    Hello Experts,
    We have a scenario where we are trying to replicate the HR Org Structure into the SRM system.
    All the standard settings have been made using relevant SAP Notes and other help available on SRM.
    However, the company code and cost center for a particular position are not getting updated into SRM.
    These details are present in the Inbound Idoc from the ECC system.
    Is there any setting we may have missed out on?
    Please help.

    Hi
    Kindly check your ALE Filter in BD64 in the sending system. You need to maintain the objects C K O S and infotype 1001 and related subtypes in the filter model.
    Also check the Evaluation path that you are using to send data.
    Regards
    Vijay V

  • A difficult problem with php code and sql code

    it's good place to visit(Paged Result Sets with PHP and Oracle)
    http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fuecks_paged.html
    maybe below part php code could not be used in above address's php code.
    if((isset($l_company) and $l_company != $rows['COMPANY']) or empty($stmt) and empty($total_pages) ) {
    echo "<tr bgcolor='#CCFFCC'>";
    echo "<td colspan= 3 align='center'>".$l_company."</td>";
    echo "<td >".$totalcomany." </td>";
    $totalcomany = 0;
    echo "<td > </td>";
    echo "</tr>";
    $l_company = $rows['COMPANY'];
    because the same company in one page could calculate sum while if
    the same company in two pages could not do that.
    and what do you think of ?
    thanks !

    Hi,
    this is because your sql-statement selects only the rows, you need to build this one page.
    Neither php nor the given result from your query knows about data wich will be part of the result of another page.
    Greetings from Hamburg
    Thorsten Körner

Maybe you are looking for