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

Closing PR's using LSMW

Hi All,

I learnt from old threads that LSMW can be used to close PR's but i have a small doubt.

how LSMW works if i have PR with multiple line of items ,??

Even if i record say for 2 line of record also. how can i instruct system in lsmw to check the each line of item and fix the Closed indicator.

Plz pour i your replies

points ill be rewarded

Regards,

Preeti.PG

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Nov 12, 2012 at 08:47 AM

    First of all you should not use ME22N in LSMW recordings, as the xxxxN transactions are not designed for batch input use.

    Instead of a recording in LSMW you should use BAPI method, as here you can explicitly tell which item shall be processed.

    Add a comment
    10|10000 characters needed characters exceeded

    • I never worked with versions management, but I assume it was switched it on based on a business decision and not just for fun.

      Further you have alternatives by using the BAPI method for the change, so this should be the preferred way then.

      it also depends on the volume. if there are just 10 out of 1000 which cannot be deleted with your recording method, then do these 10 manually.

  • Posted on Nov 12, 2012 at 08:11 AM

    Line items will be like 10,20,30............. normally

    What is there in your case?

    Normally if you are Giving 2nd line item, then you have to run recording in LSMW for those PR's where deletion indicator has to be applied for more number of line items.

    Then you can give line items also to close PR's

    Thanks,

    Shiva

    Message was edited by: shiva prasad

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2012 at 08:55 AM

    Hi,

    better use LSMW BAPI method in that you maintain which item close

    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.