G/L account should be determined based  on billing date .

I have a requirement where in for a certain condtion type the account determination should be dependant on billing date . If the billing date is before a specified date, the condition type shoud hit a specific account and if the billing date falls after the specified date, it should hit a different account. How can this be acheived ? Do we have a user exit for this requirement ?
For you info, the condition type is an accrual conditon type ..
Regards
Mahesh..

Hi Mahesh,
The fallowing User Exits available for Release to accounting please go through these it may help you.
The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
EXIT_SAPLV60B_001: Change the header data in the structure acchd
You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
EXIT_SAPLV60B_002: Change the customer line ACCIT
You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
EXIT_SAPLV60B_003: Change the customer line in costing
The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
EXIT_SAPLV60B_005: User exit for accruals
Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
EXIT_SAPLV60B_006: Change the control line ACCIT
You can use exit 006 to add information to the control line.
EXIT_SAPLV60B_007: Change the installment plan
You can use exit 007 to add information to the installment plan
parameters in the GL account item.
EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
After the accounting document is filled in with data, you can use exit 008 to change the document once again.
EXIT_SAPLV60B_010: Item table for customer lines
You can use exit 10 to influence the contents of customer lines before they are created.
EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
You can use this exit to change inbound parameters in order to influence account determination.
I hope it will help you,
Regards,
Murali.

Similar Messages

  • Rate of exchange should be redetermined at the billing date

    Dear sap gurus,
    client requirement is to ROE should be redetermined at the billing date.
    copy control settings if we maintain c in vtfl at item level, will it solve my purpose.
    i am wonder as of now how this ROE is determined by the system.
    pls explain me the basic of how ROE is determined.
    regards
    phani

    Dear Phani,
    Wellcome back...
    I guess my reply to your post on 12.10.2009 explains the your current issue.
    Anyways, the Exchange Rate determined based on the following:
    1. Manual Entry (in Sales Order - exchange Rate feild. (This Manual entry has a priority over all others)
    2. If the Exchange Rate feild is blank then system takes Pricing Date as the base & looks for the exchange rate in OB08 for that date.
    Here (for point no. 2 you have following options in Item Level Copy controls:
    Pricing Exhange Rate Type (V_TVCPFLP-PFKUR)
    A Copy from sales order
    B Price exchange rate = Accouting rate
    C Exchange rate determination according to billing date
    D Exchange rate determination according to pricing date
    E Exchange rate determination according to current date
    F Exch.rate determination accord.to date of services rendered
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • How to Group Invoce Qualtity in SD by Month based on Billing Date

    Hi,
    I have Invoice quantity in a cube whcih I want to group monthwise.
    For example :
    Material            Billing Date        Invoiced Quantity
    Material 1        Jan-15,2007         100
    Material 1        Jan-20,2007           50
    Material 1        Jan 23,2007           10
    Material 2        Jan 14,2007           70
    Material 2         Jan 10, 2007         10
    In the Report, I want to show it as
    Material 1         Jan-2007             160
    Material 2         Jan-2007               80
    How do I do this. How can I group the Material like this in the report.
    Any suggestions are really appreciated.
    Thanks

    Arvind,
    Hopefully i understood your requirement correctly.
    What you need to do is to add the infoobject 0calmonth to your Infoprovider, and write the update rules to transform your date to 0calmonth.
    Then change your query to display material and 0calmonth in the rows, and the trick will be done.
    Hope it helps,
    Gili

  • Tax Determination Bases on Bill to Party and Ship to Party

    Hi Guru ,
    I have a requirement Tax should be determined based on Bill to Party and Ship to Party.
    If Bill to and Ship to are  Overseas Customers then '0' TAX.
    For all remaining Customers 7 % Tax
    Could you please advice
    Thanks

    Hello,
    Define two  ACCESS SEQUENCE with the combination of Region code/Country key
    Define the two TAX  CONDITION types and assign the Access sequence one for each scenario
    In OVK1 assign the Country key and TAX CONDITION and in OVK3 assign the tax category as 0 for the Overseas customer and 1 for Domestic customer
    Then in VK11 maintain the condition records as 0% for Overseas customers and  7% for the Domestic customers.
    Regards,
    santosh

  • CST or VAT needs to be determined based on Ship-to-party

    Dear All,
    We have a specific requirement for one of our customer.
    Customer wants the system to determine CST and VAT to be determined based on ship to party.
    Say for Example, we have a condition table Country / Region / Region of Delivering plant / Tax class. Cust. / Tax Class. Mat.
    In the sales Ship to party and Sold to party are different.
    In this case, if  the tax classification of the Sold to party 0 and tax classification of Ship to party is 1 means, system should determine CST or VAT according to According to ship to party.
    In simple, CST or VAT should be determined based on Ship to party irrespective of the setting in Sold to party.
    Please suggest.
    Regards,
    Mullairaja

    Hello Mullairaja,
    See Ship to Party is the partner who will receie the goods & applicability of VAT or CST will be decided by Ship to party Region.
    As Sold to party & Ship to party can belong to different Regions (Different States in India) VAT or CST may be applicable as the case may be...
    Thus this is a standard SAP funtion to determine VST / CST based on Region & Tax Classification Indicator of Ship-to-party.
    Hope this helps..
    Thanks,
    Jignesh Mehta

  • How to update open PO price based on Price date category in contract?

    I've created a contract/ outline agreement with Price date category as '2'- Delivery date. (Path is Item details> More Functions> Additional Data). This means that PO price should be determined based on its delivery date.
    In contract, there are two date ranges for conditions. PO creation and delivery date falls under different ranges. Now, the open PO price is getting updated based on PO creation date but not on delivery date. We have tried using MASS transaction for this.
    Can someone suggest any solution?

    The Price Date category field was visible in contract  but not in our PO. Due to this, MEMASSPO was not updating the field value and we were changing the value to '2' manually by debugger. Hence some table updates were missing and causing the whole issue.
    The solution is to change the screen layout for PO. If Price date cat field is hidden, then you need to make it optional entry in SPRO- Purchase Order - Define screen layout at document level--> Quantity and Price for ME21N , ME22, ME22N and for field selection key assigned to PO document type.
    This field will be available in ME22N- Condition Control TAB.
    Regards
    Ankita

  • Billing Date should be Current Date

    Hi experts,
    At present , system takes billing date from PGI document.  However this field is editable at the bill of billing ( VF01 ).  User can change it.  Our requirement is as under :
    We want the same to be made non editable OR it should pick up the current date but not future date.
    Kindly suggest how it is possible.
    Regards
    ( Rajneesh Gulati )

    This is Material management froum,any way,Use transaction variant(SHD0) to display billing date as non editable in VF01(By standard If u don't enter billing date it will take current system date as default,Billing Date is determined based on Invoicing date in Customer master Sales area billing tab).

  • Exchange rate determination on Billing Date

    Hello,
    We have a problem with respect to exchange rate re-
    determination - on billing date at the invoice level.
    Currently in our system the Exchange rate is being determined on the
    pricing date at the sales order level. When we create the invoice the
    exchange rate at the header level (VBRK-KURRF) is getting re-determined
    on the billing date.
    However the problem is the exchange rate at the item level (VBRP-KURSK)
    & exchange rate with respect to amount currency level (KOMV-KKURS).
    In order to re-determine exchange rates at item level (KOMV-KKURS) - we have done the
    configuration for exchange rate type field in Copy control settings at
    VTFL/VTFA should be u201CCu201D.
    But however, the system is determining the pricing exchange rate (KOMV-KKURS) on the pricing date, and not on the billing date.
    We have also applied the note 92613. In spite of making the changes the pricing date is not being re-
    determined to u201Cbilling dateu201D for exchange rate calculation at conditioncurrency level.
    Can you please let us know, how can we have the pricing exchange rate (KOMV-KKURS), be determined on the billing date and not on the pricing date. Do we have a configuration for this? Or is some change in any user exit is required. Please suggest.
    Best Regards,
    Priya Gor.

    Hi All,
    I am having the same kind of issue.
    My requirement is if the condition currency is different than Document currency (which is also local currency) the system should re-determine the exchange rate in billing as per current date.
    Could you please suggest me how KOMV-KKURS will be redetermined in billing as per current date?
    As you know copy control TVCPFLP-PFKUR filed will be applicable for VBRP-KURSK but for my requirement it is not needed.
    Is there any copying requirement required or any user exit in Billing document ?
    Please share if anyone having any info for this.
    Thanks
    Amar

  • How to set Service render date should be equal to Billing date

    Hi All,
    At present when invoice is created the service rendered date (FBUDA) is taken as the basis for the Rebate condition types to select the condition value from the agreement.
    The business requires that for the rebate conditions, service rendered date should be equivalent to the billing date, so that correct agreement is selected based on the billing date.
    Required Change: Service Rendered date should be equivalent to the Billing Date for only Rebate condition Types and only for particular Sales Org.
    To achieve this how can I proceed, I have gone through all user-exist for billing no where I have found
    Could you please guide me to achieve this functionality?
    Thanks and Regards,
    Jaya.G

    Hi Yadav,
    My requirement is to put the billing date in service render date
    I.e. in my scenario the Actual GI date is populating into billing date and also in service render date (komk-fbuda)
    If we enter billing date manually while creating the billing that should be reflect in service render date, in condition level.
    Here it is not happening, it is taking the Actual GI date in service render date,
    Here VBRP-FBUDA is different form komk-fbuda.
    Vbrp-fbuda is have to reflect form Actual GI date only
    My requirement is, I need to populate the billing date into service render date for some conditions only. These conditions are rebate type conditions.
    I can populate the billing date to all conditions not for particular conditions
    In user exit userexit_pricing_prepare_tkomk
    I can move the vbrk-fkdat to tkomk-fbuda
    But this not my requirement
    I need to populate the billing date to service render date to some conditions types only
    In this exit I canu2019t restrict the conditions, I mean in this routine I am not able to select the condition types
    Please advice me where can I write the code to achieve my functionality
    Thanks in Advance
    Jaya.G

  • Any functional module to get financial document based on billing document

    hi all,
    do we have any functional module to get accounting document (bseg-BELNR) based on billing document (bseg-VBELN)?
    i have a requirement to retrieve the clearing document (bseg-augcp) & date(bseg-augdt) from BSEG with billing document.
    billing document is not a key, so i would like to retrieve the accounting document from any function module and use that to get clearing document (bseg-augcp) & date(bseg-augdt).
    thanks.

    hi all,
    i got other option to get this....thanks.
          select single * from bkpf
          where bukrs = <data>-werks
            and AWTYP = 'VBRK'
            and AWKEY = billing doc.
          if sy-subrc EQ 0.
            select single * from bseg
            where bukrs = bkpf-bukrs
              and belnr = bkpf-belnr
              and gjahr = bkpf-gjahr.
            if sy-subrc EQ 0.
              <data>-AUGDT = bseg-augdt.
              <data>-AUGBL = bseg-augbl.
            endif.

  • Determining pricing condition currency according to billing date

    Hi All;
    Although this is a so simple scenario, i couldn't get any succesful reply in the forum.
    Let me explain this by an example:
    Sales Order TA
    Material X = 10 EUR (Pricing Currency is EUR)
    Pricing date: 23.10.2009 (1 EUR= 2 USD)
    Document Currency:USD
    Billing Document F2:
    Billing date: 25.10.2009 (1 EUR=3 USD )
    i want to calculate pricing condition currency according to billing date.
    Total Price must be : 10X3=30 USD and of course pricing date must be: 23.10.2009
    how could we achieve this?
    before your reply, please consider my advices:
    1.i don't want use pricing type "B" in VTFL. "G" is a preferable one.
    2.in my VTFL configuration Pricing Exchange Rate Type is "C Exchange rate determination according to billing date"     
    3..OSS Note 92613 serves a simple solution. But i couldn't apply this note. I changed my routine according to this note, but it has no effect. Is there anyone who used this note succesfully?
    4.someone said that it is possible to achieve this scenario by using some user exits, if this is correct, could you please say user exit's name?
    thanks Gurus..
    Edited by: streptomagma1 on Oct 26, 2009 8:43 AM

    Pricing date: 23.10.2009 (1 EUR= 2 USD)
    Billing date: 25.10.2009 (1 EUR=3 USD )
    Do you mean to say that on ob08, different exchange rates were maintained on 23-10-09 and 25-10-09 ??
    thanks
    G. Lakshmipathi

  • Revenue Account Determination based on Sales Order Document Type & Service Order Type

    Hi Expert,
    I have Customer Service Module with Resource Related Billing for services attached with SD.
    When DP90 runs sales document debit memo request is created & then debt memo is created.
    I need to configure Revenue Account Determination based on Sales Order Type and also based on Service Order Type.
    I did not see any field catalogue in revenue account determination for order type, For communication structure KOMKCV Header and KOMPCV Item level there is no field for sales order type nor service order type.
    Is it possible to bring in both order types? Can ABAP person do it?
    How to bring these fields?
    Is it possible & recommendd to have service order type filed AURAT for service order into this sturcture?
    Is this configuration is OK acceptable by SAP? If so is there any chnace for issues errors & wrong determination from FI CO view?
    Your valued input is highly appreciated.
    Thanks
    Prakash Parikh

    Hi Prakash,
    Yes, you can certainly add new table fields into the field catalog KOMKCV and KOMPCV and use it during account determination. You will also have to add these new fields in the user exit RV60AFZZ for it to work. I believe you will need ABAPer's help to make this work. The abaper will have to crate a ZZFIELD (ZZAUART for example) and put it in the structure and use the same in the user exit to pass the values.
    In your case, what I am not sure is, are you looking to modify the existing standard tables or creating new ones. My suggestion is to create the new condition tables with these new fields (like document type) after adding it to the field catalog. Only modify the access sequence (KOFI) in such a way that your new tables are access first before it goes into standard tables (or you can adjust it according to your scenario.
    We have done it in our company and it is working fine. Basically what we have done is to create new tables instead of modifying the standard ones. We have adjusted the access sequence in such a way that some of our custom tables are accessed first before the standard SAP tables (C001 to C005).
    I found a similar requirement on SCN. This might help.
    Adding New Field in Account Determination
    Hope this helps.
    Regards,
    Mukund S

  • Material Determination based on Availability

    Hi SD gurus,
    I have a client requirement as below:
    We create order via BAPI. Data comes from ext call center system.
    Whenever Matnr A is entered in Sales order & it is not available then Matnr B should come.
    1: I know that we can handle this in Material Determination. I did req. config in IMG
    2: I have created VB11 stating that MATNR A should be substituted by Matnr B. I have ticked the MRP ind in VB11 as well.
    Now the question is:
    When I enter MATNR A in sales order, & assuming its not available then, MATNR B will come in Sales order.
    In my case it is happening. But whenever this happens what should be the item category of the MATNR A & MATNR B?
    Please let me understand how will standard SAP behave.
    I thought the item A should appear as Text item & probably item B should become relevant for delivery & pricing.
    But currently I am getting item category TAX for item A & TAPS for item B in sand box. Is that correct?
    What should be the standard item categories in this case?
    regards

    Hi,
    The system runs several checks on on each possible substitute, for example to determine if the customer would accept the product based on the product attributes and current stock availability.The system checks substitute materials until the order quantity is satisfied, or until there are no more possible substitutes.
    When a valid alternative is found, the system creates a sub-item for it, using the item category that you have defined for the main material in Customizing.
    If there is not enough inventory for the alternatives to cover a required quantity, the system confirms only the available amount and ignores the rest. The main item contains information on the confirmed quantity of the sub-item, but is not relevant for planning. For this reason, the material shortage is not passed on to planning.
    If you set the material requirements planning indicator for one of the alternatives, however, the system creates an additional sub-item for this material, assigning it a confirmed quantity equal to zero, and a required quantity equal to the open quantity. Since this material is placed as the final alternative in the substitution, it captures any remaining quantities. The system takes this item into account and passes the material shortage on to planning.
    Based on your settings Customizing, the system performs pricing at the main or sub-item level.
    There are two separate item categories in sales documents for product selection. The item category TAX contains specifications for the main item (original product). The other, TAPS, contains specifications for the sub-items (substitute product).
    Review the item category configurations in the standard system. If these do not meet your requirements, perform the activities in the following topics to modify the item category configuration, or create your own categories. Note that if your product selection procedure requires that pricing be done at the main item instead of the sub-item, you will have to create new item categories.
    The following examples detail how pricing is carried out at the main item level and sub-item level for product selection.
    Pricing at the Main Item
    the price for the order is determined based on the price condition records for the main item only. You have deactivated pricing for the sub-item category, so the system does not determine a price for it. Since both the main item and the sub-item categories are relevant for billing, the prices (even if there is no price) are copied to the invoice and billed accordingly.
    Pricing at the Sub-item
    the price for the order is determined based on the price condition records for the sub-items. You have deactivated pricing for the main item category, so the system does not determine a price for it. Since both the main item and the sub-item categories are relevant for billing, the prices (even if there is no price) are copied to the invoice and billed accordingly.

  • Default GL account should be come from PO in ML81N trasanction not config

    Hi,
    we have a requeirement to populate the GL account value in ML81N transaction where the account assignement is 'network' .
    presently the GL account is automatically taking from the config settings in ML81N transaction.
    But i want to populate the GL account value in ML81N transaction automatically and that should be come from the PO Gl account not from the configuration GL account.
    Please help on this issue.
    thanks in advance.
    regards,
    Prashanth.

    Hi,
    please read the note 96367.
    This note describes the mode of operation of the account determination             
    in purchasing documents with service items. Since the most complex case            
    occurs in the service entry sheet, the explanation is based on this                
    document. The mode of operation in other documents is similar. Determine           
    the G/L account according to the priorities listed as follows.                                                                               
    1.  1st Priority:                                                                               
    If you enter planned services in the service entry sheet from an                      
        assigned purchase order (account assignment category not equal 'U'),                  
        the system copies the account assignment and, in particular, the G/L                  
        account for each service line from the purchase order.
                                                                                    2.  2nd Priority:                                                                               
    If you enter unplanned services with reference to an assigned                         
        contract, that was stored in the limits of the purchase order, the                    
        account assignment is copied from the contract as of Release 3.1H.                    
        You can execute this mode of operation by implementing Note 74147.                                                                               
    3.  3rd Priority:                                                                               
    If you enter planned services in the service entry sheet from a                       
        purchase order item with account assignment category 'U', the system                  
        processes the rules stored in Customizing for the automatic account                   
        determination for the G/L account determination. The valuation class                  
        stored in the service master is taken into account here. The G/L                      
        account determined is copied into the account assignment data of the                  
        service line.                                                                               
    The same procedure applies, if unplanned services are entered. The                    
        G/L account determined via the automatic G/L account determination                    
        has always a higher priority than the G/L account that may be stored                  
        in the limit of the purchase order item, because at the date of the                   
        service entry, actual services and, correspondingly, the information                  
        on the valuation class which must be considered for the G/L account                   
        assignment are available.                                                             
    4.  4th Priority:   
         If you use the automatic repeat account assignment function, this            
         effects the G/L account only if no G/L account could be determined           
         according to the rules described above.                                                                               
    5.  5th Priority:                                                                               
    If no G/L account could be determined according to priority 1 to 4           
         in the system and unplanned services are entered, the G/L account            
         maintained in the limits is copied in the service line in case of an         
         assigned purchase order item.  
    This is how the system works.
    Regards,
    Edit

  • Batch determination based on fifo during goods issue

    Hi All,
    My client requirement is that system should propose automatic batch during goods issue based on goods receipt.
    I have activated batch wise split valuation.
    I have maintained  characterstics with MCH1 table and HSDAT.
    Assigned to class and class is assigned to stratergy type.
    Created sort sequence and sort rule ascennding.
    Assigned this to stratergy type.
    Maintained condition record also.
    During goods issue to production system is not proposing the batch based on gr date.
    System is not stopping me while making goods issue with other batch.
    Please guide to fix the above issue.
    Regards,
    Venkatesh

    Split valuation has nothing to do with this problem.
    I hope you do not just require the sequence for physical goods issue  to be FIFO because your year end valuation will be FIFO method, as this is not necessary for FIFO valuation.
    IMG > Ligistics general > batch managment > batch determination > Allocation of batch determination schema and activation >...
    here you set the box for batch check active, which means if a batch is entered manually  then this batch is checked against the batch determination and an error is issued if the wrong batch is entered.

Maybe you are looking for