Invoice output  at header level

hi friends,
here i have one problem i.e my clint want to have purchaze order number in the invoice print out
if the invoice print out is taking at header level asume that there are two items in the invoice those two items are from diffrent delivery document numbers,and again those two delivery numbers are raised from two other sales orders for those two sales orders the po number is differ.if there are ten items in the invoice fro those all items are having differ po numbers hou should i trace and what po number should i print in the invoice
and what could be the solluation for above scenario
please help me out it
thanks

In VBRK table system always show only one purchase order number..That we cannot change.
But in case of output ofof the onvice then u can do it.
Add logic in a program which is assigned to the output type.
The logic should be : Pass the Invocie document number in VBFA table and capture sales document numbers  with document category "C".
Pass this sales document numbers in VBKD table and capture POSNR and BSTKD field value and get pass this values to Invoice output.
Contact ur ABAPer with this logic he will help u better.
Hope this helps.
Thanks & Regards,
Shaik Hussain

Similar Messages

  • Invoiceing party at header level in MIRO

    Hi,
    We have different invoicing parties defined for the same vendor at the plant level in Alternative Data. But, the invoicing party in MIRO is at the header level. When we do MIRO by vendor, it does pull in all the POs but those POs have different IPs because they are from different plants. However, in MIRO, the system deposits the IP from the first PO at the header level and will create the A/P for all the POs against that IP.
    Any way around this? To make the system determine the IP from the underlying PO and do the MIRP-A/P accordingly i.e. post the A/P to the correct IP defined in the PO? Of course, we could do MIRO by plant but considering the very high volumes and the number of plants we have, that is rather inefficient and we would prefer doing it by the vendor code if possible.
    Thanks.

    Dear Tengku
    Please try with this.
    Go to V/08, for the net value field, maintain Routine 16 in the Alt. Cal. Type. Also add Routine 17 to Netvalue.
    As you know Condition types are assigned at each item level. So rounding off is calculated at each item level. But by assigning a tick in the Group Condition while defining Rounding off Condition, you can do rounding off at invoice level. The difference is automatically adjusted at each item.
    thanks
    G. Lakshmipathi

  • Invoice blocking at header level

    Dear team,
    Could you kindly provide your inputs for the following issue;
    While posting invoice with MIRO with a different ( higher) price than PO price, price blocking is happening only at the item level. But user wants to know  why it is  not blocking at header level why it was happened only for Item level.
    At what circumstances, header level will be blocked.
    Thanks in advance.
    Regards
    Madhav

    Hi Madhav,
    In your case, the system can determine that blocking is required only when the price in entered on MIRO. The system compares the price with PO price. So blocking will always be at line level, since price is entered at line level.
    Header blocking means blocking the PO completely( by checking Final Invoice check) or by blocking the Vendor in master data from posting. Both these options are not suitable for your case. The blocking can only be handled at line level.
    Hope this helps,
    Thanks.
    Uma

  • Invoice Tolerance Check at Invoice Header Level

    Hi Experts,
    Can you advise on this query please?
    We would like to be able to check for this scenario. Where the Invoice exceeds the GR by 5% or $50 we want to have this invoice blocked so that it cannot be posted in MIRO. We want to stop the users posting it in MIRO rather than allowing it to post and then blocking for payment.
    The indivdiual price tolerances such as PP or PS will not work for us because these tolerances check at item level. Our PO's can have multiple line items so in total these can add up to more than $50 depending on the value of the line item.
    So we ant to be able to apply the 5% or $50 limit to the overall invoice.
    The BD small differences checks (we believe) at the invoice level. However, it only allows an absolute value to be specified and does not seem to allow both a value and a percentage to be specified.
    Is there a way to apply the 5% or $50 at overall invoice level?
    If not, is BD the correct tolerence to use to block for the $50 value at overall invoice level?
    If we use the BD, must we then blank out the other tolerances so as to avoid these coming into effect and overrding the effective $50 limit for the overall invoice if the individual line items totoal to more than $50.
    Appreciate your advice on how we can achieve this 5% or $50  to apply to the overall invoice.
    Thanks and regards
    M. Ryan.

    Hi Michael,
    Just wondered if you managed to find out how to set up an invoice tolerance at header level ? I have a similar requirement and wondered if this can be done. It seems the tolerances are all at item level (except for the small difference as you mentioned).
    Regards,
    Jacklyn.

  • Tolerance for Invoice at header level

    Hi,
    In our business process we use unplanned delivery cost for freight. It is allowed upto 5% of purchase order value. If it is more than purchasing need to review with vendor.
    In this scenario I want to set the tolerance limit in LIV when ever invoice value exceeds PO value by 5% system has to block the invoice.
    I used tolerance key PP, but it will not work at header level. It is specific to each PO line item.
    Please advice if there is any we can block the invoices when tolerance limit exceeds the PO value for total goods received.
    Best Regards

    Jaya,
    Unfortunately there are no tolerance keys designed to work in the manner that you desire. All the standard tolerance keys work at the item level.
    The only solution I can think of would be do some sort of validation on the unplanned delivery cost field via a user exit/BADI in MIRO.
    Hope this helps {or probably not:)!}
    H Narayan

  • To get PO number against invoices at header level only

    hi
    I have this query to retireve payments against invoices
    SELECT ai.gl_date, aca.amount paymentamount, aca.bank_account_name,aca.check_number,aca.DOC_SEQUENCE_VALUE voucher_num,
           aca.payment_method_lookup_code, aca.vendor_name suppliername,ai.base_amount functional_amount,   pha.segment1 po_num,
           aca.check_date paymentdate, aida.period_name, aida.creation_date
      FROM ap_invoices_all ai,
           ap_vendors_v avv,
           ap_invoice_payments_all aipa,
           ap_checks_all aca,
           ap_invoice_distributions_all aida,
           po_distributions_all pda,
           po_headers_all pha,
             HR_ORGANIZATION_UNITS_V hrov
    WHERE ai.vendor_id = avv.vendor_id
       AND aca.vendor_id = ai.vendor_id
       AND aipa.check_id = aca.check_id
       AND aipa.invoice_id = ai.invoice_id
       AND ai.invoice_id = aida.invoice_id
       ANd pda.po_distribution_id=aida.po_distribution_id(+)
       AND pda.po_header_id = pha.po_header_id(+)
       AND pda.destination_organization_id=hrov.organization_id
        and aca.STATUS_LOOKUP_CODE !='VOIDED'
         and  aca.DOC_SEQUENCE_VALUE='212366'
    order by to_char(ai.gl_date,'MM')
    18 records are shown
    for aca.doc_sequence_value='212244 no rows returned
    i found the reason as to this 212244 has no PO number
    so i had to rewrite the query using ANSI JOINS
    SELECT ai.gl_date, aca.amount paymentamount, aca.bank_account_name,aca.check_number,aca.DOC_SEQUENCE_VALUE voucher_num,
           aca.payment_method_lookup_code, aca.vendor_name suppliername,ai.base_amount functional_amount,   pha.segment1 po_num,
           aca.check_date paymentdate, aida.period_name, aida.creation_date
      FROM ap_invoices_all ai
         join  ap_vendors_v avv on(ai.vendor_id = avv.vendor_id)
          join ap_invoice_payments_all aipa on (aipa.invoice_id = ai.invoice_id)
          join ap_checks_all aca on (  aipa.check_id = aca.check_id  and aipa.invoice_id = ai.invoice_id)
           join ap_invoice_distributions_all aida on (  ai.invoice_id = aida.invoice_id)
        left join  po_distributions_all pda on (pda.po_distribution_id=aida.po_distribution_id)
          left join po_headers_all pha on(  pda.po_header_id = pha.po_header_id)
            left join HR_ORGANIZATION_UNITS_V hrov on  (pda.destination_organization_id=hrov.organization_id)
        where aca.STATUS_LOOKUP_CODE !='VOIDED'
         and  aca.DOC_SEQUENCE_VALUE='212366'
    order by to_char(ai.gl_date,'MM')
    now i get the correct data for 212244 
    but when i run the same query for 212366 i get 19 records  as one invoice in this 076998 has 3 line items and one line item dont have PO
    BUT the requirement is to get  only PO information at the header level not line levelkindly guide
    thanking in advance

    When you need only PO numbers, link only the 3 tables to make your query simpler.
    ap_invoice_distributions_all aida,
    po_distributions_all pda,
    po_headers_all poh
    Only po based invoices will be selected for these tables

  • Freight at header level in PO is not appearing Invoice

    Hi Experts,
    I have entered "Freight" condition at header level which is distributed to items as per their value. When i did the goods receipt, freight charges were showing in FI document created. But now when i am doing invoice for the same purchase order, freight charge is not appeared in Invoice or in FI documents. Please advise.
    Regards,
    Kamal

    Hi Kamal,
    While doing MIRO,Please check the layout in right side of screen.There is three options:
    1.Good/Service items
    2.Planned delivery costs
    3.Good/Service items+Planned delivery costs
    Please select option 3 and then try.
    Regards,
    Manish

  • How to Configure Invoice Address tab on Purchase Order - Header Level

    Hi Gurus
    Please assist
    My client want to add the Invoice address on the Purchase Order level Tab, it must be automatically pull through to all the Purchase Orders as they have one Invoicing address.
    Currently the suppliers send invoices to plants instead of HEAD OFFICE for payment
    Regards
    Susan

    Hi,
    Tax condtions shd be given by functional consultants.ABAPers cant decide the tax condtions.
    you can have these condtions in KONV table.
    In item level vbrp-posnr = konv-kposn.
                      ekpo-ebelp = konv-kposn
    at header level as said in the below thread
    Just see this and get back if any concerns
    Regards
    Edited by: Rasheed salman on Dec 2, 2008 6:20 AM
    Edited by: Rasheed salman on Dec 2, 2008 6:22 AM

  • UDF at header level will not auto refresh before & after adding the invoice.

    Hi All,
    I have a FMS query in the UDF at AR Invoice header level. I have set the FMS query to auto refresh when tax rate field changes but the UDF doesn't auto refresh when there is a tax code in the document.
    I will need to add the invoice first then open the added invoice and press shift+F2 to get the calculated amount in the UDF to update the invoice.
    How to get the UDF to auto refresh whenever the tax code has changed? Or after the invoice has added?
    The FMS query:
    SELECT sum(T0.[TotalSumSy]) FROM INV1 T0 inner join OINV t1 on t1.docentry = t0.docentry WHERE T0.VatGroup in ('SR','DS','AJS') and t1.docentry = $[OINV.docentry]
    Thanks & BR,
    Leng

    Hi,
    I solved the problem following the steps in SAP note 633285 - Printing the total Vat amounts in each Vat group, https://websmp130.sap-ag.de/sap/support/notes/0000633285
    In order to print  in the  order  the Vat amount  in each vat group Please perform  the followed stages:
    Go to Tools (in the SBO tool bar ) and chose Manage User Field
    In Marketing Documents (Rows) add new fields according to the Num of the vat groups that you are using in Orders (e.g. A1, A2 ,A4) The type : Units and Totals  - the Structure: sum in the order each column will represent the vat amounts in the line but only for certain  Vat Group
    in order that each column will display the vat amount in the line only if it belong to certain Vat group we attach a query to each column: (e.g. we have 3 columns : A1, A2, A4) .the queries are;
    SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A1' FOR BROWSE  SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A2' FOR BROWSE SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A4' FOR BROWSE Now each column will display the vat amount only if it in the relevant vat group
    in the order document printing template you need to add those Vat column in our example we add 3  data fields : the file: Order - Rows , the Field: A1/A2/A4 - you can hide (un visible ) this columns as needed
    in the Repetitive Area Footer add a calculation field for each vat groupthe Type: Column Total , the Column: Order; A1/A2/A4 in each calculate field you will get the sum amount of the vat in the relevant Vat group. (in  addition you can add text fields with a relevant description for the calculation fields)
    Thanks & BR,
    Leng

  • IM Output Type at Header Level

    Hi Team ,
    Please can anyone of you say me how can i configure output type at the header level of the material document ( For the Transaction Removal
    From Storage in MIGO ) ,
    Since i see all the output types are being triggered at the line item level of the Material Document and not on the Header Level, I strongly beleive
    there should be some settings where we can get the print from the Header Level.
    Printing via Collective Slip doesnt solve the problem because it will print 4 seperate pages for each and every line item.
    Thanks
    Balaji

    Hi ,
    I am testing it now in the system but please can any one of you say me which is the Output type i i need to use for a Print via the transaction Removal from Storage so that i need to get all the products in the material document along with the serial numbers ...I am trying to use WA03 to print for the collective Slip ? Does it sound right ....
    If any suggestions please let me know...
    Regarding the printing at the Header Level if i use Collective Slip option too still the output type is going to be visible only on the Line item and it doesnt make any logic ( atleast to me ) to pull all the other line items in the Material Document and print it in the collective slip.....
    Thanks
    Balaji

  • Delete the PO at the header level after it has been output sucessfully

    Can we change the status of a Purchase order in SRM from 'ordered' to 'deleted' ?
    It seems we can do it only if the PO has not been output successfully.
    I have checked for a few POs and found for such POs if you go ti change mode , the delete button at the header level
    does not become enabled.
    But I have found a PO in the system which was output suceessfully but its status is deleted. The PO has not been transfered to ECC .
    Please help .
    I do not want to forcibly change the status from the backend.

    We have some BI reports which requires the POs to be deleted at the header level

  • Which segment in INVOIC IDoc holds Allowance value @ header level?

    Hi all,
    I want a segment in INVOIC IDoc to hold SAC (Service Allowance and Charge) Values @ Header level. Plz suggest me one. I know @ item level SAC values are stored in E1EDP26 segment. Tell me which segment i can use it for holding SAC values at header lever??
    Thanks,
    Creasy

    Thanks MxG for your reply.
    I have a scenario. I have to accommodate EDI SAC codes into SAP through IDocs(inbound vendor invoice (FB60)). I have around 4 to 6 SAC codes which have values that will be either credited or debited to GL accounts. some are at header level and some are at detail level.
    How come I implement this scenario. I have no clue to implement this scenario.
    Plz do reply.
    Thanks very much,
    Creasy

  • AP:GL date stored at invoice header level-11i

    In 11i, the GL date is stored at the invoice header level rather
    than being a system default field. Once entered and saved, can
    the GL date be modified at the invoice header level? Does the
    header level GL date automatically get updated when someone adds
    or adjust one of the distribution lines, and uses a GL date
    different from the original date? Or does the user have to
    update the header level GL date manually?

    Hi,
    While entering the invoice you can change the liability account on invoice header, if the filed is not displayed check in folder options (folder->show Field->Liability Account)
    Thanks,
    Vijay

  • Customs declaration number in VAT Invoice output

    Hi Gurus,
    I need to print the customs declaration number in VAT invoice output.I have given the logic to fetch this number from ITEM>Foreign Trade/Customs>Comments tab,but I have come across a scenario if some times user forgot to mention this number in the respective field then the print program won't print,I have tried to enter the value in change mode of billing document VF02 and this field is grayed out.Is there is any other field to maintain this field after the creation of billing document.
    Regards,
    Hari Challa.

    To my knowledge, pretty much the only thing that may be changed in VF02 is the text. See Item Text tab for item-level text, same is available on the header level.
    Usually the right approach is to make sure all the required data is entered in the preceding document (order, delivery, etc.). Then it should be just copied to the invoice.

  • Discount at header level not getting printed when tax exempted.

    29.09.2008
    Hi friends,
    I have incorporated Header discount in my Sales Order. Since there are no deliveries, invoices are printed against Sales Orders. The invoice output shows the discount if the tax classification of the customer is 1 (Liable for taxation). But strangely if the customer is exempted from tax, the discount entered at the header level is not printed on the output even though i can see the discount  computed in the invoice.
    Please suggest how i can sort this problem out.
    Regards,
    Udaynath.

    Thanks Khaled,
    but it does not work bcos as the item category group LUMF takes the price for the component (and the header price is not displayed), then if I set up the price ref. mat. of the components to be the header, the total value of the order will be zero (since price of the header material is zero).
    Any other idea?
    I was thinking in creating a rule to apply the discount of the header condition at the sub-item conditions, but I am not sure whether this can be done.
    Regards
    Julian

Maybe you are looking for