Error in business area determination in pgi

HI GURUS
i have 1 problem .my clients wants to sale wastes material,thats why i configure all the process(diff distribution channel,order,del,billing type,etc) i create order>delivery correctly but when i am going to post the doc for pgi it showing a red error massage "business area 1002 does not exist".
we never create business area 1002.we use KOLK .In order the system took KOLK but in pgi it showing this error.
but again when i am trying to post system allows me to post and took the KOLK automatically.
I check all the con and all are correct.
what is the reason behind it?how can i solve this problem?
If any one can help me
Thanks
babi

hi
During PGI, the system takes the business area that appears in the
material document and in the accounting document from the entries
recorded under the customizing transaction OMJ7:
In the piece of coding:
Main program     SAPLMATL
Source code of   LMATLF6P
       PERFORM  LESEN_T134H   .
       CHECK SY-SUBRC = 0.
       MOVE-CORRESPONDING T134H TO MBEFU. <
     ENDFORM.
regards
ramana

Similar Messages

  • VBAK-GSBER - Business Area determination at header level

    Good morning,
    How can I populate the field VBAK-GSBER in transaction VA41, VA42? Even if I try to enter something manually there, it is blocked (as if it is always 'display only'). I´ve made all the steps in IMG> Enterprise Structure> Assignment> SD> Business Area Accounting Assignment and only the field COBL-GSBER (business area at item level) is filled automatically.
    Thanks in advance.
    Adriano Cardoso
    Edited by: Adriano Cardoso on Feb 12, 2010 11:00 AM

    Dear Kumar
    Please go to IMG path assign the business area
    IMG>Enterprise structure>Assignment>Sales and Distribution>Business Area Account Assignment-->Define Rules By Sales Area(Rule 1)
    -->Assign Business Area To Plant And Division
    Also check in img->SD->basicfunctions--->account assignment and costing --->business area account assignment
    Mostly if you define in enterprise structure the values will flow down in SD basic functions
    But better to Check in both these places
    Check whether you have assigned the Business Area to your Plant and Item Division. Also check whether the Business Area is assigned to your sales area.
    If these assignment is proper here then the error will be eliminated 100 %
    Note the business area is determined by three rules
    1.Plant and Item division
    2.Sales area
    3.Sales org, dist channel and item division
    pls select rule 1
    Following are few important transactions, in close relation with Business Area:
    OX03 Create Business Area
    OMJ7 assign Business Area to Plant / Valuation Area and Division
    OVF2 Org Unit: Sales Area - Business Area Determination rule
    OVF0 Org Unit: Business Area Determination rule
    OVF1 Sales Area - Business Area Determination rule Slsorg/DstCh
    Regards
    Raja

  • Business area determination problem

    Dear Experts,
    From few days I am facing issue relating to business area determination and unable to get the solution, please kindly anybody give the solution.
    my client requirement is as follows.......
    there are 3 plants ex: A, B and C
    Bus Area Determination maintained is    Plant + Division =     Bus Area
                                                                                  A    + D1          =    1000
                                                               B(New Plant)     + D1          =    2000
                                                                                  C     + D1          =    1000
    My problem:
    Plant C is receiving the goods (same material having Div D1) from Plant A and B through STO , and despatches to depots through STO. Here (at Plant C) we want to identify the stock movement  values which received from A and B through Business Area ,
    ex: if at C goods received / issues which received from A need 1000 BA, as well as goods belongs to BA 2000.
    *as at plant C 'Plant and Div' same, so we are unable to get separate Bus Areas for A and B as per standard SAP,
    So, i need to Populate the Business area 2000 in material document(VL02N PGI), based on Storage location(as we are using new St.Loc for B related stock for inventory identification).
    we gone through feasibility of Enhancement, but unfortunately we couldnu2019t get any,
    *please suggest the solution either from standard SAP or enhancement, it would be very helpful and appreciable.
    *Regards,*
    *MMReddy,*

    In configuration, you can assign a business area to a plant and division combination or to a sales area.  There is also some additional configuration for cost centers where you can assign sales org, distribution channel, division along with an order reason code to a cost center and a business area. 
    The menu path in IMG is Sales and Distribution > Basic Functions > Account Assignment/Costing > Business Area Account Assignment or Assign Cost Centers.
    I hope this helps.

  • 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

  • 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.

  • Incorrect business area determination

    i am facing a problem wherein the business area determined is different from the division maintained for that article.eg if division maintained for article is 67,business area detrmined in 6600.i hav checked the tables zinternal order.everything is properly maintained .also for the same article in sum orders business area is determined correctly and in sum cases it is not.kindly help
    regards
    chetana

    Hi
    Rule 1 What you mentioned is wrong
    Rule 1 It is Plant and Item division
    Rule 3 sales org. DC and Item division
    Here the item division is the division from material master maintained in both basic data nad sales org data 1 tabs
    Division generally means header division
    Item division menas division mentioned in material master
    A customer A in sales area 1000,10,00 can buy products belonging to divisions material X belonging to division 01,material Y belonging to division 02,material Z belonging to division 03 in s a single sales order prvided a lot of customizations are done properly
    Here  header division is 00 and Item division 01,02, and 03
    These item divisions 01,02, and 03 are mentioned in MMRs of marerials X,Y and Z respectively
    So MMR palys a big role in determining business areas
    Regards
    Raja

  • Business Area Determination

    We have activated Business Area in our comapny. We have a requirement of valuating special stocks (project & Sales order) with a business area assigned to project or sales order item instead of business area determined on plant and division combination. Can you please help us on this?u201D

    Hi,
    Please Follow the following PDF here you will get ur required answer.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/FIBUSI/FIBUSI.pdf
    Thanks,
    Raja

  • Reg. Business Area Determination

    Hi All,
                 I am getting an error while saving the Sales Order saying "No Businees can be determined" . Please let me know what are all the config. I need to check.
    Thanks in Advance.
    Regards,
    Sen.

    Hello,
    Maintian the business area in Enterprise structure.
    Check whther you have maintian the business are or not, if not please maitain the same.
    SPRO-->Enterprise structure --> Defenition -- Financial accounting --> Define business area.
    Once you defined the business area, please assign the same :
    SPRO-->Enterprise structure --> Assignment --> sales and distribution --> Business area account assignment.
    Maintina the rule for business area account assignment, maintina the business area according to the rule you defined.
    Assign business area to sales area or  Assign business area to plant and division.
    Prase

  • A/c doc not created and error msg "Business Area Miss-Match Check input"

    Hi,
    After creation of new Plant and Business area create a invoice , But my accounting document does't created and error msg show "Business Area Miss-Match Please Check Your Input". plz suggest me.
    Regards,
    Sohail

    Dear Sohail Rahman,
    Looks like the Business area has not been properly assigned.
    Business area can be created for three combinations:
    1. Business area by sales area
    2. Business area by plant and division
    3. Business area by plant and item division
    In your case, check whether the business area is maintained for the combination of plant/division and plant/item division.
    Hope this helps
    Thanks
    Murtuza

  • Error: Regarding Business area in not assigned to cost center

    Hi Expert,
    while saving the WBS , getting error message that business area is not valid for this cost center, even after mapping business area in to cost center in KS03. still getting this error. and check all cobination between business area and cost center is correct..please guide some one how to correct it.

    Hi
    CrossCheck in OKB9 Account Assignments -Detail per Businessarea/Val.area - check for the cost center to which Val.area it is assigned. change it as Per your requirments.
    this will solve your issue.
    Thanks
    Goutam

  • How is business area determined

    Dear all,
    I try to do some manual adjustment on business area. So I want to posting the following document via FB01.
           GL account    business are  Amount
    Dr.  GL1                BA01              1000
    Cr.  GL1                Blank              1000
    However, when I post or simulate the document, business area will be filled automatically to the credit item.
    If I leave the business area blank for both item, no default business area will be determined.
    Do you have any thought on why the business area is filled automatically?
    Thank you in advance.
    Christina

    Hi...
    As per your issue while entering the  fileds you may enter cost center at first line item level so based on that system will authomatically  pickup the business area in the business area field  becasue we are entering the business area at cost center level ...at same time  you may not enter any cost center at 2nd line item level
    So that's why system will not show the business area at 2nd line item level...
    otherwise is there any validation was define in GGBO for Business area for your respective comapny code...
    i hope you will get some idea
    Regards
    vamsi

  • Error with Business area and profit center

    Hello Guru's,
    I have an issue when posting the stock through t-code MB1C and 521 movement type. We have assigned business area and profit centers for plants as below:
    For Plant 1000,
    Business Area:       1100
    Profit center:           1100
    And For Plant 2000,
    Business Area:        1200
    Profit center:             1200
    But when I am assigning plant 2000, and assigning business area and profit center as 1200 respectively. System by default is picking as 1100 with a warning message.
    Please help this resolving this issue, I want the system to take the correct assigned BA and Profit center.
    Regards,
    Varun Siddharth

    Hi Varun,
    One of the possible ways is, to assign a business area to the cobination of Plant and Division in OMJ7 (Assignment is possible for other combinations as well). Later you can define a substitution rule so that, a profit center is substituted to the combination of Plant and Business Area.
    Hope it helps you.
    Regards,
    Ravi Kumar

  • Business Area Determination In Service Entry

    In purchase order we are using account assignment category M and we are giving our sales order so finally we are getting business area in purchase order also through sales order and our inventory g/l account is also getting update in purchase order .
    My first doubt is that we are using account assignment category M whether it is right or we should go for the account assignment category E and what is the basic difference between E and M.
    Second ok we are getting the business area at purchase order level but when we are doing good receipt or the invoice with ref to this purchase order we are not getting the business area either in the MIGO tcode or in the MIRO tcode.We able to see the business area in the MIGO at account assignment tab but when a Accounting document is generating that time we are not getting the business area in the accounting line items.
    Where is the Problem we are not able to justify.
    Similarly in the Invoice we are not getting the business area in the follow on accounting document but when we display the invoice document after saving that time we able to see the buisness area in the line item details of the invoice but accounting document we are not getting.
    Please help me out to get the business area for the GR/IR account in the MIGO as well as in the MIRO tcode.
    ANy clarification u want then please be in chat procedure for details.
    Advance Thanks a lot for kindly co-ordinating me in solving the issue.

    Hii,
    In E Sale Order is the Cost Object and sale order costing is required
    In M Sale is not a Cost Object material costing is required.
    If you activate the Business Area in OBY6 mandatory field it will ask you at the Application level.
    Regards,
    Kumar

  • Business Area determination for Service Entry

    In purchase order we are using account assignment category M and we are giving our sales order so finally we are getting business area in purchase order also through sales order and our inventory g/l account is also getting update in purchase order .
    My first doubt is that we are using account assignment category M whether it is right or we should go for the account assignment category E and what is the basic difference between E and M.
    Second ok we are getting the business area at purchase order level but when we are doing good receipt or the invoice with ref to this purchase order we are not getting the business area either in the MIGO tcode or in the MIRO tcode.We able to see the business area in the MIGO at account assignment tab but when a Accounting document is generating that time we are not getting the business area in the accounting line items.
    Where is the Problem we are not able to justify.
    Similarly in the Invoice we are not getting the business area in the follow on accounting document but when we display the invoice document after saving that time we able to see the buisness area in the line item details of the invoice but accounting document we are not getting.
    Please help me out to get the business area for the GR/IR account in the MIGO as well as in the MIRO tcode.
    ANy clarification u want then please be in chat procedure for details.
    Advance Thanks a lot for kindly co-ordinating me in solving the issue.

    Hii,
    In E Sale Order is the Cost Object and sale order costing is required
    In M Sale is not a Cost Object material costing is required.
    If you activate the Business Area in OBY6 mandatory field it will ask you at the Application level.
    Regards,
    Kumar

  • Default Business Area determination from CRM TRM

    Dear All,
    We have CRM-TPM and ECC in the current set up. System is  deriving Business Area into FI and COPA for CRM posting where we are not using business area for reporting?
    Can anybody help us?
    Regds,
    Purna

    Hi....
    Check this one also
    Transaction OKB9 (default account assignment to maintained the link for cost center and business area)
    Enter the Company Code and Cost Element
    Cocd      Cost elem.      Acct assignment detail
    Enter the details as per business area/valuation area
    BA     Cost ctr
    If it there remove it .... but make sure before make changes....
    Regards

Maybe you are looking for

  • Trying to make the config for gensplash suppost :S

    Hello everyone im trying to patch the stock kernel of arch to get fbsplash working and im following the wiki topic about this matter http://wiki.archlinux.org/index.php/Gensplash , but the problem is that it it says i need to make the config with thi

  • G505S doesn't full-scree​n my External Monitor (1920x1080​)

    Hey Guys, I've just bought a G505s IDEAPAD with the follwing spec's: AMD A8-4500M, 4 x 1,9 - 2,8 GHz, 4096 KB L2-Cache AMD Radeon  HD 7640G 4GB DDR3 I'm running Windows 7 x64 on it, all the drivers are up to date from the original Lenovo driver page.

  • Merge two differents tables in one new structure

    Hello guys, How can I merge two differents tables in one new structure (workarea) dynamically? For example, merge MARA and MARC in a new structure that contains all fields from MARA and all fields from MARC. In this case, it isn't necessary that iden

  • Release strategy challenge

    hi all. our maintenance department requested a very specific release strategy for purchase requisitions with account assignment F (workorder). their release is based on several factors: 1) amount: 0>2000 it must be released by the main work center wh

  • Unable to resume from "Turn off display"

    I am running KDE on Arch Linux. I noticed that everytime I turn off the display using the "Function + F2" button on my laptop, when I try to resume / turn it on again it shows a terminal screen with error messages and I am unable to do anything and w