Invoice split based on Partner function

We have a requirement where we want the invoice to be split based on the partner function. Here are the details.
1. We bill the builder(Partner function PY) by default. Sometimes we want part of the amount to be billed to buyer(Partner function ZA). So if the the sales order has both the partner functions(PY and ZA), I would like the invoice to be split into 2 where one should go to builder(PY) and the other to buyer(ZA).
2. I tried with the split routine given in data transfer for billing documents. The routine is triggered just once(for a sales order) as it is defined at the header level hence I am unable to split the invoice for that order.
Is there any other way to split the invoice?
Thanks in advance
Vamsi

what kind of code  have u written to this ? please paste here,
Regards
peram

Similar Messages

  • How to Split 1 Order into Multiple Deliveries based on Partner Function ?

    Hello,
    How can I split one Sales Order into multiple deliveries, based on the partner function "managed by" ?
    The requirement is that one order will be created for different "managed by".
    If partner function "managed by" is same at line item level in order, than the items having same "managed by" can be combined in one delivery, else delivery will split and multiple deliveries will be created from 1 Order.
    Jatin Mistry

    Hi,
    You need to create a new requirement in tcode VOFM for that, together with your ABAP consultant. This requirement will be used in copy contol.
    http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
    MdZ

  • Avoid invoice split when header partner  is different

    Hi all,
    Here is my requirement. When I am trying to create consolidated invoice  from sales orders using VF01 due the difference in the header partner it is creating invoice split. But the requirement is if the difference partner function is ZU the split should not be created. 
    I am in very urgent need of this solution and please drop relevant and true solutions.
    I will be really greatful if anyone can provide me with a right solution.
    Thanks,
    Varun.

    Hi
    VOFM is the t.code where standard requirements and formulas are written and and available. to write our own requirement or formula ,copy the standard requirement and then write your own . but you need the access key , so take the help of basis people
    Take the help of the ABAPers to write the subroutines and other requirements
    But in your case you dont need any VOFM
    Regards
    Srinath
    Edited by: sri nath on May 1, 2008 9:09 AM

  • Direct mail campaign based on partner function

    I'm trying to create a direct mail campaign to all persons who have a certain partner function. I have succeeded in getting all the persons out by exporting them from the target group in the Segment Builder, but I would also like to have the Company name and address. How can I achieve this?
    I have based my target group on a attribute list made from the infoset CRM_MKTTG_BP_PRTFUNC_REL, and made af filter on the partner function attribute.
    Thanks in advance, Peter

    Hello Peter,
    you have to use the BADI CRM_MKTTG_SEG_MEM_EX
    There are two methods in the class:
    IF_EX_CRM_MKTTG_SEG_MEMBER_EX~SELECT_TG_MEMBER_DETAILS_REL
    IF_EX_CRM_MKTTG_SEG_MEMBER_EX~SELECT_TG_MEMBER_DETAILS
    The first one is called in case the TG has BP's with relationsships and other one is called for BP's without relationships.
    In standard implementation, the data from BUT000 and BUT020 is picked up. This imples that the personal addresses is picked up.
    Hope this helps.
    Regards
    Raja Pamireddy
    CRM Marketing Forum Moderator

  • Billing invoice split based on inbound delivery(VBRK-ZUKRI)

    Hello,
    We are trying to create an invoice(VF01) through sales order, Invoice should split based on the Inbound delivery number. Routine is triggered based on the sales order item, but there is a possibility of multiple delivery(e.g. 4 to 5) for the one sales order item, since Routine is trigger based on sales item , i am only able to split up based on the sales item
    if the 5 inbound delivery in one sales order item, System should create 5 invoices.
    Customization done based on the billing document item level.
    VTFA (OR to billing type F2) for item category TAS.
    Regards,
    Jignesh shah

    what kind of code  have u written to this ? please paste here,
    Regards
    peram

  • Discount based on partner function

    Hello,
    A customer 2000 generates an order with his normal role of Sold to Part, Ship to Part, Bill to Party & Payer. A Partner function called special stock partner is also assigned to that customer which in itself is another customer 3000. If the customer 2000 generates an order with that special stock partner 3000 an automatic discount condition called ZDI (10% discount) should come up and give the customer 2000 discount. i.e. i want to give discount to customer 2000 if customer 3000 is his special stock partner. How do i make this condition automatic via condition record.
    Regards,
    Shahzad

    Hi,
    1st - Include the field partner function (or customer number) as a ZZ field in the structures KOMG, KOMK. For example ZZTPTNR - Third partner number - CHAR10
    2nd - Create condition table with this partner function / number field ZZTPTNR
    3rd - Create/modify the access sequence to include the new table
    4th - Create/modify the condition type for the discount
    5th - Add the discount condition in your pricing procedure
    6th - Create the condition record for this discount (VK11)
    7th - Fill this field in the userexit MV45AFZZ, form  userexit_pricing_prepare_tkomk with the required partner function or customer number
    Hope this helps your request.
    Regards,
    John

  • Service ORG determination based on partner function

    Hi
    Pls let me know - How to tell from the config which partner function from a transaction say case or complaint, is being used to determine the service ORG unit at the header level of the transaction?
    Also
    Suppose I have 2 partner functions
    1. A - std partner function - rule = "User"
    2. B - custom partner function - rule = "User"
    Which one will the system use?
    Thanks

    Hi,
    You need to define Partner Determination Procedure (PDP) where u r partner function should have 004USER as access sequence, then u can use "User orgunit" rule in org detemination rule to determine service ORG unit at the header level of the transaction.
    If u have define more than one partner function as user in u r transaction system will set the same user in both place on the basis of u r PDP.
    Hope it'll help u.
    Regards,
    Dipesh.
    Edited by: DD's on Nov 11, 2008 6:27 AM

  • Invoice split based only on payer, material, invoice date

    Dear Friends,
    I have an issue which I don't know how to move further..
    Task:  avoid Invoice split during collective invoice creation in VF04. Invoice should be grouped by: payer, material, invoicing date.
    What I'm doing: clearing all fields which could cause invoice split in copy routine rv60c903 ( this one is used for this type of invoices ) in VBRK. Then changing partners - sold-to, ship-to, bill-to in enhancement., so that they are equal for all invoices with the same payer party. And also VBRK-ZUKRI is filled accordingly with the grouping parameters: VBKD-PERFK and VBRP-MATNR.
    What I can't understand: when I run SIMULATE in VF04, the invoices are grouped correctly, BUT when I run the actual Collective Billing button, for each delivery a new billing document is created.. I can't understand this!
    Thanks a lot in advance!

    Hi
    As Madhu tells you, check your settings in customizing (tcodes VTFA and VTFL). Second, take in account always the SAP Note 11162 - Invoice split criteria in billing document and related notes. Finally, set your own algorithm to rule the splitting defining ZUK structure to determine the value of VBRK-ZUKRI (remember that this field is a char 40) in your own VOFM subroutine.
    I hope this helps you
    Regards
    Eduardo

  • Debit Invoice split, based on split analysis refering to payment reference in header

    Hello Experts,
    When debit memo request process for billing through SDBILDL due list job, debit invoice split and when I check in silt analysis it is referring to payment reference for split criteria and both the invoice carries same payment terms from predecessor debit memo request.
    This is something unusal and I cheked all the split citeria stated below,
    same payer / Soldto/ foriegntrade /payment terms/ inco terms/ destination country
    Apart from the above criteria is somthing here that i am missing over here.
    Please note that in our case we did not encounter any of the split invoice at debit level.
    Your inputs is highly appreciated.
    Thanks,
    Satish.

    Hello TW thanks for the response. Please see the below screen shot, the combination criteria shows with 0011010 for both the invoices. And debitmemo request created with reference to the original invoice and the same carry to the debit memo invoice as well.

  • Invoice Split based on number of line items

    Dear all,
    We are on CRM 7.0. We are doing billing in crm for service products . We have a requirement that if the number of line items in the invoice is more than 200, invoice split should happen. Has anyone worked on this scenario and if so pl. let me know how to go about this.
    Regards
    P.Bhaskaran

    might give you better answers.
    If this applies to your processes CRM Web Channel, the work will still be in the CRM backend.
    Easwar Ram
    http://www.parxlns.com

  • Invoice split basing on the billing value

    When customer orders worth of Rs 400000 of sales order,then the system needs tol split the invoice according to maximum billing value 200000. Here system needs to spilt into two invoices worth of Rs 200000 each.
    how map this?
    reagards
    Sunil

    Well Sunil..is  this going to e thumb rule...i mean ur exampple says abt 400000 and split into 200000 (2 invoice)....every time ur sales order value cannot be 400000, it can vary from any thing 600000, 700000...then what should be split value in such case...thats question one and
    Second question is do u want split always into two invoice?
    Third u just cannot split invoice as it is...becoz that depends on quantity (i assume ur price is qty dependent)?
    First get the logic from cleint...what exactly they want...cross question them..becoz such invoice slpit cannot happen, even if u write some routine..their has be some logic
    In short how system will understand unless u tell the system.
    But from std SAP point of view i suggest for partial qty delivery invoice(i assume delivery based invoice)..i mean if ur order is of 10 qty with value 400000...then do two invoice of 5 qty..ur invoice value will be 200000 and for this u will have to set Billing Relevance of ur item category as K
    I hope this helps, if so reward or come back with any more queries
    Regards
    Jagdish

  • OSS Note on Invoice split based on Milestone

    Hi All,
    We need to split invoice based on milestones. Two different milestones should not combine in to one invoice. Is there any OSS note SAP gave on this issue? Please let us know.
    Thanks in advance for your help.
    Regards,
    Anil

    Hi,
    For this requirement you have to create a data transfer routine. You can use below logic.
    Milestone data are stored in FPLT table, thr is seprate billing plan number generated for all the line items, you can find billing plan number(FPLNR) into VBKD table with respective item number(POSNR).
    For perticular line item in FPLT table system generates unique number that is FPLT-FPLTR, based on that you can split invoice.
    This will work.
    Kaushal.

  • Need to auto populate Field based on Partner Function in UI

    Hello Experts ,
    Currently we have a requirement in Opportunity Management in UI .
    We are working on "Territory Management "  in UI .
    While creating the Opportunity in Web UI , when we put employee code the Territory ID is auto populated.
    Now we dont want to have   Territory ID filled automatically based on Employee , but we would like to have
    Territory ID autopopulated based on "Prospect" .
    Can any one let me know how we can achieve it ?
    Regards
    Milind

    Hi Milind,
    I guess the territory gets populated based on the Partner associated to the order.
    There shooukd be an attribute like TERRITORY_ID_UI or TERRITORY_ID where in the GET method the territory ID will be derived
    based on the partner relations and being populated.
    Now you need to redefine this method and remove this logic....figure which partner relation stores the prospect and put the appropriate code.
    Regards,
    Masood Imrani S.

  • User Exit to avoid invoice splitting

    Hi Experts,
    I need a user exit to change this setting on invoice splitting to omit partner function if it is different.
    Does anyone has any idea on that?
    Thanks in advance.
    Best regards,
    Chris Gu

    Hi,
    Check SAP Note 11162 - Invoice split criteria in billing document, it tells you all reasons that happens in invoice splitting.
    I hope this helps you
    Regards
    Eduardo

  • Restrict Contact Person replication from CRM to ECC based on Partner Funct

    Hi Experts
    We are replicating Contacts from CRM to ECC, by assigning them to Accounts. We have a scenario to restrict Contact Person replication to ECC only for specific Partner functions (we have 5 such partner functions), for remaining partner functions the contact Persons should not be replicated to ECC.
    By Partner function I mean, while making this assignment of Contact to an Account in u201Ccontact Person Relationships datau201D under u201CPartner Function Assignment blocku201D (in web UI) we are adding a Partner function E.g. Author, (same can be seen in GUI, under Usage tab of CP Relationship data).
    However we were able to replicate contacts assigned to accounts to ECC in our 5 partner functions, but even the unwanted contacts assigned to other partner functions in CRM are also getting replicated
    How can I restrict CP replication from CRM to ECC based on Partner Functions assigned to the Contact Person
    Your help is highly appriciated.
    Points guaranteed.
    Regards

    Issue resolved using CRMC_BUT_CALL_FU.
    Posing the table name, just in case it might help others.
    Thanks

Maybe you are looking for

  • Error message after successful manual data load

    On our Stautory App, we have renamed our Accounts Dim to StatAccounts. On data send I get an error message after data is submitted successfully: Application     :       STATUTORYCONSOL        Status  :       Success        Submitted Count :       1  

  • RMAN-05517:  cloning a database issue

    hi, I am using oracle 10.2.0 on windows xp and try cloning database using RMAN duplicate command on the same system. my original database is orcl and i am cloning it to clone(database name). and got the error RMAN> run 2> { 3> allocate auxiliary chan

  • Technology and training suggestions for data gathering app

    Can anyone suggest some technologies and/or support to get us started on a mid-sized handheld effort? Specifically, we're starting a project to build a handheld (WinCE-based) app which will allow users to fill out a short form and gather a GPS readin

  • NoClassDefFoundError while executing Jsp's

    I am using Apache -1.3.2 with Tomcat 3.2.3 on Windows 2000 to service Jsp's. While executing Jsp's that User request or response objects, I get the following error. NoClassDefFoundError: javax/servlet/ServletRequest. From the Jsp's , I am passing the

  • Flash fails to play videos with hangul (korean) strings.

    GOMTV just started the first StarCraft 2 GSL, and I've been watching VODs as I'm in North America and don't want to stay up until 7am every night. Thankfully GOM is giving away VODs, all you have to do is register at gomtv.net. The issue is that some