Invoice split:  MY REQ IS I HAVE TO SPLIT INVOICE IF SHIP TO PARTY DIFFEREN

Dear All
My requirement is I have to combine different deliveries (and delivery can be created with reference of different sales order ) in one invoice, combination criteria ,ship to party, bill to party ,payment term ,incoterm should be the same ,Bold  marked condition is full feel by Routine 7 But ship to party is not full feel.
If different ship to party are there then invoice should be split and different invoice will create according to different ship to party. If same ship to party then one invoice.
  Please go in Tcode:    VOFM-  DATA TRANSFER - BILLING DOCUMENT
Check  routine : 7   Inv.Split (Rec/Div)
Check the code which is given by SAP :
    DATA: BEGIN OF ZUK,
           MODUL(3) VALUE '001',
           VTWEG LIKE VBAK-VTWEG,
           SPART LIKE VBAK-SPART,
           ABTNR LIKE LIPS-ABTNR,
           EMPST LIKE LIPS-EMPST,
         END OF ZUK.
   ZUK-SPART = VBAK-SPART.
   ZUK-VTWEG = VBAK-VTWEG.
   ZUK-ABTNR = LIPS-ABTNR.
   ZUK-EMPST = LIPS-EMPST.
   VBRK-ZUKRI = ZUK.
ENDFORM.
Now I am modifying this code:
  DATA: BEGIN OF ZUK,
           MODUL(3) VALUE '001',
           VTWEG LIKE VBAK-VTWEG,
           SPART LIKE VBAK-SPART,
           ABTNR LIKE LIPS-ABTNR,
           EMPST LIKE LIPS-EMPST,
           KUNNR LIKE LIKP-KUNNR             ( This KUNNR (ship to party) is from LIKP table  ,with the help of this code I think ,in the creation of invoice (VF01 Tcode) ,it will check ship to party and if he found different ship to party then invoice will split. Please help me on this)
         END OF ZUK.
   ZUK-SPART = VBAK-SPART.
   ZUK-VTWEG = VBAK-VTWEG.
   ZUK-ABTNR = LIPS-ABTNR.
   ZUK-EMPST = LIPS-EMPST.
   ZUK-KUNNR = LIKP-KUNNR
   VBRK-ZUKRI = ZUK.
ENDFORM.
Can anybody tell me this will help me  to split invoice .
Or I have to use USER EXIT ? and how
Thanks and Regards
Bhushan Kolte

Yes your code will help in splitting the invoice. Actually the value mentioned in VBRK-ZUKRI will be used for splitting of invoice.
You dont need to go for user exits.
Hope this helps. Reward points if helpful.
Thanks
Balaji

Similar Messages

  • How can i have customer balance report at Ship to Party Level

    HI All
    My client want to have a report for  customer balances  at ship to party level
    For example for a customer ABC has 4 ship to party and they want to track Sales at each ship to party level for Customer ABC
    Regards
    Sandip

    Thanks Buddi,
    Partner function SB works the way we wanted it to.
    Regards

  • Change of Ship to Party on sales order after invoice

    Hi all,
    I have created a sales order, created a despatch advice and then created an invoice. After that i opened sales order and changed ship to party there. System is allowing me to change ship to party on sales order after invoice. I want that system should not let me change ship to party on sales order after invoice.
    How can i do that as this is an audit issue as we have different prices for different ship to parties.
    Please respond.
    Best Regards,
    AI.

    Hi
    You have two options
    1. create a transaction variant in T.code SHD0 for VA02 and make the field as display in the variant. But remember that you will not be able to use standard T.code VA02 after this, you need to make and use a "Z" t.code like ZA02
    2. Take the help of your ABAPER and ask him to find a screen exit in the sales order PBO module, where he will be able to grey out the ship to party field.
    Hope this helps
    Chandra Kiran

  • Need to not have a split by business area at vendor payment step (F110)

    Hello,
    Under my case :
    I have several invoices for one vendor. Each invoice has a business area.
    Invoice 1 - BA = 001 - 1000
    Invoice 2 - BA = 001 -   500
    Invoice 3 - BA = 002 - 1000
    Now the point is that when I run the F110 for this vendor, the system group all invoices by BA and for the payment posting I have :
    Debit vendor - BA = 001 - 1500
    Debit vendor - BA = 002 - 1000
    Credit bank                     2500
    How to do to not have the split by BA and to have a global posting
    Debit vendor - 2500
    Credit bank  - 2500
    Thanks

    Bonjour,
    Je suppose vu votre prénom que vous parlez français lol bien que l'anglais ne me pose pas de problème.
    En fait, il s'agit de plusieurs factures (avec différentes business area) pour un même fournisseur.
    Au moment de la F110, le système comptabilise le paiement via une seule pièce mais avec plusieurs postes (un par business area) et la contrepartie le compte banque.
    La case n'est pas cochée pour le champ T001-XGSBE donc je ne pense pqs que le problème provienne de là.
    Cdlt

  • DMEE tree: to split the details to 2 type; payment and invoices

    my client requests to have new set of payment format. the header footer stil same, but on the details, they request to split to 2 type; P-payment and I-invoice. the flow will be like below:
    H,P
    P,ACH,ON,,,, MY,KUL,312148938785,25/01/2006,XXXXXX BERHAD ,MENARA XXXX,84 JALAN RAJA CHULAN,50200 KUALA LUMPUR,,ABNAMYKLXXX,, ,,732837238,,,,,,,,,,,,,,,,,4,MYR,201000,C,,,,,,,,,S, , ,MENARA ING,84 JALAN RAJA CHULAN,50200 KUALA LUMPUR,,,Please call XXXXX Supplier Helpdesk at +603 21653215 for payment inquiry,,,,,
    I,N8788,01/12/2005,N8788,1000
    I,XXX,01/12/2005,XXX,200000
    P,ACH,ON,,,, MY,KUL,312148938785,25/01/2006,XXXXXX SDN BHD ,NO 6C TINGKAT 3 JLN MAMANDA 7,TMN DATO AHMAD RAZALI,68000 AMPANG SELANGOR,,CITIMYKLXXX,, ,,8734736712,,,,,,,,,,,,,,,,,4,MYR,36000,C,,,,,,,,,S, , ,NO 6C TINGKAT 3 JLN MAMANDA 7,TMN DATO AHMAD RAZALI,68000 AMPANG SELANGOR,,,Please call XXXXX Supplier Helpdesk at +603 21653215 for payment inquiry,,,,,
    I,TTTTT,01/12/2005,TTTTT,30000
    I,11111,01/12/2005,11111,2000
    I,09872,01/12/2005,09872,4000
    T,2,237000
    normally, for invoices i just combine into 1 line and concatenate with the payment record. which means, the detail will have 1 type only; P-payment. but now the new request is to split it to few lines.
    appreciate somebody who has experience on this to give idea/suggestion. Or maybe if you think got forum on this topic, then please forward me the linkage.
    thanks a lot

    Could you tell us how you solved this issue?

  • I have purchased a ringtone in the iTunes Store for my iPad, and I cannot find the download together with my music. I have received the invoice but I have no product. I am working with iOS6, if that helps. Can anybody help me?

    I have purchased a ringtone in the iTunes Store for my iPad, and I cannot find the download together with my music. I have received the invoice but I have no product. I am working with iOS6, if that helps. Can anybody help me?

    I am confused. Do you mean you found the music, not the tones, or you can't find either?
    If the former, then this is normal. You can't redownload tones from the Cloud.

  • I purchased a magazine using the Zinio app which I'd recently downloaded on to a recently purchased iPad. I received an error message at the time (can't recall the details) but have since been invoiced for the $8.99. How can I get the Magazine I purchased

    I purchased a magazine using the Zinio app which I'd recently downloaded on to a recently purchased iPad. I received an error message at the time (can't recall the details) but have since been invoiced for the $8.99. How can I get the Magazine I purchased?

    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • HT2693 I need to report a problem with a tv show that did not download correctly. 1episode file can't be found & the other has sound & no picture. I no longer have the email invoice to file a report. Does anyone have a sugguestion on how I can proceed?

    If anyone has information on how to correct an issue with a tv show file not found after being downloaded and a tv show with only sound please help. I no longer have an email invoice to report the problem. Does anyone have a sugguestion on how to proceed?

    iTunes store support
    http://www.apple.com/support/itunes/

  • Posting invoices in F-43 where items have different VAT codes

    Hi,
    I am not sure whether I am in the correct forum so just boot me into the correct one if I guessed incorrectly.
    I have to start by saying I have almost no FI knowledge and it seems no-one in the business has enough FI applications knowledge. I am thus flying blind.
    So while the company I am used to working in has MM integration which makes things a lot easier, they set up a sister company where they only want FI.
    The sister company is located in UK and I set up tax codes for them
    0%, 17.5% and the other 0%.
    Our finance team advised them to use f-43 to enter the invoices, attach the vat code and away they go.
    The problem comes when some items on the actual invoice has 17.5% and some have 0%. This means the vat % on the total varies.
    They are requesting the ability to override the % or the vat value, but still have the invoice recorded with a VAT code so that they can run VAT reports.
    I am sure that there must be SAP standard ways to solve this, but I don't know yet where to look and I don't have enough time to really start from scratch.
    Any help will be useful.

    Hi Charl,
    What ever you  are asking is against the procedure.... System has to calculate the VAT amount based on the stated percentage....
    So you can not chagne the VAT % or VAT value while posting the transaction.... But what you can do is to change the Tax base amount....
    When you are posting the invoice, system automatically takes the invoice value as bais for tax calculation, but one can change the Tax base value. So if user changed that value, system calculates the VAT amout on the modified base....
    In this way you can change the VAT amount....
    Thanks  & Regards
    Ravi C

  • Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO

    Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO#, Date, ect.)

    When you say field, do you mean specifically a form field, such as a text field? Or is the information regular text on the page?

  • Show The Word Original or Duplicated When Xml Have lots of Invoices

    Hy! i have a template of a invoice with have multiple invoices and i print all the original and duplicated invoice sucessefull. If i have a xml with 4 invoices it prints me 8 invoices! Now i have one issue that i cant solve! in the headers i want to print original or duplicated!
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,2,1)?> this allow to print the original and duplicated invoices
    <?xdoxslt:set_variable($_XDOCTX,DUPE,position())?> this is a variable to control the position of the for each to know if writes "original" or "duplicate"
    <?choose:?><?when:xdoxslt:get_variable($_XDOCTX,DUPE)=1?>ORIGINAL<?end when?>
    <?otherwise:?>DUPLICADO<?end otherwise?><?end choose?>
    <?for-each@section:/R55AVPAG/View_F0413___F0414_S1_Group/On_Address_Number_S3/On_Payment_Item_Number_S4?> this allows if xml contains more than one invoice to show all
    <?for-each:View_F0413___F0414_S1?> this is for each for the lines
    <?choose:?><?when:xdoxslt:get_variable($_XDOCTX,DUPE)=1?>ORIGINAL<?end when?>
    <?otherwise:?>DUPLICADO<?end otherwise?><?end choose?>
    this piece of code works if the xml only have one invoice. it prints the "original and "duplicate" correctly. my problem is when i have one more than one invoice! in the first page of the first invoice i have "original" and in other all invoices i have "duplicate" word. And what i want is "original" "duplicated", "original" "duplicated". My problem is the Variable DUPE! i thought that this variable value was 1 efor each iteration of this <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,2,1)?> , but not. This variable is iterating for each invoice. Exist Any way to reset this variable when one invoice finish? what i want is: I print first invoice "original" , than first invoice "duplicated". When the program start's to print the second invoice this variable backs to position1.
    any help? Thanks

    This can happen if you drag a tab slightly down in the browser window while clicking.
    Firefox has a feature called tear-off tabs
    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.
    You can also do this via the right-click context menu of a tab: Move to New Window
    You can drag that tab back to the tab bar in the original window to undo that detaching.
    * https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t

  • I have a split screen what I need to do?

    I have a split screen what I need to do?

    What do you mean a split screen? You see two images? Or do you mean a cracked or broken screen?

  • HT201359 Dear Sir / Madam I purchased app invoice to go yesterday evening and have been charged twice, could you please send me a refund.

    Dear Sir / Madam,
    I purchased the app Invoice to go yesterday evening and have been charged twice both £17.49 could you please refund my account.

    You are not speaking with Apple here, this is a user-to-user forum. Go to http://expresslane.apple.com

  • What type of add on can I download that will allow meto change the view of my emails in gmail? I would like to have them split view like outlook

    What type of add on can I download that will allow meto change the view of my emails in gmail? I would like to have them split view like outlook

    Dear Sara,
    I notice that you didn't reply to my questioning the this ambiguous stipulation of your services being extended to Adobe's rights in the use of my personal content or intellectual and creative property.
    When I returned to my "files" section in Adobe Reader where they were transferred to in converting them to PDF they had all been removed. Around 6 projects in progress plus notes and several creative design images in one instance (attached to a writing project). I have access to the files and I am downloading Cloud desktop interface.
    Does the interface of Reader in desktop automatically remove them from my online account, making them exclusively offline from here on OR must they be physically removed and so have they been removed by another party?
    Finally, since they are made copyright in the conversion, must future files be made uploaded to signify and account for them as made copyright by the process record in my personal account?
    Excuse my asking lots of questions. My work has been tampered with in the past and I am excited about this service I can avail of in protecting all of my work.
    Yours Sincerely,Liam Anthony Dalton BA, FA

  • I am using  MacBook Pro and running 10.8.4. iTunes version 11.0.4. Several of the cd's i have imported recently have been split into multiple albums by ITunes. How do I bring all the bonus tracks together with the original album?

    I am using a MacBook Pro and running 10.8.4. iTunes version 11.0.4. Several of the cd's i have imported recently have been split into multiple albums by iTunes where it has identified bonus tracks. How do I bring all the bonus tracks together with the original album?

    Hello there, Fineshot.
    The following Knowledge Base article might provide some information that should help you resolve the issue you're having:
    Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/TS1468
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

Maybe you are looking for

  • Can't get personal email set up...never had this problem on BB before.

    Hi, I have a new personal email address @zenbe.com that I desperately want to add to the email accounts on my bb. For some reason, though, this one is proving especially difficult. Each time I try the setup and it fails, I get an email to the account

  • Can Preview be made to offer a Presenter Display much as Keynote?

    When in "play" mode, Keynote offers a highly valued feature known as +Presenter Display+ that shows the current plus the next presentation slide on the computer screen side by side while, at the same time, driving a beamer connected to the display po

  • Attachment in mail from Application

    Hi all,     i want to send some result to higher persons as mail from my program.the result should be send as Excel Attachement. Is it posssible to do.If so kindly givme your suggestion..

  • -DO_WHILE_VARY_NOT_IN_RANGE - When using while endwhile

    Hi all , ex : I need to print values 23 24 25 26  preferably integers using while and endwhile looping. when we use do enddo condition the loop iterates 22 times to reach the processing logic . Using while endwhile we reach the condition 23 in the lo

  • SIP Options Ping

    Cisco CME to Cisco UBE Options ping no-worky.... Did anyone get SIP options pings working on a pure Cisco router (UBE to UBE and UBE to CME) environment? I have a pure Cisco 15.1 network that we are playing with option pings on. I see pings go out an