cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a new validity period to A016/KONP using LSMW?

Former Member
0 Kudos

Experts:

Now I have a problem,

I need to add a new period in Contract(ME33K),

I already have a period item in contract like 01/01/2011~12/31/9999, 100,100.

I need to use LSMW,

1.change the period to 01/01/2011~01/01/2012,100,100

2.add a new period :01/02/2012~12/31/9999,100,105

I can do the first step beacuse there has value in table A016/KONP,but I can't do the second step,the field KNUMH is autocreated by system? I use BUS2014/PURCONTRACT_CHANGE

Please help!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi MF ,

i think you have to find relevant fields for valid_from and Valid_to , im referring structure ITEM_COND_VALIDITY

Former Member
0 Kudos

Thanks for reply,

I have used these strcture for update,

E1BPMEOUTVALIDITY

E1BPMEOUTVALIDITYX

E1BPMEOUTCONDITION

E1BPMEOUTCONDITIONX

But there is a field SERIAL_ID I don't know what value I should put in.

Is it possible to use any function to create a serial_id? I konw it should be unique.

If I put space in,it doesn't work

Edited by: MF Z on Oct 12, 2011 4:50 AM

Former Member
0 Kudos

Hi ,

each item will have only 1 condition , so pass '1' to serial_id .....

regards

Prabhu

Former Member
0 Kudos

Thanks!

In my sample,

one item have 2 diffrent preiod conditons,

and one of them has already got the serial_no,it's no problem,

another condition is new,for this new conditon,I will put a value in to test,thanks!

Former Member
0 Kudos

I failed to add new period with new price.

It seems this BAPI didn't support two periods for one item.

Answers (0)