One billing Docu two payers

Dear All,
  I have scenario where for one billing document payers are two,Let me elobrate more
In our scenario on be half od every sale farmer is the customer but government give subsidy for the sale ,so on every sale 70% of payment will be done by Government and 30% of payment will be done by Farmer .
  So please suggest me how to map this in SAP.
  Thanks&regards.

Check if possible:
If the quantity is say 1, is it possible to have 2 line item with quantity 0.7 and 0.3.
or
Check and work with FI Consultant regarding splitting the payer through development of a routine which will split the payer at the Accounting entry level and the 2 payer need to be maintained, one as payer and second as a copy of payer with a separate naming convention. proper logic will have to be framed for the same.
Development will certainly be challenging.
Regards,
Rajesh Banka

Similar Messages

  • Two FI documents for one billing document.

    Hi,
       This problem occurs rarely. We do VF04 and generate billing documents. Some billing documents thus generated were not found as actual billing documents by looking at VF03 but are posted in FI in the corresponding company code. When we see these documents in FB03, the header of the document indicates that they came from billing and are not manually posted in FI, thus indicating that billing ran, the FI document was processed, but the billing for some reason failed to be saved in SD. For each of these FI document which do not have a corresponding billing document in FI, there is one more billing document which is existing with the same billing amount and references the same details. It has a corresponding FI document too. So, the crux of the issue is there one only one billing document and two FI documents.
    SAP service has given an OSS note 92592 to find out all the orphaned FI documents and then a way to reverse these documents. This is sort of a workaround. But the root cause for this issue is not found. The note also says the following..
    "In one of the function modules called by FI/CO interface, a 'commit work' is performed.
    A 'commit work' can, for example, be triggered in a Native SQL or result from an RFC.
    A commit work is not allowed here.
    The commit work should not be performed until the billing document is transferred to the update program."
    I have gone through most of the custom codes written by us in the SD billing and FI accounting areas. None of the custom codes use 'commit work' staements. Since this issue doesn't happen frequently, we understood that this is due to a 'commit work' problem in the database but are unable to nail down on the exact piece of code.
    Any suggestions/ideas or experiences of similar instances, please share.
    Regards,
    - Raja.

    Hi Raja!
    Explicit commit work wasn't very likely (but of course you never know). Now you should extend your search for the implicit commit works -> database commit.
    "Database commits are triggered either implicitly or explicitly in an SAP system.
    <b>Implicit Database Commits</b>
    The implicit database commits in an SAP system are caused by the fact that the SAP system is logged on to the database system via its work processes . A work process can only ever execute a single database LUW but cannot interfere with the database LUWs belonging to other work processes. Since an ABAP program can be executed by different work processes during its runtime, the database LUW for the current work process must be completed each time an action takes place that leads to a change of work process. As a result, a database commit is performed implicitly in the following situation:
    Completion of a dialog step
    The program waits for a user action and does not occupy a work process during this time. The next free work process is assigned to the program in the next dialog step.
    Calling a function module in a synchronous or asynchronous Remote Function Call
    The current work process hands over control to a different work process or system.
    Completion of a function module accessed with a synchronous Remote Function Call in a separate work process
    The calling program is assigned a new work process.
    Execution of a RECEIVE statement in a callback routine specified in an asynchronous RFC
    The current work process is interrupted so that the data can be received from the other application server.
    Interruption of the current work process with a WAIT statement.
    After interruption, the program is assigned the next free work process.
    Sending error and information messages and warnings.
    These messages interrupt the current dialog step (see above).
    <b>Explicit Database Commits</b>
    Database commits can be triggered explicitly in ABAP programs in the following ways:
    Use of the corresponding database-specific native sql statement.
    Calling the function module DB_COMMIT.
    This function module, which has no parameters, encapsulates the corresponding native sql statement.
    Executing the open sql statement COMMIT WORK."
    Maybe there is somewhere a wait or sometimes a RFC is called - that are the most likely implicit commits.
    Also calls of standard FMs can contain dangerous coding - include calling of 'bigger' standard functions into your search (not something like 'MARA_SINGLE_READ', but all BAPI).
    Regards,
    Christian

  • Combining two sales documents  into one billing document

    Hi Friends,
    I need to combine two sales document into one billing document. Header data is same in both sales document.
    I have set factory calendar in the payer master.
    Tried for data transfer rotine at copy control of item level. But was not sure which routine to be set.
    Please let me know, what all settings are required to create one combine billing document.
    Regards
    Suman

    Hi,
    Is it delivery based billing or order based billing?
    2 orders / 2 deliveries and 1 invoice.
    For the above situation you need to write a routine which eliminates document number difference for Reference and Allocation.
    If you do not have different customer purchase orders for these two sales orders and in your copy control from delivery to billing your assignment and reference numbers are blank then system will club these deliveries and create one sales order.
    Else you need to eliminate these by writing a copy control routine and assign it at the header level.
    Hope this helps.  Pl. revert in case of further clarifications.
    Thanks
    Krishna.

  • Cancel one billing document through VF11

    Hi Gurus,
    My client does not want to cancel more than one billing document at the same  time. Can I know which user exit can be used to restrict to cancell one billing billing document through VF11.
    Regards,
    Rakesh

    User Exits For Billing
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy).
    USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    USEREXIT_RELI_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAP_AVBPAK
    User exits for program SAPLV60B (Interface to accounting):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    EXIT_SAPLV60B_002: Change the customer line (accit and accccr)
    EXIT_SAPLV60B_003: Change the customer line in costing
    EXIT_SAPLV60B_004: Change a GL account item (accit and acccr)
    EXIT_SAPLV60B_005: User exit for accruals
    EXIT_SAPLV60B_006: Change the control line (accit and acccr)
    EXIT_SAPLV60B_007: Change the installment plan
    EXIT_SAPLV60B_008: Change the transfer structure acccr, accit and acchd
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    Regards,
    Raj

  • One billing document for multiple deliveries which are for different PO

    Hi All,
    I have a scenario where i need to create one billing document for multiple deliveries.
    Payer is same
    Ship-to is same
    PGI date different
    Sales area is one
    PO different
    In standard SAP it will create seperate billing document for different PO
    Please advice if there is a different copy routine which will combine all the POs in one billing document.

    Hi Mr. Bhat,
    Go to VTFL --> Select the combination of your delivery type and billing type --> Double click at Item(Left side) --> Select your item category --> Click at details
    In the feild "Data VBRK/VBRP" --> I think the routine assigned is 601 (Inv.split - PO Num.) --> Now change it to 3 (Single invoice)
    Then try your process, Hope it helps.
    Regards,
    MT

  • One Billing document for multiple Dilevery Documents

    Dear All,
             I m trying to generate one billing documents for multiple dilveries documents with Tcode : VF04. But it is generating billing documents for all the delivery documents.  M i missing any configuration or some thing like that.
    Suggestions?
    Regards,
    Vikas

    Hi Vikas,
    after you created the billing document there is one menu option protocol. If have it not 100% in mind and i am note able to test it for the moment.
    T

  • One billing document for many deliveries

    We want to be able to create one billing document with detailed line items of many deliveries. It will be based on the PO. Does anyone know of a way to do this?

    Hi Dave,
    You have the option of using customer-specific data transport routines in the copying control of the relevant document types which initialize the corresponding fields. However, the information contained in these fields is then lost in the billing document.
    This can be done with t-code VOFM.
    You can copy the existing one and make change.
    Below is a sample.
    FORM DATEN_KOPIEREN_6XX.
      VBRK-BZIRK = SPACE.      
      VBRK-KDGRP = SPACE.                    
      VBRK-KONDA = SPACE.                    
    ENDFORM.
    Hope this helps you.
    Regards
    Jean
    Please reward points if it is helpful for you.

  • Order related item and delivery related item in one billing document

    Hi Experts,
    how can we include order related item and delivery related item in one billing document .
    Please give me the configuration logic .

    Hello,
    1)Reference Document Number VBRK-XBLNR.
    In transaction VTFA and VTFL at header level setup the field 'Reference number' so that it is the same (example 'E')
    2) Payment Reference VBRK-KIDNO
    It should be a consequence of the split, and not a cause. So you can ignore it
    3) Billing date for billing index VBRK-FKDAT
    In sales order and delivery you should set the same billing date. Alternatively, the the first screen of VF01 please set a Defailt billing date
    4) Customer purchase order number VBRK-BSTNK_VF
    It is necessary that sales order to be billed and sales order referenced to delivery to be billed have the same purchase order number. There is not other way.
    5) Assignment number VBRK-ZUONR
    In transaction VTFA and VTFL at header level setup the field 'Assignment number' so that it is the same (example 'E')
    6) Translation Date
    Same solution of point 3.
    Best regards,
    Ivano.

  • Taking ref. more than one billing documents during creating sales order

    Hi everybody,
    During creating sales order with reference, how can i take reference more than one billing documents?
    Thanks.
    Best regards.
    Kaan Özdöker
    Astron

    Hi all,
    Thanks for the helpful answers. I realized after your answers, my question was misunderstood.
    Ok, i can refer to billing documents one by one in the sales order creating screen i know, but i want to refer to many billing documents at once.
    In this mean, Srinath'a answer was very helpful. As i thought there is no other way except user-exit modification or new routine.
    Thank you all.
    Best regards.
    Kaan Ozdoker
    Astron

  • Multiple Deliveries into one Billing document

    Hi Gurus,
    Can any of you provide me the process how to combine multiple delivery documents into one Billing document.
    .Thanks
    Yuvraj.V

    Hi
    Payer
    Payment terms
    Billing date or billing due date
    Destination country
    Billing doc type
    Incoterms
    Actual GI date
    Foreign data trade
    If these are same in all delivery documents they can be combined into single billing
    This is controlled in copy controls in VTFL choose del type and billing type and your item category
    In that VBRK/VBRP if you choose 001 combined billing will happen
    In VF04 you can do the billing or in VF01 you have to input all the delivery nos manually and do the combined billing
    The same qn was posted by you on NOV 21st with so many replies?
    Why are you posting again and again?
    Pls close the thread whereever possible
    Regards
    Raja
    Edited by: ramanathan raja on Dec 14, 2008 5:00 PM

  • How to find IDOC no with reference to one billing document no

    Dear all,
    Can you please tell :
    How to find IDOC no with reference to one billing document no
    Thanks

    Hi Pavan,
    You are absolutely correct.  But what i need to know is sometime , even in the sales order there will be no output type (basically inbound) which can be found as suggested by Sunil - I think that is the most relevant way to find the IDOC no. Hope you will agree with me. Again how to activate by IAN is also guides the idea. Only thing we need to know the exact parameter to be maintained in own data.
    Thanks for your one of the valid suggestion.
    Regards,
    Ranjan

  • One billing Doc, Two accounting documents

    HI, all,
    I just found a billing document associated with 2 idential accounting document(different creation time, 10s minutes apart), our users has no idea how it happened, could any one help why and how to avoid this problem? our vension is ECC6 EHP4.
    Thank you!

    Hi,
    Just try to run the SDFI_CONSISTENCY_CHECK report and analyze what could be cause for such a system behaviour.
    A comparison program between Billing and Accounting for the Audit Informatio System (AIS).
    You need to have the following authorization role SAP_AUDITOR_BA_SD to the user id to execute the same.
    For each billing document and account, the program maps the differences between the billing document values and the accounting amounts. For each account, it maps the total of all billing document values and the total of all accounting amounts. You can use the differences to find billing documents where incorrect accounting amounts were posted. You can use totalling to check accounts to which incorrect amounts have been posted. The system takes the amounts into consideration for the differences and also for the totals in the document currency.
    The user is responsible for the evaluation. To enable you to quickly find inconsistencies, the program offers you the option of displaying only billing documents that contain differences. As an additional aid, you can go directly to the billing document, and from there display the accounting documents. You cannot make changes to documents. Various filter functions and sort options make the evaulation easier.
    Execution Help:
    a) Selection
    The selection screen enables you to select billing documents by document number, billing date, company code, and posting period with fiscal year.
    The checkbox 'Only Documents with Differences' specifies whether the system also includes documents without errors in the results list.
    The system does not check all entered billing documents, or billing documents determined using other selection fields. The program extracts from the selection only billing documents with 'Accounting document created' as the status for transmission to accounting. For technical reasons, down payment requests are ignored.
    Some reasons for the cause:
    If the system cache not being cleared during scheduled batch process. For this the basis and technical team can help you to sort it out
    Another case may be whether the accounting document is creating based on number of products.Our system has the
    configuration to split FI accounting by product wise.Check the transaction OBCY.
    Regards,
    Saju.S

  • One Billing Document with Delivery- and Order-Related billing items

    We wish to include both delivery-related and order-related billing items in a single billing document. Is that possible using configuraiton? We have seen some forums indicate it is not possible without ABAP.
    Thanks SAP gurus!

    Bradley,
    I still think this is possible.
    Delivery related billing or order related billing is decided by the configuration of billing relevance in the Item category. So if those things are properly configured, it should be possible to include delivery related items and order related items together in one invoice document.
    When you do that, you have to ensure that the item categories are relevant for either delivery related billing or order related billing.
    Then in copy control, only order related I.Cs shoudl be configured in VTFA and only delivery related I.Cs should be configured in VTFL. There should not be any mix up in this configuration. If there is any mix up, then it may cause problems.
    If these two configurations are done, it is possible. You may also note that in VF01, it asks only for documents, not specifically deliveries or orders. So it is possible in standard SAP itself. Please configure it and try it.

  • Export deliveries not being combined to one Billing document

    Hi SAP Gurus,
    In case of Export Orders ,I am unable to combine deliveries into a billing document .
    I did a split analysis on the two invoices being generated and it is telling me:
    Split due to different header data
    Fld Name 0090032994 0090032995
    Number of foreign trade data i 0000070625 0000070626 different.
    My copy control settings are as follows:
    - in VTFL, for my delivery type and billing type, "Determine export data"= blank
    - in VTFL, after selecting  item category, the field "Data: VBRK/VBRP=  003
    Please help me by providing the correct configurations to combine my deliveries into a single invoice.
    Regards,
    Smitha

    Hi Jonathan,
    I tried with B, but it is still not working.
    I have already send the details of my copy control settings.
    Please let me know if they are correct.
    Regards,
    Smitha

  • Can i take the printout for more than one billing document in SD at a time

    HI ALL,
    The issue is '' i want to take the print out for more than one SD - billing document at a time.
    is there any config settings to be done.
    please guide me if u have the solution ASAP.
    Regards,
    SOMU.

    Yes, it is possible. However you may have to enable a field NAST-ANZAL. This field is available in VV31 when you are maintaining the output records. The field Number of Messages can be filled with the numberof copies youwant.
    However, I think you have to read this in your custom program to trigger n number of copies. If that is done, you can take the printouts as many times as you want in a single trigger.
    The code approx looks like this
    IF nast-anzal EQ 0.
        nast_anzal = 1.
      ELSE.
        nast_anzal = nast-anzal.
      ENDIF.
      nast-anzal = 1.
      nast-dsnam = nast-kschl.
      nast-dsuf2 = vbdkr-vbeln.
      DO nast_anzal TIMES
    If you show this field and talk to your developer, he should be able to help you.
    Hope this helps.

Maybe you are looking for

  • Call voice quality

    Good Morning, I have just bought Iphone 5s, and some times when I call the reciever complain of sound quality, low and shallow, also my screen blinks for few times. i had same problem with iphone 4 s. althoiugh I am hearing other parties very clear.

  • Macbook Pro i7 running slow

    I just picked up a new Macbook Pro i7 Mid-2012 w/ 8GB of RAM.  I am running VMWare Windows 8 (or Windows 7), Apple Mail, LibreOffice, Text Edit, Safari and Firefox.  According to MemoryClean, and I have 3.17GB of RAM free.  Checked with Disk Unility,

  • Performance of Network Monitoring in SCOM 2012 SP1

    Hi all! I´ve problems with performance of the network monitoring feature in SCOM 2012 SP1. According to the guide the following should be adeqate: •1000 network devices (approximately 12,500 monitored ports) managed by a resource pool that has three

  • My iMac beeps and freezes

    I will be using it and it randomly will stop and freeze than beep three times the only way to stop it is a hard boot up unplugging it only works I had upgraded the ram to the max that a 27 inch 2011 model will take I believe 16 gb

  • How to load data from Quikbooks into PeopleSoft General Ledger module ?

    Folks, Hello. My client's data is currently stored in Quikbooks. After install PeopleSoft FSCM 9.0, I need to load the data from Quickbooks into PeopleSoft General Ledger module. But I don't know how to use PeopleSoft Integration Broker to integrate