05-04-2009 2:33 AM
Hello Gurus,
We wanna to transfer vendor master data to the other system and expect to filter for vendor account group in message type CREMAS. We know this filed is KTOKK. Did anybody have any idea to do this?
warm regards,
05-05-2009 12:51 PM
step 1 create a filter object type in BD95
eg: ALE object type : KTOKK
TABLE name : LFA1
FIELD name : KTOKK
step 2 Assign this object type to message type BD59
Give your message type CREMAS
assign the filter object to the corresponding segment.
Now go to BD64.
Double click on the u2018No filter setu2019 in our distribution model.
Create a filter group using u2018Create filter groupu2019 button. By default all the filter objects will appear.
Double click on the filter object required and give values .(all values except G8 AND G9).
05-04-2009 4:26 AM
Hi,
you can use Conversion rules for your task. You just need to create a [conversion rule|https://help.sap.com/saphelp_nw04/helpdata/en/90/4f3c00c3c511d6b2b400508b6b8a93/content.htm] which will set your field to constant value.
Cheers
05-04-2009 4:56 AM
Hello Martin,
Thanks for your reply.
But we would not to set the vendor account group to one constant.
We would transfer our vendor account group G1,G2,G3...... from one system to the other, but exclude G8,G9. Is this workable? Any advice will be appreciated!!
Thanks a lot!!
05-04-2009 5:26 AM
Hi,
you can define your own conversion routines and assign them to your conversion rule. Check SAP documentation for more info.
For special conversions, you can also create your own conversion
routines, which you can then call using this mechanism.
The most common conversion routine used in SAP is conversion routine ALPHA. It contains two function modules. So you will have to implement these two FMs. So lets call your conversion routine ZZCR1, Then you need to implement FMs CONVERSION_EXIT_ZZCR1_INPUT and CONVERSION_EXIT_ZZCR1_OUTPUT.
Regards
05-05-2009 12:51 PM
step 1 create a filter object type in BD95
eg: ALE object type : KTOKK
TABLE name : LFA1
FIELD name : KTOKK
step 2 Assign this object type to message type BD59
Give your message type CREMAS
assign the filter object to the corresponding segment.
Now go to BD64.
Double click on the u2018No filter setu2019 in our distribution model.
Create a filter group using u2018Create filter groupu2019 button. By default all the filter objects will appear.
Double click on the filter object required and give values .(all values except G8 AND G9).
05-05-2009 1:35 PM
Perfect. Please follow as provided by Sruthi. This is the workable way to do through Distribution Model filtering.
But please be aware that the filter will be applicable for all other distribution models as well. Values can be different or blank.
05-06-2009 1:38 AM
Dear Sruthi,
Yes, the steps you provided solved my problem simply.
Appreciated for your advice,thanks a lot!!
07-07-2011 11:19 AM
Hi Sruthi,
my scenario is to filter on EKORG. i followed the steps mentioned by you as below. but still the idoc is not filtered.
Can you please help me.
step 1 create a filter object type in BD95
eg: ALE object type : EKORG
TABLE name : LFM1
FIELD name : EKORG
step 2 Assign this object type to message type BD59
Give your message type CREMAS
assign the filter object (EKORG) to the corresponding segment (E1LFM1M).
Now go to BD64.
Double click on the u2018No filter setu2019 in our distribution model.
Create a filter group using u2018Create filter groupu2019 button. By default all the filter objects will appear.
Double click on the filter object required and give values .(all values except G8 AND G9).
Regards,
Ajay Ramayanam
07-08-2011 9:09 PM
05-13-2009 4:20 AM
I am working on a similar case, but only different is I need to set the field value not equal to blank. Is there any solution to this?