Urgent: Error in magrating assets by LSMW

When I use LSMW - convert data, the system end up a ABAP dump. What does it mean?
Runtime Errors         UC_OBJECTS_NOT_CONVERTIBLE
Date and Time          2008.05.23 10:28:56
Short text
     Data objects in Unicode programs cannot be converted.
发生了什么?
     Error in the ABAP Application Program
     The current ABAP program "/1CADMC/SAP_LSMW_CONV_00000012" had to be terminated
      because it has
     come across a statement that unfortunately cannot be executed.
错误分析
     The statement
        "MOVE src TO dst"
     requires that the operands "dst" and "src" are convertible.
     Since this statement is in a Unicode program, the special conversion
     rules for Unicode programs apply.
     In this case, these rules were violated.
Trigger Location of Runtime Error:
     Program Name                            /1CADMC/SAP_LSMW_CONV_00000012
     Include                                 /SAPDMC/SAP_LSMW_CONV_FORMS
     Row                                     1,080
     Module type                             (FORM)
     Module Name                             TRANSFER_RECORD
  CLEAR:
    g_cnt_idocs_package,
    gt_pack_edi_dc40[],
    gt_pack_edi_dd40[].
ENDFORM.                    "TRANSFER_IDOCS
      FORM TRANSFER_RECORD
FORM transfer_record.
  FIELD-SYMBOLS:
    <l_record>,
    <l_prev_record>.
  DATA:
    l_prev_record TYPE tumls_segment.
  DATA:
    l_len_trgstr TYPE i.
  IF g_skip_record = no AND
     g_skip_transaction = no.
    ASSIGN (g_record) TO <l_record>.
    CASE g_objecttype.
      WHEN '01' OR '02'.
        gt_buffer-record = g_record.
        gt_buffer-data = <l_record>.
        APPEND gt_buffer.
      WHEN '03' OR '04'.
        IF g_record = 'EDI_DC40'.
          IF p_trfcpt = yes.
            gt_curr_edi_dc40 = <l_record>.
            APPEND gt_curr_edi_dc40.
          ELSE.
            gt_buffer-record = g_record.
            gt_buffer-data = <l_record>.
            APPEND gt_buffer.
          ENDIF.
        ELSE.
          CLEAR edi_dd40.
          edi_dd40-segnam = g_edidd_segnam.
          edi_dd40-mandt = edi_dc40-mandt.
          edi_dd40-docnum = edi_dc40-docnum.
          ADD 1 TO g_segnum.
          edi_dd40-segnum = g_segnum.
          edi_dd40-hlevel = g_edidd_hlevel.

hi..
I too faced the problem..
as its regarding the date and time.. my mistake was...
while declaring the fields I have declared the length of the field for date as length 8( as given in the table) but when I am uploading the flat file the length was 10( including the separator . or / or  -  what ever it might be) so it was throwing the dump. So I have declared the date as char and length as 10 ( else u can change the format for that date field by removing the seperators in the flat file). Similar might be the case for u also.
reward if found helpful

Similar Messages

  • Fixed asset error: 21151: error while posting asset document: '100000039'

    Hello Experts,
    How are you? We have a client who have encountered an error during fixed asset retirement thru scrappingu2026.In one retirement document, SAP did not assign an account in the account column but still the document was saved but with erroru2026On her next retirement document, she could no longer save her document and the error points to the last retirement document she has saved with error.  We have tried to cancel the document and its journal entry but still she could no longer retire assets  using scrapping.  All other retirement transaction using scrapping could not be saved.
    The client is using SAP B1 8.81 patch 5. 
    Thanks and best regards,
    Luz

    hi Luz Cornejo,
    please do check this SAP Note: [1246921|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303132343639323126]
    regards,
    Fidel

  • FA Retirement- 21151: error while posting asset document: '100000039'

    Hello Experts,
    I have a client who encountered this error during fixed asset retirement - scrapping.
    After selecting the asset to be retired, sap did not assign an account in the account column, but the user
    was able to save the document.  After saving it, the user needs to retire again another asset - scrapping, but the document would not be saved because of this error: 21151: error while posting asset document '100000039'.  The document number the systems is referring to is the last document saved but sap did not assign an account code.
    Please help. My client is using sap b1 8.81 patch5.
    Regards,
    Luz

    Hi Too Mui Hwee,
    What we did is to put letters on the number so the series will continue example there is already 100333, 100334, 100335 since the error is encountered from 100333. We add 100333A, 100334A, 100335A.
    Thanks

  • Error occurs during Asset Master Record Creation.

    Hello SAP Gurus,
    The error occurs during asset master record creation.
    Our fiscal year variant is Z6 (July to June). The asset was acquired in June 15 (previous fiscal year) but was only set up on July 30 (this fiscal year) . When we put the depreciation start date as 15 June the error appeared. While saving the Asset master we are getting below error.
    We tried the same with Post Capitalization of Asset (ABNAN) there also we are getting same error.
    ERROR: - as below
    u2003
    SYST: *You cannot determine the period for rule 02 to 05.08.08 ( todayu2019s date )*
    *Message no. AA613*
    *Diagnosis*The system could not determine a depreciation period on 05.08.08 for period control 02 of the period control method of phase N1 of depreciation key INTERN-00001-0000.
    Procedure
    Maintain the assignment of the periods for the period control entered.
    Proceed
    If the period control you entered is a standard period control, you can assign the periods automatically.Proceed
    Please find enclosed attachment for clear description of the error.
    Please share your experiences regarding this subject.
    Thanking you in anticipation.
    Regards,
    Suresh.
    09986375966

    Hi,
    have you generated the period controls properly? If not, the error is raised correctly by the system.
    To generate period controls go to:
    IMG Asset Accounting -> Depreciation -> Valuation Methods -> Period Control -> Generate Period Controls    / or you can use OA84
    Regards,
    Markus

  • I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    Hi
    And if You change view - in main "window/view field" so that You see the box-plot structure.
    No exclamation marks there either ?
    and non at the front page ?
    iDVD do not copy Your material - only points to where it is stored. So if on any external hard disks, USB-memories, CDs or DVDs are missing - assetts are broken.
    Or if You changed location of any material or directed iPhoto or iTunes or GarageBand to a new Library - Then iMovie/iDVD also get's lost.
    Yours Bengt W

  • URGENT : Error: nca_connect_server: cannot communicate host ...on port....

    URGENT : Error: nca_connect_server: cannot communicate host ...on port....
    Platform :
    front end - Forms6i
    App Server - Oracle 9iAS
    Testing tool - Mercurry Load Runner 8.0
    Database - Oracle 9i
    Hi Gurus,
    I am trying to run a script in Load runner but its always coming out by following error message -
    vuser_init.c(63): Warning: ifError expired (5) during NCA handshake,
    vuser_init.c(63): Warning: ifError expired (5)
    vuser_init.c(63): Error: nca_connect_server: cannot communicate with host 202.46.209.42 on port 7778
    Abort was called from an action.
    forms url which used in test script is running fine without any error with same port, I am wondering why it is returning error with Load Runner ?
    Quick help on pinpointing the issue will be highly appreciated, Following is the Loadrunner script m using -
    vuser_init()
         web_set_max_html_param_len("1024");
         web_url("f6isrvl",
              "URL=http://202.46.209.42:7778/f6i/f6isrvl?config=devjp10_en",
              "Resource=0",
              "RecContentType=text/html",
              "Referer=",
              "Snapshot=t1.inf",
              "Mode=HTML",
              EXTRARES,
              "Url=../forms60java/f60web.jar", "Referer=", ENDITEM,
              "Url=../forms60java/FImageBean.jar", "Referer=", ENDITEM,
              "Url=../forms60java/images.jar", "Referer=", ENDITEM,
              LAST);
         web_url("Registry.dat",
              "URL=http://202.46.209.42:7778/forms60java/oracle/forms/registry/Registry.dat",
              "Resource=0",
              "RecContentType=text/plain",
              "Referer=",
              "Snapshot=t2.inf",
              "Mode=HTML",
              LAST);
         web_reg_save_param("NCAJServSessionId",
              "LB=",
              "RB=",
              "Search=Noresource",
              LAST);
         web_url("f6isrvl_2",
              "URL=http://202.46.209.42:7778/f6i/f6isrvl?config=devjp10_en&acceptLanguage=en-us&ifcmd=startsession",
              "Resource=0",
              "RecContentType=text/plain",
              "Referer=",
              "Snapshot=t3.inf",
              "Mode=HTML",
              EXTRARES,
              "Url=f6ilsnr/?JServSessionIdf6i=i7yjfl33c1.f45nez95eiGIpR1vp2TD/knGnluImQXHcALJmQ5Go6XNr3CSa30R&ifcmd=getinfo&ifhost=MILDH0417&ifip=10.81.6.127", "Referer=", ENDITEM,
              "Url=../forms60java/oracle/ewt/dataSource/OneDDataSourceListener.class", "Referer=", ENDITEM,
              "Url=../forms60java/oracle/ewt/dataSource/OneDDataSource.class", "Referer=", ENDITEM,
              "Url=../forms60java/oracle/ewt/dataSource/ArrayOneDDataSource.class", "Referer=", ENDITEM,
              "Url=../forms60java/oracle/ewt/dataSource/AbstractOneDDataSource.class", "Referer=", ENDITEM,
              "Url=../forms60java/oracle/ewt/dataSource/OneDDataSourceAdapter.class", "Referer=", ENDITEM,
              "Url=../forms60java/oracle/ewt/dataSource/OneDDataSourceEvent.class", "Referer=", ENDITEM,
              LAST);
         nca_set_connect_opt(SCALE_INFO, 8, 20);
         nca_set_connect_opt(REQUIRED_LIST, 0);
         nca_connect_server("202.46.209.42", "7778", "module=ulgprc_em_100_01_c.fmx userid=dbk/dbk@dbkls05 ORA_USER=devjp10 USR_LANG=ENG");
         nca_set_window("Login");
         nca_edit_set("27", "SSC");
         nca_obj_type("27", '\t', 0);
         nca_edit_set("30", lr_decrypt("44b61ad9b8d2295c3768adc952f4"));
         nca_button_press("32");
         nca_message_box_press("Forms", 2);
         nca_menu_select_item("SSC", "Lending;Underwriting");
         nca_set_window(" (Underwriting)(Pending Request : 0)");
         nca_button_set("386", 1);
         nca_menu_select_item(" (Underwriting)(Pending Request : 0)", "Edit;Exit");
         nca_set_window("SSC");
         nca_menu_select_item("SSC", "File;Exit");
         return 0;
    Execution Log
    Virtual User Script started
    Starting action vuser_init.
    vuser_init.c(12): web_set_max_html_param_len was successful      [MsgId: MMSG-26392]
    vuser_init.c(14): Downloading resource "http://202.46.209.42:7778/forms60java/f60web.jar" (specified by argument number 9)      [MsgId: MMSG-26577]
    vuser_init.c(14): Downloading resource "http://202.46.209.42:7778/forms60java/FImageBean.jar" (specified by argument number 12)      [MsgId: MMSG-26577]
    vuser_init.c(14): Downloading resource "http://202.46.209.42:7778/forms60java/images.jar" (specified by argument number 15)      [MsgId: MMSG-26577]
    vuser_init.c(14): web_url("f6isrvl") was successful, 1882891 body bytes, 1386 header bytes, 12 chunking overhead bytes      [MsgId: MMSG-26385]
    vuser_init.c(27): web_url("Registry.dat") was successful, 4117 body bytes, 367 header bytes      [MsgId: MMSG-26386]
    vuser_init.c(36): Registering web_reg_save_param was successful      [MsgId: MMSG-26390]
    vuser_init.c(42): Downloading resource "http://202.46.209.42:7778/f6i/f6ilsnr/?JServSessionIdf6i=i7yjfl33c1.f45nez95eiGIpR1vp2TD/knGnluImQXHcALJmQ5Go6XNr3CSa30R&ifcmd=getinfo&ifhost=MILDH0417&ifip=10.81.6.127" (specified by argument number 9)      [MsgId: MMSG-26577]
    vuser_init.c(42): Downloading resource "http://202.46.209.42:7778/forms60java/oracle/ewt/dataSource/OneDDataSourceListener.class" (specified by argument number 12)      [MsgId: MMSG-26577]
    vuser_init.c(42): Downloading resource "http://202.46.209.42:7778/forms60java/oracle/ewt/dataSource/OneDDataSource.class" (specified by argument number 15)      [MsgId: MMSG-26577]
    vuser_init.c(42): Downloading resource "http://202.46.209.42:7778/forms60java/oracle/ewt/dataSource/ArrayOneDDataSource.class" (specified by argument number 18)      [MsgId: MMSG-26577]
    vuser_init.c(42): Downloading resource "http://202.46.209.42:7778/forms60java/oracle/ewt/dataSource/AbstractOneDDataSource.class" (specified by argument number 21)      [MsgId: MMSG-26577]
    vuser_init.c(42): Downloading resource "http://202.46.209.42:7778/forms60java/oracle/ewt/dataSource/OneDDataSourceAdapter.class" (specified by argument number 24)      [MsgId: MMSG-26577]
    vuser_init.c(42): Downloading resource "http://202.46.209.42:7778/forms60java/oracle/ewt/dataSource/OneDDataSourceEvent.class" (specified by argument number 27)      [MsgId: MMSG-26577]
    vuser_init.c(42): Warning -26652: Response body length (96) does not match the Content-Length header specification (95) for "http://202.46.209.42:7778/f6i/f6isrvl?config=devjp10_en&acceptLanguage=en-us&ifcmd=startsession"      [MsgId: MWAR-26652]
    vuser_init.c(42): web_url("f6isrvl_2") highest severity level was "warning", 4459 body bytes, 3017 header bytes      [MsgId: MMSG-26388]
    vuser_init.c(59): nca_set_connect_opt("SCALE_INFO")
    vuser_init.c(61): nca_set_connect_opt("REQUIRED_LIST")
    vuser_init.c(63): Warning: ifError expired (5) during NCA handshake,
    vuser_init.c(63): Warning: ifError expired (5)
    vuser_init.c(63): Error: nca_connect_server: cannot communicate with host 202.46.209.42 on port 7778
    Abort was called from an action.
    TIA,
    Sheilesh

    Well, the obvious question is what does 'mail.wbe-pli.com' translate to on the machine?
    Does it translate to your public IP address, in which case your traffic has to go out through your router and come back in? In addition to not being ideal, that's also not supported by a number of different routers (they can't handle NAT traffic coming back in from the private network).
    In most cases the solution is to setup internal DNS so that your hostname maps to the internal address of your server, not the external one.
    In this case, though, you could also configure Mail.app to use 'localhost' for the mail server, rather than 'mail.wbe-pli.com'. That will enable it to talk to the server running on the local system.

  • Error when processing asset under construction (AuC) for WBS element message no cj824

    Hi,
    i am getting error message when i change dates in activities.
    Error when processing asset under construction (AuC) for WBS element
    Message no. CJ 824
    i have checked related post but did not find any solution. also check SAP Note but not related to my issue.
    Please guide.
    thanks
    Sunil

    Hi Ken,
    Please check below screens:
    according to this error message AUC has some missing field or some incorrect value. but when i checked via program RAUNVA00 which will display
    Incomplete Assets - Detail List.
    but this program does not return any incompleteness.
    i found many threads and SAP Not but none of is related to my program. this problem comes when i change dates in activity and save the project.
    Please suggest what to do now.
    thanks
    Sunil

  • Posting of retirement/transfer not possible (error in the asset)

    Dear All,
    I have been trying to retire 3 assets by ABAVN. After I try to simulate the posting, it says:
    Posting of retirement/transfer not possible (error in the asset)
    Message No.465
    Diagnosis
    An inconsistency was found for the asset 10 during the last recalculate values.
    Posting was rejected,
    Choose the function recalculate values in the master data maintanance transaction, and remove any inconsistencies.
    My question is that what is the asset 10..is it the depreciation area? C's I haven't input 10 assets...only 3.
    What is the recalculate values for asset master data maintanance? Is it the depreciation or other input to the asset master?
    Thank you.
    Emma

    Hi,
    I checked AFAR and found it would re-valuate 2 assets in 1999 and 2000 for depreciation area 10 (which is the tax depreciation). In 1999, the assets are retired partially. I am checking on the values AFAR calculated and find what happened that made it necessary to re-valuate the assets.
    Thank you.
    Emma

  • Posting of retirement/transfer not possible (error in the asset) Mes: AA465

    Dear Experts,
    while doing ABUMN, i am getting the following error
    Posting of retirement/transfer not possible (error in the asset)
    Message no. AA465
    Diagnosis
    An  inconsistency was found for the asset 01  during the last recalculate values.
    System Response
    Posting is rejected.
    Procedure
    Choose the function Recalculate values in the master data maintenance transaction, and remove any inconsistencies.
    Regards,
    Venkat

    Thanks ravi,
    I run the AFAR but nothing is visible in test run.
    I am defined the cut off key(5%) and assigned in to the dep key.
    we run the depreciation for the last 5 months. some of the assets fully depreciated before lagacy data upload. in AW01N those assets showing the error message. Now that asset(fully depreciated asset) is transfer to another business area. then it showing that:
    Posting is rejected.
    Procedure
    Choose the function Recalculate values in the master data maintenance transaction, and remove any inconsistencies.
    Run the depreciation in AFAR means. in which period i can run.
    Thanks
    Venkat

  • Error while creating the ASSET using LSMW BAPI method ( BUS1022 )

    Hello,
    Im creating assets using the below LSMW BAPI method
    Business Object      BUS1022     
    Method                     CREATEINCLVALUES
    Message Type         FIXEDASSET_CREATEINCLVALU
    Basic Type              FIXEDASSET_CREATEINCLVALU
    the following errors were triggered while populating the values to ACQ_VALUE and ORD_DEP value.
    Correction to ordinary dep. greater than acc. dep. in area 01
    Correction to ordinary dep. greater than acc. dep. in area 30
    Correction to ordinary dep. greater than acc. dep. in area 31
    Correction to ordinary dep. greater than acc. dep. in area 32
    if i pass only ACQ_VALUE, I am able to create the asset with out any issues.
    Can you guys plz guide me to fix this issue to create the asset with both ACQ_VALUE and ORD_DEP values??
    Cheers,
    Sriram.

    Hello,
    Review AO21.
    Regards
    Waza

  • Error while posting asset aquisition

    Hi to All,
    I am getting following error while posting aquisition entry.
    "Company code 211 manages parallel currencies in Asset Accounting. For each area that posts automatically online to FI, you have to define one dependent depreciation area that adopts both identical values and depreciation terms from depreciation area 01, and which is assigned to currency type 30 and currency GBP. There is no depreciation area of this type defined for depreciation area 01"
    I had made all settings what the error says above but still error persists.
    PLEASE ITS VERY URGENT
    tanuja

    Hi tanuja,
    Please check the setting in the T- code OABT.
    If it helps pls reward some points.
    JS

  • Error due to assets?

    Hi,
    Here i am attatching file regarding that exception.
    This code will work on local machine,but not work from server.i got these errors.
    My Directory Structure
    http://ipaddress of server/reqtionary/src/assets.
    reqtionary is my project name.
    under src folder one folder is there is css.It contains skinPreview.css
    The code inside that css file is below
    @font-face
        src:                    url("../assets/fonts/Framd.TTF");-------Here that error will be occured.
                                                                                 i will try this path(http://ipaddress/reqtionary/src/assets/fonts/Framd.TTF) in that url.
        fontFamily:             franklin1;                                Then also i got the errors.
        font-anti-alias-type:     advanced;
        font-weight:             normal;
    @font-face
        src:                    url("../assets/fonts/FRABK.TTF");
        fontFamily:             franklin;
        font-anti-alias-type:     advanced;
        font-weight:             normal;
    plz help me.
    Its very urgent.
    Regards
    D.Mahesh Babu

    I had a similar issue a year or two ago.  I would think that removing the ".." would at least make the errors in Flex Builder go away.  I have a project setup with a /src/assets folder where I just use /assets to refer to the font.
    I'm confused about what you mean by that code working locally but not remotely--if you're getting errors in Flex Builder how is it working locally if it's not even compiling?  (Did you mean to say the reverse?)  Are you using the mxmlc Ant task to build and test locally?

  • Error when importing Asset Legacy Data

    Hi Gurus,
    I get an error when I use LSMW and T.Code AS91 to import Asset Legacy Data...
    "AS91 S 00 347 Field ANW1-KNAFA . is not an input field".
    Is there a way to change that field to input?  Currently that field is greyed... If I do manual upload in the foreground, then it gives an warning but creates the Asset, but if we do it automatic in the background it fails.
    Can you help me on this.
    Thanks for you time.
    regards,
    Raj

    Hi Linda,
    Thanks for your reply.
    We are doing a mid year take over and the last depreciation was done in Dec 2006.
    I am using LSMW with T.code AS91.  Can you let me know where is this "transactional date" that we have to enter.
    I have seen that the master data gets uploaded, but with error in the last screen where the deprecitation is inputed, the error that I have explained in my post.  Can you help me on that?
    Thanks.
    regards,
    Raj

  • Error while creating asset master on a new company code

    Hi there,
    While trying to create a new asset master - Asset class XXX cannot be used in company code XXXX
        Message no. AA130
    Diagnosis
        When you create an asset, the system determines the chart of
        depreciation from the company code definition. In order for a chart of
        depreciation to be available for an asset class during asset
        maintenance, the chart of depreciation has to be entered for that asset
        class (Determine class valuation). Chart of depreciation YYYY that was
        determined is not entered for asset class 123
    System Response
        You cannot create any assets in your company code for this class.
    Please revert if you have any details regarding this. I am sure I am getting this error because of a missing entry in v_ankbv. But i am not sure on what is the config step i m missing.
    Thanks,

    You need to configure the node 'Determine Depreciation Areas in the Asset Class'  T Code-OAYZ.
    Path : Financial Accounting (New) > Asset Accounting > Valuation > Determine Depreciation Areas in the Asset Class.
    Assuming you have already done the other prior config steps involved like., Assign Chart of Depreciation to Company Code, Asset Classes etc.,
    You can also refer to the Best Practices Configuration guide (Link Below) for further details:
    http://help.sap.com/bp_bblibrary/600/html/N72_EN_DE.htm
    Regards
    Sreenivas
    Pls close the post if satisfied.

  • FA Acquisition - 21151: error while posting asset document: '100000006'

    Hi All,
    When I was performing the FA Acquisition for a fixed asset code, the above error message prompt. I am using SAP B1 8.8 PL 15. Before this error appear, I was able to perform all other transactions like FA Acq, Credit Note, Retirement and depreciation run.
    After this error prompt, subsequently FA acquisition and other FA transactions will have the similar error. Even though the subsequent FA acquisition involved FA code that was able to post acquisition before.
    Realized that it seems that if 2 users are performing the FA Acquisition and happen to press on 'Add' button at the same time, this error will prompt. Then you can't proceed with any FA transactions later even though another user is log off. Anyone have idea on this error?
    Regards,
    MH

    Hi Too Mui Hwee,
    What we did is to put letters on the number so the series will continue example there is already 100333, 100334, 100335 since the error is encountered from 100333. We add 100333A, 100334A, 100335A.
    Thanks

Maybe you are looking for