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

Added Characteristics to a class were overwriting existing characteristics

Hi Experts,

I have used LSMW Idoc method to assign a characteristics (transaction code CT04) to a class (CL02),

but the problem was the new characteristics were successfully added to the class but the old characteristics were deleting i.e. new characteristics were overwriting the old characteristics i.e. the new characteristics were not appending to the existing characteristics in a class.

Message type used : CLSMAS

Idoc type used : CLSMAS01 & CLSMAS04 (first used CLSMAS01 and then tried with CLSMAS04 as well)

Is there any way where we can append the new characteristics instead of overwriting the existing ones using the LSMW only.

Your suggestions would be appreciated.

Thanks,

kalikonda.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jun 19, 2009 at 05:42 AM

    Hi,

    Possible values are possible for the field MSGFN:

    003 Delete: Message contains objects to be deleted

    004 Change: Message contains changes

    005 Replace: This message replaces previous messages

    009 Original: First message for process

    023 Wait/Adjust: Data should not be imported

    018 Resend

    You need to use 004 in your case to change the characteristics.

    Hope this helps.

    Best Regards, Murugesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Murugesh,

      Thanks for your reply and advice, but I have already tried maintaining that field 'MSGFN' with different values but still the same problem.

      Any other way using LSMW.

      Thanks,

      Kalikonda.

  • Posted on Jun 19, 2009 at 02:04 PM

    HI,

    THe problem could be because of the index.

    Are you calculating the index before adding the new characterstic, get the number of characterstics say n, attached to the class. then insert new characterstic at n+1 position.

    With regards,

    Vamsi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Kiran,

      Thank you very much for your reply.

      After using all options(direct input, session, recording, bapi) I tried with the idoc(please refer my initial question) but still it is overwriting it.

      Please suggest me any alternative using LSMW.

      Thanks,

      Kalikonda.

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2009 at 03:49 AM

    This issue has been solved as we did manually.

    Thanks for all of you who responded with your advices.

    Kalikonda.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      We were facing the same issue with the CLSMAS idocs. The idoc was trying to delete/ replace existing data and thus the Idocs were failing. The above enhancement worked for us. Is the above enhancements a part of an SAP Note?

      Thanks for the help!!!

      Cheers, Liz

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.