Error when create bid invitation (Tax code CN in procedure TAXD is invalid)

Dear All ,
We have issue in our PDP scenario, when creating a bid invitation from a PR (from R/3), an error occured with message" Tax code CN in procedure TAXD is invalid".
I already raise an oss message and the reply is because the system take different company code that's not active in R/3 system. Its because TAXD procedure is assign to country DE (German) and company 0001 country is "DE".
BE_STGE_LOC 9114
BE_PLANT 7008
BE_BATCH
BE_VAL_TYPE
BE_MOVE_REAS 0000
BE_EXPERYDATE
BE_PUR_GROUP
BE_PUR_ORG
BE_CO_CODE 0001 --> supposed the Correct company code is "8008"
CALL FUNCTION 'FI_COMPANY_CODE_DATA'
EXPORTING
I_BUKRS = BUCHUNGSKREIS
IMPORTING
E_T001 = T001.
We wonder how the system assign company code 0001 with plant 7008, since in R/3 Plant 7008 is assign to company code 8008.
The company code 0001 is not active in our R/3 system.
And also its not happen for all document , so just for several document, and not just in this plant (7008).
The OSS reply also mention that the company chages is because this badi
implementation ZBBP_DOC_CHANGE_BADI with object type 'BUS2121' method 'BBP_SC_CHANGE' 'Method for Changing Shopping Carts'
======================================================
Assign the appropriate company code and modify the ET_ITEM table
ls_item-be_co_code = ls_locmap-company_code.
    MODIFY et_item FROM ls_item.
======================================================
But we already use this badi for several years, and we're not sure that this badi id the root cause,and until now there still no solution for this issue.
Please kindly advise.
Regards,
Darwin

Hi SG,
In SPRO > IMG > SRM > SRM Server > Cross Application Basic Settings > Tax Calculation
1.Determine system for tax caluclation : Choose either no tax calculation or Tax calculation occurs in back end.
2. Enter Tax code : Mention Tax indicator as I0 and tax description Zero Tax, Check the No Tax check box and make it default based on your requirement.
Please follow the above steps based on your requirement which will definitely resolve your issue.
This issue comes when the tax calculation happens in the SRM system and the tax code I0 is not defined in tax procedure TAXD.
Hope this makes you more clear. Clarifications are welcome.
Award points for helpful answers.
Rgds,
Teja

Similar Messages

  • Error when creating Bid Invitation

    Hi all,
    I am getting RABAX_STATE error when posting bid invitation shown below
    What has happened?
    The following error text was processed in the system SRM : An exception that could not be caught occurred.
    The error occurred on the application server xxxxxxxx and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: BBP_PD_ABORT of program SAPLBBP_PDH
    Form: EXECUTE of program CL_ACTION_BID_PUB_OUTPUT_BBP==CP
    Form: PROCESS of program CL_ACTION_BASE_BBP============CP
    Form: ON_SAVE of program CL_EVENT_HANDLER_BBP==========CP
    Form: FIRE_SAVE_EVENT of program CL_EVENTS_BBP=================CP
    Form: ACTIONS_ON_SAVE of program SAPLBBP_PD
    Form: PROCDOC_SAVE of program SAPLBBP_PD
    Function: BBP_PROCDOC_SAVE of program SAPLBBP_PD
    Function: BBP_PD_BID_SAVE of program SAPLBBP_PD_BID
    Form: DOCUMENT_SAVE of program SAPLBBP_BID_INV
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SRM in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server xxxxxxx in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 1 in transaction ST11 on the application server xxxxxxxx. In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 300 -u: STPURCHASER -l: E -s: SRM -i: XXXXXXXX -w: 1 -d: 20070305 -t: 155508 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Please let me now what could be the reson for this.
    Regards,
    Ravi

    Hi
    Please do the following steps.
    When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
    ALso pls check the foll:
    -->activate the services through SICF tcode.
    > Go to SICF transaction and activate the whole tree under the node Deafult host>sap>bc>gui>sap>its.
    >Also maintain the settings in SE80>utilities>settings>internet transactuon server-->test service/Publish.
    Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
    Could you please review again the following steps ?
    Did you check that ICM was working correctly (TA SMICM) ?
    1-Activate the necessary ICF services
    With transaction SICF and locate the
    services by path
    /sap/public/bc/its/mimes
    /sap/bc/gui/sap/its/webgui
    2- Publish the IAC Services
    With Transaction SE80 locate from
    the menu Utilities -> Settings ->
    Internet Transaction Server (Tab) ->
    Publish (Tab) and set “On Selected
    Site” = INTERNAL.
    3- Locate the Internet Services SYSTEM and WEBGUI.
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    4- Browse to http://<server>:<icmport>/sap/bc/gui/
    sap/its/webgui/! and login to the
    webgui.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Procurement Coordinator received Authorization Error when creating Bid Inv

    Hi All,
            In SRM I have an issue Please help me in solving this. Please see below
                  Procurement Coordinator received Authorization Error when creating Bid Invitation from Sourcing Cockpit.  Message states u201CMissing Transaction BBP_BID_EXTSOu201D; however Bid # is still created. User requests that Authorization issue is resolved and Bid # appear for Procurement Coordinators.  This problem does not happen for Commodity Managers

    Hi
    Please do the following steps.
    When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
    ALso pls check the foll:
    -->activate the services through SICF tcode.
    > Go to SICF transaction and activate the whole tree under the node Deafult host>sap>bc>gui>sap>its.
    >Also maintain the settings in SE80>utilities>settings>internet transactuon server-->test service/Publish.
    Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
    Could you please review again the following steps ?
    Did you check that ICM was working correctly (TA SMICM) ?
    1-Activate the necessary ICF services
    With transaction SICF and locate the
    services by path
    /sap/public/bc/its/mimes
    /sap/bc/gui/sap/its/webgui
    2- Publish the IAC Services
    With Transaction SE80 locate from
    the menu Utilities -> Settings ->
    Internet Transaction Server (Tab) ->
    Publish (Tab) and set “On Selected
    Site” = INTERNAL.
    3- Locate the Internet Services SYSTEM and WEBGUI.
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    4- Browse to http://<server>:<icmport>/sap/bc/gui/
    sap/its/webgui/! and login to the
    webgui.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Error: Tax code v8 in procedure TAXINJ is invalid (message no. FICORE704)

    Hello Friends,
      Hello Friends,
       When i am doing the Production Order Settlement, their i have maintained the Production Order No., Posting period, settlement period and executed.Then after execution System is throwing the error,"Tax code V8 in procedure TAXINJ is invalid.(Message No. FICORE704).
      Can you guys help me in solving this error..
    Moderator: Thread locked due to crossposting

    hi
    go to ftxp choose tax code v8
    here in first input field give 00 or the value u want
    then select that field and click on gl acct tab
    here mention a gl or go to ob40 and mention gl for the acct key of that field
    try finding
    Tax code country IN does not exist in procedure TAXINN
    on SDN u will get many threads
    Tax code XX country IN does not exist in procedure TAXINN (MIRO Error)
    conclusion is u must get acct for at least one condition in the tax code
    regrads
    kunal
    award if helpful

  • Error-CIN-J1IIN - Tax code A0 in procedure TAXINJ is invalid.

    hi All,
    While posting excise invoice in J1IIN, getting errror "Tax code A0 in procedure TAXINJ is invalid"
    Tax code A0 not crated in FTXP at all. Also I have not assigned ths tax code to company code in CIN config.
    From where system is picking this A0 tax code for giving this error
    How to solve this error.
    Regards,
    Rakesh

    Hi Sudhir & Biju,
    Thanx for replying
    Tax code A0 / AO not defined in FTXP at all. If so, will system allow me to maintain in VK11 ?
    Also in OBZT - table is BLANK, no data maintained there.
    Can you give correct path what you have suggesting as I dont find it ?
    Reg. Rakesh

  • Tax code VN in procedure TAXIN is invalid

    Hello Gurus...
    i'm facing a error while posting goods with Tcode Miro...
    pls help me....thanks in advance..
    <b>Tax code VN in procedure TAXIN is invalid
    Message no. FICORE704
    Diagnosis
    The tax code entered is not defined in the country for this company code.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system settings.
    To do this, choose Maintain entries (F5).
    1. Check whether the required tax determination procedure is assigned to the relevant country. the Procedure field is in the detail screen.
    2. Create a new tax code if required.</b>

    Hello Veeranna,
    Pls check the path to solve your issue (i mean, Error at the time of Invoice: MIRO)
    which i am mentioned below:
    In SPRO -->
      Financial Accounting
           Financial Accounting Basic Settings
                Tax on Sales/Purchases
    >            Assign Country to Calculation Procedure
                  Country             Name             Procedure
                     IN                  INDIA              TAXIN
    if not assigned, pls assign like above.
    then, i think it will allow you to use that tax code: VN.
    rewards, if it solves,
    Regards,
    Srinu.K

  • Tax code 00 in procedure ZTAXCN is invalid

    Hi Gurus,
    In our Project, I am getting the following error (in iDOC) -
    Tax code 00 in procedure ZTAXCN is invalid
    Message no. FICORE704
    Diagnosis
    The tax code entered is not defined in the country for this company code.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system settings.
    To do this, choose Maintain entries (F5).
    1. Check whether the required tax determination procedure is assigned to the relevant country. the Procedure field is in the detail screen.
    2. Create a new tax code if required.
    I have checked that in the info record, tac code '39' is defined for the country CN (China). Nowhere we can find tax code '00' in procedure ZTAXCN in T-code FTXP.
    There is no tax code '00' defined in this procedure ZTAXCN.
    I have also checked in SPRO -Fin.accounting -Tax on Sales/purchases - Posting -Assign tax codes for non-taxable transactions. Even here '39' is assigned as input tax code to country 'CN'
    Please help in this
    Regards
    Anup

    Hi,
    Follow the path:
    SPRO->Purcahsing->Logistics Invoice Verification -> Incoming Invoice -> Maintain Default values for Tax codes.
    Select ur company and click Change Mode and now remove the default tax code "00" assigned to your company code and then save.
    Now try ur transaction and it will work.
    Also check in OBBG.
    Hope helpful and then reward.
    Regards,
    Biju K

  • Issue with document created with a tax code related to a different Company Code

    Hello,
    we need to clear a document created with the tax code "YY" which is associated to the Company Code Espana even if the vendor of this document belongs to the Country Portugal.
    When we try to clear this documents we get the follow error:
    Tax code YY for Country Portugal has been deleted or incorrectly changed
    The problem is the tax code exists but it is associated to Company Code Espana and not to the Portugal one
    In order to cleare this document should we activate the tax code for Portugal, as well?
    Thank You

    Hello, Are you trying to post entry having Plant in Portugal? Thanks, Deepanshu

  • Create bid invit. from template in two different ways has different consequ

    Hi everybody
    "Create bid invit. from template in two different ways has different consequuences"
    When I create a bid invitation from a previous template, from the template search results (Icon_create SAPLBBP_BID_INV 1010) my bid is published but then stay in the model search and the status is wating for approval. But no workflow started in BBP_PD.
    If I use the same template for creating a new bid from the detail using the create bid invitation button, the bid invitation is created correctly.
    I have configured the two events for the BUS2200 object and both of them have an initial condition.
    It seems that the two actions trigger different events or something like that
    Does anybody why it is occurring this and how I could link the workflow without approval for this case.
    Thanks

    Hi
    What SRM version are you using ?
    <b>Please see these SAP OSS notes / links, which might help -></b>
    <u>Note 976752 - Bidding Worklfows are not triggered correctly
    Note 941417 - Creating a bid invitation from template in the background
    Note 971752 - Incorrect approval preview in bid approval
    Note 741372 - Separating template search from bid invitation search
    Note 764028 - New bid invitation items not visible in bid
    Note 996907 No approval preview for bid after note 976752
    Note 765771 Workflow error when creating a purchase order from bid
    Note 790930 No warning message in case of jump from bid</u>
    Regards
    - Atul

  • Error when creating billing / accounting document with VF01

    Hi All,
    When I use VF01 to create an invoice with reference to a LF D/N, I got the following error after saving.
    "An exchange rate type is not defined for country CN
    Message no. FF 802". And billing document is created but with no accounting document.
    I checked the exchange rate type is defined. but I can not find the place where I can assign to the specific country.
    Best Regards
    Jean

    Thanks for your help.
    Hi Dave,
    I checked in S_BCE_68000174, it has been already assigned.
    Hi Ferry,
    In FTXP, the tax code has been maintained.
    And you are right, when I maintain the field KURST in table T005, it is ok. But I am confused in 4.6C, the field KURST can be maintained by T-code OY01, but in 470, exchange rate type cannot be found in OY01. Where can I set in 470?  And why in 470, even field KURST is empty in table T005, but there is no such error when creating billing document?
    Many Thanks
    Jean

  • Error when creating index with parallel option on very large table

    I am getting a
    "7:15:52 AM ORA-00600: internal error code, arguments: [kxfqupp_bad_cvl], [7940], [6], [0], [], [], [], []"
    error when creating an index with parallel option. Which is strange because this has not been a problem until now. We just hit 60 million rows in a 45 column table, and I wonder if we've hit a bug.
    Version 10.2.0.4
    O/S Linux
    As a test I removed the parallel option and several of the indexes were created with no problem, but many still threw the same error... Strange. Do I need a patch update of some kind?

    This is most certainly a bug.
    From metalink it looks like bug 4695511 - fixed in 10.2.0.4.1

  • Error when creating a folder ,iviews in the portal

    Dear sap gurus ,
    I m facing a error when  creating a   Folder or an iview in my portal i'm using EP 7.0 sp11 ,The error is :
    Portal Runtime Error
    An exception occurred while processing a request for :
    <b>iView : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.defaultFolderWizard
    Component Name : com.sap.portal.admin.defaultwizards.DefaultFolderWizard
    SQLException is not transient, error code = 1654, sql state = 72000 Batch rolled back. Caused by java.sql.BatchUpdateException: ORA-01654: unable to extend index SAPSR3DB.SYS_C004057 by 128 in tablespace PSAPSR3DB at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343) at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10698) at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeBatch(BasicPreparedStatement.java:263) at com.sap.sql.jdbc.oracle.Oracle10gPreparedStatement.executeBatch(Oracle10gPreparedStatement.java:100) at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeBatch(DirectPreparedStatement.java:1129) at com.sap.sql.jdbc.common.CommonPreparedStatement.executeBatch(CommonPreparedStatement.java:991) at com.sap.engine.services.dbpool.wrappers.StatementWrapper.executeBatch(StatementWrapper.java:270) at com.sapportals.portal.pcd.pl.AttributeHeadersTable.insert(AttributeHeadersTable.java:259) at com.sapportals.portal.pcd.pl.PlObject.save(PlObject.java:518) at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:544) at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildOnPersistence(XfsContext.java:1374) at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildAndNotify(XfsContext.java:1128) at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChild(XfsContext.java:1087) at com.sapportals.portal.pcd.gl.xfs.XfsContext.createSubcontext(XfsContext.java:843) at com.sapportals.portal.pcd.gl.xfs.BasicContext.createBasicSubcontext(BasicContext.java:190) at com.sapportals.portal.pcd.gl.PcdPersContext.createSubcontext(PcdPersContext.java:191) at com.sapportals.portal.pcd.gl.PcdFilterContext.filterCreateSubcontext(PcdFilterContext.java:254) at com.sapportals.portal.pcd.gl.PcdProxyContext.createSubcontext(PcdProxyContext.java:147) at com.sapportals.portal.pcd.gl.PcdGlContext.createSubcontext(PcdGlContext.java:440) at com.sapportals.portal.pcd.gl.PcdProxyContext.createSubcontext(PcdProxyContext.java:624) at com.sapportals.portal.pcd.gl.PcdProxyContext.createSubcontext(PcdProxyContext.java:619) at com.sap.portal.admin.wizard.folderwizardpanes.SavePane.doAfterSubmit(SavePane.java:59) at com.sapportals.admin.wizardframework.core.WizardInstance.doPost(WizardInstance.java:356) at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:174) at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:99) at com.sapportals.admin.wizardframework.AbstractDynamicWizard.doContent(AbstractDynamicWizard.java:98) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) .
    Exception id: 10:50_23/11/07_0005_16892850
    See the details for the exception ID in the log file</b>
    Thanks and Regards,
    sathya

    Hi Sathya
    The following line in your log tells you what is wrong:
    ORA-01654: unable to extend index SAPSR3DB.SYS_C004057 by 128 in tablespace PSAPSR3DB
    This is a configuration that you or the dba people need to do. The first thing I would check is if autoextend is on/off on your tablespace PSAPSR3DB. If it's 'off' you either need to put it to 'on' or manually extend the size of your tablespace depending on how much harddrvive space you have to play with. Here is a more detailed solution on how to do it:
    Oracle Error : ORA-01654: unable to extend index string.string by string in tablespace string
    Cause: Failed to allocate an extent of the required number of blocks for an index segment in the tablespace indicated.
    Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated.
    Br
    Göran

  • Publish to portal error when creating a iview

    hi gurus,
    I have done complete BI-EP integration. SSO is also working fine. But when i publish a query from query designer to portal, i am geting a error when creating a iview for the query as show below.
    Error:
    Java system error: call FM RSRD_X_MAP_TO_PRTL_USERS_PROXY to ProgId EPD_PORTAL_B07 on host epdev with SSO not authorized: Authentication failed.
    when i manually create a BI Query iview,its working fine but to create a iview from publish to portal in query designer it is througing me error.
    Regards

    yes i have used that tool,,,i am getting below error.
      RED
    Web Template Validation failed due Java to ABAP communication problem (return code:ERSBOLAP018) Check Connector Connection of System Object in Portal System Landscape -
      RED
    Call ABAP->Java for function RSWR_RFC_SERVICE_TEST failed for destination 'SAP_EP' Check the data of the destination in transaction SM59. Check that the target host is running and has registered a program id in the gateway. -
      RED
    Call ABAP->Java for function RSRD_MAP_TO_PORTAL_USERS failed for destination 'SAP_EP' Check the data of the destination in transaction SM59. Check that the target host is running and has registered a program id in the gateway. -
      RED
    Web Template Validation failed due Java to ABAP communication problem (return code:ERSBOLAP018) Check Connector Connection of System Object in Portal System Landscape -
      RED
    Call ABAP->Java for function RSWR_RFC_SERVICE_TEST failed for destination 'SAP_EP' Check the data of the destination in transaction SM59. Check that the target host is running and has registered a program id in the gateway. -
      RED
    Call ABAP->Java for function RSRD_MAP_TO_PORTAL_USERS failed for destination 'SAP_EP' Check the data of the destination in transaction SM59. Check that the target host is running and has registered a program id in the gateway. -
      RED
    Calls from WebAS ABAP to WebAS Java will fail because the certificate of the BI mastersystem is not imported into J2EE ticket keystore Import the certificate to establish a trust relationship -
      RED
    The issuer DN of the imported ticket 'EPD_certificate' is the same as the issuer DN of SAPLogonTicketKeypair-cert Most likely, you are running an Add-In Installation. See note 917950, section 'Add-In Installation and importing Certificates with identical system ID (SID)' for details Display note 917950
    I have checked everything,,but still geting red lights
    Regards

  • Error when Create User Defined Field

    Hi all, i got an error when create UDF
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Here is part of my code
    oUserFieldMD.Name = fieldname
            oUserFieldMD.Description = fielddesc
            oUserFieldMD.Type = fieldtype
            oUserFieldMD.DefaultValue = defaultValue.ToString()
            If fieldtype <> SAPbobsCOM.BoFieldTypes.db_Date Then
                oUserFieldMD.Size = fieldlength
                oUserFieldMD.EditSize = fieldlength
            End If
            If fieldtype = SAPbobsCOM.BoFieldTypes.db_Float Then
                oUserFieldMD.SubType = SAPbobsCOM.BoFldSubTypes.st_Price
            Else
                oUserFieldMD.SubType = SAPbobsCOM.BoFldSubTypes.st_None
            End If
            oUserFieldMD.TableName = tablename
            lRetVal = oUserFieldMD.Add()
            prgbar.Value = prgbar.Value + 1
            If (lRetVal <> 0) Then
                msgs.Add(tablename & " - " & fieldname & " : " & oCompany.GetLastErrorDescription())
            Else
                msgs.Add(tablename & " - " & fieldname & " : successfully created!")
            End If
    the error come when reach lRetVal = oUserFieldMD.Add()
    what is wrong with my code ?
    thanks.

    This could be a x64/x86 problem. Try following this thread
    [GetCompanyService|GetCompanyService] and recompile your code for the platform you need.

  • Custom field in Create Bid Invitation..

    Hi,
       I have to add a custome field in the 'Create Bid Invitation - Find bid invitation - Extended Search screen. has anyone done this same scenario.
    john.

    hi,
    I dont think you can add custom field at the item overview level.
    There is nothing in standard for CUF in item overview.
    CUF are available in Header/item basic data, accounting and search screens, but nothing in item overview.
    The only workaround which i can see is to modify the HTML page in the Internet Service .
    You can try to use some standard field which stores the information you want to display (instead oc creating a custom field).e.g.If you want to display the Product CAtegory in addition to its description on the item overview screen(Table control),then you will have to find out the std field which stores the Prod category value.
    If the standard populates that field  with the info you require you'll not have to populate it yourself: so check it.
    Be careful to add this column as the last column in the Table control, as the template refers to column numbers for existing data.
    Then change the template  in order to manage the field display in the different cases (selection and display).
    DO NOT COPY STANDARD PROGRAM, or you will loose modification tracking during upgrade or SP applications.
    Be careful. The same HTML templates of the Internet Service are (shared) used for all the users. So be very sure in making changes to the standard HTML template and publishing those changes. Incase of shortdumps here, you need to go through each line in the Service to see the cause of the error(which might be as silly as missing a comma, bracket, period after a line). SAP dump analysis is not much help here.
    BR,
    Disha.
    Pls reward  points for useful answers.

Maybe you are looking for