Need to Create a Check for Plant in WBS & Plant in Network

Dear Guru's,
While creating Project (CJ01) my users are creating in a Plant, and while creating network for the same project/WBS, they are using different Plant Code.
Since my Profit center is related to the plant in CJ01,
and because of wrong Plant in network, all my PR/ PO is going in a different Profit center, which is creating a huge problem while auditing.
I need to Create a Check for Plant in WBS & Plant in Network...!!
Kindly suggest me the ways to do it and how to do it...

Hi Deepa,
The Check you are trying to create between Plant defined at Project def and network level that should be same can be achieved through validation at the network level by using a user exit at network level.
                While creating the network you can change the plant value not equal to the value at proj def/network profile may be one of the reason is since the network type is defined for more than one plant (OPUV).
                While creating validations at network level we do not have the option of setting the prerequisite/check  using WBS or Proj def fields (i.e. PROJ-, PRPS- fields)    so we need to create a user exit at the network level.
I am not sure but logically u can have a user exit for both prerequisite and check steps of the validation.
You need to create the user exit in program ZGGBR000.
Please take help from your Abaper for the same.
OPSI-Network header-Validation- Step - Prerequisite u2013 Check u2013 Message.
Prerequisite
If Proj Profile = u2018XXXu2019 and Network Profile = u2018XXu2019 (or as per your logic if need be use a exit)
CHECK.
PROJ-WERKS = CAUFVD-WERKS   (This logic needs to be defined in user exit and set the same user exit at the check.)
Once you define the user exit in ZGGBR000, it will be available in the tab u2018exitsu2019 at the Prerequisite and Check levels.
The name of the form pool (e.g., ZGGBR000) that contains your user exit must be stored in table T80D.
It is important that you make declare the code generation program for your user exit; how many and what type of parameters you are using for the user exit. You do this by entering your newly defined user exits in the form routine GET_EXIT_TITLES. Found in program ZGGBR000.
Check with your Abaper to check on all the aboveu2026
Message:
Plant at Network level should be same as at Project def level.
Hope it helps you,All the best..
Regards
Vinayak.

Similar Messages

  • Help!  Help!~I need to create a room for a Robot to move in!!

    I need to create a room for a robot to move around in. How do I go about doing this?
    Im not sure where to start.
    Thanxs

    Could you define a shape and just have the robot check its proximity to the wall?
    I did something similar a couple of years ago where my hunter bots had to chase the rabbit bots and the rabbit bots ate the grass... you get the picture
    The hunters were able to see the rabbits and they were attracted to the area with most of them. The rabbits were able to see the grass and the hunters and were attracted to grass but if a hunter was in sight, that was overridden and they moved away from the hunters.
    The controllers were simple neural nets which were set up through GAs.
    How will your robot detect the walls? I mean, will it be able to pinpoint its position in the room or will it only have visual info (it will "see" the wall to its right etc)?
    If the first, I would be inclined to use some shape and just check for the position of the robot compared to the boundaries.
    If the second, I would make the shape out of a whole load of Point objects and arrange them in the shape of the room. The benefit is that you will be able to specify some vision function based on how many Points are within his field of vision, and then get the net to learn that the optimum value is x... or something like that. It has been a few years since I did that stuff.

  • Do I need to create a view for this?

    Hi Ihave got 2 tables emp and project
    In emp tabe:
    emp_no
    family name
    given name
    In porgect table:
    emp_no
    status(assigned,unassigned)
    start_date
    end_date
    emp_no Family_name given_name
    1 Smith John
    In project table same employee can have many assigement eg
    emp_no status start_date end_date
    1 assigned 01-may-08 01-july-08
    1 assigned 01-sep-08 01-july-09
    1 unassigned 01-july-09 01-oct-09
    In the form:
    there are 2 querable fields "project ends between field1(date) and field2(date)" which is used to
    retrive records which have end date between field1 and field2.
    The following fields are needed to get from database:
    emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
    Requirements:
    1. project.start_date and project.end_date must be the latest project_end_date for the same emp
    so in the above sample date
    2. No. of time assigned is a count of total of number records which have status='assign'
    So for the given sample data the record expected after query would be(field1=01-jun-08 field2=02-july-09)
    emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
    Smith John 01-sep-08 01-july-09 2
    What is the best approach to get:
    1 The lastest project(latest end_date) for the emp
    2. get No.of time assigned.
    Do I need to create a view for this? If yes, any sample sql code this this?
    Thanks for your help

    Hi W1zard,
    Thanks for your reply. Could you clarify the following points for me:
    1.) you could create a master block basing on your emp table and a detail block basing on your project table with the relation over emp_no. set the default_where clause of your detail block programmatically using
    set_block_property('project', default_where, 'status = ''assigned'' and <your_date_criteria>');
    Q1: where I pit this code? in pre-query trigger in detail block?
    2.) Of course you could create a view to join both of your tables if you don't want to use master detail blocks; Also do the join over emp_no
    create or replace force view v_emp as
    select emp.family_name, emp.given_name, project.start_date, project.end_date
    from emp, project
    where emp.emp_no = project.emp_no
    Q2 As I mentioned before, there are multipal entries for the same emp in project table and we only need the maching record from project table which has latest end_date. So I think I need something like
    max(project.end_date) somewhere in create view to make sure only one record for one employee.
    Also is there possible to include the no. of assigned field(select count(*) from project where status='assigned' and emp=emp_no) into the view as well?
    Q3 All the fields mentioned above are diaplay-only. So Can I create a control block which has all the fields from emp and project. Then populate them with my sql. The question is
    where I put this customerised sql so when user click excute query. My sql will run and display one the form?
    REally appreciated your help!
    Michael

  • HT5622 We are a family of 4, each with their own apple device. Is it best for us to set up individual apple ID's for things like ITunes? If we do can the same e-mail address be used for all of them or do we need to create e-mails for the kids? Thank-you

    We are a family of 4, each with their own apple device. Is it best for us to set up individual apple ID's for things like ITunes? If we do can the same e-mail address be used for all of them or do we need to create e-mails for the kids?
    Thank-you

    1. Yes, it is.
    2. You may be able to use the same address by adding a plussed suffix to it, such as [email protected] If that doesn't work, create separate emails.
    (103279)

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • Do we need to create two zones for Two HBA for a host connected with SAN ?

    Hi,While creating Zone , Do we need to create two zones for Two HBA for a host connected with SAN ? Or a zone is enough for
    a host which having Two HBAs...We have two 9124s for our SAN fabric...
    As I found like one zone  below, I little bit confused that , if a host having two HBA connected with SAN, should I expect two zones for every Host?
    from the zone set, I gave the command show zoneset
    zone name SQLSVR-X-NNN_CX4 vsan 1
        pwwn 50:06:NN:NN:NN:NN:NN:NN
        pwwn 50:06:NN:NN:NN:NN:NN:NN
              pwwn 10:00:NN:NN:NN:NN:NN:NN
    But I found only one zone for the server's HBA2:by the same time in the fabric I found switches A & B showing the WWNs of those HBAs on its
    connected N port...Its not only for this server alone, but for all hosts..Can you help me to clarify on this please..that should we need to create one zone for
    one HBA?

    if u have two independent fabrics between hosts and storage, i think the below confs are recommended.
    Scenario 1:  2 HBAs single port each ( redundancy across HBA / Storage port )
    HBA1 - port 0 ---------> Fabric A ----------> Storage port ( FAx/CLx )
    HBA2 - port 0 ---------> Fabirc B ----------> Storage port ( FAy/CLy )
    Scenario 2: 2 HBAs of dual port each
    HBA1 - port 0 -------> Fabric A ---------> Storage port ( FAx/CLx )
    HBA2 - port0 ---------> Fabric A ---------> Storage port ( FAs/CLs )
    HBA1 - port 1 --------> Fabric A --------> Storage port ( FAy/CLy )
    HBA2 - port 1 ---------> Fabric B --------> Storage port ( FAt/CLt )
    the zone which is in your output is VSAN 1. if its a production VSAN, Cisco doesn't recomends to use VSAN 1 ( default vsan ) for production.

  • Do we need to create message interfaces for idocs and rfcs thatare imported

    do we need to create message interfaces for idocs and rfcs thatare imported
    from sap server
    in scenarios from sap system to file or vice versa
    i knew that we need not create message types
    do we also skip creating message interfaces

    hi,
    you create an abstract message interface for IDOC only if you want to use
    them in a BPM (integration process)
    for more about IDOCs have a look at my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Do I need to create new group for standby redo log files?

    I have 10 group of redo log files with 2 members for each group for my primary database , Do I need to create new group for standby redo log files for the standby database
    Group#     Members
    ==============
    1              2
    2              2
    3             2
    4             2
    5             2
    6             2
    7             2
    8             2
    9             2
    10           2
    If So, The following statment is correct? or nto
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 1 ('D:\Databases\epprod\StandbyRedoLog\REDO01.LOG',D:\Databases\epprod\StandbyRedoLog\REDO01_1.LOG');
    please correct me if am doin mistake
    becuase when I issue the statment I getting error message sayin the group is already created.

    Thanks John
    I just find the answer
    Yes, it's recomeded to add new group , for instnace If I have 10 group from 1 to 10 then the standby shoudl be from 11 to 20
    Thanks I found the answer.

  • Need to do availability check for multiple materials (in bulk)

    HI Friends,
    I need to do availability check for multiple materials. Currently i am using function module AVAILABILITY_CHECK within a loop.For my purpose I could find this particular FM as well as BAPI "BAPI_MATERIAL_AVAILABILITY" however both of this options can not be used for more then one materials at a time.
    I want to take out the loop from the code and get multiple materials be ckecked at once for availability. If AVAILABILTY_CHECK FM can be used for multiple materials, please post the usage.
    Any other options are there?
    Any help or clue would be appreciated.
    Thanks in advance.

    Use the BAPI.  Even if such a function existed, it would still perform the relevant internal logic required for checking by material, so you wouldn't gain anything.

  • HT2534 i need to create apple ID for each of my girls   it keeps saying DO NOT MEET AGE REQUIREMENT   im very frustrated

    i need to create an ID for each of my daughters  it says DO NOT MEET MINIMUM AGE REQUIREMENT    very frustrated

    If u haven't resolved this issue yet, I just did.
    What I did:
    1. Toggle the hold switch (turn it on and off)
    2. Reset to 'Disk Mode'
    by pressing the 'Play' and center buttons
    simultaneously
    (it may take a couple of trials to get it right)
    3. Update iPod with latest iTunes in Disk mode.
    4. Incase the 'Can't find firmware' error msg is displayed,
    follow the instructions in the link given below:
    http://docs.info.apple.com/article.html?artnum=304309
    Toshiba SatelliteA30-203, Compaq Presario 3000   Windows XP Pro  

  • Software can't check for an update because of a network problem

    Since I updated to Lion I keep getting this http://grab.by/cKz4 [Software can't check for an update because of a network problem window] everytime I click on Software update in finder. Also I get the same window when I try to open the App Store app.... my internet connection works fine and I previously updated with the direct stand alone downloads from the Apple site.
    I downloaded the new 10.7.2 like this as well as the iphoto update.
    Any ideas why this is happening?

    just did a bit of a search and discovered that it was Little Snitch that was the problem.... you have to update to the latest version [or switch it off for software before using software update]

  • Authorization check for plant

    Guys,
    I need to creat an authorization object with field Plant
    In my user exit I need to check for that particular plant , if authorized proceed else exit.
    how can achive this.
    Please provide me the Step by step procedure.
    Appropriate answers willb e rewarded.
    Thanks in advance

    created one field in su20(ZWERKS)
    Not ZWERKS it should be WERKS .here save your efforts.
    in aurthorization tab>change aurthorization data>selected sap_all
    saved generated
    selected sap_all
    saved generated this is wrong also from change aurthorization data here you must select all plant values except 3AA0.
    and make sure in aurthorization tab green light should be there after generate.cause in this process this screen bit buggy.
    Update:from SU21 you must create both Authorization object and class from create button(drop down).and make sure in Authorization object you assing the both class and field(werks which you already created in su20)

  • Create authorization check for a report

    Hi,
    I need to create an authorization check for a report. It means that I need to restrict the usage of the report to couple of users ( 'USER1' and 'USER2' ). How can I do that? I did read through a lot of threads regarding this piece got a bit confused and stuck while creating the authorization object.
    Say the report name is ZHR_TIMEABC.
    Can anyone explain how to create an authorization object and how are they tied to the object and call them in the abap code?
    Thanks in advance,
    VG

    Hi,
    Thanks. Here is my understanding, S_C_FUNCT calls a system generated function module to make an authority check. So, if different users say USER1 and USER2 have different authroization levels, defined in their user profile, just adding this piece code will take care of authroization check for the program OR do I need to take care of something else?
    If so, when do we need to create the authorization objects using SU20 and assign the group and follo this process? When do we use this approach ( lot of threads on authority check have mentioned this procedure)?
    Your inputs will be helpful to understand this concept.
    Thanks,
    VG

  • Selection screen and authorization check for plant from 2 diff tables?

    Hi,
    Could anyone help me out?
    how to write code for  this?
    u2022   Fields for selection
    Plant : WERKS (one selection) - check authorization access u2013 Mandatory .
    Material code MATNR (one selection) - Mandatory
    and while doing the authorization check how should i check it ? here iam taking the table as t001w for werks and for selection screen iam taking it from another Z table......i should take 2 different tables here.....for selection and for authorization.
    my code is pasted below:
                     Data Declarations                                  *
    data: s_werks type t001w-werks.
                     Selection Screen                                    *
      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.
      PARAMETER : p_werks like Ztable-werks OBLIGATORY,
                  p_matnr like mara-matnr  OBLIGATORY.
      SELECTION-SCREEN END OF BLOCK b1.
                     Start-of-Selection                                  *
    START-OF-SELECTION.
    **-Get Plants for Authorization check.
       SELECT werks
              FROM t001w
              INTO TABLE it_werks
          WHERE werks IN s_werks.
        LOOP AT it_werks INTO x_werks.
           v_werks = x_werks.
    Regards,
    Reddy

    Plant : WERKS (one selection)
    That means only 1 plant value to be given? Then you can use PARAMETERS instead of SELECT-OPTIONS. And additionally, you'll only have to check that plant value.
    Using SELECT-OPTIONS you would indeed retrieve the plants and check each individual selected plant. Your code for that is good enough to start with.
    I wouldn't do the check in the START-OF-SELECTION event, but rather in the AT SELECTION_SCREEN event.
    To perform an authorisation check; try the ABAP help on AUTHORITY-CHECK. And you will need to know which authorisation object you need to use.
    Just noticed you're using PARAMETERS
    WHERE werks IN s_werks
    should be
    WHERE werks eq p_werks
    But actually you don't need to select T001W. Just use the value in p_werks.
    Edited by: Maen Anachronos on Oct 10, 2008 7:53 PM

  • Do we need to create Storage Bins for each Client?

    Hi,
    I have defined the storage bin structure etc which I could transport.
    But does the creation of bins (using LS01N) need to be done separately for each client? If on the test client we dont have access to Create Bins then what is the right approach to get it done.
    Thanks.

    Thanks. I tried using LS05.
    What entries should I make?
    I entered Warehouse and Storage Type
    The Default Session was showing as RLLS0500 and I left it as it is.
    But I am getting Error message "Check you entry for manual storage bin creation".
    Any suggestions?
    Thanks.

Maybe you are looking for