Business Area in  BAPI _ ACC _ INVOICE _ RECEIPT _ POST & BAPI_INCOMINGINVO

Dear Experts
I am using this two BAPIs. for Invoice creation
BAPI_INCOMINGINVOICE_CREATE for MIRO Invoice
BAPI _ ACC _ INVOICE _ RECEIPT _ POST for FB60 invoice creation,
In this I am facing Problem to Pass Business area, in BAPI _ ACC _ INVOICE _ RECEIPT _ POST no Business area field found (for vender line Item) this is required for us
and in this bapi '' BAPI_INCOMINGINVOICE_CREATE '' business area field is available when I pass value in that it is asking Profit center in Header Data
kindly help me to solve this  very urgent
Regards
Sathish J

Hi Meridius
I am having a similar problem to the one which you described in this thread. Tax is not calculated when I use BAPI_ACC_INVOICE_RECEIPT_POST for vendor invoice postings.
If you want more details regarding my problem, please look at the following thread:
VAT error when posting with BAPI_ACC_INVOICE_RECEIPT_POST
Will you please help me?
Sephiroth

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

  • Business area in BAPI 'BAPI_GOODSMVT_CREATE'

    Hi!
    I'm using BAPI 'BAPI_GOODSMVT_CREATE'  to do a Goods issue (transaction MB1A) and I need to know where can I find the Busines Area which is required in this transaction.
    This field is not available in table with item data.  Does anybody have any idea?
    Thanks in advance!
    Juan

    Hi Naren.
    Yes, I checked that field. 
    Field TR_PART_BA is Trading partner's business area, but I need just Business area.  As I know, both fields are different.  Aren't they?
    Juan
    Finally I had to use a batch input.  Thanks all.
    Message was edited by:
            Juan Cardona

  • Business area required for few invoices

    Hi friends i have one issue  which is as per requirement i selected business area is optional but for few invoices it is mandatory and for few invoices it not required, then i done validation it is asking business area for all invoices can i apply substution what is the procedure how it helps me
    please answer i will assign points
    Thanks and Regards
    chennu

    > Hi friends i have one issue  which is as per
    > requirement i selected business area is optional but
    > for few invoices it is mandatory and for few invoices
    > it not required, then i done validation it is asking
    > business area for all invoices can i apply substution
    > what is the procedure how it helps me
    >  please answer i will assign points
    >
    > Thanks and Regards
    >  chennu
    In validation provide the conditions under which it should look for BA and conditions underwhich it should not. Substitution will not help you in resolving this to my  understanding.

  • Z1-015 Error "Enter Business Area" in BAPI_INCOMINGINVOICE_CREATE

    Hi All,<br/><br/>
    Here is a scenario that has totally confused me and I don't know what to do. Any guidance in this area will be highly appreciated.<br/><br/>
    I am using BAPI BAPI_INCOMINGINVOICE_CREATE for MIRO. Our client gets invoices that contains both PO lines and some Non PO lines. For the PO lines I am populating the BAPI_INCINV_CREATE_ITEMDATA table and for the non po lines I am populating the BAPI_INCINV_CREATE_GL_ACCOUNTDATA table. In the structure BAPI_INCINV_CREATE_GL_ACCOUNT I am also populating the Bus_Area field with the Business Area value along with other values. The header Bus_Area is also populated with business area code. <br/><br/>
    However, when I try to post the invoice the bapi return me a message: Z1 015 "Enter Business Area" and the invoice does not get booked in SAP, <br/><br/>
    I have tried searching this forum and also googled about it, but I got no help in this regard. Please help me out in understanding this problem. I am attaching the code below for ease of understanding my problem. I am using SAP .Net Connector for the purpose. However, any guide related to this error (may not be .Net specific) will be appreciated.<br/><br/>
    //objects used for creating the invoice ****<br/>
    BAPI_INCINV_CREATE_ADDRESSDATA Addressdata = new BAPI_INCINV_CREATE_ADDRESSDATA();<br/>
    BAPI_INCINV_CREATE_HEADER Headerdata = new BAPI_INCINV_CREATE_HEADER();<br/>
    BAPI_INCINV_CREATE_ACCOUNTTable Accountingdata = new BAPI_INCINV_CREATE_ACCOUNTTable();<br/>
    BAPI_INCINV_CREATE_ACCOUNT Account = new BAPI_INCINV_CREATE_ACCOUNT();<br/>
    BAPI_INCINV_CREATE_ITEMTable Itemdata = new BAPI_INCINV_CREATE_ITEMTable();<br/>
    BAPI_INCINV_CREATE_GL_ACCOUNTTable Glaccountdata = new BAPI_INCINV_CREATE_GL_ACCOUNTTable();<br/>
    BAPI_INCINV_CREATE_GL_ACCOUNT Glaccount = new BAPI_INCINV_CREATE_GL_ACCOUNT();<br/>
    BAPI_INCINV_CREATE_MATERIALTable Materialdata = new BAPI_INCINV_CREATE_MATERIALTable();<br/>
    BAPIRET2Table InvReturn = new BAPIRET2Table();<br/>
    BAPI_INCINV_CREATE_TAXTable Taxdata = new BAPI_INCINV_CREATE_TAXTable();<br/>
    BAPI_INCINV_CREATE_VENDORSPLITTable Vendoritemsplitdata = new BAPI_INCINV_CREATE_VENDORSPLITTable();<br/>
    BAPI_INCINV_CREATE_WITHTAXTable Withtaxdata = new BAPI_INCINV_CREATE_WITHTAXTable();<br/>
    // ****<br/>
    // populating the header<br/>
    Headerdata.Bus_Area = invoice.BusinessArea;<br/>
    Headerdata.Comp_Code = invoice.CompanyCode;<br/>
    Headerdata.Doc_Date = invoice.InvoiceDate;<br/>
    Headerdata.Doc_Type = "RE";<br/>
    Headerdata.Diff_Inv = invoice.VendorID;<br/>
    Headerdata.Currency = invoice.Currency;<br/>
    Headerdata.Exch_Rate = 1.00M; // to be replaced<br/>
    Headerdata.Gross_Amount = invoice.InvoiceAmount;<br/>
    Headerdata.Header_Txt = "";<br/>
    Headerdata.Invoice_Ind = "X"; // X = Invoice , '' = Credit Memo<br/>
    Headerdata.Inv_Rec_Date = invoice.DateReceived;<br/>
    Headerdata.Pmnttrms = invoice.PaymentTerm;<br/>
    if (invoice.IsMatched == "0")<br/>
        Headerdata.Pmnt_Block = "A"; // in case the IsMatch Status = 0<br/>
    Headerdata.Pstng_Date = invoice.PostingDate;<br/>
    Headerdata.Calc_Tax_Ind = "X";<br/>
    Headerdata.Del_Costs = 0.00M;<br/>
    Headerdata.Ref_Doc_No = invoice.InvoiceNumber;<br/>
    Headerdata.Inv_Year = "0000";<br/><br/>
    // populating the line<br/>
    List<Invoice.LineItem> lines = invoice.LineItems.Where(item => item.PONumber.Trim() != String.Empty).ToList();<br/>
    int itemCount = 0, accSlNo = 0;<br/>
    foreach (Invoice.LineItem line in lines)<br/>
    {<br/>
        itemCount++;<br/>
        string strItemNo = FillCharacter(itemCount.ToString(), "0", 6);<br/>
        BAPI_INCINV_CREATE_ITEM Item = new BAPI_INCINV_CREATE_ITEM();<br/>
        Item.Invoice_Doc_Item = strItemNo;<br/>
        Item.Po_Number = line.PONumber;<br/>
        Item.Item_Amount = line.Amount;<br/>
        Item.Quantity = line.Quantity;<br/>
        Item.Po_Item = FillCharacter(line.PO_LineNo, "0", 5);<br/>
        Item.Po_Unit = line.PO_Unit;<br/>
        Item.Po_Unit_Iso = line.PO_Unit_Iso;<br/>
        Item.Tax_Code = line.TaxCode;<br/>
        Item.Cond_St_No = "000";<br/>
        Item.Cond_Count = "00";<br/><br/>
        Item.Ref_Doc_It = "0000";<br/>
        Item.Ref_Doc_Year = "0000";<br/><br/>
        Item.Po_Pr_Qnt = Convert.ToDecimal(Po_item["Quantity"]);<br/>
        Item.Po_Pr_Uom = Po_item["Orderpr_Un"].ToString();<br/>
        Item.Po_Pr_Uom_Iso = Po_item["Orderpr_Un_Iso"].ToString();<br/><br/>
        Itemdata.Add(Item);<br/><br/>
    }<br/>
    // populating the GL Accounts for the non PO and PM lines where the PO number will be blank<br/>
    List<Invoice.LineItem> nonPOlines = invoice.LineItems.Where(item => item.PONumber.Trim() == String.Empty && item.LineItemType == "L").ToList();<br/>
    itemCount = 0;<br/>
    foreach (Invoice.LineItem line in nonPOlines)<br/>
    {<br/>
        int multiplier = 1;<br/>
        itemCount++;<br/>
        Glaccount = new BAPI_INCINV_CREATE_GL_ACCOUNT();<br/>
        Glaccount.Invoice_Doc_Item = FillCharacter(itemCount.ToString(), "0", 6);<br/>
        Glaccount.Db_Cr_Ind = "S"; // debit<br/>
        Glaccount.Neg_Postng = "";<br/>
        if (line.Amount < 0.00M)<br/>
        {<br/>
            Glaccount.Neg_Postng = "X";<br/>
            Glaccount.Db_Cr_Ind = "H"; // credit<br/>
            multiplier = multiplier * -1;<br/>
        }<br/>
        Glaccount.Comp_Code = invoice.CompanyCode;<br/>
        Glaccount.Item_Text = line.Description;<br/>
        Glaccount.Item_Amount = line.Amount * multiplier;<br/>
        Glaccount.Gl_Account = line.GLCode;<br/>
        Glaccount.Costcenter = line.CC;<br/>
        Glaccount.Profit_Ctr = line.PC;<br/>
        Glaccount.Orderid = line.OrderNo;<br/>
        Glaccount.Tax_Code = line.TaxCode;<br/>
        Glaccount.Bus_Area = line.BA;<br/>
        Glaccount.Person_No = "00000000";<br/>
        Glaccount.Sdoc_Item = "000000";<br/>
        Glaccount.Ref_Date = "00000000";<br/>
        Glaccount.Wbs_Elem = "00000000";<br/>
        Glaccount.Profit_Segm_No = "0000000000";<br/>
        Glaccount.Alloc_Nmbr = line.Assignment;<br/>
        Glaccount.Tr_Part_Ba = line.BA;<br/>
        Glaccount.Activity = "";<br/>
        Glaccount.Acttype = "";<br/>
        Glaccount.Cmmt_Item = "";<br/>
        Glaccount.Cmmt_Item_Long = "";<br/>
        Glaccount.Co_Busproc = "";<br/>
        Glaccount.Costobject = "";<br/>
        Glaccount.Func_Area = "";<br/>
        Glaccount.Func_Area_Long = "";<br/>
        Glaccount.Fund = "";<br/>
        Glaccount.Funds_Ctr = "";<br/>
        Glaccount.Network = "";<br/>
        Glaccount.Rl_Est_Key = "";<br/>
        Glaccount.Sd_Doc = "";<br/>
        Glaccount.Grant_Nbr = "";<br/><br/>
        Glaccountdata.Add(Glaccount);<br/>
    }<br/>
    proxyPOInvoice.Bapi_Incominginvoice_Create(Addressdata, Headerdata, out FiscalYear, out InvoiceNumber,<br/>
        ref Accountingdata, ref Glaccountdata, ref Itemdata, ref Materialdata, ref InvReturn, ref Taxdata, ref Vendoritemsplitdata, ref Withtaxdata);<br/>

    Hi,
    This error was mis leading. If CalculateTax flag is set to 'X' and there is balance in the transaction currency then, instead of giving "Balance in transaction currency" error "Enter Business Area" error comes.
    There must be some logic for SAP to give this error, but it was somewhat misleading. When i removed the flag for CalculateTax="", this error vanished and "Balance in transaction currency" error came. When I retrified that my invoice got booked properly.
    Thanks to all anyway for the responses provided.
    Best Regards
    Sutirtha

  • Business Area postings in Tax line items

    Hi Experts,
    As we know that Business Area is not updated in the tax line items, In one our company code we have done BA adjustment through F.5D and F.5E in 2007, after that there are thousands of line items in the system without business areas, now my client wants a tallied business area trial balance from 2007 onwards or aleast to ensure that the tax line items should get business area assignments from hereafter,  and also recently we have created one more company code, Please help how do I ensure that all the tax line items and items with blank business areas get the business area postings. Is there any user exit or any work around available for this... At present we have only one GL for Inter business area clearing for all types of accounts (reconciliation, tax accounts) in OBXM.
    Please help...
    Regards,
    Khan

    Hello,
    Are NewGL and document splitting active in your system? If yes, you should solve this problem with using splitting function.
    Otherwise, you can use business transaction event 00001120.
    I explained step by step how can you activate BTE 00001120. I give you message below.
    Re: FBCJ - Cash Journal Transaction
    In this exit, you must update t_bsegsub-gsber field which t_bseg-buzid = 'T' for tax item.
    But you can not split tax line items in this exit. For example in invoice you have 2 or more business area, but tax line item doesn't create for each buiness area (If you don't use document splitting functon). So in this exit you can only assign a business area to tax line item which is automatically generate while posting FI document.
    Regards,
    Burak

  • Not Standard Business Area determination

    I need to determine Business Area acording to storage locations. I know that this solution is poor, but I cannot choose another way.
    Storage loactions are already known during goods issue in delivery. So during, postings materials in delivery, Businness area should be determined/ changed. New business area must be updated also in related sales order, because from this document is taken into invoice and posting documents. What user exist should I use?
    Maybe business area can be determined already during invoice creation? What do You think.
    Thanks in advance for help!
    /gosia
    Edited by: Malgorzata Paraficz on Aug 11, 2010 2:59 PM

    Hello Gosia
    I think you can influence Business Area determination during invoice creation:
    Try Include LV60AA89 (Form VBRP_GSBER_ERMITTELN)  in which you have the enhancement spot:
    ENHANCEMENT-POINT VBRP_GSBER_ERMITTELN_01 SPOTS ES_SAPLV60A.
    The include also uses Function module RV_BUSINESS_AREA_DETERMINE.
    Work with an ABAPer ( if you are not one).
    Let me know if it helps.

  • Business Area Postings

    Hi dear gurus, I need business area based gl posting (line item) report. It must show, date, amount, user, business area. are there any standard report for this?
    thanks in advance,

    Hello,
    Are NewGL and document splitting active in your system? If yes, you should solve this problem with using splitting function.
    Otherwise, you can use business transaction event 00001120.
    I explained step by step how can you activate BTE 00001120. I give you message below.
    Re: FBCJ - Cash Journal Transaction
    In this exit, you must update t_bsegsub-gsber field which t_bseg-buzid = 'T' for tax item.
    But you can not split tax line items in this exit. For example in invoice you have 2 or more business area, but tax line item doesn't create for each buiness area (If you don't use document splitting functon). So in this exit you can only assign a business area to tax line item which is automatically generate while posting FI document.
    Regards,
    Burak

  • Profit center/Business areas

    Hi,
        can we track all the fucntinality of business area using profit center acc. instead if we decide not to use business areaa at all and not activate compna code ofr bus.area fi. statements.
    are there some eg pca reports whcih can list p&l and b/s reports as it would show for business areas.
    please let me know

    Yes, it possible to generate B/S in PCA and not to use BA. You must take care of following config-
    3KEH- All B/s gl accounts which are not recon a/c or inventory/wip accounts must be customized in this transaction code. PCA P&L always reconciles with FI.
    To transfer receivables, payables, asset, inventory/wip to PCA, there are programs provided by SAP which are periodic. However, there is option to maintain asset & inventory accounts in 3KEH and can be posted online in realtime. Receivables / payables are always posted periodically in PCA. (t codes 1KEj, 1KEi,1KE?,..)
    If you are using ECC 5.0 /6.0, it's better to use segments.
    Hope this information helps.
    Regards,

  • Business Area for VAT Accounts

    Hi,
    Please anyone can explain how to post business area at the time of doing invoice verification if one company using multiple business area.Also this company is using one plant as well as one company code.
    According to my knowledge business area cannot be posted trough MIRO if you are using multiple business area and please let me know your expert advice on this
    Regards
    Chrishantha

    Hi Chrishantha,
    According to standard SAP Practices Bus area is not mandate for Company code.
    But if client required the reporting for area you can able to make this as mandate in Field status afterwords you can able to get the error without Business area you can not able to post the IR.
    For your information  in Standard Operation of the MIRO its wont disturb you for business area required as mandate.
    Regards
    Milind Joshi

  • Business area issue in consumption items

    Dear Sapgurus,
    while doing in me21n with cost center k means consumptions system says popup error mesage, but in same in me21n tradable gooks i am not facing any issue.
    Balancing field "Business Area" in line item 001 not filled
    Message no. GLT2201
    Diagnosis
    The field Business Area marked as balancing is not filled with any value in line item 001, even after document splitting.
    System Response
    The document cannot be posted.
    Procedure
    First check your entries.
    Additional causes could be:
    No value can be derived for this field from the current document data.
    You have entered a document type that is not designed for this business purpose.
    Procedure for System Administration
    Double-post

    Hello,
    Are NewGL and document splitting active in your system? If yes, you should solve this problem with using splitting function.
    Otherwise, you can use business transaction event 00001120.
    I explained step by step how can you activate BTE 00001120. I give you message below.
    Re: FBCJ - Cash Journal Transaction
    In this exit, you must update t_bsegsub-gsber field which t_bseg-buzid = 'T' for tax item.
    But you can not split tax line items in this exit. For example in invoice you have 2 or more business area, but tax line item doesn't create for each buiness area (If you don't use document splitting functon). So in this exit you can only assign a business area to tax line item which is automatically generate while posting FI document.
    Regards,
    Burak

  • Error in VL02N: Business Area 701 does not exist

    Hi experts,
    There's an error that occurs while trying to post a delivery in VL02N, a display log is opened with the message "Business Area X does not exist", the Business Area "1701" is already created, nevertheless, when I try to post the delivery I cheked the Business Area in the Financial Processing tab and it appears as "701" instead of "1701".
    I hope any of you can help me.
    Thanks in advance
    Eloy Venegas

    hi,
    For the Sales Area, check the rule for determining the Bzness Area(S&D>Basic Functions>Account Assgmnt/Costing>Business Area Account Assignment>...) and make sure ur bzness area '1701' is assigned to the sales area/or any combination that you've defined in the rule.
    Let us know, if this helps?
    Reward, if helpful.
    Rgds,
    Raghu.

  • Business area and profit centre field to make mandatory in all transactions

    Dear Team,
    My client wants to make the above mentioned fields mandatory while entering any business transactions. viz. MM,FI / SD transactions. He wants to capture the details Business area wise as well as Profit Centre wise.
    Please let me know whether
    1.  I need to make "Business Area" as well as "Profit Center" field mandatory in "ALL THE FIELD STATUS GROUPS"of particular field status varient. If not which particular field dtatus groups to use. &
    2.Whether "Profit Center" or "Cost Center" to make mandatory and to which GL.
    Please help.
    Waiting for your reply.
    Thanks and Regards
    Sagar

    Hi
    A good way to make this Check compulsory in case Document Splitting is active in your system.
    Follow the path
    IMG>Financial Accounting (New)>General Ledger Accounting (New)>Business Transactions>Document Splitting>Define Document Splitting Chracteristics for General Ledger Accounting.
    Here you can make splitting active for Both business Area and profit center.
    If any where in the posting system does not find either of Business Area or Profit Center, it would give an error
    Thanks & regards
    Sanil K Bhandari

  • Business Area Balance sheet

    Hello SAP Gurus,
    We have enabled business area balance sheet in Company code global parameters. At the end of everymonth our accountants having the following problem.
    For Reconciliation accounts(vendor, customer etc.) and automatic posting accounts (tax, cash discount a/cs etc...) they have to give business area manually. For manual posting a/cs we are doing either FSG or FI Validation for business area. Is there anyway we can get rid of giving business area manually at the month-end for reconciliation and automatic posting accounts.
    Thanks
    Kishore

    Hi,
    For Blank Business Area in the Balance Sheet item, please execute Transaction F.5D and F.5E for the Balance Sheet Items. These transaction will post Inter Business Area Postings to balance the Business Area Balance Sheet. For the Profit and Loss Account like the discount Account, you need to execute the transaction F.5F (Profit and Loss Adjustment). However, be careful, this transaction should be executed last as part of your month end closing after all accounting documents have been posted because this transaction will post entries as many times as the transaction is executed.
    Hope this helps
    Regards
    Mahendra

  • 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

Maybe you are looking for

  • Tech Challenge!! Late 2009 27.5" Major problems but HDD seemd to be Ok. I can clean install 10.6.8 but can't upgrade or reinstall from TM?

    Here's the last crash report from failure to reinstall a TM backup.  Was running Yosemite and things went sideways a couple of days ago. Got through a reinstall attempt and it was working. Ended up going through all the reset hoops and flashing quest

  • Imovie

    i deleted iMovie from my iMac how do i re-install without new purchase

  • Not able to get proper report from PBAQ Tr. Code

    Hi HR experts!!                            I was trying to get the report of technical skilled resumes which is already stored in the SAP System, but I am not getting the proper report if I change the status of the position  to other than "in-process

  • Move schema to another tablespace

    I want to move one schema and all objects own by particular schema to it's own tablespace (new_tablespace). will command provided below move all existing schema objects to new tablespace or just new objects? alter user default tablespace new_tablespa

  • The leading zero in serial number..

    Hi all, Does anyone happen to know how to stop SAP from erasing the leading zero when entering a Serial number. I'm using profile 0003 (standard) and when a GR is posted the leading zeros are removed? Any help would be greatly appreciated. Best regar