Idoc Company Code Error

Hi EveryOne,
When Running an INVOIC02 IDOC,i am getting an error u201CA company code cannot be determined for LI 0000001510u201D .
I see the Company code for that vendor in LFB1
I maintained entries in OBCE and OBCA
This Idoc runs for the partner function RS
IDoc calls the Function module u201CIDOC_INPUT_INVOIC_MRMu201D Do u guys think i should activate the user exit  "CALL CUSTOMER-FUNCTION '011'u201D to get the company code from E1EDK14 segment???
In that segment QUALF is passed as  011
And orgid as company code??
Or is there any other segment i can pass the company code?

Activate the user exit .
EXIT_SAPLMRMH_011 Logistics Invoice Verification: inboud EDI message, company code
check this code.
TABLES: t076b.          Company Code
CHECK I_E1EDKA1-PARVW EQ 'RS '.
LOOP AT t_idoc_data WHERE segnam = 'E1EDK14'.
  MOVE t_idoc_data-sdata TO e1edk14.
  IF  e1edk14-qualf = '011'.
    EXIT.
  ENDIF.
ENDLOOP.
SELECT SINGLE * FROM  t076b WHERE  parart    = i_idoc_contrl-sndprt
                            AND    konto     = i_idoc_contrl-sndprn
                            AND    bukrs     = e1edk14-orgid.
IF sy-subrc = 0.
  e_lifnr = i_lifnr.
  e_bukrs = t076b-bukrs.
  e_change = 'X'.
ENDIF.

Similar Messages

  • "Check Business Area of the company code" error while posting stock

    Hi Experts,
    While posting stock to a storage location of a plant , the system is giving me the following error message :
    "Check Business Area of the company code" .
    Would highly appreciate if I could get some info for this error message and how to resolve the same.
    Thanks & regards
    Vikas Hali

    hi
    i think division is missing in material master basic data , please enter division in basic data tab in material master then you will try ,
    then post the stock
    regards
    vijay

  • Assigning the COD to Company Code - Error

    Hello Gurus,
                          My client has a company code in Canada, but wants to follow US book methods for depreciation. The client also wants the methods that are preconfigured..i mean pre-delivered through SAP. So, the problem is that when I am assigning the Canadian Company code to the Canadian Chart of Depreciation, I am getting an error ( Inconsistency between FI company code and COD). I would be appreciate if any of u Gurus could give me a step-by- step configuraton piece, as I am a fresher.
                                                                          Thanx & Regards,
                                                                       Abhinav Kumar

    Hi Prasad,
                       When I am assigning the Canadian company code to the Canadian Chart of Depreciation, the error message it throws is "Inconsistency between FI company code and the Chart of Depreciation"
                                          Thanks & Regards,
                                         Abhinav

  • Tax code does not exist in company code Error in FBCJ

    Dear Sir,
    I want to post a document using business transaction Expenses in Cash Book.
    In this case entry will be posted to the GL account which are tax relevant.
    Necessary configuration for Business Transactions in FBCJ2 have been done.
    even The Tax code is assigned to Company code in MM (SM30 > J_1ICONDTAX)
    It is observed that the transection calculates Tax and geting saved (The indecator becomes Yellow)
    But at the time of posting entry to FBCJ Cash Book System throws error
    "Tax code ZM does not exist in company code 1000"
    I am using the same tax code namely "ZM" in other transactions such as F-02
    where it is working fine and does not throw any error.
    Please take me to step by step configuration if the same needs to be configured @ FV12
    Regards & Thanks in anticipation
    Chirag Shah

    Dear Sir,
    I have checked @ FV12 and found that the condition record is already exist with the Key combination of the referred tax code namely ZM.
    But i could not find how to check the WEF date.
    Even I tried Creating new condition record through FV11 but even there i could not find how do I create a condition WEF 1.4.2011 (The first date of Fiscal Year)
    Kindly Guide
    Regards & Thanks in anticipation
    Chirag Shah

  • GL account doesnt exist in company code-error in Sub contracting PO.

    While doing GR for the sub contracting PO, I am getting this error for line item 4:  GL account 490237 is doesnot exist in company code 0600.
    3 line items are already recieved to the GL account 490223 which is correct.
    for 4 th line item when i am going to do the GR the above error is occuring,
    I have checked the FRL setting for Valuation grouping code VB01 with 490237; it should be acually 490223.
    Where can I see the changes relevant to that, all of a sudden GR is asking for the new GL account than the one which use to posted earlier? Pls help me experts.
    Thanks
    Sri

    The correct G/L account is 490223, so far posted with. what changes went to production I dont know
    Valuation grouping code in obyc is VB01 490237 (at present for FRL)
                                                            VB02 490223 (at present fro FRL).
    due to which all of a sudden its looking for 490237 which is not correct.
    after our EHP5, is this got changed to vice versa?
    Thanks
    Sri

  • Cross company code error in posting due to retro

    Hi,
    We have a scenario where a backdated change was made to move an employee accross company codes. During payroll posting into finance, we recieve the following error:
    Required field GL_ACCOUNT was not transferred in parameter ACCOUNTGL
    This is in 2 documents, one fordebiting the old company code and another document to credit the new one. In both cases we recieve this error for the amount being moved in between the 2. So it sees like the system can't handle this scenario.

    Hi Hitesh,
    The error may get resolved using the following steps:
    1. Create a business partner in the role billing unit (Tcode BP)
    2. Assign this billing unit to company code.
    3. Assign billing unit to sales organization.
    Customer Relationship Management ->Master Data ->
    Organizational Management -> Cross-System Assignment of Organizational Units ->  Assign Billing Units to Sales Organizations
    This should resolve ur issue.
    Regards,
    Shalini Chauhan

  • Bank line items are only permitted in one company code Error

    Hi Experts,
    While doing MIRO with retention money i get the following error
    "Bank line items are only permitted in one company code"
    The transaction i am trying is in only one company code. Also i refered the following links in SDN
    http://forums.sdn.sap.com/thread.jspa?threadID=2100162
    http://forums.sdn.sap.com/thread.jspa?threadID=2100332
    As per the first link i tried to apply the note 1548167 but it has dependancy to numerous notes including
    146691, 1469138, 1477908, 1226698 and so on
    This scenario was working earlier without these notes
    Please advice

    sir
    thanks for your reply. as per your suggestion i am trying to change in fs00 to uncheck the line item management but  i am unable to do that,system shows that i have to uncheck the open item managemt also but the said account contain the open item. so i am not able to change the same. is there any other way to do that. can you please suggest me in detail? and one more thing that i am able to see only the balaces in fs10n. but not able to see the line item.this is probably for missing the business area in line item.
    but i needs to see the line items.
    can you please tell me any alternate way in detail to solve this problem?
    thanks and regards
    konishko

  • Create Shopping cart - Enter company code error

    Hi All,
    While creating shopping cart from portal, system is throwing error as "Enter Company Code". When checked under basic data tab, there is no values for company code field. How to bring these values into SRM from ECC ?
    Regds,
    CB

    Hi,
    Please find the details...
    i have taken this from System >> Status >> Component Information >>
    SAP_ABA     701     0003     SAPKA70103     Cross-Application Component
    SAP_BASIS     701     0003     SAPKB70103     SAP Basis Component
    PI_BASIS     701     0003     SAPK-70103INPIBASIS     Basis Plug-In
    ST-PI     2008_1_700     0000          -     SAP Solution Tools Plug-In
    SAP_BS_FND     701     0002     SAPK-70102INSAPBSFND     SAP Business Suite Foundation
    SAP_BW     701     0003     SAPKW70103     SAP Business Warehouse
    SAP_AP     700     0015     SAPKNA7015     SAP Application Platform
    SRM_PLUS     700     0002     SAPKIBK202     SRM_PLUS for mySAP SRM
    SRM_SERVER     700     0002     SAPKIBKV02     SRM_SERVER
    SRM_EXPL     700     0002     SAPK-70002INSRMEXPL     SRM Extended Functionality for SRM_PLUS including PPS
    SRM_EXT     700     0002     SAPK-70002INSRMEXT     SRM Extended Functionality for SRM_SERVER including PPS
    Regds,
    CB

  • "No amount authorization for customers/vendors in company code" error

    Hi gurus,
    When I try to post casj journal entry in FBCJ below mentioned Error showing please help
    I create Business Transactions ( Revenue and Expenses) in FBCJC2
    Defined no. range in FBCJC1
    Tolrance group for OBA3 created 1 entries blank
    and
    When I post a F-43 (purchase Invioce) same comment showing
    "No amount authorization for customers/vendors in company code "
    Thanks
    Srinath

    Hi Srinath,
    Check with the following thread can help you:
    No amount authorization for customers/vendors in company code 123..
    Also
    You might want to check the following:
    Configure Vendor-Specific Tolerances
    Define Tolerance Groups for Employees
    Define Tolerances (Customers)
    Search SPRO for these and you will find what you need.
    Kind Regards,
    Fernando Evangelista

  • Error - Company code not assigned to country or country to calculation proc

    Hi All,
    We are on ECC 6.0 instance.
    While trying to post a JE, I am getting the error message "Company code not assigned to country or country to calculation procedure". I am able to post the JE for a another company code. It seems we are missing some configuration for the company code error is coming up.
    Any ideas what is causing the errors. More details about the error are below:
    Company code not assigned to country or country to calculation procedure
    Message no. FF703
    Diagnosis
    An error occurred when checking the tax code. Either the assignment of company code and country or of country and calculation procedure is not correct.
    Procedure
    Check the system settings.
    To do this, choose Maintain entries (F5).
    If the program error occurred
    In a standard SAP program, then create an OSS message
    In a program you wrote yourself, then correct the program.

    Hi,
    You need to assign the tax procedure to company code.
    Try transaction OBBG. and check whether the proper tax setting are maintained or not
    You probably need to make other tax settings so you should check out
    the menu Financial accounting>Financial Accounting Global Settings>Taxes on
    Sales/Purchases in the IMG.
    Hope it will work.
    With Best Regards,
    Navneet Chaubey

  • A/P F110 Payment via company code in a different country

    The client is a service organization where the Vendor data is managed in the US company code (US01) and the Customer data in managed in a Swiss company code (CH02). Many of the customers could also provide services and the invoices are posted to vendor accounts in the US01 company code.
    In the case where the vendor amount exceeds the customer amount, the customer/vendor has agreed that the client will pay the net amount and clear the net to the customer account.
    Clearing between the customer and vendor in company codes in the same country and with the bank account managed in the same country works as expected.
    The CH02 company code does not have a bank account of its own and therefore cannot make its own payments.
    The problem that we encounter is that I cannot define (for F110 configuration) sending and paying company codes where the country assigned are different, e.g.;
       - Sending company code: CH02
       - Paying Company code:  US01
    When this is entered into the IMG configuration for "Automatic payments > Set Up All Company Codes for Payment Transactions" the error "Company code US90 is not permitted as the paying company code" (error code F3063) is issued. The detailed error description is:
    "The paying company code and the company code on whose behalf the payment is being made must be in the same country, have the same local currency, and display the same currencies managed in parallel. The setting regarding extended withholding tax functions (active or not active) must also be identical for both company codes."
    The initial design was to have the A/P and A/R in the CH02 company code but the payment via the US01 company code would not work. Having the vendor only in the US01 company code is a solution to this using an inter-company invoice posting. Using a work-around to clear the customer balance to the vendor account is not acceptable to the client.
    The easy way out of this is to assign the CH02 company code to country code 'US', but this is not correct.
    Is there a solution to making payments from company code US01 (as the paying company code) but including the customer items from a foreign company in the payment?

    Hi Martin,
    Welcome SDN!!!
    The standard SAP doesnot provide payment via company code in a  different country.If you still feel that it is fit case,please contact SAP.SAP may consider this a special requirement and may cover your case under SAP Note 357732.(pls have a look once).
    Thanks
    Aravind

  • KPSI (RKNMABTC) on company code level

    Hello,
    I would like to ask, if somebody of you have already tried following:
    We would like to run the KPSI (Plan reconciliation / target = actual-IAA) on company code level. It is possible e.g. if create an appropriate cost center group. The problem is, that if the KPSI already runs for other company code, error message KI718 appears.
    Error message KI718: "Planning locked by user &1. User  is planning in controlling area XXXX, version XXX . Thus, plan reconciliation with update posting is not possible."
    That means, that it is not possible to run two or more parallel plan reconciliations, it they refer to the same controlling area and version.
    In my opinion this possibility should be offered by SAP, as you can have many companies within the same controlling area, which process their planning for their cost centers independet from the other companies.
    Can anybody of you offer some solution?
    Thanks in advance
    Peter

    Hi Greta
    My interest in this thread has increased, seeing you are from SAP
    Peter was not ref to KSPI, but to KPSI...
    The design of OMIK is such that, you can not execute LTP and KPSI for 2 company codes simultaneouly in all circumstances...
    You have to maintain the parameters in OMIK for one Plant, Run LTP, Delete the entry in OMIK and then again repeat the steps for 2nd company code.... You can refer the OSS msg 1015121 / 2008 that I raised to SAP and the Development Request (DR)  No that I provided earlier in my reply
    In My case, it was one Contr Area and 14 comp codes, so obviously, not possbile to run LTP for all of them at once....
    My only point is when SAP allows and recommends to have one contr area and multi company codes - Then all other transactions including OMIK should permit me to maintain the required parameters at both KOKRS and BUKRS level...
    I would be thankful if you can let me know any updates on the DR no that I mentioned
    Regards
    Ajay M

  • Error in Invoic Idoc - Vendor, Company code not found

    Hi All,
    We are facing an issue with an Incoming Invoice Idoc (Mes type - Invoic). A third party system sends the Invoices which are received by the XI system and then as Idocs into SAP.
    The XI system is defined as a Logical system in R/3. We have created Partner Profile, Dist Model with XI as a LS.
    The error that we are encountering is -
    Customer , vendor <our LS> not known
    Message no. FD110
    A company code cannot be determined for LS
    Message no. FD006
    Are we missing out some data in the Idoc or are we missing some EDI configuration?
    Please advise as to how we need to proceed.
    Thanks in advance!
    Liz

    hi,
    Error : A company code cannot be determined for LS
    This means that SAP cannot match an appropriate company code with a partner profile :-  and hence, doesn't know where to post the invoice.
    Partner Type = "LS" (Logical System)
    Partner Name = ""
    I think what you've got is message FD006 - longtext for it can be found via transaction SE91 and sounds like this:
    The system cannot determine the relevant company code since the allocation of the data transferred in the invoice is missing in Financial Accounting customizing.
    The company code can be determined outside of the system and be put into the intermediate document (for example, from the EDI subsystem). Then the company code must be put into the E1EDK14 segment and ORGID field and the value "011" used as the qualifier.
    Determine the company code for & & & in Financial Accounting customizing.
    LS  is your Logical System. So you might want to have a look at transaction OBCA where you can assign a company code name in the invoice for your Logical System.
    In the E1EDKA1 segment. there are two fields PARVW (which is the qualifer or Partner function) PARTN (partner number). The information that is sent in the PARTN has to either match the information in SAP or has to be converted.
    If the later is the case try transaction VOED.

  • IDOC - Message FIDCCP1 - Error reading company code

    Hi all,
    I am trying to create a FI document using an IDOC type FIDCCP01. Everything seems to be OK, but always my IDOC gets status 51 and message:
    Error reading company code
    Message no. F1309
    I am sure that I am using the correct company code, I actually created a document manually and I am using the same data from it into my IDOC. I put the correct company code in every field where company code is required, still not working.
    Any suggestion will be highly appreciated.
    Thanks

    Hi,
    I believe you are filling the company code in the field E1FIKPF-BUKRS, if you are filling the company code in that field that field is 6 characters length and the actual company code is 4 characters in length.
    Are you using the function module IDOC_INPUT_FIDCC1 for posting the idoc.
    Put a break point in the below location
        IF X-SEND_C1 = '2'.                "vorerfaßten Beleg buchen
          PERFORM IDOC_VERARBEITEN_VORERF_BELEG  USING K_MESTYP_C1.
    and then debug, you will understand the problem.
    Error is being thrown in the below perform.
            PERFORM LESEN_T001_KTOPL USING E1FIKPF-BUKRS. "KTOPL_NACH lesen
    FORM LESEN_T001_KTOPL USING LTK_BUKRS.
      SELECT SINGLE * FROM T001
                    WHERE BUKRS = LTK_BUKRS.
      CHECK NOT SY-SUBRC IS INITIAL.
      PERFORM IDOC_STATUS_FUELLEN USING 'E'
                                        'F1'
                                        '309'
                                        LTK_BUKRS
    ENDFORM.                    "LESEN_T001_KTOPL
    Check the above things in debug mode and then you will understand the problem correclty and let me know, so that i can help you.
    Thansk,
    Mahesh.

  • Error in testing an idoc -Trans. XK01 : CoCde not entered; company code are

    Hi
    I am getting the following error when i am trying to test a idoc thru we 19.
    The message type is CREMAS and it is an inbound idoc ,I am testing the function module
    idoc_input_creditor .
    Trans. XK01 : CoCde not entered; company code area not being edited
    I have entered   the company code in E1LFBWM segment  but still getting the same error .
    Can some one advise how this error can be solved
    Thanks in advance
    Anjali

    Hi ,
    Have you entered Company code value in all the required segments ? Like E1LFB1M , E2LFB5M..
    Regards,
    Deepthi

Maybe you are looking for

  • SY fields

    What is SY-TABIX AND SY-INDEX. LOOP AT ITABLE1. WRITE : / ITABLE1-MATNR,SY-INDEX,SY-TABIX. ENDLOOP.      The above codes displays 0 in sy-index place and 1,2,3...last record number in sy-tabix place How to find out total number of records in a databa

  • Delete data from Cube which is uploaded to Open hub

    Hello Friends I am required to delete the data from GL Cube, But it is connected to 2 Open Hub which has one as table /BIC/OHZZIGL_C10 defined in Open hub destination. I deleted the data from this table in SE14, but still when I try to delete the dat

  • Problems with Fadeffect in IE

    Hi there, me again with slight problems ;-) I got a gallery on my site. Evertime you watch a picture it should fade in so i need auto fade in. i´ve created the following Js function function bildfader(){ Spry.Effect.AppearFade('fadeobject', {duration

  • Help! Black screen and sync OK???

    I have an ipad2 and suddenly doesn' t respond. Almost Black screen, I have an ipad2 and suddenly doesn' t respond. Almost Black screen but sync ok.

  • How to read out data via usb

    Hello, i am trying to get the measurements of a dial indicator, "MarCator 1075", product of Mahr Co. via USB-Cable. I installed all the drivers and MAX shows that its a COM-Device and its working properly. So i configured the settings: baud rate 4800