Combining invoice printing in VF04 for same customer

I have been having issues with combining the invoices and printing as one when the payer are the same. What actually is happening is: For SOrg01 customer SD transactions it checks the Invoice Split field which is currently set to "Z3 = Customer PO" for customer 1234567.  I checked the PO value for the sales orders of invoice 90109876 and 90109886 and they all have PO #A010-014, hence these two invoice should have been one.  But right the two invoices are split and printing separately instead it should have printed onto one invoice itself. I have checked the invoice splitting criteria as well as it says that when the splitting critera is set to Z3 which it is for that payer on both the invoices then only split else combine, but its not happening. I have checked all the settings on that customer but could not locate as to why this is happening.
Could anyone please suggest me as where else the problem can possibly be or located , becuase as such it should have combined together. What other tabs on teh customer data can impact this?
Thanks in advance.

Yes, indeed there is a logic in VFOM transaction which does the splitting based on several things. The PO numbers field I ahve checked for each and every or SO on the billing documents of both the documenst and all are the same and as for the payer , they both have the same payer for teh same sales org. and that is SO01.
CASE vbrk-vkorg.
     WHEN 'SO02'.
*     Look in Customer Sales Table for Invoicing Indicator
       SELECT SINGLE * INTO zwa_knvv FROM knvv
              WHERE vkorg EQ vbrk-vkorg AND kunnr EQ kuagv-kunnr.
       IF sy-subrc NE 0.
         zuk-vgbel = vbrp-vgbel.
       ELSE.
         CASE zwa_knvv-kvgr2.
           WHEN 'ZIS'.        " Single Location
             zuk-vgbel = vbrp-vgbel.
           WHEN 'ZIM'.        " Multiple Location
             CLEAR: zuk-vgbel, vbrk-hityp_pr.
         ENDCASE.
       ENDIF.
   ENDCASE.
*  Determine The Orders Based On Soldto Attributes
   SELECT SINGLE * INTO zwa_kna1 FROM kna1
         WHERE kunnr EQ kuagv-kunnr.
   CASE zwa_kna1-katr1.
     WHEN 'Z1'.                       " Ship-To
       zuk-kunnr_sh = kuwev-kunnr.
       CLEAR: zuk-bstkd, zuk-werks, zuk-vgbel, zuk-ihrez.
     WHEN 'Z3'.                       " Purchase Order
       zuk-bstkd = vbkd-bstkd.
       CLEAR: zuk-kunnr_sh, zuk-werks, zuk-vgbel, zuk-ihrez.
     WHEN 'Z4'.                       " AFE
       zuk-ihrez = vbkd-ihrez.
       CLEAR: zuk-kunnr_sh, zuk-werks, zuk-vgbel, zuk-bstkd.
     WHEN 'Z5'.                       " Plant
       zuk-werks = vbrp-werks.
       CLEAR: zuk-kunnr_sh, zuk-ihrez, zuk-vgbel, zuk-bstkd.
     WHEN 'Z6'.                       " Sales Order
       zuk-vgbel = vbrp-aubel.
       CLEAR: zuk-kunnr_sh, zuk-ihrez, zuk-werks, zuk-bstkd.

Similar Messages

  • Invoice request based on multiple sales order for same customer

    Hi Team,
    I just wanted to know if we can create manual invoice request based on multiple sales order for same customer?
    For project based invoice request i have create based on single invoice request.
    Appreciate your input here.
    Thanks,
    Nitin

    Dear Ratish,
    Thanks for yr reply.
    I already did that but it is not serving business purpose.
    Comm payment  - comes diff time than sales payment.
    so ,I will post one entry customer will get hit with total amount Sales + commission
    like below
    Let say 10, 000 is the sales value and 500 is the commission
    So , This entry will get posted
    Customer Db- 10,500
    Sales Cr- 10,000
    Comm Income Cr- 500
    But, As I said sales amt will be paid before so We need to clear it partially and some time customer pays also diff amount due to some defect.
    So, We wont be knowing for which case we have or havnet received the payment against commission.
    As , Customer account is got hit with total amount( Sales+ Comm..value).
    Pls advise how to solve this.
    Regards,
    Sukh

  • Invoice Split for same customer but for different output types

    Hi Gurus,
    I have a requirement from the customers. A new output type has to be created with reference to the old type and for this output type a new driver program and SAP script was created with reference to the old one.They wants  invoice split to be happened based on item level PO number. That was done successfully.
    This invoice split logic  was written in the billing routine  RV60C901(Customized).
    But now they came back with a issue that the invoice split  should be done  only if they use the new output  type but not for the old one. That means for the same customer for one output type invoice split should be done based on item level po number and for one output type it should not. How can this be controlled for a particular
    output type?
    This output types will not be used in the billing routine as the split happens at the sales order level. Is there any configuration that allows split for a particular output type.
    Please suggest me how to proceed???

    Hi,
    In the invoice split routine check if it is possible to find the output type making use of field symbols.
    Just check in debug if the variable for output type is available as follows:-
    (Program Name)variable name.
    Regads,
    Ankur Parab

  • Invoice Print and Email from same output type

    Hi All,
    We want to print invoice and send an email to customer. Can this be acheived using same output type??
    If yes, plz guide how can we do this..
    I check some queries in forums but they had coding etc.  Can we do it with config??
    Regards,
    Satish.

    I'm not sure why you wouldn't configure two output types. However, you can do this with one output type in a number of ways:
    1. Use a speciial function output (transmission medium 8).
    This allows you to write ABAP code to anything you want. However, you have to manage print contols on yur own as the special function transmssion medium doesn't allow you to specify these on he condition record.
    2. Change the driver program for the print output for the output to send emails.
    You would need to handle the email routing on your own because the output records for print are just for printing.

  • How to manage credit for same customer in different sectors

    Dear Gurus,
    Here is the scenario,
    My client   have four different sectors but a customer can buy from multiple sectors.The credit management for the same customer must be handled  differently for each sector.The credit exposure for all sectors should be different
    So how can we segregate this in sap credit management for only one customer master
    Regards,
    Sam Ahmed

    Credit Control Area Is set at 2 places:
    - @ Company Code (OBZK)
    - @ Sales Area (OVFL)
    You need to have different Credit Control Area based on your requirement, align with the sales areas you want differentiate. 
    To do so, follow IMG in following path or use TCode OVFL.
    SPRO - Enterprise Structure - Assignment - Sales & Distribution - Assign Sales Area to Credit control area
    Also, make sure in
    - Customer Master (XD02) for the desired sales areas you need specify the credit control area in the sales area data.
    - And in FD32, maintain different credit limit based on Customer & Credit Control Area.
    For reference you can refer consulting for configuration SAP Note 18613 - Checklist for Credit Management.
    And SAP Note 425483 - Consulting note collection: Credit checks.
    With Best Wishes
    JP

  • How to apply pamment to invoice in diff OU for Same Supplier

    We have a payment check for a supplier. AP accountant want to a apply this payment to invoices in different operating units for same supplier but he can’t do it. How it can be solved.

    Yep I understand that.
    Let's say I overlap track 2 as I don't like the beginning of it. . .so I want the transition from the end of track one to track two to occur in the middle of track 2 - should I just trim the track to the point I want the transition to occur as opposed to have it overlapping?

  • Printing balance confirmation for vendor & customer

    Hi Sapient
    I had defined a vendor & linked a customer in the vendor master & vice versa.
    I want to print the balance confirmation form for the vendor.
    My requirement is as follows
    1. When i print the confirmation form for the particular vendor & if had linked a customer to the vendor, then I wnat the open line item in the cusotmer account shoudl be included in my vendor balance confirmation form.
    Is the above said scenario is possible through SAP standard. If not can you provide me with alternate solution.
    Regards
    R.Karthigayan

    I presume you are using program SAPF130K  or F.18 for vendor balance confirmation. You cannot run statement of vendor balance including customer if they are vendor and customer.

  • Two billing for one sales order for same customer

    Dear All ,
    I have a requirement of posting a two billings for one sales order.
    One is for Sales and another is for commission...
    Entry could be
    Sales Entry - Db Customer
                        Cr  Sales
    Commission entry could be
    Db - Cusomter
    Cr- Sales commission income account (P/L)
    We are having third party sales scenario , In this case billing is MIRO dependent.
    Once the miro is done then only billing is possible ...
    Could you please advise on that ..
    Regards,
    Sukh

    Dear Ratish,
    Thanks for yr reply.
    I already did that but it is not serving business purpose.
    Comm payment  - comes diff time than sales payment.
    so ,I will post one entry customer will get hit with total amount Sales + commission
    like below
    Let say 10, 000 is the sales value and 500 is the commission
    So , This entry will get posted
    Customer Db- 10,500
    Sales Cr- 10,000
    Comm Income Cr- 500
    But, As I said sales amt will be paid before so We need to clear it partially and some time customer pays also diff amount due to some defect.
    So, We wont be knowing for which case we have or havnet received the payment against commission.
    As , Customer account is got hit with total amount( Sales+ Comm..value).
    Pls advise how to solve this.
    Regards,
    Sukh

  • Australian ABN in Customer Invoice Print out

    Hi,
    I am using the standard ByD Customer Print Out and everytime I print out, the two fields Our ABN and Your ABN are always blank.
    We have maintained the ABN of both our company and customer company under Financial Data/ Tax Data but somehow they does not appear in the Invoice Print out (PDF). The customer ABN appears in the ByD Invoice though.
    I checked the form and they are using standard data binding which displayed for other countries but not Australia.
    Anyone has the same issue and know how to solve it?
    Thanks.
    Nguyen Ly

    Hi,
    Please check the table J_1IMOCUST for the customers you will find all the details like TTIN ,LST,CST ECC no. etc....
    (J_1ILSTNO,J_1ICSTNO -fields)
    Regards,
    Krishna O

  • How to maintain two credit limits for the same customer.

    We have two lines of business for the same company code. One customer is trading in two lines of business.
    We want to maintain two credit limits for same customer. How is this possible.

    Hi,
    Credit Limits are assigned to customer master in a credit control area, so a customer can have different credit limits for the different credit control areas.
    (Please note that Credit Control Areas are normally assigned to company codes or sales area.)
    But if you are having only one credit control area, then only one credit limit can apply.
    However you can use the user exits to put any check you want for the customer. There are various user exits available for it like LVKMPTZZ,LVKMPFZ1,LVKMPFZ2 and LVKMPFZ3 in transaction SMOD
    Regards,
    Gaurav

  • AR Invoice Print - Print on Preprinted stationary with Line comments & more

    Hi All,
    I have a requirement to print a report in XMLP for AR Invoice Print.
    Requirement
    For Template Body - Line Items
    Line 1-------------------------------------------------------------------------------------
    Line 2-------------------------------------------------------------------------------------
    Line 3-------------------------------------------------------------------------------------
    ----------------------<LINE COMMENT>----------------------This will be line :4
    Line 5-------------------------------------------------------------------------------------
    Line 6-------------------------------------------------------------------------------------
    Line 7-------------------------------------------------------------------------------------
    ----------------------<LINE COMMENT WITH 2 LINES - So the 2nd line will wrap >-----This will be line :8 and 9
    Line 10-------------------------------------------------------------------------------------
    1. Display 10 lines per page
    2. If there are Line comments for the particular line description then print the line comment in the next line as shown above - So it starts from the begin of the first column and prints till the last column of that particular row
    3. If there are more than say 100-200 characters of text then the Line comments will wrap to the next line
    4. Maintain the size of the frame size (or display 10 lines per page)
    I have already implemented 10 lines per page, which is not at all any issue, but in case there are line comments then it does not count that row. Also if the line comments wrap to 2 or more lines then it is still more complicated.
    Does anyone have a solution to this issue. Also, if any of you have implemented this earlier, kindly let me know if you can share the template for reference.
    Thanks and appreciate all your suggestions.

    Hi,
    Was anybody able to an answer to this issue? I have the same requirement where I have multiple subgroups under main group. To print a fixed number of lines in the template is causing an issue.
    Thanks,
    Sandeep

  • CONFIGURATION OF INVOICE PRINTING

    Hi sapgurus,
    In case of INVOICE PRINTING,I am creating a customized sapscript form according to the standard sapscript form(RVINVOICE01), and configuring it through NACE transaction, but on execution, the standard program is calling the smartform layout instead of the CUSTOMIZED SAPSCRIPT FORM. I am using ECC 6.0 Version.pls suggest.plz reply me ASAP.
    Regards
    joydeep

    Check the Programe Name and Script in NACE have you attached the Script name in that Form Position and Check the ENTRY Form Routine also what you written in the Programe .

  • Reg..selling price for same product by sea and air

    Hi
    i have a basic question pl explain me
    my client selling the product to customer two ways by sea and air.if they sell the product by sea that is one cost(say Rs 12).If they sell by sea that's is one cost (say Rs 10),for same customer, how we define in SAP.
    Are we create two customer code for same customer or any other setting is there?
    Thanks&Regards
    Selva

    Hi Selva,
          This is can be configure easily,by selecting field in you condition table (V/03),here you need to select your org elements (Ex: sales org,Disb channel,Customer ) and also shipping type (VSART), and maintain the access sequence and condition type.In VK11 maintain condition record for that and finally you need to specify the shipping type in your sales order shipping tab (Air,Sea) according to that the price will pick form record.
             You may not find VSART (Shipping type) in standard field catalog it should be add from Conditions: Allowed fields,once you add it will come to filed catalog.
    Thanks
    Ram

  • Maintain same customer number twice with different GUIDs

    Recently, R3 refreshed, but CRM not. After refresh R3 is having few customer & product numbers, which were same as earlier. That means those customers & products already exist in CRM. I run initial load for customizing & master data from R3 to CRM.
    Now, I can see existing product number can be downloaded from R3 & result is same product number present twice in CRM with different GUIDs.
    For customer, I am not able to download existing  customer number via initial load. I am getting mapping error & error description - "Customer number EKC3137 is already assigned to a business partner". Delta load also failed for same customer with error - "Business partner with GUID 15ECAD322FDA074BB8B125DEDB4194DB does not exist". I checked & found existing entry in CRM is having different GUID for this customer.
    Can anyone suggest how to download this customer with new GUID, keeping same customer with different GUID. This means expected result is same customer number maintained twice with two different GUIDs. Definitely old customer can not be updated from R3, but new one can be updated in future.
    Regards,
    Soumya

    Hi.
    Everytime you do a not simultaneous client copy you will get this inconsistencies on middleware data.
    You can correct this as described below:
    CUSTOMERS:
    Apply note 609766 in order to create a report that will correct the customers Guids on tables: R/3: CRMKUNNR  and CRM: CRMM_BUT_CUSTNO  .
    MATERIAL:
    R/3 table that contains CRM product guid: NDBSMATG16
    CRM table: COMM_PRODUCT
    SAP recomends to delete all products and replicate them again: COM_PRODUCT_DELETE_SINGLE
    Possible problem if you also have price condition tables on CRM (the product Guids will be the old ones so yoiu will have to download all pricing data again).
    CONTACT PERSONS:
    R/3: CRMPARNR
    CRM: CRMM_BUT_CONTNO
    Apply note 703322  and run report  Z_OSS_000400_2004 on R/3 and corrects the inconsistencies.
    Regards.
    Susana Messias

  • TS1368 CHARGED TWICE FOR SAME ITEM....PLEASE FIX THIS PROBLEM.

    11/23/12 order MGK8JL6NJJ  INVOICE 214042327611 CHARGED TWICE FOR SAME ITEM.. TRYED TO DOWNLOAD 3 TIMES 2 X GOT ERROR AND TOO TRY AT LATER TIME 3RD TIME WENT THROUGH RECIEVED ITEM. PLEASE FIX THIS PROBLEM. THANKS

    These are user-to-user forums, you are not talking to Apple here. You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    For future info typing all in capitals is considered shouting, and may mean that people don't reply to your posts.

Maybe you are looking for

  • TS1363 My Iphone is recognized by Windows XP, but ITunes doesn't "see" it?????

    I am in ITunes, but my IPhone is not recognized as a device.  However, WINDOWS XP does "see" it. Thus, I cannot do a backup????

  • Where is the column browser in itunes 12

    I recently upgraded to iTunes 12, and I was surprised to find that my column browser was gone. I've searched around, and I've found several articles that say I can activate it using the View > Column Browser option, but I don't have a Column Browser

  • Controlling multiple movies with one button

    Hi flash gurus, I have 4 movies of the same length running on my stage in the FLV playback component, with different instance names. I also have a single play/pause component. I want all of the movies to play together and unpause/pause when I press t

  • Failed to check for new preview build, please try again later. 0x80248014

    Hi I keep getting error such as "Failed to check for a new preview build, please try again later.0x80248014" and unable to update to a newer build version. How do I download the latest version build? Windows Updates?

  • Websites asking for sky router password

    I tried to go onto youtube but a small box appears (as another window) and asks for my SKY router username and password. I didn't enter but when I cancelled the box it came up with a pink screen with '401 Unauthorized'. Earlier today I had the same i