Requirement Class Selection

Hi
We have a two company code say 1000 / 2000. in 1000 co code we produce FG by strategy 10(MTS) where as in co code 2000 we produce material FG by strategy 45 (MTO). now my qestn is :
when i create Sales order for material which is in co code 1000 system takes defualt cutomer requirement KEV for stock material but it should not to be take.
Please sugest earliest.

Dear Vishal
You have not specified whether sales area, sale document type and plant are different for each company code.
- Assuming that your sales area and sale document type are also different, please check in OVAZ whether you have maintained the correct sales area to the sale order type.
- Ensure that in OX18, correct plant is maintained for the company code
- In material master, correct sales area is maintained which you can check in MM02 by selecting only the sales area
-  In MRP3 view of material master, check what strategy group you have maintained bcoz, the requirement class depends on this.
thanks
G. Lakshmipathi

Similar Messages

  • Requirement class MRP control ?

    Hi Gurus,
    i have created a material with strategy 40. first i created sales orders without changing any option in Requirement class. then i run MRP. planned orders are created for sales order.
    after that i changed the requirement class as No MRP and creatred new sales orders when i run MRP The sales orders which i created after changing the Requirement class is getting added to the planned order.
    as the second sales orders should not consider in MRP Why they are gettind added to the planned order.is there any other control that controls the sales order MRP consideration.
    Thanks&Regards,
    Venkat.

    Hi Venkat
    Check the requirement type on the sales order and make sure that your requirement type assigned to the requirement class was selected.
    Also take a look on point 5 of the following document:
    http://scn.sap.com/docs/DOC-50641
    BR
    Caetano

  • Purpose of Requirement Class

    What is the purpose of requirement class?

    The requirements class contains all control features for planning such as relevance for
    planning, requirements planning strategy and requirements consumption strategy. In
    addition, it is specified at a global level whether an availability check is to take place for
    the material in the sales and distribution documents on the basis of the ATP quantity
    (ATP = available to promise) and whether requirements are to be passed on. A finer
    degree of control can be obtained for sales documents using the schedule line category.
    Replenishment lead time is only included in the check performed on the basis of the
    ATP quantity.
    Also please check this link: http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=29323
    Regards
    Sai

  • 'alias required in SELECT..'  - Why can't I see this?

    Please help I'm going mad here!
    The error message is:
    ERROR at line 1:
    ORA-06550: line 113, column 37:
    PLS-00402: alias required in SELECT list of cursor to avoid duplicate column
    names
    ORA-06550: line 113, column 37:
    PL/SQL: Item ignored
    ORA-06550: line 137, column 13:
    PLS-00320: the declaration of the type of this expression is incomplete or
    malformed
    ORA-06550: line 136, column 7:
    PL/SQL: SQL Statement ignored
    ..Yet I disagree.. I cant see any 2 fields called the same.
    (FYI the cursor it speaks of is called 'c_check_employee').
    And the code.
    /* Formatted on 2009/02/27 15:35 (Formatter Plus v4.8.7) */
    SET serveroutput ON SIZE 1000000 FORMAT WRAPPED
    SET verify OFF
    SET feedback OFF
    DECLARE
    -- Debugging/error handling
    -- Work variables
       p_emp_number                     VARCHAR2 (14);
       v_rec_cnt                        NUMBER                          := 0;
       insert_flag                      VARCHAR2 (8);
       l_validate                       BOOLEAN                     DEFAULT FALSE;
       l_obj                            NUMBER;
       l_datetrack_update_mode          VARCHAR2 (30)             := 'CORRECTION';
       l_assignment_sequence            NUMBER;
       l_name_combination_warning       BOOLEAN                         := FALSE;
       l_assign_payroll_warning         BOOLEAN                         := FALSE;
       l_org_now_no_manager_warning     BOOLEAN;
       l_other_manager_warning          BOOLEAN;
       l_spp_delete_warning             BOOLEAN;
       l_entries_changed_warning        VARCHAR2 (30);
       l_tax_district_changed_warning   BOOLEAN;
       l_person_id                      NUMBER;
       l_assignment_id                  NUMBER;
       l_special_ceiling_step_id        NUMBER;
       l_per_effective_end_date         DATE
                                        := TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
       l_people_group_id                NUMBER;
       l_group_name                     VARCHAR2 (30);
       l_assignment_number              VARCHAR2 (35);
       l_effective_end_date             DATE
                                        := TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
       l_date                           DATE                           := SYSDATE;
       ip_p_address_id                  per_addresses.address_id%TYPE;
       ip_p_object_version_number       NUMBER;
       ip_p_party_id                    per_addresses.party_id%TYPE;
       l_per_object_version_number      NUMBER;
       l_asg_object_version_number      NUMBER;
       l_full_name                      VARCHAR2 (240);
       l_per_comment_id                 NUMBER;
       l_per_effective_start_date       DATE;
       l_concatenated_segments          VARCHAR2 (12);
       l_soft_coding_keyflex_id         NUMBER;
       l_comment_id                     NUMBER;
       l_no_managers_warning            BOOLEAN;
    -- Get employee details info from work table
       CURSOR get_employee_details
       IS
          SELECT std_validate, std_person_id, std_assignment_id, std_hire_date,
                 std_business_group_id, std_last_name, std_sex,
                 std_date_of_birth, std_email_address, std_employee_number,
                 std_first_name, std_marital_status, std_middle_names,
                 std_nationality, std_title, std_national_identifier,
                 std_address_line1, std_address_line2, std_address_line3,
                 std_address_line4, std_post_code, std_telephone_1,
                 std_position_id, std_job_id, std_location_id,
                 std_organization_id, std_supervisor_id,
                 std_default_code_comb_id, std_set_of_books_id, std_payroll_id,
                 std_grade_id, std_pay_basis_id, std_assn_ovn
            FROM SU_TEMPLOYEE_DETAILS;
    -- checks employee details info from PER_ALL_PEOPLE_F table
       CURSOR c_check_employee (p_emp_number VARCHAR2)
       IS
          SELECT paas.assignment_id, per.person_id, per.business_group_id,
                 per.last_name, per.start_date, per.date_of_birth, per.email_address,
                per.employee_number, per.first_name, per.marital_status, per.middle_names,
         per.nationality, per.national_identifier, per.sex, per.title, padd.address_id,
         padd.primary_flag,padd.address_line1, padd.address_line2, padd.address_line3,
                 padd.town_or_city, padd.postal_code, padd.telephone_number_1, padd.telephone_number_2,
         padd.telephone_number_3,paas.job_id,   paas.location_id,paas.organization_id, paas.assignment_type, paas.primary_flag, paas.supervisor_id,paas.default_code_comb_id,
    paas.set_of_books_id,paas.assignment_number, paas.period_of_service_id,paas.object_version_number
            FROM per_all_people_f per,
                 per_all_assignments_f paas,
                 per_addresses padd
           WHERE per.employee_number = p_emp_number
             AND per.person_id = padd.person_id
             AND paas.person_id(+) = per.person_id;
       emp_rec                          c_check_employee%ROWTYPE;
    -- Cursor retrieves latest Object Version Number from per_assignments_f table..
       CURSOR csr_ovn (cp_person_id IN per_all_people_f.person_id%TYPE)
       IS
          SELECT MAX (paas.object_version_number)
            FROM per_assignments_f paas, per_all_people_f per
           WHERE paas.person_id = per.person_id
             AND per.employee_number = paas.assignment_number
             AND per.person_id = cp_person_id;
    BEGIN
    -- Process each record in the work table
       FOR v_emp IN get_employee_details
       LOOP
    -- determine whether customer already exists
          OPEN c_check_employee (v_emp.std_employee_number);
          FETCH c_check_employee
           INTO emp_rec;
          IF c_check_employee%NOTFOUND
          THEN
             insert_flag := 'I';
          ELSE
             insert_flag := 'X';
          END IF;
          CLOSE c_check_employee;
    -- Obtain the most recent Object Version Number..
          OPEN csr_ovn (v_emp.std_person_id);
          FETCH csr_ovn
           INTO l_obj;
          --   IF csr_ovn%NOTFOUND     THEN        RAISE NO_DATA_FOUND;   END IF;
          CLOSE csr_ovn;
    -- Create new PER_ALL_PEOPLE_F and PER_ADDRESSES record from
    --            info in  table record
          IF insert_flag = 'I'
          THEN
             BEGIN                             -- Importing Employee Procedure --
                --      DBMS_OUTPUT.PUT (CHR (10));
                --      DBMS_OUTPUT.PUT_LINE ('Importing employees....  ');
                BEGIN
                   Hr_Employee_Api.create_gb_employee
                      (p_validate                       => l_validate,
                       p_hire_date                      => v_emp.std_hire_date,
                       p_business_group_id              => v_emp.std_business_group_id,
                       p_date_of_birth                  => v_emp.std_date_of_birth,
                       p_email_address                  => v_emp.std_email_address,
                       p_first_name                     => v_emp.std_first_name,
                       p_middle_names                   => v_emp.std_middle_names,
                       p_last_name                      => v_emp.std_last_name,
                       p_sex                            => v_emp.std_sex,
                       p_ni_number                      => v_emp.std_national_identifier,
                       p_employee_number                => v_emp.std_employee_number,
                       p_person_id                      => l_person_id,
                       p_title                          => v_emp.std_title,
                       p_assignment_id                  => l_assignment_id,
                       p_per_object_version_number      => l_per_object_version_number,
                       p_asg_object_version_number      => l_asg_object_version_number,
                       p_per_effective_start_date       => l_per_effective_start_date,
                       p_per_effective_end_date         => l_per_effective_end_date,
                       p_full_name                      => l_full_name,
                       p_per_comment_id                 => l_per_comment_id,
                       p_assignment_sequence            => l_assignment_sequence,
                       p_assignment_number              => l_assignment_number,
                       p_name_combination_warning       => l_name_combination_warning,
                       p_assign_payroll_warning         => l_assign_payroll_warning
                   Hr_Person_Address_Api.create_person_address
                      (p_validate                     => l_validate,
                       p_effective_date               => v_emp.std_hire_date,
                       p_pradd_ovlapval_override      => NULL,
                       p_validate_county              => NULL,
                       p_person_id                    => l_person_id,
                       p_primary_flag                 => 'Y',
                       p_style                        => 'GB_GLB',
    --                p_date_from                    => v_emp.std_hire_date,
                       p_date_from                    => SYSDATE,
                       p_date_to                      => NULL,
                       p_address_line1                => v_emp.std_address_line1,
                       p_address_line2                => v_emp.std_address_line2,
                       p_address_line3                => v_emp.std_address_line3,
                       p_town_or_city                 => v_emp.std_address_line4,
                       p_postal_code                  => v_emp.std_post_code,
                       p_country                      => v_emp.std_nationality,
                       p_telephone_number_1           => v_emp.std_telephone_1,
                       p_party_id                     => ip_p_party_id,
                       p_address_id                   => ip_p_address_id,
                       p_object_version_number        => l_obj
                                                      --ip_p_object_version_number
                   Hr_Assignment_Api.update_emp_asg_criteria
                      (p_validate                          => l_validate,
                       p_effective_date                    =>  l_date,    --   SYSDATE
                       p_datetrack_update_mode             => l_datetrack_update_mode,
                       p_assignment_id                     => l_assignment_id,
                       p_object_version_number             => l_obj,
                       p_organization_id                   => v_emp.std_organization_id,
                       p_location_id                       => v_emp.std_location_id,
                       p_job_id                            => v_emp.std_job_id,
                       p_position_id                       => v_emp.std_position_id,
                       p_special_ceiling_step_id           => l_special_ceiling_step_id,
                       p_effective_start_date              => l_date,
                       p_effective_end_date                => l_effective_end_date,    --IN/OUT
                       p_people_group_id                   => l_people_group_id, --IN/OUT
                       p_group_name                        => l_group_name,  --IN/OUT
                       p_org_now_no_manager_warning        => l_org_now_no_manager_warning,   --IN/OUT
                  p_other_manager_warning         => l_other_manager_warning,   --IN/OUT
                       p_spp_delete_warning                => l_spp_delete_warning, --IN/OUT
                       p_entries_changed_warning           => l_entries_changed_warning,  --IN/OUT
                       p_tax_district_changed_warning      => l_tax_district_changed_warning  --IN/OUT
                  Hr_Assignment_Api.update_emp_asg
                      (p_validate                    => l_validate,           -- in
                       p_effective_date              => l_date,
                       p_datetrack_update_mode       => 'CORRECTION',
                       p_assignment_id               => l_assignment_id,
                       p_object_version_number       => l_obj,
                       p_supervisor_id               => v_emp.std_supervisor_id, 
                       p_default_code_comb_id        => v_emp.std_default_code_comb_id,
                       p_set_of_books_id             => v_emp.std_set_of_books_id,
                       p_concatenated_segments       => l_concatenated_segments, -- out
                       p_soft_coding_keyflex_id      => l_soft_coding_keyflex_id,     -- out
                       p_comment_id                  => l_comment_id,       -- out
                       p_effective_start_date        => l_date,           -- out
                       p_effective_end_date          => l_effective_end_date,
                       p_no_managers_warning         => l_no_managers_warning,
                       p_other_manager_warning       => l_other_manager_warning
                --     DBMS_OUTPUT.PUT_LINE ('Employee No:'|| v_emp.std_employee_number|| '  imported successfully..' );
                EXCEPTION
                   WHEN OTHERS
                   THEN
                      RAISE NO_DATA_FOUND;
                      --        DBMS_OUTPUT.PUT (CHR (10));
                      DBMS_OUTPUT.PUT_LINE (   'Ah, Employee:'
                                            || v_emp.std_employee_number
                                            || ' failed to load.. '
                                            || SQLERRM
                --      DBMS_OUTPUT.PUT (CHR (10));
                END;
             END;
             --        DBMS_OUTPUT.PUT (CHR (10));
             v_rec_cnt := v_rec_cnt + 1;
    --         DBMS_OUTPUT.PUT_LINE (   'There were '|| v_rec_cnt|| '  records read in..');
    -- End of customer related details
          END IF;
       END LOOP;
       COMMIT;
    END;
    EXIT;
    many thanks..

    Check primary_flag .... ;)
    Regards.
    Satyaki De.
    Alex is Winner.... ;)
    Edited by: Satyaki_De on Mar 2, 2009 5:33 PM

  • Error in requirement class while assigning service order type.

    Hello All,
    I am getting below error message whenever I am trying to assign a service order type to requirement class.
    This the error meassage:
    Maintenance order type ZSC3 is either not flagged as a service order type or revenue posting is allowed for this order type.
    System Response
    The system does not allow any further processing.
    Procedure
    Enter a service order type that does not allow revenue postings.
    Please help urgently.
    Best regards,
    Partha Das

    Ya do same thing but I dont think using this FM will solve the problem...
    You get the Update Terminated message when the normal course of the program has been halted by user intervention.
    Now could u please check that are u calling any FM in your program.
    If yes just list out all of them.
    Thanks.

  • [svn:fx-trunk] 16929: Add a [Mixin] class that will register the required class aliases in the event the mxml compiler generation   [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework .

    Revision: 16929
    Revision: 16929
    Author:   [email protected]
    Date:     2010-07-15 07:38:44 -0700 (Thu, 15 Jul 2010)
    Log Message:
    Add a class that will register the required class aliases in the event the mxml compiler generation  [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework.
    Add a reference to this class in the RPCClasses file so it always gets loaded.
    QE notes: Need a remoting and messaging regression test that doesn't use Flex UI.
    Bugs: Watson bug 2638788
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/RPCClasses.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as

    Great exercise to document the problem like this.  It got me thinking about how an app with modules would be different from an app that does not use modules.  Solution: I moved the dummy reference of PersonPhotoView out to the main application file (as opposed to being inside the module) and it worked.  I've probably been lucky not to have experienced this problem earlier, because for most other entities I have an instance attached to my model which is linked / compiled with the main application.

  • Reg logic required for selection-screen.

    Hi,
    i have one requirement
    on selection screen 2 radio button
    1 for service
    2 for account
    Parameter      FILE     LOCALFILE     Filename
    If the radiobutton ACCOUNT is selected the default name for file will be:
         ‘Rev_acc_com_&system_time_stamp&.dat’
    Elseif the radiobutton SERVICE is selected the default name for file will be:
         ‘Rev_srv_com_&system_time_stamp&.dat’
    some body can give the logic for this.

    take the following solution
    data: tstamp type TZNTSTMPS.
    data: filename type string.
    call function 'CONVERT_INTO_TIMESTAMP'
    exporting
       I_DATLO  = sy-datum
       I_TIMLO   = sy-uzeit
    importing
       E_TIMESTAMP = tstamp.
    if ACCOUNT is selected then
    concatenate 'Rev_srv_com_' tstamp '.dat' into filename.
    else if SERVICE is selected then
    concatenate 'Rev_srv_com_' tstamp '.dat' into filename.
    the filename variable will be containing ur required file name..
    reward points if useful....

  • Special stock-E in Requirements class 011-Delivery requirement

    Dear expert,
    i want to change the value in filed: special stock from E to other value via OVZG, can i do it and how?
    please do me a favor,great thanks!
    David

    Dear David
    To the best of my knowledge, in OVZG, for Requirement Class, the field will be blank for "Special Stock".
    However, if you want to add, just copy the requirement class and assign the value by renaming the requirement class.
    Thanks
    G. Lakshmipathi

  • Requirements class is not defined

    Hi,
    if I try to add a new item to a contract, I receive the message "Requirements class y1 is not defined".
    I double checked the whole requirement customizing and y1 is there and also assigned to the item category determined.
    Does anyone know what's the problem?
    Best Regards,
    Florian

    Well, mysterious but I deleted and recreated the whole requirement class and it works.

  • Cannot load required classes for service SLD Data supplier

    Hello Experts,
             I am trying to use the SLD Data supplier service from visual administartor for registering my DEV EP 7.0 engine in central SLD.When am trying to access that particular service from visual admin,it is throwing an error saying that:"Cannot load required classes for SLD Data Supplier service and please refer the not for resolution Note No:1017526.
    My NW EP 7.0 is at SP17 level and as per the above note all settings are fine and the relevant application is also started well.
    Please suggest us for any possible solution.
    Thanks&Regards,
    Apparao S.

    > You can also try the following: Move sldserv.jar from
    > /usr/sap/<SID>/<InstID>/j2ee/cluster/server0/bin/services/sld/
    > to
    > /usr/sap/<SID>/<InstID>/j2ee/admin/lib/
    Hi Desiree,
    Thanks, worked for me too.
    Only in my case, when I moved the file, the sld data provider service did not start at all after reboot of the instance.
    Also, the sap.com/tcsldwd~main application refused to start.
    I then copied the file back, this time maintaining an entry in both locations and reboot the instance. Everything started working after I reboot the instance. The error also disappeared and I was able to change the SLDuser password.
    Thanks
    Prasad

  • Costing Sheet in requirement class for Sales Order costing

    Hi Experts,
    Could you please explain me the necessity of costing sheet in requirement class configuration.
    There is a field for costing variant in requirement class. I hope costing sheet can be taken from that costing variant.
    So what is the purpose of costing sheet in requirement class and could someone explain me the use of that field in requirement class.
    What happens if the costing sheet in requirement class and costing sheet in costing variant mentioned in requirement class does not match.
    Thanks.
    Edited by: DSK on Dec 18, 2011 3:21 PM

    Costing Variant is assigned to Requirement class
    Requirement class is assigned to Requirement type
    Requirement type is assigned to Planning Strategy
    Planning strategy is assigned to strategy groups
    Strategy group is assigned to MRP3 tab in Material Master
    System picks the costing sheet in requirement class
    In this way product will be costed for Make to Order sale order costing.
    Srinivas

  • Requirement types & requirement class for trading goods.

    Dear all,
    I am working on a project in which there are only trading goods. Majority of the items are make to order & few are make to stock.
    For the make to order scenario, what will be the requirements type & requirements class to be used for the trading goods. Which item category is to be used......will it be TAN or different......
    For the make to stock scenario, what will be the requirements type & requirements class to be used for the trading goods. Which item category is to be used......TAN cannot be used here as it will be used in the MTO scenario so diffferent controls.
    What control parameters should I take care of while defining the requirements class & requirement type.
    With best regards,
    Niyaz Sayyed.

    Hi,
        As my understanding,  You should copy a new requirement class and make the following parameters and its values.
       For Requirements,
          req.transfer is X
          Allocation ind. is 1
          Prod.allocation is X
         No MRP is blank
      For assembly
                    assembly type is 2,
                     order costing is X,
                     Special stock is E,
                     order type is ZXXX
    You can refer to the sap standard MTO strategy 20 to complete your project. This is the most important parts defining the requirements for sales and distribution module.
    george.shi

  • Special stock indicator in requirement class

    Hi
    While trying to create a new requirement class or while changing an existing requirement class, the special stock indicator is always greyed out. Can anyone suggest why?
    Thanks.

    You need to talk to your CO consultant and make sure that the account assingment settings are done for valuation, only after the special stock indicator can be activated

  • Requirement class (OVZG)

    Hi Gurus,
    can any give the configuration parameters for valuated and non valuated requirement class (OVZG)
    regards,
    RAM

    the senarios as follows.
    valuated (after sale order creation)
    with reference to sales order required planned & actual cost, planned and actual revenue.
    Sales order analsys of profit and loss
    required details of materials, activites, overhead.
    Non valuated (after sale order creation)
    with reference to sales order required planned & actual cost, planned and actual revenue.
    Sales order analsys of profit and loss
    required details of materials, activites, overhead.
    valuated (before sale order creation)
    with reference to sales order required planned & actual cost, planned and actual revenue.
    Sales order analsys of profit and loss
    required details of materials, activites, overhead.
    kindly let me know what is possible for the above as well settings.
    Regards

  • Requirement class

    Hi PP Experts,
    Can anybody tell me what is exact role of Requirement class & Requirement type in planning strategy.I have read SAP library.But even not that much clear.please help.

    Hi Raja,
    Before you ask these questions, I recommend that you use the search to find the answer yourself and then ask more detailed questions when you have them. That would be more interesting (for other users) and prevents the people who just copy&paste and provide links-to-some-strange-documentation which they do not (necessarily) understand.... from answering.
    When people answer over and over again with such answers to basic questions, then it soon makes a mess of the search when someone wants to get some real help or information out of SDN by useing the search. And attracts more people who just spew out links and copy&pasted documentation.
    Don't you think that is almost the end of the world? Are we going backwards on our planet????
    You are almost an enabler for clogging up the whole world (from the view of this forum) (...no offense!! think about it...).
    Now... lets take a closer look at the folks who answer your questions... That is often the other half of the coin which (too late) recognized that they are repeating themselves over and over again.....
    We need to get the noise down!!! Do you agree? Otherwise, special-things... mystical-things... non-delete-things... will not happen!!! (or you will not be allowed to know about them!!).
    The problem is that people often follow noise or at least listen to it for long enough that it sinks in ... it kills independent thought.
    Fear of independent thought, is one of the main causes of folks fearing the search here at SDN...hell... it only has answers!!! What are you scared of? Yourself?
    Please help us improve the quality of the forums by thinking about both the question, and the answer... and then you can go bananas afterwards with cool ideas...:-)))
    Cheers,
    Julius

Maybe you are looking for