Business Place & Business Area in VAT Line item in MIRO

Hi Gurus,
I want to defualt the following values in the VAT line item in  while doing MIRO.
1. Business place in the "VAT line item" to be defaulted from the "Vendor Line item".
2. Business area in the "VAT line Item" to be defaulted from its relevant "Material / Expense/ GR/IR Line item".
The same thing i have done in FB60 transaction by using a BADI. But the same BADI is not working for MIRO.
What the BADI does it goes and updates the BSEG table for the fields "Bupla (Business Place) & GSBER(Business Area).
But while doing MIRO the BSEG table is not called at all and hence the BADI which is used earlier is not able to update the fields and hence cannot be used.
I feel the reason could be that while doing MIRO the BSEG table is not called directly but it is called through a Function Module. In such case a BADI will be required which will call the relevant Function module.
Need your help in how to update the VAT Line Item's Business Place & Business Area in the MIRO document.
Will award points if issue is resolved or if your answer is useful.
Rgds
Prasad

Hi
Try using substitution maintained in FI.Transaction code OBBH.
Maintain the prerequisite based on the Transaction code.
Copy the same logic used in BAdi for the exit created.
We have used this for similar type of requirements
Award points if useful
Thanks & Regards
Kishore

Similar Messages

  • Substitution of Business Area for Tax Line Items for Invoices posted in MM

    Hi
    We have one Business Area for every company code. A substitution rule has been created to populate Business Area in Tax Line Items, while booking vendor invoice. The substitution rule has been defined as
    Prerequite
    Company Code = 1234 and GL = 1323232
    Substitution
    Business Area = 6668
    The system is working fine, when the Vendor Invoice is posted through FI. However, when the vendor invoice is generated through MIRO or MIR7, the Business Area is not substituted.
    In Table VWTYGB01, we have maintained BSEG-GSBER as a field allowed for substitution with Boolean Class 09.
    We have created the susbstitution rule for Text and Assignment also and the rules are working fine for all document posted through FI and MM
    Regards
    Sanil
    Sanil K Bhandari

    Hi
    Business Area is a sensitive field, agreed. However, the substitution rule is working fine for FI posted documents and the issue is in MM generated documents.
    Regards
    Sanil Bhandari

  • Automatic Business Area Derivation Rule for Vendor Line Item in MIRO

    Hello Experts,
    We trying to use Business Area concept for our client.
    I have completed all configuration setting for the business are derivation like
    1. Creation of Business Area
    2. Assign Business area to Plant / Division (OMJ7)
    3. Business area determination from sales area (TVTA)
    4. Business Area by Sales Area
    5. Checked Field Status Group for Customer and Vendor Reconciliation Account
    It is working for for compelete sales process and in Procurement cylce it is picking business for MIGO transaction both the line items.
    But
    In MIRO (Purchase invoice posting) it is automatically taking Business area to the GR/IR line item and it not taking Business area for the vendor line item (automatically)
    I comes know that there is a business area derivation rule for this to happen automatically.
    Can you please propose the soulution for the automatic derivation of business in MIRO for vendor line item.
    Regards,
    Chalapathi

    Hi,
    I do mot think there is a BA derivation rule for MIRO.
    The best you can do is:
    1.  Use a user exit or enhancement point for deriving the BA from the GR/IR line and populate that in the vendor line
    or
    2.  You make BA as a mandatory field in the field status group for the vendor reconciliation account.  This will then force the user update the BA.  We use this option.  This is so because at times, the vendor item may need a different business area than the GR/IR line.
    Cheers.

  • Substitution for MIRO Business Area for tax line items

    Hi All,
    Our business requirement is updation of BA in tax line items during MIRO transaction. To fulfill this requirement i have written a substitution with user exit. Business user enters BA in bktxt . In user exit iam passing bktxt field to bseg-gsber. But BA is not updating in tax line items. Here iam giving the code which i have written in my user exit. Pls guide me what to do aprt from this.
      IF bkpf-bktxt IS NOT INITIAL.
        t_gsber = bkpf-bktxt.
      ENDIF.
      IF bseg-hkont EQ '0000098511' OR bseg-hkont EQ '0000098521' OR bseg-hkont EQ '0000098583'.
        cobl-gsber = t_gsber.
      ENDIF.
      IF bseg-hkont EQ '0000098511' OR bseg-hkont EQ '0000098521' OR bseg-hkont EQ '0000098583'.
        bseg-gsber = t_gsber.
      ENDIF.

    update like below:-
    UPDATE dbtab FROM TABLE itab. or
    UPDATE (dbtabname) FROM TABLE itab.

  • Business place  with regard to Vat Accounting  ( FI -SD & FI- MM )

    Dear Freinds,
    Kindly advise me about Business place with regard to Vat Accounting ( FI -SD & FI- MM ) . I have set up co code, tax procedure, created gl accounts etc in ECC 6.0.
    I intend that the VAT reporting for my co code should be automatic, whenever the SD /MM person do billing / Invoice verification etc , <u><b>accting entries will  be posted automatically, Vat accounts would get updated instantly, Monthly Vat returns are prepared automatically & returns are filled at the place of business for eg, nasik, delhi, ,Pune , Chandigarh etc etc.</b></u>
    Thnks
    Vinod

    Hi
    Here is a link from SAP help
    http://help.sap.com/saphelp_47x200/helpdata/en/e5/077d4f4acd11d182b90000e829fbfe/frameset.htm
    Thanks
    Ashok

  • PROFIT CENTRE DETERMINATION FOR VAT LINE ITEMS

    Hi Experts,
    My client having IS Retail ECC 6.0 Version and having several sites in all over Inida. Now problem Profit centre not updated in VAT Line items while billing. Every site having one profit centre. Site equal to Profit centre.
    Would you please expalin the process of profit centre determiantion for VAT line items.
    Rgds
    Mani Suma

    Dear,
    It is believed and felt it is the persisting problem if you are not using the using Document Splitting functionality in New GL...
    You can map one common profit center in 3KEH and at the month end you can allocated the to respective profit centers based on sales value..
    REgards,
    Chintan Joshi

  • How to place a delivery block at line item level from Inbound ORDERS IDoc?

    Hi EDI/ABAP Experts,
    Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
    I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
    Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
    Thanks,
    Matt .

    Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
    FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
      CALL CUSTOMER-FUNCTION '001'
        EXPORTING SEGMENT = IDOC_DATA
                  DVTCOMAG = VTCOMAG
                  DXMESCOD = IDOC_CONTRL-MESCOD
                  CONTRL   = IDOC_CONTRL
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DD_FLAG_P = D_FLAG_P
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        CHANGING  DXVBAK   = XVBAK
                  DD_FLAG_K = D_FLAG_K
        EXCEPTIONS
                  USER_ERROR = 01.
    If you are in ECC6.0  you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U

  • Profit Center is not getting captured in Vendor line item from MIRO.

    Dear Friends,
    Profit Center is not getting captured in Vendor Line Items from MIRO Transaction for some New Business Users, where as for Old Users profit center is getting generated at Vendor Line Item.
    We have provided the same authorization of old Users to new business users. (i.e. New user is a copy of old user)
    Please help us how we can the get Profit Center in all transactions will be processed by New Business users.
    I think we need to maintain user based authorization to get the Profit center in vendor Line items processed from T.Code:MIRO in SAP.
    Looking forward for your kind cooperation in this matter
    Thanks & Regards,
    Naveen Kumar.

    Hello Naveen,
    I am not very sure about your query, as you might be knowing that the Profit Center is only updated in New GL tables (FAGLFLEXA, FAGLFLEXT) and hence the Vendor relavant tables would not.
    The profit center information in the split lines or the line of the 'General Ledger View' are only displayed within transaction FAGLL03 which read the 'new' table for the NewG/L.
    About profit center wise reporting, when New GL is active Please review attached consulting SAP note:
    - 826357     Profit Center Accounting and new general ledger in
    I hope this helps. If not, please provide an example of your requirement.
    Thanks and regards,
    Suresh Jayanthi.

  • Profit Center Not coming in Vendor Line Item in MIRO

    Hi Experts,
    We are facing one problem when we are posting miro in one plant profit center is coming in vendor line item in miro. But when we are posting miro with the same material code but with different plant same company code. But in miro vendor line item profit center is not coming.
    What mistakes we have done in spro.
    Kindly help me out.
    Regards
    GR

    Hi
    Normally vendor line item will not carry profit center, hence I think this is populated through some enhancements.
    Hence you may need to analyze with the help of an Abaper.
    Regards

  • Cost Center in automatically created line items in MIRO

    Hello SAP Gurus,
    While doing MIRO cost center is getting picked automatically in Tax line item even though there is no automatica account assignment in OKB9.
    Is it coming from validation or substitution? Please advise h

    Hi Ravi,
    Thanks! Yes it was assigned in Cost Element Master data.
    Now I have removed it. But now how can I assign internal order while posting to that GL in MIRO. I know we can assign default internal order in cost element but I don't want default account assignment.
    The GR/IR line item is picking internal order no from PO but the tax line item is not picking internal order. Is there any way we can change the line item of MIRO while simulation.
    Regards,
    Tapan

  • Enter Text in Price difference line item in MIRO

    Hello,
    My user wants to enter text in price difference account line item in MIRO. I tried to do it in MIRO simulation by doubl click on line item. But it does not show as we normally see in FI documents.
    Please advise how can I enter text in price difference line item while doing MIRO. Since this account gets posted automatically.
    Regards,
    Tapan

    Hi,
    You can create substitution with exit in GGB1/ OBBH
    In exit, give a popup for this price difference line item and in that popup user can enter the text and then fill that text in the line item.
    Your ABAper should be able to do it.
    Regards,
    SDNer

  • Business Area for Vendor Line Items during Payroll Posting

    Dear All
    We are in ECC 6 version of SAP. We are using Business Area for Internal Financial Statement. We are facing a problem with regard to Business area in Payroll posting. Business area does not appear in vendor line items when we make posting of payroll for multiple business area. We have setting technical accounts for HR. We read SAP note 203276 and it seems that it is possible. Can someone tell us what is the reason that business area not coming in vendor line item while payroll posting.

    Hi
    That part we have already done. The problem only come when we run payroll and there are vendors belonging to several business area in that case system keep the business area field blank. In case if we set field status required system give error. That is why we run payroll by each business area we also have maintained technical account for 1001.
    Regards

  • Missing business area in FG line item

    Hi All,
    We are starting a new company code that implements business areas. We've linked the business areas to our plants and division and also configured that the sales area picks up the business area from our plants and division. However, when we post outbound delivery through VL01N, the line item for Finished Goods account (in FI doc) does not get the business area. When we check the COS account, it has a business area. Only the FG account doesn't. Isn't it supposed to be automatically derived? Please advice what may be the cause of this and what we can do so that the FG line item would get the same BA. Thank you!

    Hi,
    Please check SD-FI: missing Business Area (GSBER) in the customer line item
    BR

  • Dear Gurus,how to maintain business area for a line item?

    Hi Gurus,
       Thanks for all gurus for your knowledge sharing,everyday i get new things from you gurus,
    right now i got one problem, while releasing the invoice i got the error as
    "Business Area not entered in the line item  000000012"
    where i should maintain the business area details, which T-code,
    my friend told me that it is a FICO related issue,Please Guide me gurus,
    Warm Regards,
    Deepak Shanmugam

    Hi Deepak
    Business Area
    Technical name: 0BUS_AREA
    Technical Data
    Available from Release
    3.0D
    Data element
    GSBER
    External hierarchy
    Not available
    Business Areas in SAP are used to differentiate transactions originating from different points/lines/locations in business. Let me give some examples to elucidiate:-
    A company (say, ABC) is a huge company and has a variety of businesses under it. Let us say that it typically operates in 3 different domains like machinery manufacturing, trading and assembling of machine parts. 
    There are 2 options here now -
    1. Either create different company codes for the 3 business operations (which would be the easiest and require no creativity)
    or 
    2.) Create each of these business lines into business areas (the better option). 
    The advantages of using the second option is:
    1. You can use these business areas if other company codes require the same areas
    2. The configuration is simpler as in case of company code, you would require to go through the entire configuration of creating Chart of Accounts, Fiscal Year variants, posting periods variants and so on. In the business area option, you just need to attach it to the company code and the rest of the details in Business area is attached by default from the company code you are using it in. 
    3. Using the options in controlling (EC-PCA, Enterprise Controlling, Profit Centre Accounting), you can even draw up Balance Sheets and PL statements for your business areas and hence this is used for management accounting in some companies (like HP, Dell, etc) when it wants to know the operating profits for different business areas/lines.
    The above was an example when the company wanted to separate entries according to the lines it operates in... the other case could be when it wants to find out profitability during its operations in cities and differentiates these cities into Business Areas...
    Business Areas are not much relevant in FI but are much more relevant in CO.
    You can define business area in
    Path: Img-enterprise structure Definition--Financail Accounting --- Define Business area.
    Same pathe: Assignment---Assign Business area to Consolidation business area.
    Same Path: Logistics General --- Assign Business Area to Plant/Valuation Area & Division
    I hope this clears.
    Reward if useful to u
    Message was edited by:
            narendran vajravelu

  • Different Business Area in Customer line item while Billing

    Dear Friends,
    We are on Ecc 6.0 and We have a requirement of Different Business Area in Customer line while billing. Since we had defined Business area location wise and requirement is Sundry Debtors should always book to Location as maintained in delivery plant field of sales area data in customer master.
    Requirement:- Our material is assigned to Plant 115.In customer master, sales area data -> shipping tab  -> Delivery Plant (KNVV- VWERKS), we are maintaining "112", Now while billing and while generating Accounting document account entry is
    Customer 1000.00 (Business area=115)
    sales    1000.00 (Business area=115)
    But our requirement while accounting document after billing is
    Customer 1000.00 (Business area=112), system should check and derive the same from TABLE KNVV - VWERKS(DEL PLANT)
    sales    1000.00 (Business area=115).
    Please revert.
    Regards,
    Sandeep

    Dear Friends,
    One can do the same via using a userexit.
    Regards,
    Sandeep

Maybe you are looking for