Exit to prevent Billing doc to post to accounting for Condition type

Hi all,
I have a requirement as below :
A Sales order Y is created refererring to another Sales Order say X. Sales order X has one condition type which in the process has been removed. When Sales order Y created all the data from X is copied including the condition type( Now one of the condition type is not present in the system which is also copied to the Order Y). Now, when I genreate Billing document and then post to accounting doc, even though the particular condition type that is copied from 'X' is not present in the system, it is getting posted.
Can you please help me if there is any exit to prvent the Billing doc to post to accounting based on the condition type.
Regards,
Uma Chandra Sekhar

Hi,
Use the user exit "RV60AFZC", form-routine : USEREXIT_FILL_VBRK_VBRP.  Set the value of structure field VBRK-RFBSK to 'A' to block the creation of accounting document.
Regards
Vinod

Similar Messages

  • Billing Doc error posting to Accounting

    Hi,
    I am getting an error message while posting the Billing doc to Accounting.
    "Reconciliation a/c 222 or short key 00 is not permitted"
    Message No. F5788
    what may be the reason
    Rgds
    Sunfico

    Hi
    This problem usually occurs when the reconciliation account defined in    
    the customer master has alternative reconciliation accounts assigned to   
    it.                                                                               
    If this is your case, please check the customizing for your allowable     
    alternative reconciliation accounts, table THKON, for an entry for  the    
    account defined on the customer master.                                   
    Regards
    Javier

  • Billing Doc-Header-Texts copy Accounting Doc-Hader Texts?

    Dear gurus,
    I it possible to copy Billing Doc.-header- Text1 to
    Accounting Document>>>>>>"Doc. Header Text" field?

    Hello,
    the SAP note 301077 lists the available userexits in SD/FI interface.
    If, for example, you want to fill a BSEG field of customer line, userexit EXIT_SAPLV60B_002 is the good one.
    Instead if you want to fill a BSEG field of a G/L line, userexit EXIT_SAPLV60B_004 is the good one.
    Best regards,
    Ivano.

  • Why not all billing documents are posted to CO-PA for condition types?

    Hello!
    I have following problem.
    In transaction KE4I I have configured several condition types to post for specific value fields.
    For some billing types it works but for some doesn't work.
    For all domestic invoices it works but for abroad invoices it doesn't work.
    Billing documents for abroad invoices are also posted to CO-PA but for another value fields, not for that I expect.
    Where is problem?
    I am waiting for help.
    Best regards
    Bogdan

    Hi.
    In both pricing procedures there are same condition types. The only difference was check box "Condition is used for statistics".
    After marking this check box it still doesn't work.
    There are placed the same condition types in all billing documents (domestic and abroad) . So I am supprised that for domestic billing documents field value in CO-PA is calculated for condition types placed in KE4I.
    But for abroad billing documents the same field value is not calculated for the same condition types placed in  KE4I.
    Where is a problem?
    I need help.
    Best regards
    Bogdan

  • Billing Document not posted to accounting

    Hello All,
    Billing Document not posted to accounting & throws error , if trying to release in VFX3:-
    Document number 1001003528 in company code 0952 in fiscal year 2010 is affected
    Message no. FF099.
    Please advice.
    Regards,
    Vikas

    Hello Vikas;
    Maybe you are trying to post FI document which does not correspond to SAP standard.  
    Check if your document has 2 line items with the same tax code AA and tax        
    condition MWS (one tax rate 0% and 30 %, for instance). It must be either different   
    tax codes and or tax conditions.   
    Hope it can help.
    Ruy Castro

  • Billing doc while post goods issue

    Hi,
    Is there any Exit to creat a billing doc immediately when we post goods issue.
    Please, if there any other solution. don't hesitate.
    Thanks.

    You can use message condition record in outbound delivery ,as soon as you do PGI ,this message condition will trigger & it will create Billing document Back ground.Take ABAPer help he will guide you.

  • User exit or BADI while billing doc is transferred to accounting.

    Hello All,
    I've searched SDN for an issue for which I could not find any psbl help.
    While billing document is saved, according to the config of the billing type automatic posting to accounting happens and I need a user exit while/after this accounting doc is being created. I hv tried the following exits by inserting break-points but none of them work.
    SDVFX001  User exit header line in delivery to accounting
    SDVFX002  User exit for A/R line (transfer to accounting)
    SDVFX003  User exit: Cash clearing (transfer to accounting)
    SDVFX004  User exit: G/L line (transfer to accounting)
    SDVFX005  User exit: Reserves (transfer to accounting)
    SDVFX006  User exit: Tax line (transfer to accounting)
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    My purpose is to get some fields from the billing document and update them in the FI document item text.
    Please help.
    Thanks in advance.
    Regards,
    Amit

    Hi,
    In background is triggers this exit, pass your required text here to field "E_SGTXT" and it will appear in accounting item text.
    Insert your text based on the billing transaction else it should not disturb the field, since this exit is used in all place where inventory triggers
    use this user exit
    MBCF0002 - Customer function exit: Segment text in material doc. item
    hope this will help you. all the best

  • How to Transfer only VPRS to COPA, Billing Doc not relevant to accounting

    Hi Gurus,
    I have a scenario where Revenue and Taxes are posted in SD (And COPA) in a Billing document, but the COGS occurr in a later moment, in another Billing document. IT can occur days after the first billing document.
    So we decided that we will send COGS to COPA through VPRS only in the second moment, so FI and COPA will be reconciliated.
    The problem is that this second billing document only posts COGS via delivery document, and the Billing document is not relevant to accounting. But I need to send the COGS of VPRS from this billing document to COPA.
    Do you know if there is a way to send This billing document to COPA even if it's not relevant to FI? With KE4S i'm not being sucessful.
    Kind Regards
    Mayumi

    Thank you all for the replies. I was very helpful.
    I coudn't use note 337488 to make COGS flow to COPA from PGI, because I had already mapped all the SD processes to flow COGS from VPRS and this pro-forma Billing Document was the only situation where I had a different scenario.
    We decided to make a workaround, by changing the doc category in SD and the operation group, and we are releasing this billing dc to accouting by posting a debit/credit in FI (making it Zero), and this way we made it possible to generate COPA documento registering only the COGS through VPRS.
    Kind Regards
    Mayumi

  • Error in billing document while posting to accounting

    Hi all,
    We are geetting an error while the billing document is moving to accounting
    the error is Please assign a Valid Material code in the Assignment Field
    please give your suggestions on this and give the what are all the configurations need to do

    Dear Anil,
    There are many reasons for document not flowing to accounting at the time of billing:
    Please check the following:
    Sufficient authorization is not available to release the document
    Material master created without maintaining costing view
    Material cost estimate not found for the material considered in the billing document
    Back dated entries try to post in the current period
    Mistakes while creating the billing document
    Account assignment group not maintained in the material master
    Provide the error message number, it will be easier to find the reason for the problem and solution too.
    Regards,
    Pavan Kumar Arvapally

  • Why third-party  billing  can not  post to accounting

    dear ,when i  was  processing  third-party order  process ,all  step  is ok   ,s/o->p/r->p/o-migo->miro->billing
    but  billing  is open ,can not  post to accouting  ,the error message is:
    Document 90000043 saved (no accounting document generated),  someone  please  let  me  out ,thanks a lot  ahead .

    Please do the checking step by step, maybe it will help in resolving the issue:
    1. Check Account Assignment Group of Customer, whether it is maintained or not in Customer Master. It is ideally required for T.Code: VKOA assignment.
    2. Check Account Assignment Group of Material, whether it is maintained or not in Master Master. It is ideally required for T.Code: VKOA assignment.
    3. Check the Account Keys maintained in Pricing Procedure T.Code: V/08, which is being called in transaction.Account Key is a must & integration factor between SD & FI.
    4. Now Check the T.Code: VKOA assignment. Incase it is maintained with Condition type KOFI, try it also by maintaining for KOFK & check the result.
    For Tax Condition check if G/L account is maintained based on Tax Code for Transaction Key (same as Account Key on T.Code: OB40.
    Also Check if the error message is for Foreign Data Incomplete.
    While releasing inland sale commercial document / invoice to accounting, an error is confronted – Foreign Trade Data incomplete.
    Solution:
    Reference note – 34222
    a.     Transaction VOFM – Data transfer – Billing Documents
    Copy Routine number 001 as 601. Apply code corrections as per note 354222.
    FORM DATEN_KOPIEREN_601.
    *{   INSERT         P3DK900617                                        1
    Header data
    VBRK-xxxxx = ............
    Prüfen Exportvorgang
      IF VBRK-LANDTX = VBRK-LAND1.
        CLEAR: VBRK-EXPKZ,
               VBRK-EXNUM.
      ENDIF.
    Item data
    VBRP-xxxxx = ............
    Additional split criteria
      DATA: BEGIN OF ZUK,
              MODUL(3) VALUE '001',
              VTWEG LIKE VBAK-VTWEG,
              SPART LIKE VBAK-SPART,
            END OF ZUK.
      ZUK-SPART = VBAK-SPART.
      ZUK-VTWEG = VBAK-VTWEG.
      VBRK-ZUKRI = ZUK.
    *}   INSERT
    ENDFORM.
    b.     Transaction code – VTFL (Copy control – Delivery to Billing).Select the relevant delivery and billing document types. Go to item level and select the relevant item category (e.g.TAN).
    Insert the routine 601 in ‘Data VBRK/VBRP’.
    In case, one has already created billing documents, pl. refer to note 354222.
    Hope the above is helpful.
    Regards,
    Rajesh Banka

  • Post Goods Issue for movement type 351

    Hi experts,
    I need to perform a post goods issue for the movement type 351.
    which bapi we need to use? is it going to be "BAPI_GOODSMVT_CREATE" or something else.
    What are the information that we require other than movement type for performing post goods isue?
    Any pointers on this will be highly appreciated.
    Regards,
    Sajith

    Hi ,
    Thanks man.. Then where should I do that.
    Idoc is PORDCR102. Message type is PORDCR1.
    My requirement is to create a STO first in the user exit EXIT_SAPL2012_001 and then to perform a Post goods issue in the user exit EXIT_SAPL2012_003.
    Can u please explain it.
    Regards,
    Sajith

  • How do I test Posting to Accounting for Bonus Payment

    Hello Experts,
    I have done config. for bonus wagetype 2010.  I ran payroll for an employee using offcycle workbench and paid $100 bonus today.  I ahven't exited the payroll and now I want to simulate FI posting for this payment to test if the wagetype is correctly posted to the correct GL account.  In create posting run, I give pers# and enter run attributes for offcyle and run posting for current payroll period.  But I don't see the corresponding symbolic account for WT2010.  Where I am going wrong?  Please help.
    Thanks,
    BBC

    in order to get the posting done make sure that the control record status shd be in exit mode

  • User exit/BADI for condition type in shipment costing

    Hi! Does anyone know of any user exit or BADI or function module we can use to populate a value to a custom condition type we have created for shipment costing? We want to calculate the customs duty charges based on the purchase price of the item in the PO. As such, we need to go extract this information on the PO and populate it on the condition type.
    Appreciate any help on this.
    Cheers!
    SF

    Dear SF,
    These are the Exits available in the shipment cost process.Take help of ABAPer to choose the appropriate one.
    V54B0001  Shipment costing: Configure pricing                    
    V54B0003  Shipment Costs Calculation: Determine Rate Type and Cur
    V54B0004  Shipment Cost Calculation: Determine Status            
    V54C0001  Shipment costing: Description(s) shipement cost item(s)
    V54C0002  Shipment costing: Create shipment cost sub-items       
    V54C0003  Shipment Costs Processing: Determine Invoicing Party   
    V54C0004  Shipment Costs Processing: Determine Loc. for Tax Invoi
    V54D0001  Shipment Costing: Determining the Tax Countries        
    V54KSFRC  Determining the factors for apportionment of shipment c
    V54P0001  Extended Function Codes for Shipment Cost Information  
    V54U0001  Shipment cost processing: Check whether changes made   
    V54U0002  Check shipment costs for completion                    
    V54U0003  Specification of shipment cost number                  
    V54U0004  Formatting for update of new objects (shipment costs)  
    V54U0005  Updating new objects in shipment cost processing       
    V54U0006  Shipment Purchase Order - Header Data Supply           
    V54U0007  Shipment Purchase Order - Item Data Supply     
    I hope this will help you,
    Regards,
    Murali.

  • Exit/BADI for condition type value

    Hi friends,
        I have a BADI BADI_SD_BILLING_ITEM. I want to enhance method 'ITEM_PRICING_COM' present in this BADI.
        My purpose of using this BADI is that I want to get the values of condition type before saving a billing document.For that purpose I want to enhance this BADI.
    But I don't know how to proceed.
       Please help me out.
    Regards,
    Rajesh

    Enhancement                                                                               
    V61A0001                                Customer enhancement: Pricing                            
    V60P0001                                Data provision for additional fields for display in lists                             
    SDVFX011                                Userexit for the komkcv- and kompcv-structures     "This may be usefull

  • Howto post offsetting entries for Record type Z Line items in KE24 from FI

    HI,
    We are facing one problem for order created from CRM.
    Firstly this order  has created  with one profit center ( ex PH50293 ) they have posted some plan values and released the order in CRM so values flown to ECC and available in KE24 .
    After some time , we have changed profit center for this order in CRM by changing  service organisation and release the order after that we have posted some values in that order which is not flown to ECC becuase of different profit center
    Later we rejected the all values and make balance zero in CRM , But still values are appearing in KE24 and there is inconsistency of profit center between ECC & CRM.
    Now want to make the balances zero in KE24 for that order. but it shows record type Z ,
    So , now how we can rectify this and how we can make balances zero
    __Note :  as per present setting in the system, we can not change the profit center in CRM once order released_._
    Thanks & Regards
    Gupta

    Dear VK,
    I guess, the only option would be to post manual correction thru KE21N, with negative values for record type Z.
    Trust this helps.
    Cheers.

Maybe you are looking for