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