Groupware: rejection error 'Enter country'

Hi group! I'm trying to replicate Contacts from GW to CRM, but I'm getting the rejection error 'Enter country'. If I leave blank the address field, business partner replicates ok.
I've already uploaded the gwa_country customizing object to GW, but I still get the error.
Thanks a lot!
Regards,
Jorgelina

Hi,
Check for the following points
Applying filter conditions to the customizing object
GWA_COUNTRY :
->filters should be set  for tables T005T and T005U
->To set the fiters ,enter the transaction r3ac3,
->choose Object Name GWA_COUNTRY and enter the change mode
->set block size to 100
->choose the tab Tables/Structures
->the various tables are displayed here
->choose  Fiter settings for the table T005T
->here choose CRM for the Source Site Name
->set the following fiters
1)Field - SPRAS
2)Op - Equality (= LOw)
3)LOW EN
Repeat steps for the table T00U
Download GW* object from Source Site CRM to the MBDOC Destintion Site in
transation r3as.
Restart J2EE Engine of MapBox and Click "Start" on MapBox launch page
after the engine is up.
To cross check if GWA_COUNTRY has been downloaded or not successfully
please do the following steps:
1)Go to transaction se17.
2)Enter table MBMANDTSTORE.
3)Enter "Customizing" in column MBGROUP.
4)Press F8.
5)Check if GW_COUNTRY_MAP customizing is present.
Check the scenario again and let us know if it worked.
Regards
Praveen

Similar Messages

  • Connection object - error message : Incomplete address; enter country

    Dear experts,
    I want to to create a Connection Object in the Web IC.
    I enter the address information (with the country) then save.
    The following error message is displayed : "Incomplete address; enter country"
    Has anybody already encountered this problem?
    Do you have any idea how we could solve this?
    Thanks a lot for your help.
    Regards,
    Pascale

    Hi,
    Have you resolved it?
    Regards,
    Vamshi.

  • CIF ERROR ;Address incomplete; enter country

    Hi Experts
    when im trying to cif Material or customer  im getting below error
    CIF ERROR ;Address incomplete; enter country
    Please suggest ?
    Thanks in advance

    Hi,
    As was mentioned by the expert this is not an error related to the material master. Something that you have in the addess in your customer is missing in APO.
    First try to identify what is the customer that is generating the issue. Then check the customer in ECC and review your customizing in APO and ensure you have the country codes and Regions maintained in APO.
    SPRO --> SAP NetWeaver --> General Settings --> Set Countries: 
    --> Insert Regions
    --> Define Country Codes
    Kind Regards,
    Mariano

  • Sql loader 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", ....

    Hello all,
    I am getting error while running below sql loader command...
    load data
    infile *
    into TABLE AP_SUPPLIER_SITES_INT
    REPLACE
    fields terminated by ","
    OPTIONALLY ENCLOSED BY '"'
    VENDOR_INTERFACE_ID expression "to_char('select VENDOR_INTERFACE_ID from AP_SUPPLIERS_INT where CUSTOMER_NUM=:CUSTOMER_NUM')",
    VENDOR_SITE_INTERFACE_ID "to_char(ap_supplier_sites_int_s.NEXTVAL)",
    LAST_UPDATE_DATE "SYSDATE",
    LAST_UPDATED_BY,
    VENDOR_SITE_CODE,
    CREATION_DATE "SYSDATE",
    CREATED_BY,
    PURCHASING_SITE_FLAG,
    PAY_SITE_FLAG,
    ADDRESS_LINE1,
    ADDRESS_LINE2,
    ADDRESS_LINE3,
    CITY,
    STATE,
    ZIP,
    COUNTRY,
    PHONE,
    FAX,
    PAYMENT_METHOD_LOOKUP_CODE,
    TERMS_ID,
    CREATE_DEBIT_MEMO_FLAG,
    HOLD_UNMATCHED_INVOICES_FLAG,
    EMAIL_ADDRESS,
    MATCH_OPTION,
    EXCLUDE_FREIGHT_FROM_DISCOUNT,
    INVOICE_CURRENCY_CODE,
    PAYMENT_CURRENCY_CODE,
    COUNTRY_OF_ORIGIN_CODE,
    FREIGHT_TERMS_LOOKUP_CODE,
    PAY_GROUP_LOOKUP_CODE,
    PAY_DATE_BASIS_LOOKUP_CODE,
    ALWAYS_TAKE_DISC_FLAG,
    ORG_ID)
    begindata
    1005,,SYSDATE,1132,Test MA Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120
    Log file:
    Table "AP"."AP_SUPPLIER_SITES_INT", loaded from every logical record.
    Insert option in effect for this table: REPLACE
    Column Name Position Len Term Encl Datatype
    VENDOR_INTERFACE_ID EXPRESSION
    SQL string for column : "to_char('select VENDOR_INTERFACE_ID from AP_SUPPLIERS_INT where CUSTOMER_NUM=:CUSTOMER_NUM')"
    VENDOR_SITE_INTERFACE_ID FIRST * , O(") CHARACTER
    SQL string for column : "to_char(ap_supplier_sites_int_s.NEXTVAL)"
    LAST_UPDATE_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    LAST_UPDATED_BY NEXT * , O(") CHARACTER
    VENDOR_SITE_CODE NEXT * , O(") CHARACTER
    CREATION_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    CREATED_BY NEXT * , O(") CHARACTER
    PURCHASING_SITE_FLAG NEXT * , O(") CHARACTER
    PAY_SITE_FLAG NEXT * , O(") CHARACTER
    ADDRESS_LINE1 NEXT * , O(") CHARACTER
    ADDRESS_LINE2 NEXT * , O(") CHARACTER
    ADDRESS_LINE3 NEXT * , O(") CHARACTER
    CITY NEXT * , O(") CHARACTER
    STATE NEXT * , O(") CHARACTER
    ZIP NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    PHONE NEXT * , O(") CHARACTER
    FAX NEXT * , O(") CHARACTER
    PAYMENT_METHOD_LOOKUP_CODE NEXT * , O(") CHARACTER
    TERMS_ID NEXT * , O(") CHARACTER
    CREATE_DEBIT_MEMO_FLAG NEXT * , O(") CHARACTER
    HOLD_UNMATCHED_INVOICES_FLAG NEXT * , O(") CHARACTER
    EMAIL_ADDRESS NEXT * , O(") CHARACTER
    MATCH_OPTION NEXT * , O(") CHARACTER
    EXCLUDE_FREIGHT_FROM_DISCOUNT NEXT * , O(") CHARACTER
    INVOICE_CURRENCY_CODE NEXT * , O(") CHARACTER
    PAYMENT_CURRENCY_CODE NEXT * , O(") CHARACTER
    COUNTRY_OF_ORIGIN_CODE NEXT * , O(") CHARACTER
    FREIGHT_TERMS_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_GROUP_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_DATE_BASIS_LOOKUP_CODE NEXT * , O(") CHARACTER
    ALWAYS_TAKE_DISC_FLAG NEXT * , O(") CHARACTER
    ORG_ID NEXT * , O(") CHARACTER
    value used for ROWS parameter changed from 64 to 31
    Record 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Please guide me what could be an issue...
    Is there any other way to pass function in sql loader..
    Thanks and Regards
    Muthukumar

    I created function like below...... retrun value as number
    create or replace function VDR_INF_F(V_NUM number)
    return number is
    VDR_INF_id AP_SUPPLIERS_INT.VENDOR_INTERFACE_ID%type;
    begin
    select VENDOR_INTERFACE_ID
    into VDR_INF_id
    from AP_SUPPLIERS_INT
    where CUSTOMER_NUM = V_NUM;
    return VDR_INF_id;
    end;
    And attached that into loader program...
    load data
    infile *
    into TABLE AP_SUPPLIER_SITES_INT
    REPLACE
    fields terminated by ","
    OPTIONALLY ENCLOSED BY '"'
    VENDOR_SITE_INTERFACE_ID "to_char(ap_supplier_sites_int_s.NEXTVAL)",
    LAST_UPDATE_DATE "SYSDATE",
    LAST_UPDATED_BY,
    VENDOR_SITE_CODE,
    CREATION_DATE "SYSDATE",
    CREATED_BY,
    PURCHASING_SITE_FLAG,
    PAY_SITE_FLAG,
    ADDRESS_LINE1,
    ADDRESS_LINE2,
    ADDRESS_LINE3,
    CITY,
    STATE,
    ZIP,
    COUNTRY,
    PHONE,
    FAX,
    PAYMENT_METHOD_LOOKUP_CODE,
    TERMS_ID,
    CREATE_DEBIT_MEMO_FLAG,
    HOLD_UNMATCHED_INVOICES_FLAG,
    EMAIL_ADDRESS,
    MATCH_OPTION,
    EXCLUDE_FREIGHT_FROM_DISCOUNT,
    INVOICE_CURRENCY_CODE,
    PAYMENT_CURRENCY_CODE,
    COUNTRY_OF_ORIGIN_CODE,
    FREIGHT_TERMS_LOOKUP_CODE,
    PAY_GROUP_LOOKUP_CODE,
    PAY_DATE_BASIS_LOOKUP_CODE,
    ALWAYS_TAKE_DISC_FLAG,
    ORG_ID,
    VENDOR_INTERFACE_ID expression "VDR_INF_F(':CUSTOMER_NUM')"
    begindata
    1005,,SYSDATE,1132,Test MA Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1005,,SYSDATE,1132,Test MA Site_2,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1005,,SYSDATE,1132,Test MA Site_3,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1006,,SYSDATE,1132,Test1 M Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1006
    1007,,SYSDATE,1132,Test1 B Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1007
    Even now sql loader giving same error..
    like below.....
    able "AP"."AP_SUPPLIER_SITES_INT", loaded from every logical record.
    Insert option in effect for this table: REPLACE
    Column Name Position Len Term Encl Datatype
    VENDOR_SITE_INTERFACE_ID FIRST * , O(") CHARACTER
    SQL string for column : "to_char(ap_supplier_sites_int_s.NEXTVAL)"
    LAST_UPDATE_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    LAST_UPDATED_BY NEXT * , O(") CHARACTER
    VENDOR_SITE_CODE NEXT * , O(") CHARACTER
    CREATION_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    CREATED_BY NEXT * , O(") CHARACTER
    PURCHASING_SITE_FLAG NEXT * , O(") CHARACTER
    PAY_SITE_FLAG NEXT * , O(") CHARACTER
    ADDRESS_LINE1 NEXT * , O(") CHARACTER
    ADDRESS_LINE2 NEXT * , O(") CHARACTER
    ADDRESS_LINE3 NEXT * , O(") CHARACTER
    CITY NEXT * , O(") CHARACTER
    STATE NEXT * , O(") CHARACTER
    ZIP NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    PHONE NEXT * , O(") CHARACTER
    FAX NEXT * , O(") CHARACTER
    PAYMENT_METHOD_LOOKUP_CODE NEXT * , O(") CHARACTER
    TERMS_ID NEXT * , O(") CHARACTER
    CREATE_DEBIT_MEMO_FLAG NEXT * , O(") CHARACTER
    HOLD_UNMATCHED_INVOICES_FLAG NEXT * , O(") CHARACTER
    EMAIL_ADDRESS NEXT * , O(") CHARACTER
    MATCH_OPTION NEXT * , O(") CHARACTER
    EXCLUDE_FREIGHT_FROM_DISCOUNT NEXT * , O(") CHARACTER
    INVOICE_CURRENCY_CODE NEXT * , O(") CHARACTER
    PAYMENT_CURRENCY_CODE NEXT * , O(") CHARACTER
    COUNTRY_OF_ORIGIN_CODE NEXT * , O(") CHARACTER
    FREIGHT_TERMS_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_GROUP_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_DATE_BASIS_LOOKUP_CODE NEXT * , O(") CHARACTER
    ALWAYS_TAKE_DISC_FLAG NEXT * , O(") CHARACTER
    ORG_ID NEXT * , O(") CHARACTER
    VENDOR_INTERFACE_ID EXPRESSION
    SQL string for column : "VDR_INF_F(':CUSTOMER_NUM')"
    value used for ROWS parameter changed from 64 to 31
    Record 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 4: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 5: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Please guide me, how to clear this issue?
    Thanks and Regards,
    Muthu

  • I want to buy lightroom. But I can't . Error of country.

    Je voulais acheter LIGHTROOM MAC. Mais le processus s'arrête au paiement. Erreur de country. En refaisant la démarche, je n'ai plus les moyens de corriger. Comment faire? Merci de me renseigner. 

    Bonjour !
    I  shall try again, with a different name and a different mail. Thank you for this answer.
    Le 14 mars 2015 à 04:02, johnhawk666 <[email protected]> a écrit :
    I want to buy lightroom. But I can't . Error of country.
    created by johnhawk666 in Photoshop Lightroom - View the full discussion
    Try creating an Adobe ID with your country entered as your homeland when prompted to by the registration process. This should allow you to buy Lr in your country.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7291922#7291922 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7291922#7291922
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Photoshop Lightroom by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.
    FABREGUE Maurice
    S. Y. L.  BYE ! BYE !

  • Incomplete address; enter country (Message no. AM216)

    Hello!
    I try to replicate vendors from the backend system to SRM 5.0 with BBPGETVD and get following message in SLG1: Incomplete address; enter country (Message no. AM216)
    The problem is, that everything worked fine with backend system R/3 4.6C,
    but now after the release change we use ECC 6.0.
    The address is completely maintained in XK03 - even the country.
    When I try to update a vendor, which I alreadey replicated under 46C,
    I get the same message.
    What could be the reason?
    Thanks for help,
    Barbara

    Hi
    Please specify which SRM version are you using ?
    When are you getting this error ? What error logs appear in SLG1 / ST22 Transactions ? Which transaction are you using ?
    <b>Please go through the following SAP OSS Notes -></b>
    Note 930864 SUS: User-BusinessPartner Creation fails in OneClient
    Note 737650 EBP: User synchronization with SAPM UM, form of address
    Note 660940 Display of (error) messages limited to 50 characters
    Note 645237 Vendor replication: Error message without vendor number
    Note 606441 Relationship address of contact person (ext. bus.partner)
    Note 417509 Error number CRM_TAX 104 when creating EBP users
    Note 419423 Repairing incorrect EBP users
    407800 Converting SU01 users to EBP users
    391228 Update terminations when creating a BBP user
    536396 Business partner maintenance: Lock problems BBP 2.0B
    556222 EBP 2.0:Error when creatng businss partnr with indstry sectr
    536713 Business partner maintenance: Lock problems EBP 2.0
    398945 BBPMAININT - Creating contact person, error message NR 028
    390494 Ext. Business partner: telephone/fax/email
    Note 355506 Ext. no. assignment when creating business partners
    <u>Other related OSS Notes -></u>
    Note 652616 Move-in in future does not create any ship-to party
    Note 533198 ALE; distribution one-time accounts w/o country indicators
    Hope this will help.
    Regards
    - Atul

  • FBCJ Error - Enter a vendor for this accounting transaction

    Dear Experts,
    I am trying to enter expenses and I have mentioned Vendor Account No. in the Vendor field using splitting option with combination of Vendor Pay/Rec and All Expenses Business Transaction. But the document is not getting posted and giving the error - "Enter a vendor for this accounting transaction". But if I dont use split option it saves.
    This problem I am facing for the last 2 days only. Can you suggest what could be the reason for this error.
    Thanks,
    Deb

    Dear !!!
    I have done everything as you suggested, but it is still showing the same message. Can you please look in to this again.
    Thanks in advance !!!!
    Deb

  • While doing MIRO i am getting an error: Enter a tax jurisdiction code

    Hi,
    While doing a MIRO, i am getting an error :
    Enter a tax jurisdiction code
    Message no. M8757
    How to Resolve
    Pratik

    Hi
    Try this
    1.To enter the tax amounts of the G/L account items, choose Extras ® Tax amounts. The Tax Amounts screen appears.
    You can branch to this screen at any point during document entry.
    The Tax Amounts screen shows the tax amount, tax code, posting key, tax base amount, and jurisdiction code for all the items already entered. When you call up this screen after entering the G/L account items, it displays the amounts that have already been entered.
    2.You can now choose how you want to enter the taxes.
    The tax jurisdiction codes represent the different taxing authorities to which you submit payment for taxes EG: the state, county, city etc. 
    In SAP you can have as many as 4 levels. Configuration is done in 2 steps :
    First step :
    The tax jurisdiction structure (structure of the tax code) is set up with following menu path : 
    IMG >Financial accounting> Fi Accounting basic settings> tax on sales/purchases > basic settings > specify structure for tax jurisdiction code.
    Alternatively you can use t-code OBCO
    This step allows you the enter the character length of your various level of hierarchy within your tax jurisdiction code structure (State 2 char, county 3, city 4, etc...).
    Second step:
    You configure the tax jurisdiction code using the structure defined earlier, menu path :
    IMG >Financial accounting> Fi Accounting basic settings> tax on sales/purchases > basic settings > define tax jurisdiction codes.
    Alternatively t-code  OBCP
    Define your tax jurisdiction codes, EG GA0000000 for Georgia, GA001000 for Georgia, douglas county, GA001001 for georgia, douglas county, city of lithia springs.

  • Projects Release  - Error: Enter a Distribution Rule for Asset without val

    Hi Experts ,
    While Releasing Projects , we got error :
    Enter a Distribution Rule for Asset without a Validity limit.
    Message No : KD059.
    Diagnosis:
    The settelement Profile used requires you to define a distribution rule for asset . For period 005 , 2009 , however not created a distribution rule for Asset.
    We gave checked Settelement Profile , still we are not clear what settings is causes for this error ,
    Please throw some light on if some one come across ...
    Regards,
    Sujana

    check out OSS note 115618

  • Error 'Enter GL Account' while posting and invoice line item in MIRO

    Hello Gurus,
    I am facing a rather wierd issue.
    While posting a PO invoice in Tcode MIRO, its asking to enter the GL account in line items. Everytime I am entering the GL account and pressing the enter key, it wipes off the GL account clean and gives the same error 'Enter GL account'.
    It seems like this error is happening at the very first line item of the invoice. System is able to accept the GL account in 2,3,4th lines. If I delete the first line item, whatever is the first line item in that screen adapts the issue.
    Any help would be great as I have no clue what to do.
    Thanks

    Hello Priyadarshini,
    could you inform the error message number and it complete long text?
    Regards,
    Mateus Grings

  • While creating a device category i'm getting an error "enter a valid division via eg01,how can the error be overcom?

    While creating a device category i'm getting an error "enter a valid division via eg01,how can the error be overcome?

    Neha,
    you can do in two ways.
    1. Enter a valid Division which you configured in the system.
    2. Remove the Division as required field. However I suggest it should have a valid division. Why can not you check with your Functional owner?
    Linganna Katigiri

  • SAP Note 144253 For error Enter valid delivery plant in sales order

    Hi all,
    I am getting the error "Enter valid delivery plant" while creating the sales order . This is due to Customer and plant are same .
    For that I got one SAP Note 144253.
    If anyone implimented this SAP note Could you please share is there any impact of this note after implimenting.
    Thanks
    CM

    Hi,
    Go to bellow links,
    http://help.sap.com/saphelp_nw04/helpdata/en/60/8def3981fe5d7de10000000a114084/content.htm
    http://www.sap-basis-abap.com/bc/steps-to-install-sap-note.htm
    Thanks,
    Raviteja

  • 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

  • EDI invoice idoc error "Enter a tax code in item 000001"

    Hello,
    I am trying ot post the EDI  invoice but the idoc getting failed by giving error "Enter a tax code in item 000001".
    Even i entered the tax code in my idoc, system not taking and also as i have maintained the table OBCD & OBCE but system not consider it.
    If i maintained the tax code in my PO then it is posting the invoice with PO tax code sucessfully.
    Please let me know, Is their any other setting needs tobe done for idoc to post the invoice without maintained TAX CODE  in PO ?
    Thanks in advance
    Regards,
    Satish

    No option available .you have to maintain tax code in PO.
    Try your luck with following option Still not sure as it works only if you call transaction MIRO
    OLMR -- incoming invoice -- maintain default value for tax codes

  • SQL*Loader- Records Rejected - Error on table ORA-01722: invalid number

    Getting the following errors :
    Please tell me where I am going wrong?
    Attached is the log file and snippets of datafile along with the control file !!
    Also please direct me how can i upload 4900 records at one go?
    SQL*Loader: Release 11.1.0.7.0 - Production on Fri Oct 14 03:06:06 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Control File: sample.ctl
    Data File: Cities.csv
    Bad File: Cities.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table CITY, loaded from every logical record.
    Insert option in effect for this table: INSERT
    Column Name Position Len Term Encl Datatype
    ID FIRST * , CHARACTER
    NAME NEXT 35 , ' CHARACTER
    COUNTRYCODE NEXT 3 , ' CHARACTER
    POPULATION NEXT * WHT CHARACTER
    Record 1: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 4: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 5: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 6: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 7: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 8: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 9: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 10: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 11: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 12: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 13: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 14: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 15: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 16: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 17: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 18: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 19: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 20: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 21: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 22: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 23: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 24: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 25: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 26: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 27: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 28: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 29: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 30: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 31: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 32: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 33: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 34: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 35: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 36: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 37: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 38: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 39: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 40: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 41: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 42: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 43: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 44: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 45: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 46: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 47: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 48: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 49: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 50: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    Record 51: Rejected - Error on table CITY, column POPULATION.
    ORA-01722: invalid number
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table CITY:
    0 Rows successfully loaded.
    51 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 35840 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 64
    Total logical records rejected: 51
    Total logical records discarded: 0
    Run began on Fri Oct 14 03:06:06 2011
    Run ended on Fri Oct 14 03:06:12 2011
    Elapsed time was: 00:00:06.18
    CPU time was: 00:00:00.03
    my control file (sample.ctl):
    load data infile 'Cities.csv'
    into table city
    fields terminated by ','
    (id integer external,
    name char(35) enclosed by "'",
    countrycode char(3) enclosed by "'",
    population integer external terminated by '\n'
    my datafile (Cities.csv) (it contains 4900 records, but I am showing here just 4 records for ease)
    3830,'Virginia Beach','USA',425257
    3831,'Atlanta','USA',416474
    3832,'Sacramento','USA',407018
    3833,'Oakland','USA',399484
    Thanks in advance!!

    Look that when I change a little bit your datafile as follows
    1,'Kabul','AFG',1780000
    2,'Qandahar','AFG','237500'
    3,'Herat','AFG','186800'  I got the same error (2 last rows rejected for the same error invalid number)
    mhouri > select * from cities;
            ID NAME                                COU POPULATION
             1 Kabul                               AFG    1780000
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Oct 14 10:38:06 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Control File:   cities.ctl
    Data File:      cities.dat
      Bad File:     cities.bad
      Discard File:  none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table CITIES, loaded from every logical record.
    Insert option in effect for this table: INSERT
       Column Name                  Position   Len  Term Encl Datatype
    ID                                  FIRST     *   ,       CHARACTER           
    NAME                                 NEXT    35   ,    '  CHARACTER           
    COUNTRYCODE                          NEXT     3   ,    '  CHARACTER           
    POPULATION                           NEXT     *  WHT      CHARACTER           
    Record 4: Rejected - Error on table CITIES, column ID.
    Column not found before end of logical record (use TRAILING NULLCOLS)
    Record 2: Rejected - Error on table CITIES, column POPULATION.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table CITIES, column POPULATION.
    ORA-01722: invalid number
    Table CITIES:
      1 Row successfully loaded.
      3 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    Space allocated for bind array:                  35840 bytes(64 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:             4
    Total logical records rejected:         3
    Total logical records discarded:        0
    Run began on Fri Oct 14 10:38:06 2011
    Run ended on Fri Oct 14 10:38:06 2011
    Elapsed time was:     00:00:00.23
    CPU time was:         00:00:00.09Population value within the data file should be a number
    Best regards
    Mohamed Houri

Maybe you are looking for

  • Cannot join time capsule airport network from iPad 2 or iPhone 4

    I have recently setup a new time capsule airport base station network with my new iMac (27-inch, late 2012) running OSX 10.8.2. Wi-Fe network works fine for internet access and printing from the iMac but I cannot join the wi-fi network from our iPad

  • Help! My IE8 users can no longer access their wiki pages after upgrade to Lion.

    I upgraded my SL server to Lion without checking the browser requirements for the new Wiki server.  My users access the wiki via a Windows 2003 Terminal Server which is stuck on IE8, can't install IE9 on it.  I push out the home page URL via group po

  • Can't import certain photos

    I scanned quite a few photos, then imported them into iPhoto, 5 of them got me the following message : " The following files could not be imported. ( The file is in an unrecognized format ) " I looked at them via Command I, and their details seem to

  • When will javax.mail.SendFailedException throw?

    hi, i am a beginner of java and javamail I need to know when SendFailedException will throw (under what conditions). Is there any documentation I can read? thank you very much

  • Fireworks CS4 Trial Will Not Install

    I have just downloaded both the .exe and .7z file for the Fireworks CS4 trial. I downloaded the files using Firefox 3.5 on Windows XP. When I hit launch in Akamai, nothing happens. If I double click the .exe file in Windows Explorer, the command prop