02-27-2006 7:02 AM
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.
02-27-2006 7:16 AM
02-27-2006 7:27 AM
Excuse me, but can you tell you answer in detail? Do I need to make new IDoc type, or you meens something else?
02-27-2006 7:28 AM
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
02-27-2006 7:30 AM
02-27-2006 7:37 AM
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.:(
02-27-2006 7:40 AM
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..
04-13-2006 2:09 PM
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)
01-10-2007 4:43 PM
Hi Ilya,
Did you find the answer for your problem. I have the same situation with this idoc.
Manik