PO with cumalitive totals

report to list the purchase order quantity for statistical delivery date which gives the cumulative totals for the plants, material group, factory which were entered in the selection criteria.
can any one send me code regarding this requirement

Hi mm,
We have had similar experiences and have worked around by :-
1. Defining a cumulative quantity in the programme.
2. Updating the quantity every time the quantity is altered.
3. Warning if quantity is exceeding PO quantity in transaction.
4. Not saving document if the quantity is exceeded.
5. Optionally, by passing on document reversal.
User exit: MV50AFZ1.
I trust you may find the logic useful and productive.
cheers,
Hema.

Similar Messages

  • Printing Grand Totals in Footer along with page total

    Hi
    I have a report which prints PO Header and PO Lines. For each page while iterating thru PO Lines I print page total in the footer.
    Once all PO Lines are printed with page totals in the footer of each page, I want to print Grand total in the last page in the footer along with last page total. Currently my XML data has pre-computed grand total in the PO Header block.
    The problem
    I have wrapped header and lines inside <?start:body?> and <?end:body?> which allows me to print page totals outside the <?end:body?> tag.
    I print page totals and "Continue" next to it in the footer. But
    Finally when grand total comes into picture in the outer loop I want to replace "Continue" text with grand total value in the last page and print it as footer.
    I tried to use xdoxlt:set_variable() function to flag a variable value to 1 when iteration happens in HEADER block and set it to 2 in inner loop of lines block. But the scope of the variable is confined between <?start:body?> and < ?end:body? and is not visible outside the <?end:body?> tag.
    The logic I want to accomplish is
    if var = 1 then
    print page total and "Continue"
    elsif var = 2 then
    print page total and Grand Total.
    end if
    This logic doest work as the value of var is not visible outside the body tag.
    I want to use this variable value to print footer which lies outside <?end:body?> tag with grand totalor page total
    Please suggest if there is any other way I can accomplish this functionality. Can we use parameter and update it. Syntax for update parameter value is not clear in user guide.
    Any help would be appreciated.
    thanks
    sukarna

    thanks for the info, i was trying to avoid this but had already reached the same conclusion.
    everything else seems to be very time consuming and may not work correctly in the end.
    we're on Oracle Applications : 11.5.10.2 which has just been converted to utf-8 and is an Oracle On-Demand installation.
    do you know if 5.6.3 of the publisher is supported and any ideas on how difficult it is to get it installed?
    cheers
    ellen

  • GL account balance not matching with the total stock value

    Hi,
    The GL account balance is not matching with the total stock value in report RM07MBSTfor stock in transit, Can anyone please let me know, where should, I look into to verify the reason for difference.
    Quick response will be appreciated.
    Thanks & Regards

    I am able to solve this issue. My client has a customized report, which helped me to look into the details of stock in tranisit account. Stock in transit account actually include PPV and TPV alongwith standard cost.

  • Query-blocked Invoices for Quality per mat with the total quantity in QI

    Hello,
    We need to create a query for blocked Invoices in Quality summarized per materialcode together with the total quantity in Quality Inspection blocked stock.
    As starting point I've used the table RBKP_BLOCKED and linked it with RSEG from which I'm checking the quality block.
    From which table should I retrieve the qty in QI blocked stock?
    Thanks,
    Andrei J

    since ur report is depending on LIV's on block due to quality inspection is pending, better take the quantity from MKPF passing document number (GR number) and year of the document.
    Taking stock from MARD table will result is total mis match since this table holds stock position of plant and storage lcoation.
    Thanks & regards
    AHP

  • Problem with Grand total in Crystal report xi

    Post Author: eshwar_polawar
    CA Forum: Crystal Reports
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Please provide the solutions like:
    1).About Running total in Report footer section
    2).Formula on While printing records for grand total
    3).How will send links with subreports
    Thanks and Regards
    Eshwar

    Post Author: eshwar_polawar
    CA Forum: Crystal Reports
    eshwar_polawar:
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Please provide the solutions like:
    1).About Running total in Report footer section
    2).Formula on While printing records for grand total
    3).How will send links with subreports
    Thanks and Regards
    Eshwar

  • Help with rsvp total

    I am arranging a trip for a group of middle school / high school students. I have a sheet that lists the student info and then a box to check that they are confirmed. At that bottom of that column I'd like to have the total of the number of people who are confirmed. In other words when I check the box above, I want it to tally those check marks with a total of all check marks. Can you please help me with this?
    Thanks!

    Rick Smith wrote:
    Thanks! Great info. on the main chart I have name, last, grade, gender, then in the main table under 'grade" which I'm thinking will effect your formula a bit. So under 'grade' i may have numbers 7-12 in there.
    You can easily make that adjustment. It will simplify the AND statement by eliminating one term.
    I'm not sure what the adding of the other 2 columns do? It seems like I would have to add about 10 of these extra columns, is that right? Seems like I could make my breakout 'look' for those values in some way, but I may be wrong.
    I'd be surprised if you find an easier way to do this part. The extra columns in the main table determine where the data will go in the breakout table. To make that decision in the breakout table would be very difficult.
    Jerry

  • In FM report FM_RW_BUDCON header total is mismatch with detail total

    Hi Experts,
    Please help me.  In FM report FM_RW_BUDCON header total of one particular commitment is mismatch with detail total of that commitment.
    P K Sahoo

    Hi,
    I think the values from header to subtotal values in item detail are not passing correctly. Please debug the program and see. You are telling for one commitment only. If for all the formula for caliculation might go wrong. HOPE IT HELPS YOU. Thanking you

  • Problem with the "Total By" icon

    Hi.
    Working with Answer I've a problem with the "Total By" icon when the fact displayed is semi-additive.
    I try to explain better:
    1) my fact table has the following dimensions
    Time (year granularity)
    City
    Type of contracts
    2) the fact table contains the fact "Number of Active Contracts"
    this fact is additive by City and Type but not by Year.
    The "Number of Active Contracts" is calculated usign 2 existing logical columns
    Sum (of Number Of Contracts (at base granularity)) / Count Distinct ( of Years )
    This fact express an average when more than year is involed in the aggregation,
    but express the exact number of contracts if the year is displayed as an output column of the report.
    This fact works well changing the aggregation in reports, but when I click on the "Total By" icon to show
    the totals its behaviour is different from expected.
    consider the report with the following columns:
    Yearm City, Number of Active Contracts
    Click her to view it: http://yfrog.com/euerrtotaliconj
    The "Total By" icon Instead of the sum divided by ditinct years involed, i.e. 1, shows the sum divided by the number of Cities.
    It seem it is counting 5 tiimes (= number of cities) the same year.
    But If make a report with
    Year, Number of Active Contracts
    Click her to view it: http://yfrog.com/mjoktotalj
    it works as expected !
    Many thanks,
    Andrea
    Edited by: aromani on 17-nov-2010 8.06

    Philipp is right to tell the developer that the toolbar is automatically disappearing after customizing the add-on on the toolbar. I tried it, and it looks like it gets attached to the Bookmark Tool bar. It may help to make sure all the Toolbars are visible in '''View> Toolbars. '''
    It may also be because I have too many extensions on my toolbar ( Too many favorites :-))

  • Totals in BEx query not matching with actual total

    Hi,
    We have one report in BI, the total for few columns (Given by BI system i.e system generated) for the values of the key figures is not matching with actual total of that values...
    I am confused to see, how sap BI can do the totaling mistake...
    Please suggest and help....
    Thanks,
    Nitika

    Hi
    Please check following things
    1. Check key figure aggregation properties, how it is defined, it might have been defined as Avg, Last,first value or it might using exceptional aggregates.
    2. Double check your process of validation between cube and bex report for totals.
    Thanks
    Raghu.

  • Problem with Grand Total

    Post Author: eshwar_polawar
    CA Forum: Formula
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Thanks and Regards
    Eshwar

    Post Author: eshwar_polawar
    CA Forum: Crystal Reports
    eshwar_polawar:
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Please provide the solutions like:
    1).About Running total in Report footer section
    2).Formula on While printing records for grand total
    3).How will send links with subreports
    Thanks and Regards
    Eshwar

  • Advanced Table with Grand Total

    I have an advanced table created at the design time with property "Records Displayed" is set to 10. That means, i can able to see 10 records at a time. i have click on Next "Next 10" link to see the next 10 records. i have created a footer with Total. it is showing the sum of the column for the 10 records at a time. Every time i click on "Next 10" , it shows the next 10 records and give me total for current 10 records.
    My requirement is show the grand total in the footer. is there any simple setup to show the grand total instead of current page total ? Can i replace the current page total with grand total ? if so, how can i get the handler for the total ?

    We have not implemented this functionality but OAF Dev guide [11.5.10.2] has this info.
    Control Total Value Generation
    To bypass OA Framework's mechanism to control the value generation for a table column footer so you can
    provide your own value such as a percentage, set the
    oracle.apps.fnd.framework.webui.OAWebBeanConstants TABULAR_FUNCTION_VALUE_ATTR on the
    appropriate table column. This overrides OA Framework's internal behavior of footer value generation. Like all
    web bean attributes, you can data bound this attribute if required.
    Sample usage:
    OAAdvancedTableBean advtableBean = ...;
    OAMessageStyledTextBean salaryBean = advtableBean.findChildRecursive(...);
    String formattedTotal = ...;
    *// compute the total*
    salaryBean.setAttributeValue(TABULAR_FUNCTION_VALUE_ATTR,formattedTotal);
    or:
    salaryBean.setAttributeValue(TABULAR_FUNCTION_VALUE_ATTR,
    new OADataBoundValueViewObject(...));
    Grand Totals
    Declarative or programmatic support for Grand Totals is currently not available in advanced tables. To
    implement grand totals, you must build your own layout below the advanced table in accordance with the
    Oracle Browser Look-and-Feel (BLAF) Guidelines: Tables: Grand Totals [OTN version]. Use the
    messageComponentLayout region style to build this layout. In addition, you must programmatically provide the
    values for the grand total fields. Since these fields are like any other form fields, you can first calculate the
    grand total value in your controller code by looping through the entire view instance row range, and then call
    setText() for the grand total field to set it with the calculated grand total value.
    Hope this helps.
    --- Thanks

  • Problem with document total

    Dear All,
    I have problem adding an invoice through DI API with the total amount of 50,000 including VAT. The system is SBO 2005B, PL42; Document Setting is as following:
    - Rounding Method = By Document
    - Rounding Rule for Tax = Round Down
    - Round Tax Amount in Rows = False
    The following VBA code is used to add an invoice:
    Dim boInv As SAPbobsCOM.Documents
    Dim boCom As SAPbobsCOM.Company
    Set boCom = GetSboCompany() 'this function returns SBO company
    Set boInv = boCom.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
    boInv.CardCode = "Customer1"
    boInv.DocDate = #9/1/2008#
    boInv.DocType = dDocument_Items
    boInv.DocCurrency = "JPY"
    'Now add a invoice line
    'boInv.Lines.Add - No need for the first line
    boInv.Lines.ItemCode = "item1"
    boInv.Lines.VatGroup = "S01" 'VAT rate for Japan is 5%
    boInv.Lines.PriceAfterVAT = 50000
    boInv.Add 'add the invoice
    What I get is an invoice with:
    Gross Price = 50000 (in a line)
    Total (LC) = 47619 (in a line)
    Tax Amount = 2380.952381 (in a line)
    and
    Total Before Discount = 47619 (in a header)
    Tax = 2380 (in a header; fractional part was round down because of the Document Setting)
    Total = 49999 (in a header; which is different from Gross Price by 1 yen)
    However, if I enter this invoice directly from the screen, then there will be no difference between Gross Price (Price after VAT) and Total, so, the invoice will be created correctly.
    My question is how to add an invoice with the total amount of 50000? (Of course, 50000 is not the only "difficult" number, for example, 40000 also poses the same problem). I tried to use boInv.Lines.NetTaxAmount property to directly assign the tax amount (which is possible from the SBO screen), but in PL42 there's an error saying that this property is not yet implemented.

    Verner, thank you for advice. I also tried that way, but wasn't helpful. OK, I found a solution that is I think acceptible. I will describe it in short, for those who face such problem. Basic idea is to use XML to create an invoice. Here's the code:
    Dim boInv As SAPbobsCOM.Documents
    Dim boCom As SAPbobsCOM.Company
    Dim strXML As String
    Set boCom = GetSboCompany() 'this function returns SBO company
    'XML data will be supplied as string variable, not an external file
    gboCom.XMLAsString = True
    'Here you will create your XML stream. Important tags are <DocTotal> for the invoice header, and
    '<Quantity>, <PriceAfVAT> tags for invoice lines. If <DocTotal> is specified then you will get invoice with
    'this exact total amount. If sum of <Quantity> x <PriceAfVAT> is equal to '<DocTotal>, then
    'document level discount will be zero.
    strXML = "<BOM> ... </BOM>" 'building XML here
    Set boInv = gboCom.GetBusinessObjectFromXML(strXML, 0) 'Create an invoice object from XML
    boInv.Add 'add the invoice
    Edited by: Jandos Khalik on Sep 2, 2008 10:17 AM
    Edited by: Jandos Khalik on Sep 2, 2008 10:18 AM
    Edited by: Jandos Khalik on Sep 2, 2008 10:20 AM

  • --Please Cancellation of my Adobe PDF Pack account now! I'm within the 30 day window. --Cancellation of Adobe PDF Pack, Annual (Other,Multiple Languages) --Subscription price:US $89.99/annual with Tax: US$4.24/annual with the Total ofUS$94.23/annual. --Or

    --Please Cancellation of my Adobe PDF Pack account now! I'm within the 30 day window.
    --Cancellation of Adobe PDF Pack, Annual (Other,Multiple Languages)
    --Subscription price:US $89.99/annual with Tax: US$4.24/annual with the Total of US$94.23/annual.
    --Order number# Adobe Order number: AD013989409
    --email: [email protected] 
    --For complete details, just click your order number (AD013989409) and log in with your Adobe ID ([email protected]) and password.
    Thank You!

    See http://helpx.adobe.com/x-productkb/policy-pricing/cancel-subscription-acrobat-online-servi ces.html
    [topic moved to ExportPDF forum]

  • How to create crystal report 2008 with running totals?

    i want to create a report with running totals as follows:
    Balance B/F 1000.00
    Invoices     Receipts    Running B/ce
    100                            1100
                     500             600
                     500             100
    300                              400
                     400                0
    The B/F field is passed as a Parameter.

    Hi  panayiotis,
    In order to create a running total you need to have absolute clarity on the following:
    (i)Whether the running total be set on change of field/record/group.
    (ii)Whether the running total be set on change of record/group OR never.
    Make the appropriate choice.
    Apply this to the field to summarize and type of summary in Running Total Pane.
    Thanks,
    Amogh.

  • Question, the 18 months financing with order total $429 and above. Is it before or after tax?

    Question, the 18 months financing with order total $429 and above. Is it before or after tax?

    Hi Hoan,
    Kst8no1 is spot-on here: your purchase would need to total $429 before sales tax is applied to qualify for 18-month financing. Full details on this particular financing plan can also be found here.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

Maybe you are looking for

  • IMac screen is dark

    The screen is dark on my 2006 iMac.  Is there a way to reset or do I need a new part?  Also, what cable do I need to connect it to a MacBook Pro to recover data?

  • Stream 8 cant use windows apps

    I cant open any windows apps on my stream 8. Not sure why. I cant even open the pc settings. Anyone know why?The error it gives when opening mail or calender is "This app cant open. Theres a problem with*app name*. Contact your system administrator a

  • Multiple Images Questions

    Hi, I am a total beginner with Flash however I have bought a template for my website and wish to make some additions to it. Basically when the template loads up it always has a main image present and the page options down one side. What I would like

  • Airport fails to load and even to be reconfigured via wifi

    airport fails to load and even to be reconfigured via wifi

  • Nokia 6300 unable to set security keygurd on :S?

    erro occures when i enter the key combination it says code error