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

LSMW for Mass update of PIR with condtions and multiple Scales

Hi ,

I have a requirement of mass creation of Purchase Info Records along with Condition records and multiple Scales using LSMW.

for one purchase info record, i have a condition record with multiple scale records ( Quantity Scales).

TCODE for this is ME11.

I have used the standard Batch Input Program (RM06IBI0) for this and passed 3 source structures with data.

1) EINA_EINE

2) KONP and

3) KONM ( Quantity Scales)

in the Field Mapping & conversion rules,

I have mapped the field for below fields.

1) EINA_EINE

TCODE = 'ME11'

LIFNR

MATNR

EKORG
WERKS
LOHNB

PIPEL

KONSI

MATKL

MEINS

UMREZ
UMREN

EKGRP

WAERS
MINBM

NORBM

APLFZ

NETPR

PEINH

BSTAE

BSTMA

2) KONP

KSCHL

KBETR ( Condition Amount) --Not mapping this field since i have multiple scales for 1 condtion record.

KONWA

KPEIN
KMEIN

LIFNR
DATAB

DATBI

STFKZ

3) KONM

KSCHL

KSTBM

KBETR


eg: I have one purchase info record to be created with -- 1 Condition record -and 3 scale records under this condition record

PB00-- valid from 16-12-2013 Valid to 31-12-9999

Scales for this like below:

Quantity Price

1 10

10 9

100 8

so in EINA_EINE - i am passing 1 record with LIFNR,MATNR,WERKS,EKORG etc

in KONP--> passing 1 record with Condition Type(PB00), LIFNR,DATAB,DATBI etc

in KONM--> passing 3 records each with different quantity and price as above mentioned.

In the read step, it is reading only 1 scale record instead of 3 scale records and in convert step i am able to convert only 1 record.

(means only 1 scale for 1 condtion record)

But i need 3 records to be read and convert so that i can create the PIR with condition record with 3 scale items.

Please suggest me how to get it.

if we cannot use this program, please suggest if there is any other way to create the PIR with condtions and scales.

Thanks in advance

Prem Kumar

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 01, 2015 at 08:18 AM

    Hi Prem

    Were you able to solve this problem?

    If yes, please state how?

    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.