BADI Impl. VB_BD_SELECTION to change selection criteria in batch det.

Hye,
I need to use the BADI VB_BD_SELECTION in order to change the selection criteria to be used during batch determination
For this purpose  method RESTRICT_CONF_CHARS has been implemented.
But I didn't find any documentation explaining how to manage this one:
as result the characteristic record is deleted from the selection criteria instead of updating it with a new value specified in the structure CT_CONFIG-ATWRT.
For example:
in the strategy  we have the value car1 = A.
If BADI is off than the system in production order uses right this criteria to determine the batches.
If BADI is on than we want to define new criteria to find batches with the characteristic car1 = B but the system deletes car1 from  selection criteria.
Thanks
Anna

Hi Anna,
I have the same problem for another customer project.
The big problem is I didn't found any documentation or an class example for that BAdI.
Please help us.
Thank you

Similar Messages

  • Change selection criteria or check allowance for marking

    Hi,
    I have executed the costing in CK11N and saved the result. The costing run was successful without any error.
    When I want to Mark the cost in CK24, I am getting the below error. Kindly help to resolve this issue.
    Change selection criteria or check allowance for marking
    Message no. CKCC140
    Diagnosis
    No data was selected for marking.
    Possible causes:
    There is insufficient data in the selection screen to select the required cost estimates.
    The organizational measure was not carried out, or it was issued with a different costing variant to that of the cost estimates ( Marking Allowance).
    All the cost estimates contain errors.
    The cost estimates have already been marked or released.
    For detailed information, call up the log.
    thanks and regards
    Murugesan

    Dear Murugesan,
    First ensure in CK11N,you have saved the cost estimate without any error,the signal showing with green colour.
    Then in CK24,first take a test run for marking and then without the check box for test run.
    Before Executing this T Code for marking,click on marking allowance and ensure for the period,company code and the same
    costing variant and costing version,it shows green colour which indicates alloed for marking and release,otherwise,just click on
    your company code,enter the costing variant and costing version and save the datas.
    This should be done only once during the period begining.
    Once after doing this,ensure you have complete authorization for marking and release.
    Check and revert back.
    Regards
    Mangalraj.S

  • Reg. Invalid batch according to selection criteria in batch determination

    Dear Experts
    I have configured newly batch management in our IDES ECC 6 system in which while posting the GRN I am getting the following error:
    Invalid batch according to selection criteria in batch determination
    Batch WHITE has already been posted in stock
    For batch WHITE of material YARN40SCMBD 1001, no class could be deter
    Deficit of PU Ordered quantity 5 KG : YARN40SCMBD 1001 YN01 WHITE
    and also the system response is
    For batch WHITE of material YARN40SCMBD 1001, no class could be determined
    Message no. M7207
    Diagnosis
    The system has been configured so that batches have to be classified for the current movement type. Since neither the material nor any batch of this material has been classified, batch &V1 cannot be classified for the current movement type.
    System Response
    Depending on how the system is configured, either a warning or an error message is issued.
    If the message issued is a warning (W), the system allows you to enter batch WHITE without classification. The warning is, however, issued to prevent you from making a wrong entry.
    If the message issued is an error message (E), you cannot post batch WHITE.
    Procedure
    You either have to classify material YARN40SCMBD in the material master or manually create batch WHITE in the batch master and classify the batch there.
    As soon as a class has been assigned to the material or a batch of this material, you can classify other batches of this material upon goods movements.
    Pls help me. how to solve this problem.
    Thanks
    Rajakumar.K

    Hi,
    Follow the steps:
    1.Field---VFDAT and table-MCHA should be created as a charecter in CT04 and assigned to a class in CL02N.
    2.create MM01 and add the class to it in classification view.
    3.In mm01 plt storage1 view give data for remainning shelf life and total shelf life and in purchasing view activate batch management.
    4.OMJ5- activate SLED for your plant and mvt type 201.
    5.opj2- set BD for your plant.
    6.create sort sequence in cu70 and assign your charecteristic value to it.
    7.create batch serch strategy in MBC1 for access sequence(plt/matrl/mvt typ) create a condition record.
    8.Do a GR using 501 and enter SLED related details.(production date and exp date values)
    Repeat the above step and enter diffrent values for SLED details.
    So now two batches are created with SLED as the charecteristic.
    9.Do a GI using 201 mvt tye in MB1A and enter * in batch field(system will determine the batch using the SLED value basedon the criteria(ascending or descending which was set in the sort rule.)
    (or)
    view this thread
    Re: Batch Search
    Reg,
    Deepak

  • Selection Criteria in Batch Determination

    Hi All,
    Can you please guide me on how to make selection criteria for batch determination in production orders? The scenario is that I am creating a production order for plant A and Plant B. When I create for plant A, the batch determination in the component overview screen does not take into consideration any selection criteria, hence no batches are shown. However, when I do the same for Plant B, it works perfectly fine.
    I wanted to know all plant specific settings for Batch Management.
    Thanks

    Hi Javed,
    Check CORW . I guess urs problem will be solved
    Regards,
    Vishal

  • Invalid batch according to the selection criteria in batch determination

    Good day to all!
    I am trying to Post Goods Issue in my Delivery but I cannot proceed because of the Batch. When I am trying to use a Batch in the Picking tab of Delivery Create Overview, this message appears: Invalid batch <BATCH NAME>according to the selection criteria in batch determination. Do you have any idea how to resolve this? Thanks!

    you work with batches,
    and your system is customized to check if a manually entered batch fulfills the  criteria of your batch determination.
    This is not the case, hence you get the error message.
    So you have to decide whether your batch determinatiion selection criteria wrong, or if the customizing to check this criteria is unwanted, or if you better do not send this chosen batch to your customer as it may result in a return.

  • How to change Selection Criteria for a Business Content Data Source

    Hi Experts
    I am extracting data using 0CO_OM_CCA_9 Datasource. I would like to be able to select a range of Company Code (BUKRS) to pull in, but I cannot find a way to make certain fields available as selection criteria. When I go into "Change DataSource", I can unselect fields, and even select certain fields, but the option for most is grayed out.
    How can I make this field available as selection criteria in Infopackage?
    Thanks for the help.

    Its not that simple to enable a new selection for a Business Content Datasource, if its not already provided by SAP. Enabling new fields for selection should be accompanied by corresponding extractor code changes to process those field selections and use those selections throughout the extraction process.
    Solution for your problem would be create a custom extractor with all the logic of standard extractor (function module BWOMD_GET_CTRCSTA1 for 0CO_OM_CCA_9) and extra logic to process the new fields for selection.
    Hope it helps!

  • Changing Selection Criteria in Current DataSources

    I am pulling in financial information from BSEG into BW.  BSEG is a massive table with a lot more information than I care to pull in for my purposes.  I would like to be able to select a range of GL Accounts to pull in, but I cannot find a way to make certain fields available as selection criteria.  When I go into "Change DataSource", I can unselect fields, and even select certain fields, but the option for most is grayed out. 
    How can I make other fields available as selection criteria? 
    Thanks for the help.
    Sean

    Hi Sean,
    this is pure brutal code....
    SELECT SINGLE * FROM ROOSFIELD
    WHERE OLTPSOURCE = ZBW_BSEG AND
          OBJVERS    = 'A'      AND
          FIELD      = GREYFIELD.
    IF SY-SUBRC = 0.
      ROOSFIELD-SELECTION = 'X'.
      MODIFY ROOSFIELD.
    ENDIF.
    Sean, test this solution to verify if the selection you done works effectivly...
    Hope this helps.
    Bye,
    Roberto
    (remember to click on the star as way to thank !!!)

  • Change Selection criteria for existing report in Report painter

    Hi Experts,
    We are on 4.7, using report painter for getting reports for Cost center & Profit Center. For one of the report we have selection criteria as Cost center and cost center group, but now user want us to add new selection field as Cost element and cost element Group to same report. We have tried all the options from GR32 ->Edit-> General Selection, but we don't find cost element in Key figure listed there.
    Please let us know how can we add the new field to selection criteria. We also would like to know is this is possible with existing report  to add new fields or not? Is that we need to create new report for this?
    Thanks in advance..
    Shilpa

    Shilpa-
    In my opinion the best way to troubleshoot issues like this is to go to SAP delivered standard reports and see how they are setup. For example, in your case you want to add cost element and cost element group to your report. There is one standard report from SAP - Transaction :S_ALR_87013611 which has both cost center, cost center group and cost element, cost element group in the selection criteria. You can look how this report is set up, and maintain your report in a similar fashion. Atleast this way, it will give you an idea.
    Go to transaction code GRR3 and under library look for report "1SIP-001". By double clicking on the row, you will see how it is maintained.
    Hope this helps.
    Shail

  • SLED for selection criteria for batch search

    good day gurus,
    Is it possible to use SLED (LOBM_VFDAT) as a selection criteria for my batch search? how do i set this up?
    Thanks in advance
    Edited by: obie villamosa on Jun 30, 2008 11:06 AM

    hi
    maintained class in t-code CL01 for you characteristics then sort sequence CU70 as per shelf life, setting expiration date check by OMJE for your plamt and movment type,
    maintained strategy type in spro in production
    Define Batch search procedure and assign your strategy there.
    then allocate your search procedure to your plant in spro
    and then maintained condition type in t -code COB1 for your plant.
    also maintained your class in material master in classification view for batch class
    Regards
    Pravin
    Edited by: pravin dhokey on Jun 30, 2008 8:07 AM

  • Invalid batch according to selection criteria in batch determination

    Hi all,
    When I am trying to post a goods issue for a material the above message is displayed.
    And when I am trying to post the same material with mb1c-561 the system shows No batch numbers could be determined.
    What can be done over this?
    Also when I am trying to remove batch management indicator from sales/general plant view it shows it is already in some sales documents.
    Pls advise
    Regards,
    Sam.

    Dear,
    Message no. LB026 ??
    MB1C 561 is mainly used at time of Go-live when we have to upload initial stock in SAP There is no use the the automatic batch determination for 561 movement.
    In MB1c with 561 movement first time its going to create a new batch check the setting of OMCZ.
    Once you activited the batch managment it is very diffuculte to remove better to create new material code.
    Regards,
    R.Brahmankar

  • KE28 - Selection Criteria and Processing

    Hello Expert,
    we  will need, when we are executing transacction ke28 that  it runs  this process  excluding some products or
    this does not consider some records
    I review some recomendations but I dont found one solution.
    1.   http://scn.sap.com/thread/607526
    2.   http://scn.sap.com/thread/1887453
    3.   http://scn.sap.com/thread/1707542
    4.   Example: Selection Criteria and Processing Instructions - Profitability Analysis (COPA) - SAP Library
    5.   77476 - Information: top-down planning
    6.   1928710 - KE28 enhancements (this note oss not apply in SAP ECC 6.0)
    7.   1933479 - KE28: Enhancements (this note oss not apply in SAP ECC 6.0)
    I try explain:
    Actual data:
    From period 001.2014
    Record type 1.
    Reference data
    From period 001.2014
    Version
    Record type Z, B.
    1.     Top-Down Distribution:Processing Instruccions
    Int this point it cant use options (DLvl and Sum) when it use range because:
    This processing rule is not allowed for the characteristic
    Procedure
    Select either "Retain" or "Copy to" for characteristics for which you have specified characteristic values.
    For characteristic that you want to summarize or distribute ("Summarize" or "Distribution level" button), you must enter an asterisk (*) on the "Selection Criteria" screen.
    => In this case, it use optios CPY.
    2.     Selection Criteria (Characteristic)
             => In this case here, it consider characteristic values and excluding values.
    Finally:   it not get good result because it not distribute.!!
    Then, ¿is it possible excluding records from derivation rule?
    ¿is there any exit in COPA for ke28?
    For example ¿is it possible excluding  records from  exit COPA0001 ?
    All your recomendations w ill be w elcome.
    Many thanks for your support and recomendations.
    Best regards,

    Dear Sap Expert,
    All your recomendations will be welcome.
    I try  explain the following scenary:
    This is actual data real (Record type Z, B from COPA)  and it has only version 0. 
    Not plan and  it does not use planning layouts or reports.
    Example:
    Client
    Material
    Product
    Sub Line
    C1
    M1
    P1
    L1
    C2
    M1
    P1
    L1
    C3
    M3
    P2
    L2
    C4
    M4
    P3
    L3
    C5
    M5
    P4
    L4 (Excluding this records or Line)
    C5
    M6
    P5
    L4 (Excluding this records or Line)
    The following entries are made on the screen 'Selection criteria':
    Characteristic       Characteristic value
    Society CO                      *
    Material                            *
    Product                            *
    Client                                *
    Sub líneas                     L1,L2,L3
    The following entries are made on the screen 'Processing rules':
    Characteristic
    Distribution level
    Transfer
    Summarize
    Society CO
    X
    Material
    X
    Product
    X
    Client
    X
    Sub líneas
    X
    When we run trasacction ke28 then  the result is not good because it does not distribute nothing.
    But
    when we change “selection criteria”
    Characteristic      characteristic value:
    Sub línea                *
    The result is ok and distribute!
    ¿How does we  exclude some records?
    Could you explain better this distribution using only transaction ke28, please? or Could you give me other note oss about distribution KE28, please?
    Many thanks for your support and recomendations.
    Best regards,
    a

  • Report Painter - Change multiple selection criteria

    Hi Experts,
    I am new to report painter. I need to change a report which is being developed in Report Painter. I need to add extra selection criteria.
    Please help.
    Regards,
    Nitin.

    Please search for available information before posting, do not post basic questions.
    Thread locked.
    Thomas

  • Description change in query report selection criteria

    I created a query report with certain criteria but in that i suppose to change the description .
    for example
    Posting date   greater than
    Posting date   lesser than
    but i need this selection criteria
    as
    Posting date  from
    Posting date  to
    regards
    kavitha

    Hi Kavitha,
    Unfortunately, it is not possible to change the system field description.
    Refer to this thread
    Re: Parameter Display Name Reg.
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

  • Changing invisible selection criteria for a variant...

    Hi,
    There is a invisible selection criteria when I goto a custom Z variant of program RFBIBL00. How can I change the variant value in invisible selection criteria ?
    Regards,
    Rajesh

    Hi,
    Using the ABAP workbench (SE38) use the menu option Goto -Variants
    choose the custom variant
    Choose the attributes subobject
    and click on the change button.
    then deselect the hide from the required variable.
    Regards
    David Cooper

  • Change to Selection criteria in Datasource, do we need to re-init?

    Hello all,
    We are planning to change the selection criteria for a datasource, we want the year to be one of the selection criteria so we can load data only for particular years.
    Now this datasource is in production for some time, so once we do this change will we have to re-init the extractor or the delta that is working will keep working fine?
    Please let me know.
    Thanks,

    Hi Kiran
    Its worth mentioning that if its a V3 datasource like logistics then you need to load the setup table with the required data before extraction.
    Also ensure that the measures in your DSO are in overwrite mode unless the year that you are loading does not currently exists in the DSO. (ie. its a new year)
    The Full Repair Request option is under the Scheduler menu on the infopackage.
    Hope this helps. <removed by moderator>
    If you need more help let me know.
    Asif
    Edited by: Siegfried Szameitat on Jun 15, 2009 5:17 PM

Maybe you are looking for