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

Mass upload of PR with multiple line items

Hi Experts,

I need to create the PR's with multiple items on Mass. I tried LSMW with Batch recording and BAPI method. But it is creating the PR with single item only. Can you please let me know how can we create the PR's with multiple items on Mass. I am using SAP 730.

Thanks in advance

Regards

Vijay

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 06, 2014 at 04:55 PM

    the best way is using the BAPI, because your number of items may vary from PR to PR, hence a static recording cannot be helpful.

    Further you need either to do little coding to know at which moment you have to create a transaction instead of record in the LSMW, or you organize this with 2 source files, which is the easiest and quickest option.

    One source file would just hold the old PR number

    the second source file would hold the PR number, the item number and all other data.

    you have to assign those files to the corresponding structures and then SAP will automatically add items if the all belong to the same old PR number, and will create a new PR when the old PR number changes.

    for the coding you can see an example in my blog LSMW Long text load by Direct Input method

    where actually the same problem exists, it shall create several lines in one text, instead of one line per text.

    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.