2012 Apr 19 9:29 AM
Dear all,
We have a lot of Idocs that are processed from change pointers on material master ...
My predecessor programmed the creation of Idocs, but he always told that it was impossible to stop the creation of Idocs depending on the value of the material master (for example material status) ... To me, it seems not realistic that we are not able to avoid creation of Idocs if the material has a specific status ...
Can anyone help me with a solution to only create Idocs from change pointers on material master if the material has a status that allows creation of Idocs ?
Thanks in advance !
Greetz,
Kurt.
2012 Apr 19 9:49 AM
1. Check BADI IDOC_CREATION_CHECK.
You can implement this BADI and check for your conditions and decide if you want to create an idoc.
Also check the customer exit's EXIT_SAPLF050_005( FIDCC2 IDoc outbound: Change data / do not send ) & EXIT_SAPLF050_007 ( IDoc outbound: change complete IDoc / do not send ).
2. You can also create filter objects, if you want to create Idoc for particular values of any field in IDOC segament. You create and assign it in BD64 for your message type.
Add this field as a filter object in BD59 with the segment name with position of field in segment and also in BD95 if its not already present.
Then in BD64 you can create corresponding filter object set the value of say Company code for which you want to send that segment.
This should work if your segment in not marked as mandatory segment in WE31.
2012 Apr 19 9:49 AM
1. Check BADI IDOC_CREATION_CHECK.
You can implement this BADI and check for your conditions and decide if you want to create an idoc.
Also check the customer exit's EXIT_SAPLF050_005( FIDCC2 IDoc outbound: Change data / do not send ) & EXIT_SAPLF050_007 ( IDoc outbound: change complete IDoc / do not send ).
2. You can also create filter objects, if you want to create Idoc for particular values of any field in IDOC segament. You create and assign it in BD64 for your message type.
Add this field as a filter object in BD59 with the segment name with position of field in segment and also in BD95 if its not already present.
Then in BD64 you can create corresponding filter object set the value of say Company code for which you want to send that segment.
This should work if your segment in not marked as mandatory segment in WE31.
2012 Apr 19 9:56 AM