Allocation of material based on certain criteria

Hi guys:
one of the requirement is that to allocate inventory i.e parts allocated to sales orders based on following crirteria
--> Priority Code assigned to customer ,
-->Line item requested Ship date --( Oldest requested ship date first )
--->Sales order number ---ie lowest sales ordr numbers first.
All the above criteria work when backorders > available quantity and we need to satisfy all the customers.
Any suggestions
lot of MM and integratiion involved , how to handle this requirement in SAP?
thanks
sweth

Sweth,
To add to expert Mario's answer, there is a much more comprehensive suite of tools in APO for availability checking, including more standard controls upon how the order is/is not confirmed upon initial entry, and how existing confirmations may be re-sequenced.  Implementation of APO Global Available To Promise is not trivial, but it can help you avoid the use of the enhancements mentioned in his post.
http://help.sap.com/saphelp_scm70/helpdata/EN/04/5e7237412a5249e10000009b38f842/frameset.htm
Best Regards,
DB49

Similar Messages

  • Using a different connection based on certain criteria

    For particular administrative needs, we managed data by projects on separate database.
    Those projects data are on a particular database based on the company division and/or the country of the project.
    A user may have access to two projects that are on different database.
    We have 30 SqlServer 'Project' databases with the same schema, and a corporate database that contains security tables (with a Project-Database relation table).
    We are presently using Webi on BO 2.0.
    In order to access the right database via the Universe and Reports, we defined 30 generic users (ex: uDB1,
    uDB2, uDB3, ...) and add 30 access restrictions in the Universe based on the generic user.
    With a custom application and thru the API, we execute a Webi report with the generic user based on the
    database name in which the real user is logged in.
    That way, with the help of the access restriction in the BO universe, the data comes from the right database.
    We don't let users create their own report.
    Instead, we have created a template with a few fields from the universe.
    Users, thru the generic user account, can execute the template, add or remove a few fields, and save as
    another report name.
    But with that strategy, any users that have access to the same database could modify the reports of each
    other, because they all log thru the same generic account.
    So we set the security in order to not let a user modify his own report.
    But this is resulting in having a few iteration of the same report (Ex: Report_A_v1, Report_A_v2,
    Report_A_v3,...) each time a real user wants to modify his own report.
    We are in the process of moving to BO 3.1 in a few weeks.
    We were told that we may be able to resolve our problem with Stored Procedure.
    Instead of having generic accounts, we should be able to have real users accounts and, with security table where we store on which database is store a project, we should be able to create stored procedure dynamically to access the right database.
    Has anyone faced a similar problem and found a solution ?

    For an SQL query on a database use a View Object. First, you will need to create a new Entity object to represent each table in the database you need to use in the queries. Once you have created your view objects with their correct SQL queries, you need to specify how they are related. Example:
    RootView is all elements with ParentId of null.
    OtherView is all elements with ParentId not null.
    RootToOtherLink is a view link which links RootView.Id to OtherView.ParentId. You can specify this in the dialog. You will want to select all accessors available to make your life easier later, but make sure to name them something you will recognize, like "RootToOtherDestination".
    You will also need OtherToOther Link which links OtherView.Id to OtherView.ParentId. This starts the recursive nature of the hierarchical relationship.
    Once you have this set up, you will need to create an Application Module so that you have a data control you can bind your tree to. Set up the data model in a hierarchical fashion using your link.
    This will create a data control on the Data Controls pane you can drag onto your .jspx page. A menu will show up from which you can select tree component. This will take you to the tree binding dialog. Here is where all your work so far will pay off. You want to click the green plus button to add your RootView. Then, with the RootView selected you will want to hit the green plus again to select your destination accessor, such as "RootToOtherDestination" as mentioned earlier. This will show the OtherView as a child of the RootView. Finally, with OtherView selected you will want to hit the green plus again and select your other destination accessor, such as "OtherToOtherDestination". Select the attributes you want to have available to your tree at the bottom of the dialog and click ok.
    Your tree will show up. If you want to customize the way it looks or especially the attributes it displays in a node, those can be edited in the <af:tree> tag on your .jspx page.

  • How to not display certain items based upon certain criteria (Edit Form)

    I have a Edit form which was created from an interactive report I generated.
    There are 10 item fields which are listed which can be changed.
    Sometimes I want to see just 9 of the fields on the form based on what the value is of another field in the record.
    When I display the fields on the Interactive report I can filter this out by using a case statement, but how
    do I do this with the edit form as the query is not there.
    Thanks for your time in advance,
    Anon

    Use Conditions to control whether the item appears or not.
    In the item definition is a Conditions section where a large number of different types of condition can be used to determine whether the item is rendered. These include comparisons of the value of the item, or another item, items being null, and a lot of other options. Conditions are widely used throughout APEX&mdash;sometimes in subtle or noninuitive ways&mdash;so it's worthwhile studying how they're used.

  • Reg. Usage of finding Highest Material based on BOM items/Components

    Dear Experts,
    My requirement is that i need to explore the highest level of material based on BOM item / components as input criteria.
    I am using FM 'CS_WHERE_USED_MAT' to get the header BOM based on BOM item. But i need to get the header BOM based on BOM item as input criteria and check whether the Material Type of Header BOM is 'FERT' (Finished goods). Else, i need to get the next highest level of BOM based on Header BOM got in the previous step and check whether Header BOM is 'FERT'. Else, i need to continue to explore the next highest level of BOM. Kindly let me know the logic i need to use or any FM / BAPI available provided by SAP. Kindly help me in the above regard.
    Regards,
    Ramesh Manoharan
    Edited by: ramesh.manoharan on Jan 18, 2010 6:55 AM

    closing the thread

  • Syntax for sum in Smart Form based on Selection criteria in Program.

    Hi,
    We have created smart form for printing confirmation entries in desired format. We have given some selection criteria in the program. Now, we want to do the sum of certain fields in the smart form based on selection criteria given in program and selection screen.
    But we are getting wrong sum in the smart form than expected.
    When we debug the program during run time, we are getting correct records as per our expectations. But result of sum in the out put is not as per given selection criteria.
    Do we need to establish link between "select option" and "Smart form"? How can we use internal table created for select option in the smart form?
    Thanks & regards
    Vijay

    Hi,
    There will be no option to sum the values in smartforms, You just have to sum and append the data to internal table and display the internal table data in the form.
    Regards,
    Satish

  • Display datas on data block based on a criteria

    hi..
    how can i manipulate my data block such as it could only display the output based on a certain criteria enter by a user
    ex.
    select * from IT where account_no = :txtacctno
    null

    Hi
    Well, you need to generate a dynamic string which gets expanded based on your query criteria (use the IF/ELSE logic and concatenate the search options).
    Then in the end specify the generated string in the SET_BLOCK_PROPERTY(<BLOCK_NAME>,DEFAULT_WHERE,generated_string);
    GO_BLOCK(<BLOCK_NAME>
    EXECUTE_QUERY;
    Hope this may help.
    Mohammed R.Qurashi
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jen Cu([email protected]):
    thnks for the info... but i forgot if we have another criteria based on a checkbox.. how r we going to do it?
    <HR></BLOCKQUOTE>
    null

  • VT02N - do PGI and Invoice for certain deliveries either based on certain conditions

    Hi Friends ,
    We are using VT04 for creating shipments . While shipment completion stage in VT02N   an activity profile has been maintained  which does both the Goods issue and Invoice.
    We have a business requirement , PGI and Invoice should be created only for specific set of deliveries based on certain conditions.
    Is there any standard way to do this or by using user exits.
    Please guide.
    Thanks,
    Nileshsa.

    what about adding a check in userexit RV60AFZZ, when the condition is not met during invoice creation, error out and disable the creation of the invoice document?

  • How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?

    Hi All,
    How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?
    Assume Material is Pen.
    While creating Sales Order in VA01 how to bring different price for the same material for Platinum,Gold and Silver Customers.
    Kindly help me out.
    Thanks,
    Renjith Jose

    A good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
    "Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
    hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
    Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded"

  • Pricing of material based on batch

    hello gurus,
    i have a question,here i have scenario in which i want to differentiate the price of the material based on batches.
    pls correct me if i have made some wrong,
    now v/05 i have created a table in which i have taken batch and material as my field
    and now in v/07 i have assigned to access sequence ahd this acess sequence i have added to PR00 condition type.
    now when i go to VK11 i tried to use the acess sequence and give price i get an error.
    pls if u give me some suggestions it will be a great help to me.

    what error do you get...?
    If you are pricing with regards to batch everytime a batch is over the PR00 record will expire. so every time you have a new batch you will have to have a new record. Sound very tedious.
    Let us know when and how exactly do you wish to achieve this..
    Regards

  • PO Release Strategy - Only for non material based

    Experts,
    I have a requirement to implement a release strategy for a single plant for POs for NON material based purchases ( only for using account assignments, cost centers etc).
    The release strategy I configured is working only for the specific plant I want... However, it works whether its a material based PO or a non material based PO.
    How do i get the strategy to work for only the service based purchases, and not the material ones?

    Thanks for the replies but I'm not sure if they are applicable...
    I did create a characterstic for item categories and added the one's I wanted to have... I did NOT include a blank because i thought that would make the difference between the material based PO and non PO. When we I create Po with material (even with no account assignment) it still goes through release.
    Any reason why that is?
    I dont believe the material group solution will not work either because we require material group for material and non material based POs..
    Side note - when i try to use CEKKO with KTTNP, i get a "KTTNP does not exist error." So i used EKPO - KTTNP... hopefully thats ok, but please let me know if its not.
    Edited by: farmerj3 on Jan 30, 2012 3:36 PM
    Edited by: farmerj3 on Jan 30, 2012 3:39 PM
    Edited by: farmerj3 on Jan 30, 2012 3:48 PM

  • How to create configuration of a variant material based on funciton module

    Hello, ABAP experts,
    I want to create configuration of a variant material based on FM ( MRP3 view, set configurable material and configure the variant ).
    I use fuction modules:
        CUXM_SET_CONFIGURATION
        CUCB_CONFIGURATION_TO_DB
    and subsequently commit work.
    But the data table was not updated, that is, MRP3 view is still empty.
    Can you give me a sample, tell me how to used these FMs.
    Thanks and BR.

    When I call FM , CUXM_GET_CONFIGURATION, the SUBRC = 0, but ET_RETURN get two messages: CUXM1-001 , Overwriting existing configuration, and CUXM1-007, Configuration in target system is consistent and complete.
    Can you give me a sample ?

  • Display a particular column only when certain criteria is satisfied

    Hi Experts,
    I have a requirement from a user with which i am struggling. The person wants to see an entire report but see a particular column only when certain criteria is satisfied. I am not talking about filtering the entire Query but just a certain column.
    Ex.
    Data in Cube
    Req | Candidate | Candidate Status | Grade
    1 | C01 | Draft | A
    1 | C02 | Withdrawn | B
    2 | C03 | Hired | B
    3 | C04 | In Process | A
    3 | C05 | Hired | C
    Result in Query
    Req | Candidate | Grade
    1 | <Blank> | A
    1 | <blank> | B
    2 | C03 | B
    3 | <blank> | A
    3 | C05 | C
    Basically, user wants to see candidate information only when Status is Hired. Rest of the time, it should be blank.
    Is this possible ?

    Hi,
    From My view this is not possible in Query.
    You can do this in Backend or
    You can create 2 Query
    1.Query whith candidate name who is hired.
    2.Query without candidate name whose status is not hired.
    3.Merge these these report using Excel Macro.
    Thanks and Regads,
    MuraliManohar

  • Material based on SLED

    HI All ,
                    To maintain stock of material based on SLED , check the following :
    a ) Remaining shelf life in PO
    b ) SLED in PO
    c ) SLED at GR
    regards
    deepu

    Hi,
    To maintain SLED
    1)Activate for the plant and m,ovement type
    2)Maintain  remining self life in Material master plant stock view
    3)Must be maintained in PO
    4)Enter the expiry date or date of production in GR
    Regards

  • How to fetch the current stock of material based on Plant?

    Hi Experts,
    Could any one tell how do i need to get the current stock data of the material based on Plant.
    Thanks in advance.
    Regards,
    Abdur Rafique

    Hi ,
    MBEW stores the value of particular stock . T-code to find stock MMBE compare both wiht table and tcode.
    please let me know if you still find any issues .
    Thanks and regards,
    Rajeshwar

  • Availability of material based on the shipping conditions

    Dear Friends,
    Please mail to me how to configure the availability of material based on the shipping conditions?
    That is when we give the shipping condition in the sales order (va01) for example by air 1 day, by road 5 days and by water 6 days. The system should automatically give the availability of the material based on the shipping conditions we give in the sales order (va01).
    With regards

    vamsi krishna wrote:>
    > Dear Friends,
    > Please mail to me how to configure the availability of material based on the shipping conditions?
    > That is when we give the shipping condition in the sales order (va01) for example by air 1 day, by road 5 days and by water 6 days. The system should automatically give the availability of the material based on the shipping conditions we give in the sales order (va01).
    > With regards
    Hi Vamsi,
    Could not understand your query fully.
    See material availability check is carried out for the requested delivery date or else the system proposes one.
    The time you are talking about By Air 1 day and so on is not taken into consideration while carrying out material check for that is transportation time after goods are released from the Plant.
    owever if you need to configure the transportation time you need to go to
    Logistics Execution->Transportation->Basic Transportation Function->Routes->Define Routes-> Define shipping types
    Here you can define shipping types what you said by AIR by Truck or whatever you need.
    To specify the time you need to go to SPRO
    Logistics Execution->Transportation->Basic Transportation Function->Routes->Define Routes-> Define Routes and Stages
    Here you specify the Transit Duration Transit Lead time and so on which will be taken as a input for determining material lead time by that shipping type.
    Hope it helps.
    Post if u need furthur clarifications.
    Request you to reward points if helpful.
    Thanks & regards
    Abhishek Swarup

Maybe you are looking for