How to restrict plant and companycode

Hi all,
My requirement is
I have few questions on client requirement.
-     FI (AP/AR/AA/GL) u2013 4 years of data, all open items, for company code 0013, 0022
-     MM u2013 4 years of data for plants 0013, 0022
-     COPA data, fiscal year 2010 onwards for operating concern CORP and 0030
For COPA->Do I have to create 2 separate datasources one for each operating concern?
How and where to restrict plants for MM?
How and where to restrict Companycodes for FI?
Will that be at IP level?
Thanks all.

Hi Harika,
I guess you need to write ABAP routine for multiple Single value restrictions in Infopackage level.
In Data selection tab, Type(as your requirement is to restrict the plant field with 2 fileds) select the type beside plant and select 6-ABAP Routine --> enter the routine name and write the logic.
Use this above method as a standard practise. But for your requirement, (since only two plants are involved) you shall use two rows of plant and restrict them.
If you need further help, feel free to post.
Hope this helps.
Regards,
Guru

Similar Messages

  • How are maintenance plant and planning plant linked in PM(Plant Maint).

    Hi All,
    How are maintenance plant and planning plant are linked in PM(Plant Maint).Where can I configure both of them in SPRO(I mean the path).
    I am a hard-core technical consultant so am sorry If I am asking a silly question.
    Kind Regards,
    Anshu Kumar

    Hi,
    Please find below the path to cretae the planning plant and assigning the plant:
    SPRO-Enterprise StructureDefinitionPlant MaintenanceMaintain maintenance planning plant;
    SPRO-Enterprise StructureAssignmentPlant MaintenanceAssign maintenance planning plant to maintenance plant;
    A Maintenance plant in which the technical objects of a company are installed.
    A Planning plant is a plant in which the maintenance tasks are planned and prepared.
    Hope it will help.
    Regards,
    Manish

  • How to save plant and lgort in BAPI_MATERIAL_SAVEDATA

    Hello all,
    I am trying to save de PLANT AND LGORT with the BAPI_MATERIAL_SAVEDATA, but no save it, i save all the material informations but the PLANT AND LGORT not appears in the table MARD,
    this is the way how i fill the bapi for this sections.
      wa_storagelocationdata-plant     = wa_itab-werks.  "Value of Plant
      wa_storagelocationdata-stge_loc  = wa_itab-lgort. "value of LGORT
      wa_storagelocationdatax-plant     = wa_itab-werks.
      wa_storagelocationdatax-stge_loc  = wa_itab-lgort.
    in other structures with end with X, the field is mark with X but in this case the structures   wa_storagelocationdatax the fields PLANT AND STGE_LOC both are a CHAR 4 not a CHAR 1,
    Somebody knows how to save this informations please..
    Thanks a lot
    Moderator message: please don't use all caps in the subject line, corrected.
    Edited by: Thomas Zloch on Mar 7, 2010 9:29 PM

    Hi,
    which views do you select in the structure HEADDATA? Do you select STORAGE_VIEW?
    Cheers

  • How to restrict MD04 and MIGO

    How to restrict MD04 to materials belonging to a particular specified  material group?
    How to restrict MIGO to a particular specified vendor no ?
    thanks,

    Hi,
    The material group (MAKTL) restriction cannot be imposed directly via authorization for tcode MD04. Similar is the case restricting MIGO by vendor no.
    The Tcode MD04 checks for auth onject M_MTDI_ORG
    which restricts for only for
    MRP Controller
    Plant
    Acctivity types in Materials
    Similarly MIGO checks for the foll fields only in the concerned auth objects
    Plant
    Movement Type
    Storage Location.
    So thsi cannot be restricted via authorization concept normally.
    However you may take the help of your basis /ABAPERs to explore the user exits /BADIs of the related programs.
    Or your ABAPERS may help you in this regard by developing some customized reports to restrict the same.
    Pl dont forget to award suitably.Regards

  • How will the plant and storage location be determined automatically in PO

    Hi,
    In ME21n, I have entered Vendor, Material and Qty; also the info record is maintained. Now if I save the PO, the plant and Sloc should be auto determined. Where will I have to maintain this information.
    In master data the net SLOC for EP is maintained in MRP view.
    The SLoc value is getting populated if I enter the Plant.
    But I want that the Plant should also be auto populated. Please provide a solution.
    Thanks and Regards,
    Yogesh Walke

    Hi,
    You can create a Transaction Variant for creation of purchase order with your favorable plant.
    Use T.Code :SHD0,enter the T. Code: ME21N and enter in Transaction Variant: ZME21N and later
    confirm screen entry with your favorable plant to proceed further.
    Now create purchase order with ZME21N and find your your favorable plant
    Refer how to create Transaction Variant
    How to Create a Transaction Variant
    Transaction Variant - A Step by Step Guide for Creation - Code Gallery - SCN Wiki
    Regards,
    Biju K

  • How to restrict 'Broadcast and Export' option of BW report through web.

    Helllo,
    Please anyone let me know, how NOT to give/allow "Broadcast and Export' option in BW report, when accessed through Web.
    Is there is any Auhtorization object which restrictes this option.

    Hi,
    Please check this, it may help you.
    http://help.sap.com/saphelp_nw70/helpdata/en/80/1a68b4e07211d2acb80000e829fbfe/frameset.htm
    Regards,
    Madhu

  • How to restrict values and apply condition for a characteristic in a query.

    Hi,
    I have to add two customer class(characteristic) fields to my query which is available as a navigational attribute in my multiprovider ( from which my query is built ).
    One field should give the values directly from master data. The values would be PV, CV, IT, OT. The other field should give only PV and CV based on the condition - Except CV, all others (ie. IT and OT) should be converted as PV.
    I like this to be achieved in the query level since i dont want to disturb the underlying cubes in the multicube.
    So i have two questions.
    1. How to bring two fields in the query for the same characteristic.
    2. How to achieve the condition in a characteristic for second customer class field mentioned above.
    Could somebody help me in solving this?
    Thanks in advance,
    Somenath

    Hi Somenath,
    you are absolutely right;)
    Besides the Third step
    Try to add two new Selections to your Structure as
    New Selection1 -> Set the Customer Class value to fix 'PV'
    New Selection2 -> Set the Customer Class value to fix 'CV'
    <b>you have to add</b>
    New Selection3 -> Set the Customer Class value to fix 'IT'
    New Selection4 -> Set the Customer Class value to fix 'OT'
    Fourth step
    Hide these four selections
    Fifth step: Add a new formula to your Structure
    (Customer Class == New Selection3)* New Selection1(Customer Class == New Selection4)* New Selection1(Customer Class == New Selection1)* New Selection2+Customer Class == New Selection2)* New Selection2
    Hope it helps
    Gabor
    ps: experts maybe suggest easier way...

  • How to restrict Order types KA  and AB in script output form

    How to restrict KA AND AB order types in script output data is coming from  bkpf-blart .
    program is rfkord10.
    and form is f140_acc_stat_1
    in script output i dont want to  display KA AND AB order types ..
    data is coming from standard report.
    i copied form into zform.
    in output it is displaing all order types ..
    is there any solution to restrict above order types.

    Hi
    Check the data structures used in the script
    Since it is account statement of customer it uses the Tables BSID and BSAD in which the field BLART field is there whose values are KA and AB
    check for the structures which are used in the script and in them search for the field BLART in Se11 and accordingly keep the condition
    It will work
    Regards
    Anji

  • How to restrict other plant material assigned to SA BOM explosion

    Dear Experts
    One of our client havea issue of assigning wrong material to the scheduling agreement BOM explosion.
    Actually there are two different plant code one for manufacturing plant and another one trading.Subcontractor activity will be carried out in trading plant , but users assigning the BOM components from manufacturing plant material.
    So they are sending material to vendor from manufacturing plant and receiving material to trading plant.But finance guy don't want do like that.
    How to restrict other material (material not part of SA plant)assignment to SA BOM explosion
    Thanks in advance
    Regards
    SS

    Thanks for your reply.
    In BOM creation CS01 , if plant is differ from header to line item system will give error message M3 351
    "Material &&&&&& not maintained in plant &&&&".
    Like that i want to make it in ME38 BOM explosion also.If plant is differ from scheduling agreement line item to BOM line item system should give error message.
    For the above scenario I need the solution
    SS

  • How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/updat

    How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/update for certain group of users
    eg. for Subsidiaries to openr/close periods of their own company only.
    Refer to my screen, Company 1010 and 1060 is for Head Office while 1210 is for our Malaysia Company. How to restrict my Malaysia Company user to open and close only for 1210 and cannot perform any change to other Company.

    Hi,
    I guess you can use company code itself. Talk to your basis guy or else if you have some expertise & Authorization try out PFCG.
    Regards
    Santosh Hegde

  • How to  find the Open sale orders till date for  given plant and material ?

    Hi experts,
                     I have a requirement to calculate the open sale orders for a given plant and material. I have tried in VA05 wherein i can get only for the material and sales area combination. From the document nos obtained from VA05 i can then find the plant. But my question is how do i get the output of VA05 into my progra. (can i use submit for a module pool report ).
    Also if ther is some other standard table or Function module to find the open sale orders till a given date ,it will be even more helpful....in which case i can drop the VA05 route.
    Kindly help
    Thanks in advance
    Ashwin

    Hi Ashwin,
        You can use SAP Tables VBAK and VBUP to get to know if the document is complete or not.
       VBUK-GBSTK is the field that will give you the status of the Sales Order .
      VBUK is used at header level , whereas VBUP is used for Item level.
      So in your case what I would do is :
      Get the Sales Orders that satisy the plant and material criteria from VBAP table , take this Sales Document numbers and go to VBUK or VBUP table to get the Sales Order Status. 
       If I need to find the open quantity as well I will link to VBFA table based on the document number.
      Reward if helpful.
    Thanks,
    Imran

  • How to restrict multiple ess session and access?

    Hi experts,
    how to restrict multiple session for ess user? and multi access for same ess user?
    our problem is when user login to ess (doing session, for example leave request) and at the same time their manager is accessing travel approval task for that user, the approval process getting error. (we use travel workflow to approve travel request)
    how to overcome this situation?
    thanks.

    but there is no information on ESS screen for user being lock.
    how to show the information on ess screen?
    thanks

  • I have forgotten my restrictions code, and don't have an iTunes backup on a PC. How can I reset the code or find my code without using a PC or jailbreaking/hacking into my iPod?

    iPod 5 generation. ios 8.1.2
    I forgot the restrictions code, and I'm trying to reset my iPod, but because of restrictions, it won't let me! I cannot do the thing with the computer, because I never backed it up on a PC before. I've also tried the so-called 'default' code, and it didn't work, either.

    There is no default code.
    - Place the iOS device in Recovery Mode and restore via iTunes. For how to restore: iTunes: Restoring iOS software
    You have to either:
    - Restore from a backup that was make before you added the Restrictions passcode. If you restore from a backup made with the Restrictions passcode the Restrictions passcode is also restored.
    - Restore to factory settings/new iPod

  • How to restrict users from printing documents and exporting to local file

    Hi SAP gurus,
    I have two questions.
    1. How can I restrict users from printing a document? i.e. billdoc? I would like to know if I could block it though authorization. If yes, what auth obj to use?
    2. How to restrict certain users from exporting to local file? the System> List>Save-->Local File. I have tried restricting it using auth object S_GUI but it seems it is only applicable to older versions of SAP. im on ecc6.
    Thank you in advance.

    Hi,
    Check this:
    Create your own gui status and attach it to the list in the event START-OF-SELECTION.
    In the menu painter extra -> adjust template.
    Make it a list status and you will see all the standard list options appear including list->download
    Deactivate the ones you don't want. 
    If you just want to prevent users from downloading the list you can achieve this with authorization object S_GUI, activity 61. Menu option will still be there though.
    Please note that if you remove authorisation for S_GUI activity 61 then all downloads will not be possible. 
    If you just want to disable downloads only for a particular report, you can try this test program:
    Code:
    REPORT ztest. 
      DATA: PROGNAME LIKE SY-CPROG value 'Z_CHECK_AUTH', 
            FORMNAME LIKE SY-XFORM value 'F_CHECK_AUTH'.
    START-OF-SELECTION. 
        CALL FUNCTION 'SET_DOWNLOAD_AUTHORITY' 
             EXPORTING 
                  FORM    = FORMNAME 
                  PROG    = PROGNAME 
             EXCEPTIONS 
                  OTHERS  = 1.
      WRITE: / 'TEST'.
    You also need this:
    Code:
    PROGRAM z_check_auth.
    FORM f_check_auth USING pe_result TYPE i. 
      pe_result = 5. 
    ENDFORM.
    Also have a look at the exit SGRPDL00.
    Hope this helps you.
    Rgds,
    Raghu

  • How to restrict users working on Windows 7 clients from accessing Windows Explorer and other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2

    Dear All,
    We are having an infrastructure setup of around 500 client computers managed through group policy.
    Recently the domain controllers have been migrated from Windows Server 2003 to Server 2008 R2.
    Since this account requires extremely strict environment, we need to figure the solution for restricting the users from access anything locally.
    It would be great if you can assist me with the following query.
    How to restrict users logged on Windows 7 clients from accessing Windows Explorer and browsing other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2 ?
    Can we disable Network Tab on the left hand pane ?
    explorer.exe is blocked already, but users are able to enter the Windows Explorer by clicking on the name which is visible on the Start Menu.

    >   * explorer.exe is blocked already, but users are able to enter the
    >     Windows Explorer by clicking on the name which is visible on the
    >     Start Menu.
    You cannot block explorer.exe when you do not replace the shell - the
    desktop you see effectively IS explorer.exe...
    Your requirement sounds like you need a custom shell:
    http://gpsearch.azurewebsites.net/#2812
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

Maybe you are looking for

  • HT1212 my home button has also stopped working how can i get device in recovery mode.

    i was wonding if there is a way to get a iphone 4s into recovery mode with a non functioning home button?

  • Define a Standalone Download Integrator with an Additional Where clause - SQL error

    Hi, I am trying to create a standalone integrator with an Additional Where clause. Followed the steps mentioned in the metalink note 360105.1. When I run the integrator, I get the following error message. Please resolve the following error to continu

  • Validating sub type field

    Hi Experts,                  Iam new to HR Abap programming environment. My requirement is :   In 15 infotype, there is a LTA sub type ( leave travel allowance ). whenever user enters that LTA amount, it must be validated with  Exemption Amount ( whi

  • XML - HTML ( parsing '&' character)

    i have a html page with a form tag like this <form name="http://junk.com?page=1&id=100"> </form> While parsing this line using XMLPaser V2 it throws a null pointer exception and its b'coz of the '&' character. Can anyone gimme the solution ??

  • Gallery slide show settings

    I have configured my tablet to run Gallery when it is placed in the cradle. I have not been able to find ANY settings that allow me to change the timing on each photo, nor the zoom action. The apparent default of 3 seconds is way too fast and I do no