Skip to Content
author's profile photo Former Member
Former Member

LSMW - Upload customer data (KNA1)

Hi,

I'm trying to upload customer data from a legacy system using buisness object KNA1 and method CREATEFROMDATA1 (BAPI). At first I discovered that to be able to use business object KNA1 I had to generate an ALE interface in transaction BDBG.

My problem is that when I try to "Maintain Structure Relations" I get following error message:

No target structures could be found

Message no. /SAPDMC/LSMW_OBJ_030001

Shouldn't it be possible to do it this way?

I prefer to use the BAPI method compare to Batch input for following reasons:

- Better performance

- I don't have to think of screen sequences. For example can different account groups mean different screens.

Thanks for help,

Hans

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on Mar 24, 2006 at 07:21 AM

    Hi Hans,

    i think there is some problem with your steps. did you created the source structure and what about fieldmapping..

    for steps refer this document...

    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

    Regards

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2006 at 07:28 AM

    Hi Hans,

    Please send me your id i will send you

    the material how to do through LSMW.

    With regards,

    Pravin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2006 at 07:51 AM

    Hi Hans,

    you can use the BAPI

    'BAPI_CUSTOMER_CREATEFROMDATA'

    for your purpose.

    If you need any help in coding tell me.

    with regards,

    Pravin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Pravin,

      Have you actually used 'BAPI_CUSTOMER_CREATEFROMDATA' in LSMW? If so, I'm very happy to learn more about how you did.

      I guess you had to generate an ALE interface etc first!?

      Regards Hans

  • author's profile photo Former Member
    Former Member
    Posted on Apr 06, 2006 at 06:15 PM

    Hi Hans,

    Were you able to figure out how to import/specify the target stuctures? I got the same error 'no target structures could be found.' and I am trying to find documents on how to do this?

    Thank you,

    Lilly

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hans, did you ever come back to this problem and see if you could come up with a solution?

      I am facing a similar problem while trying to upload Business Partners into our CRM system. Unfortunately for me, the batch input recording option is not viable, as that takes too long (~95 days to load our data, and can't be run in background). I have been told that I should look to use a BAPI, but am getting errors when trying to specify the field mapping.

      Cheers,

      Andrew

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2006 at 10:46 AM

    Hi Hans,

    Check in "Maintain Object Attributes" whether the recording name is updated in frame "Object Type and Import Method".

    While creatingif you had gone to overview screen and done the recording then this may have got missed out. I faced the same problem but was able to correct it by filling the recording field.

    Rajeev

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.