Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc COND_A01

Former Member
0 Kudos

Hi all.

Tell me please, how can I close period of validity of conditions vith IDoc COND_A01. By the moment when I want to close (for example) period 12.01.2006 - 31.12.9999 I send IDoc with period 28.02.2006-28.02.2006 (day of closing) with the same VKORG, KAPPL, KSCHL and MATNR (unfortunately I can`t send KNUMH from external system:( )

And result is: three new periods:

12.01.2006-27.02.2006

28.02.2006-28.02.2006

01.03.2006-31.12.9999

What can I do with this problem? May be I didn`t fill some important fields in IDoc?

I need the following result:

two periods:

12.01.2006-27.02.2006

28.02.2006-28.02.2006

or only one:

12.01.2006-28.02.2006

HOW??????

thank you.

Ilya.

8 REPLIES 8

Former Member
0 Kudos

Hope u can achieve it through IDOC Conversion

0 Kudos

Excuse me, but can you tell you answer in detail? Do I need to make new IDoc type, or you meens something else?

0 Kudos

Pls. tell me in which fields/Segment these values are getting populated

12.01.2006-27.02.2006

28.02.2006-28.02.2006

Regards

Eswar

0 Kudos

E1KONH-DATAB

E1KONH-DATAI

0 Kudos

Now I see only one exit:

In User exit of FM 'IDOC_INPUT_COND_A' find period with maximal DATAB and delete it from DB table:((. But this is not a good decision.:(

0 Kudos

In this userexit...

Check the both dates according to your req. and then try to populate it in other end.

Delete the remaning dates. Its better way...Instead of creation of new idoc types..

0 Kudos

Reply from Dominic McCormick:

You need to send a deletion record for the part of the validity that you want to remove:

record with date 01.03.2006-31.12.9999 with deletion indicator = 'X' (E1KONP-LOEVM_KO)

Former Member
0 Kudos

Hi Ilya,

Did you find the answer for your problem. I have the same situation with this idoc.

Manik