Scanned Quantity Based on Invoice No and Material.

Hi Experts,
Document No
Bill Type
INVOICE NO
Material
Serial No
Invoiced Qty
0ROWCONT
1107540470
F2
1107540470
INVARED500+
28
10
1
1107540470
F2
1107540470
INVARED500+
29
10
1
1107540470
F2
1107540470
INVARED500+
30
10
1
1107540470
F2
1107540470
INVARED500+
31
10
1
1107540470
F2
1107540470
INVARED500+
32
10
1
1107540470
F2
1107540470
FE00-IT500
33
100
1
1107540470
F2
1107540470
FE00-IT500
34
100
1
1107540470
F2
1107540470
FE00-IT500
35
100
1
1107540470
F2
1107540470
FE00-IT500
36
100
1
1107540470
F2
1107540470
FE00-IT500
37
100
1
1107540470
F2
1107540470
FE00-IT500
38
100
1
1107540470
F2
1107540470
FE00-IT500
39
100
1
1107540470
F2
1107540470
FE00-IT500
40
100
1
1107567899
F2
INVARED10000+
1
1106768992
F2
INVARED12000
1
1100676578
F2
MODULAR5T
1
F2
ZT-500
1
The above screen is showing , After scanning 0DOC_NUMBER  is generated. The same invoice no 1107540470 is associated with two materials INVARED500+ and FE00-IT500.
Here the ROWCOUNT is showing for all ( Scanned / un-scanned ) material. I want to show the scanned quantity for these materials only. Like when I sum , For FE00-IT500 the scanned qty is 8 and for INVARED500+ the scanned quantity is 5.
Please advice, waiting for your response.

Hi Sanjana,
please fallow the below steps.
create the new formula -> right click on the column -> select the new formula (give the formula name)
define the formula inside ( formula definition or 0ROWCOUNT)
select the aggregation tab -> select the aggregation tab -> select counter for all detail values that are not zero,null, no null ( or) counter for all detail values.
select reference char -> Serial no
after saving the query run the report in RSRT or BEx analyzer.
exception aggregation wok based on the reference char.
hope it will help
if your getting any issue please let me know.
Thanks,
Phani.

Similar Messages

  • Table for finding rate based on part code and material

    Hi Experts
         I am an ABAP consultant with ltd knowledge on SD . Please tell me in which table  I can find the rate based on party code and material .

    Hi
    The standard table is A305. But usually these tables can be customized based on the requirement. So if you are aware about the Condition type for which this Price/Rate is maintained you can find the same in VK13.
    In transaction code VK13, maintain the condition type and click on "Condition information" icon. Now dont maintain any input date. Just click on Execute icon or F8. System will give the list of all the tables and data maintained based on the combination.
    Select the required table.In SE11, maintain this table with prefix as A. You can get all the required information.
    Regards
    Vamsi

  • Find Item number based on Sales document and material in GTS system

    Dear experts,
    I have a situation where in I created a Sales order in ECC system and transmitted the document to GTS for compliance check.
    Now, during my subsequent processing in ECC side, there is a situation where in I need to check if the document (at every item level) is blocked for any reason or is it good to go. But I do not have the item number in ECC side (at the point where I'm calling RFC to GTS to check). I only have sales order number and the material number.
    So, can some one point me table level information in GTS side on how I could find the item number based on Sales document and the material (In our scenario all our materials in a sales order will be distinct).
    Please provide me table information on where the sales document number, item number, material info are stored in GTS.
    Thanks for your time
    -Amit

    Use these tables
    /SAPSLL/CORREF
    /SAPSLL/PNTPR
    /SAPSLL/CUIT

  • Link between invoice number and material document number

    I need a way to get the list of material document numbers which correspond to a particular invoice.  Is there a way to find this information?  I am looking [looping] at table EKBE during a user exit in SAPMV60S but I need to restrict the entries by a range of (multiple) material document numbers.
    Regards,
    Davis

    It looks like you're missing a piece of code.
            SELECT SINGLE * FROM BKPF WHERE BUKRS = Z_EKKO-BUKRS AND
    *                                       BELNR = EKBE-BELNR AND
                                            AWKEY LIKE X_KEYFLD AND
            CHECK SY-SUBRC = 0.
    The SELECT just ends at the "AND".
    Should there be another line after the "AND"?
    You said you had an invoice number; why can't you use that in your WHERE clause to limit what is returned from BSEG?
    What field are you using for the invoice?
    I had mentioned BKPF-XBLNR before, which we use to store the vendor invoice on a PO, but what you are doing sounds different.  Are you referring to an invoice that you created?
    I think that this might be in BSEG-REBZG, and you should be able to filter on this field.
    Shouldn't such an additional filter give you what you want?
    e.g.
    if the invoice specification is a single value:
    * Getting the Vendor Invoice header data
      SELECT SINGLE * FROM bseg WHERE bukrs = z_ekko-bukrs AND
                                      belnr = bkpf-belnr AND
                                      hkont = '0000416000' AND
                                      rebzg = invoice
    or, if the invoice specification is a range or list:
    * Getting the Vendor Invoice header data
      SELECT SINGLE * FROM bseg WHERE bukrs = z_ekko-bukrs AND
                                      belnr = bkpf-belnr AND
                                      hkont = '0000416000' AND
                                      rebzg IN s_invoice
    If you are not using rebzg, then do the same against whatever field you are using.
    Good luck
    Brian

  • Require a function module to calculate sum of the quantity based on GRNDATE

    hi friends,
    I need to calculate the sum of the quantity based on GRN DATE and invoice date.
    the invoice date given in select-options should be captured by program and from the previous day it need to retrieve the GRN dates and corresponding quantities and i need to do the summation of all these quantities can anybody tell any function module.
    Thanks in advance.

    Try function MD_CONVERT_MATERIAL_UNIT
    the table of UOM's is MARM.
    Doug

  • Invoice Plan and Quantity Discrepancy

    I'm not sure if this belongs on this forem or the financial forum but since it involves POs and an MM transaction(MIRO) I decided to post it here.
    We have an IR Only Purchase Order with multiple line items.  The PO Order Quantity varies from 1 EA up to 6 EA on 34 different line items.  An invoice plan manual invoice plan sing "Sample Partial Invoice Plan(20) as the Invoice Plan Type.  The payments are split 30% - 30% - 30% - 10% with each payment due on a specific date. 
    So here is the problem:
    When the first invoice was processed for 30% it assigned a "quantity of 1" on each line item in the invioce.  This is affecting the Commitment dollars left on the order.  For example for the line item with 4 EA in the PO quantity, the commitment dollars only dropped 25% of the 30% total for that line.  So let's say the line item wa for $100,000 it should have reduced the  commitment amount by $30,000.  Instead since the invoice quantity defaulted to 1 it only reduced the commitment amount by $7,500. 
    This same ratio type posting occurred on each line item that had more than 1 EA on the PO.  It appears that when processing the MIRO it will not allow one to change the quantity to the PO Order Quantity.  Does anyone know how to change the quantity on the Invoice or is there a way to get the whole line item quantity to default onto the invoice when a payment is due?
    Thanks in advance for your help,
    Dan

    Hi Dan,
    If the unit of measurement was set up as relevant for value based commitment reduction in transaction               
    CUNI, then the commitment reduction will be the same as the invoice amount.                                                                               
    If the unit of measurement was set up as relevant for quantity based commitment reduction in transaction            
    CUNI, then the commitment reduction is always according the to invoice  quantity, which could lead to differences in the commitment values - which you have described.
    Regards,
    Edit

  • GR Based Invoice Verification and Invoice Post and Block Process

    Hi,
    We currently use invoice "Post and Block" process for AP invoice processing.  GR Based Invoice Verification is not set in the vendor master for this purpose to allow us to enter an invoice where "No Goods Receipt" has been raised. However, when we raise a PO using material groups the flag "GR Based Invoice Verification" is activated in the PO.  We subsquently have to remove this indicator in the PO in order to register the invoice.  Why is this setting populated in the PO when it is not activated in the vendor master ?  Is there a setting in MM for material groups that ius populating this value in the PO where  a PO is raised using material groups ?
    Thanks

    Hello Eilish,
    With regards to Goods reciept indicator, firstly the system looks
    for any reference documents like purchase order or contract and takes
    the flag from there.
    If no reference documents or contracts are referenced, then
    the system looks for an info.record to take the flag from there.
    If there is not a info record then system will carry out the
    GR-BasedIV indicator from the vendor master.
    Hope this helps,
    Ray

  • Invoice Revenue and Invoice Quantity at line Item

    Hello All,
    I am pulling all the billing datasource extractors into BI - 2LIS_13_VAITM, 2LIS_13_VDHDR, 2LIS_13_VDKON.
    As per my report requirement, I want to show Invoice Number, Invoice Item, customer, division, status, invoice revenue, invoice qty and Unit price.
    I have 2 invoice qty columns - Good Qty and Reject Qty, based on status field, (GOOD/REJECT).
    I need to design and map the infoobjects to fields on datasource. could you please suggest me the solution or some documents you have for my reference.
    thanks,
    pra.

    Hi,
    I understand that you want to create a report based on the above three datasources. To start with, you need to create a infoset on them joining the fields in the datasource with join conditions. And then you may drag the fields reqd in the report to rows and columns in BEx.
    Let me know if you have any issues.
    Rgds,
    Sonal

  • Purchase order "Invoice Receiptu201D and u201CGR based IVu201D

    Hi,
    Please let me know how to diable the "Invoice Receiptu201D and u201CGR based IVu201D checkbox editablity in Purchase orders

    hi
    SPRO-> IMG ->Materials master -> Purchasing -> purchase Order -> Define Screen lay out at document level -> select ME21n double click ->GR/IR Control -> check disply required fields ilke GR Based invoice verification
    so it will only display the filed it was disable
    Thanks..

  • Powershell script to Scan Active Directory Attributes for Country and Department ,Then add to Sales Group then add to Distribution list based on Region

    Hey Scripting Guys,
    I have been in and out of Powershell last few years, not that great at it tbh !!! I'm looking for advice on how I can as in Title, Create a Powershell script to Scan Active Directory Attributes for Country and Department ,Then add to Group then add to Distribution
    list based on Region/Country
    I was thinking along the lines of get-aduser -LDAPFilter "(department=SALES France) and adding a where clause for country.
    Any help would be great.
    Dec

    So I have tried a few variations but get errors on both 
    get-aduser -LDAPFilter "(&(department=SALES)(c=us))" | Add-ADPrincipalGroupMembership -MemberOf "testgroup"
    get-aduser -LDAPFilter "(&(department=SALES)(c=fr))" | Add-ADGroupMember -identity "testgroup"
    Add-ADPrincipalGroupMembership : Object reference not set to an instance of an
    object.
    At line:1 char:86
    + get-aduser -LDAPFilter "(&(department=SALES)(c=fr))" | Add-ADPrincipalGroupMe
    mbership <<<< -MemberOf "testgroup"
    + CategoryInfo : NotSpecified: (:) [Add-ADPrincipalGroupMembershi
    p], NullReferenceException
    + FullyQualifiedErrorId : Object reference not set to an instance of an ob
    ject.,Microsoft.ActiveDirectory.Management.Commands.AddADPrincipalGroupMem
    bership

  • Where can we see invoice doc. and payment doc. for asset based on its no.

    Dear all,
    For a particular asset, based on its number, is there any report which shows invoice, payment and other relevant documents.
    Can any of you suggest me on this?
    Thanks,
    Kumar

    HI
    There is no direct standard report in Asset accounting for your requirement , but you can try the below--
    Asset invoice means , if you have acquired your asset through raising a PO , then you have MIRO docnumber which is linked to Asset number, with the help of this FI document linked withh asset number  you can find out the invoice documents against assets acquired.
    Go to Bseg and search with asset number fields  and doc type of MIRO I believe it will be RE ,it will show you the  invoice docuemnts against the selected asset , then search for the clearing docs against these invoices in bseg , that will be your payment document.
    So now have asset number ,invoice number ,payment doc number.
    More logic you may apply like search for the link through MM tables , since PO is also having asset number , just check the link of Asset number with various documents and tables, you may ask your ABAPER to create a report or query for this.
    cheers
    Mukta

  • Invoice verification for G/L account according to plant and material

    Hello,
    In MIRO I need to post a value against a G/L account, and need to connect it to a material and plant.
    These fields appear in the table settings of table ACGL_ITEM, which is the table for the fields of the G/L account tab, but the lengths of these two fields are 0.
    I've added the fields to the layout that I want to use in the G/L account tab, but because they have 0 length, they do not appear in the layout.
    Does anyone know how I can add them to the G/L account tab, and also see them?
    Thanks,
    Sivan

    Hi
    You need to activate direct postings in the below customization
    spro>MM>Logistics invoice verification>incoming invoice->Activate direct postings to GL accounts and material accounts.
    Inside you need to activate both
    Regards
    Antony

  • Get Last Invoice Day and No of days based on Invoice date

    Hi,
    Can you please provide me logic on how to get the Last Invoice day from the invoice dates .
    Also want to the know the no. of days in the month based on invoice date,
    Thanks,
    Pra.

    Hi
    Getting this information there is few standard functions available. Try to find out & utilize it.
    or else you should have to write code in customer exit.
    swetha

  • How to  find the Open sale orders till date for  given plant and material ?

    Hi experts,
                     I have a requirement to calculate the open sale orders for a given plant and material. I have tried in VA05 wherein i can get only for the material and sales area combination. From the document nos obtained from VA05 i can then find the plant. But my question is how do i get the output of VA05 into my progra. (can i use submit for a module pool report ).
    Also if ther is some other standard table or Function module to find the open sale orders till a given date ,it will be even more helpful....in which case i can drop the VA05 route.
    Kindly help
    Thanks in advance
    Ashwin

    Hi Ashwin,
        You can use SAP Tables VBAK and VBUP to get to know if the document is complete or not.
       VBUK-GBSTK is the field that will give you the status of the Sales Order .
      VBUK is used at header level , whereas VBUP is used for Item level.
      So in your case what I would do is :
      Get the Sales Orders that satisy the plant and material criteria from VBAP table , take this Sales Document numbers and go to VBUK or VBUP table to get the Sales Order Status. 
       If I need to find the open quantity as well I will link to VBFA table based on the document number.
      Reward if helpful.
    Thanks,
    Imran

  • Quantity variance in Invoice Vs. Three way match in PO

    Hi Experts,
    I am not able to find any differrence between quantity variance Vs. Three way match in PO.
    For example in our purchase orders for all the items we are having Two way match (PO-Inv, GR-Bsd Inv is not checked) but we have defined quantity varaince in Invoice. So when we are trying to post invoice for purchase order item for which goods reciept is not performed, system is blocking the invoice due to quantity variance.
    So i think if you have quantity variance at invoice level then system is going to check whether goods reciept is perfromed or not regardless of Two way or three way match.
    Please advise if my understanding above is correct.
    My second question is as we can define two way/three way match at various level (Supplier, Inforecord etc.). Is there anyway that i can define that quantity variance in Invoice should be for certain material groups only.
    Please advise.
    Regards,
    Kamal

    hi,
    when you set the qty variance, and try to post the invoice just after the PO, the system will show a message at IR ie. " Quantity delivered is Zero"...
    this message is warning message...
    The system will block the invoice item when the doc is posted, depending on how the tolerance key DW  is set(Qty variance to Gr qty = zero)...
    Hope it helps..
    Regards
    Priyanka.P

Maybe you are looking for

  • Menu bar no longer on both screens.

    I just upgraded from Mavericks to Yosemite. I use two monitors and I really like having the menu bar available on both screens, which was new to Mavericks. I also use spaces heavily to manage having several applications running at the same time. For

  • Can One Export Contacts w/ iPad2?

    The first thing I wanted to do when I purchased my iPad 2 wasto export my contacts from Backup Assistant to my brand new iPad 2. Only problem is the export feature on the website doesn't seem to be available on my iPad. How can I do this? All I want

  • Form content disapears after saving

    I have been able to do this in the past but for some reason can not get this to work now. I am trying to pt a signature on a IRS form after I have filled in all the fields. In the past I simply saved the form with a different name, say for exapmle, I

  • How to edit Theme Backgrounds in Keynote?

    Stuck with a little conundrum: I'm trying to edit the background of the Crayon Line theme (but it is the same for other themes) - More specifically I'm trying to move the actual black and red horizontal crayon line. The problem I have is that I haven

  • Oracle's Flashback Technolgy

    Hi, Can any one kindly explain how the Oracle's Flashback Technology works? I mean OFT depends on Automatic Undo Managemet but how exactly it works? Whats the architecture? Any good link or book name that explains the OFT in detail will be very helpf