ALE Filter on MATNR

Dear Friends,
May i ask your expertise here pl.
I had done a setup of ALE for outbound and we have also applied filter on the field Material Type, now i need to limit the filter for field MATNR by sending only the materials start with "S" i tried it through filter by putting    S*   but it is not successful and none of the filters on the distribution model are working when i put the filter on MATNR with S*.
May i request your expertise advise on how can we filter the material before sending to legacy ?
thanks for your valid advise.
BR,
Ravi

Hi Ravi,
Let's say that you don't have any use of the field "division" (MARA-SPART). Then in the user exit MGV00001 (EXIT_SAPLMV01_002) find the record IDOC_DATA where SEGNAM = 'E1MARAM' (the MARA table).
IDOC_DATA-SDATA in this record has structure E1MARAM (you can e.g. move SDATA to a variable of structure E1MARAM, update it and then move back to SDATA). Move the first character of MATNR to SPART.
Then you can set your filter to SPART = 'S'. If SPART ("division") or whatever field that you chose is not available in the filter, you can add it in trs BD95 and BD59.
I believe this guidance should be sufficient for your ABAP and ALE consultants.
BR
Raf

Similar Messages

  • ALE Filter Group

    Hi Everybody,
    I have a question:
    Anybody could tell me how is the possibility to extend the standard filter in the ALE distribution model? At this moment you can only add a filter on controlling area and I would like to have one for the field Logical System, which is part of the master data of the cost center.
    Thanks & regards,
    Mohamed.

    Not in the right forum

  • ALE Filter - Exchange Rates

    Hi All,
    I have setup a ALE distribution model for sending Exchange Rates. For this model I have setup a filter Currencies. So when  I am sending the IDOC its is picking all the currencies which are not in the filter even.
    Please throw some light on the above issue.
    Regards,
    Raghavendra.M
    SAP-Practice.

    i do not think this in the right forum

  • ALE Filter Group Filtration

    Hi,
    I have a requirement to outbound a few infotypes via ALE/IDoc (using HRMD_A)
    eg: IT0, IT1, IT6 (subtype 1), IT 9 (subtype 0).
    I have defined a few filter groups in the distribution model as below:
    1) Infotype: 0000, 0001
    2) Infotype: 0006
        Subtype: 1
    3) Infotype: 0009
        Subtype 0
    Is this work? As I am new to ALE/IDoc, thus, I'm not sure it will accommodate my requirement or not.
    Or I need to put all the infotypes into 1 filter group?
    Kindly help me. Many thanks in advance.

    Hi,
    I need to outbound a few infotypes. Some infotypes I just need to outbound certain subtype.
    Eg: IT0, IT1, IT2 will need to outbound all records regardless the subtype,
          IT6 need to outbound only subtype 1
          IT9 need to outbound only subtype 0
    Is my method to configure in the filter group in Distribution model correct?
    Thanks.

  • Ale Custom filter group

    Hi All,
    I need to transfer cost centers via ALE. The issue is that the filter which I have to implement in the distribution model is based on company code (unlike controlling area which is the standard filter group for message type cosmas).
    I searched a number of sites, but couldnt find much information on how to create custom filter groups in ale.
    any suggestions?

    Hii Mridula..
      In Your Scenario you have to Create a Filter Object type.
    Find the Detailed Steps below.. You can implement The Same Example for Company code field...
    <b>These are the Steps to Implement Data Filtering in ALE.</b>
    <b>Filter Objects: These are the Fields based on which you define The Conditon.</b>
    For eg: Matnr, Mtart...
    1. Create a Filter Object (If it is not available for ur Requirement)
       Tcode: BD59
       New Entries:
       ALE Filter Object type : MBRSH (Industry Sector)
       Segment type :  E1MARAM
       Segment field : MBRSH
       Save.
    2. Link the ALE Filter Object type to the Table field in DDIC
        Tcode: BD95
        New Enries:
        ALE Filter Object type : MBRSH (Industry Sector)
        Table Name : MARA
        Table field : MBRSH
        Save
    3. Creating Data filtering using this Filter Object type
        Tcode: BD64.
        Expand ur Model view.
        Under the Message Type MATMAS
        Double click on No Data filter / Data filter Active.
        Create a Filter Group.
        It will list out all the Filter Objects of the Message type:
        (you should find the New filter Object type)
       Double Click on the Filter Object type MBRSH .
       Assign the Filter values
       Save.
    <b>REWARD POINTS IF HELPFUL</b>

  • Adding a Filter in a distribution model

    Hi Experts,
    I need to add few fields in my IDOC segments as a filter in distribution model.
    and i need to set certain values to these fields.
    Can anyone plesae tell me step by step procedure how to add the filter in distribution model?
    Regards,
    Ashish

    Hii..Ashish..
    These are the Steps to Implement Data Filtering in ALE.
    Filter Objects: These are the Fields based on which you define The Conditon.
    For eg: Matnr, Mtart...
    1. Create a Filter Object (If it is not available for ur Requirement)
       Tcode: BD59
       New Entries:
       ALE Filter Object type : MBRSH (Industry Sector)
       Segment type :  E1MARAM
       Segment field : MBRSH
       Save.
    2. Link the ALE Filter Object type to the Table field in DDIC
        Tcode: BD95
        New Enries:
        ALE Filter Object type : MBRSH (Industry Sector)
        Table Name : MARA
        Table field : MBRSH
        Save
    3. Creating Data filtering using this Filter Object type
        Tcode: BD64.
        Expand ur Model view.
        Under the Message Type MATMAS
        Double click on No Data filter / Data filter Active.
        Create a Filter Group.
        It will list out all the Filter Objects of the Message type:
        (you should find the New filter Object type)
       Double Click on the Filter Object type MBRSH .
       Assign the Filter values
       Save.
    <b>Reward if Helpful</b>

  • Filter in ALV

    Hi,
    I have a ALV list displayed in the output. The Field 'MATNR' appears as 10 digit in the output.
    When I set the filter for MATNR, the filter pop-up screen appears to enter the value for MATNR.
    The pop-up screen allows me to enter only upto 9 digit for matnr field. It does not allow me to enter 10digit material nimber.But when I choose a diffrent layout for ALV, it allows me to enter 10digit material number.
    Can you please help me?
    Regards
    Saroj

    hii
    Try this
    it_fieldcat-inttype = 'NUM'.
    it_fieldcat-lzero = ''.
    though the field is character , i guess it works
    your problem is with internal/external format.  The reason why some value 1234 with out zeros  doesn't work, is because it is stored in the database as 000000000000001234. I suggest that you make sure that you filter includes the internal format.
    you should make sure that the value you pass should be in the database format
    You could use a function module to convert it.
    <b>CONVERSION_EXIT_ALPHA_INPUT</b>
    also check this link..same problem is being discussed
    <b>Re: ALV problem (with filter use)
    Regards
    Naresh

  • IDOCs Distribution Model: filter whitout Filter group

    Hi guys!
    In my IDOCs distribution model of IDOCs with Message Type "Z", when i try to add a Filter, in the popup dialog to enter the Filter group i canot see nothing...only a line with a "Dependent on class membership:  Requires classes to be defined in the sending system"
    but not show the expected fields like  Sales organization, or  the Account group
    ¿this is a custonizing problem?
    Best Regards,
    Antonio

    Hi,
    First, create ALE Filter objects via BD95 (if they do not exist yet)
    Secondly, assign ALE Filter objects to your message type for the appropriate segment: BD59
    Then, run bd64 ...
    Regards,
    Jakub

  • ALE distribution

    Hi,
    I am  trying to control my idoc distribution to specific ALE receiving system.
    In my system, I have 2 ALE model, no ALE filter, so whenever an FI-related transaction is performed, it will create 2 idocs; one for each model. I was wondering what's the best way to filter? (ie, only one idoc is created for one specific ALE receiving system..)
    Alice

    Hi,
    I am  trying to control my idoc distribution to specific ALE receiving system.
    In my system, I have 2 ALE model, no ALE filter, so whenever an FI-related transaction is performed, it will create 2 idocs; one for each model. I was wondering what's the best way to filter? (ie, only one idoc is created for one specific ALE receiving system..)
    Alice

  • Inter company  /  ale idoc

    hi pro's
    well we are mapping this scenario can u please help me .. like we are getting the stock from japan to india as a intercompany sale . ok now both are distributed systems. so in this process
    order is done at india ( va01 ) .
    then transfered to japan and wrf to tht order shiping is done from japan (vl01n)
    wrf to this del a invoice is created vf01 india.
    then an intercompany invoice comes from japan to india ( vf01 IV )
    apart from this what is the document ( if there is any ) document which says that japan plant has sent stock to the indian customer.......please lemme knw
    how to configure this scenario using idocs ,,,,,please let me know
    [email protected]
    thanks & regards.

    HI
    Customer has a separate SAP Warehouse Management System (WMS) in the R/3 landscape where all R/3 Distribution data are replicated/distributed from R/3 to the WMS system via ALE. For example, Sales Orders are created in R/3 - when they are delivered (Sales document->Deliver) the ALE kicks in and the same Delivery doc is distributed to the WMS system but the Sales order is not distributed. Any subsequent functions for the Delivery like Picking, Packing, Goods Issue, Shipment is then done from the WMS system only so that all distribution specific transactional data are stored and processed from the WMS system.
    Again, in order to successfully distribute the delivery documents to the WMS system from R/3 via ALE, a lot of SD master data needs to be distributed prior to these subsequent distribution business processes (like picking, packing, GI etc.). So another set of ALEs are also set up to distribute SD master data via IDocs (within the ALE framework) to the WMS system everytime master data is created/changed in the R/3 - for example - Plant, Warehouse, Storage Type, Storage Location, Material Master etc.
    Hope this helps as an example to understand the usability of the ALE technology.
    For distribution of materials from R/3 to WMS, we use Basic Type/IDoc Type MATMAS05, Message Type MATMAS. We've set up MATMAS05 using ALE Filters on Division, Sales Org., Distribution Channel, Material Type, Storage Location and Plant as we want only specific org data to distribute across WMS.
    For delivery document change and replication, we use BAPIs via the Distribution Model (transaction BD64). Here we've associated BAPI_INB_DELIVERY_CHANGE for change of inbound deliveries, BAPI_INB_DELIVERY_SAVEREPLICA to save replica of inbound deliveries, BAPI_OUTB_DELIVERY_CHANGE for change of outbound deliveries and BAPI_OUTB_DELIVERY_SAVEREPLICA to save replica of outbound deliveries. Again, on each of these methods, we use ALE Filter groups to replicate/update changes related to particular business org. data.
    REFER LINK BELOW
    http://www.erpgenie.com/ale/index.htm
    Sail

  • HR - SRM Replication: Issue with company code and cost center

    Hello Experts,
    We have a scenario where we are trying to replicate the HR Org Structure into the SRM system.
    All the standard settings have been made using relevant SAP Notes and other help available on SRM.
    However, the company code and cost center for a particular position are not getting updated into SRM.
    These details are present in the Inbound Idoc from the ECC system.
    Is there any setting we may have missed out on?
    Please help.

    Hi
    Kindly check your ALE Filter in BD64 in the sending system. You need to maintain the objects C K O S and infotype 1001 and related subtypes in the filter model.
    Also check the Evaluation path that you are using to send data.
    Regards
    Vijay V

  • Looking to stop sending IDOC if output has been already processed for PO

    Hi,
    I am using the Message type ORDERS to trigger the IDOC for the purchase order based on the output type. But my requirment is that if the output is already processed for a  specfic purchase order then it should not allow to process the output again for that purchase order. So i am writing a logic in user exit that if NAST table entry is already exist and proccessed for the output type for specfic purchase order then i want to stop sending the idoc.  As NAST entries doesn't contains any segment data due to that i am unable to set the ALE filter in BD64 transtaction .So could you please anyone give me any suggestion how can i stop sending the IDOC if output has been already proceessed  so that it will helpful for me.
    Thanks in advance for your help .
    Regards,
    Kiran

    >
    divyesh vasani wrote:
    > Hi Shabarish,
    > Thanks for your reply.
    > I was working on solution proposed by  NALLAM GUNA RANJAN.
    > But as you and Jai mentioned, but I think Maintain Order At Runtime option is available with Interface determination not with Receiver determination.
    > In my case, From same Input file(from which Text file is generated) mail report has to be generated but after creation of text file only.
    >
    > Thanks
    > Best Regards,
    > Divyesh
    1. In case you intend to use maintain runtime then use a single receiver and add multiple inbound interfaces. This is the easiest solution
    2. use a BPM. use send steps in serial. First send step should be File (request for acknowledgment) and then followed by send step for mail.
    Do not go for scripts etc unless no other solution persists since maintenance and support in the future will always be an issue.
    let me know if u still have issues.

  • Query related to filter group on matnr created in ALE distribution model

    Hi All,
    I have query related to filter group on matnr created in ALE distribution model.
    I have created a filter group on matnr in ALE distribution model and put the value E*  ( purpose is that all the material number started with E should be triggered in case of any changes in the material).But it is not working.
    <b>Can anybody suggest the solution for this i.e how to capture E* value for the material master changes and should trigger idoc using change pointer using BD21.</b>
    Thanks & Regards
    Prabhat

    Unfortunately, you cannot filter using wildcards or exclusions.  You have to explicitly list each allowed value in its entirety.
    In my opinion, the simplest solution would be to copy function MASTERIDOC_CREATE_SMD_MATMAS, modify it to handle your custom filtering and update the message type entry in transaction BD60.

  • E-Recruiting : Filter details in ALE setup

    Dear experts,
    I have a small clarification regarding the filter details we specify in the distribution model when we set it up.
    We have eRecruiting on a separate instance from ECC & both are on 603.We are integration the ECC data using ALE & message type HRMD_ABA05.
    The infotypes that can be transferred are 0000,0001,0002,0006,0105,1000,1001. Is this correct?Can we transfer other data too?
    Can someone please specify the exact filter criteria that can be specified?
    How do i transfer the objects ? both for PA & OM objects in an optimum way ? Should i transfer the objects one at a time like P, then O etc?
    Also, while exceuting PFAL against all objects, i see that at the eRecruiting end there is an error in the iDoc. Status is 51 "Error: insertion of infotype 1001 (return code 3 )". Please help in understanding how to transfer the data in a better fashion into eRec. I can see all the objects CP,BP,NA,O,S C in 1001 in eRec but i have got this error in the iDoc. what should i do?
    Regards,
    Sowmya

    Hi
    You need to update the orgunits .... i.e.
    first move O,C,S object types and then you can move.......
    during initial data transfer: You can search and refer standard notes as well,
    Move O in update mode thru pfal : and put infotype 1000 only
    Similarly follow for C,S
    Then move P data initially avoid putting filters..........
    in insert mode......
    Then move O.C,S in insert mode.......
    After the initial movements then you can update your message types with infotypes like.......
    0,1,2,6,105,.1001,1000 is sufficient
    also you can do some customising in badis at the e-rec end and also pass 22,23,24 .....
    also there are some hrpad entries which u need to pass...in the filter...
    check the message type for that......
    Regards,
    Divya

  • Problem on idoc filter on - ALE

    Hi all,
    I'm working with ale, in particular with CLFMAS IDOC.
    In trx. BD64 we have a filter for this idoc.
    The problem is that I need to filter the field
    E10CLFM-objek with a select-option and no with single values?
    Is it possible?
    regards,
    enzo

    Hi,
    U can set the filter on field level in BD64.
    select the model view,click on NO FILTER SET option. you will get one modal screen... click on create button. then select the field..set the filter.
    Thanks
    Eswar

Maybe you are looking for

  • Internal table not getting modified from Table Control

    Hi Guys, I am developing a <b>Module Pool </b>Program where I am inserting data directly in table control of the main screen. In the flow logic of the Table control I have written : PROCESS BEFORE OUTPUT.   LOOP AT itab WITH CONTROL tc1 CURSOR tc1-cu

  • Can I force Quicktime to remain in fullscreen when it's out of focus

    Hey, I've got a bit of a question. I recently got hold of a new LCD and hooked it up as my secondary display, and among other things, I like to keep work on one screen and video on the other. Trouble is, any time Quicktime loses focus, it drops back

  • Is there a way to adjust the frame length when using a FFT

    Is there a way to adjust the frame length when using a FFT? Thanks, David

  • Whitelist Setup for PLM Web UI

    Hello Guru's, I would like to know what file path format do we have maintain for setting up whitelist for download and upload option. Please see the attachment for screenshot. Any inputs would be much appreciated. Thanks & Regards Jo Pz

  • Upload a list on BW selection screen

    Hello please could someone help - I am trying to find a way of uploading a list for the selections on the BW front selection screen - the same as in R/3 select-options where you can upload a list. is it possible within BW? any help would be great che