Access restriction in IM52 based on company code and investment reason

Hi,
How can we have access restriction in IM52 based on company code and investment reason?
thanks
Randeep

hi
please check the authorization object for the transaction
company code you can

Similar Messages

  • Need to download the data from BSEG based on company code and fiscal year

    Hi All,
              Please suggest me the solution to download the data from BSEG based on company code and fiscal year. As data in BSEG for the fiscal year2009  is 27 lakhs (= 2.7 million) for the specified company code.
    <removed>
    Thanks & Regards,
    Koti
    Edited by: Thomas Zloch on Mar 26, 2010 4:28 PM - please use English metrics only!

    May I ask what you mean by solution?  You can download from SE11, but where are you going to store 2.7 million rows and what tool are you going to use to store it?
    You probably need a (small) program that extracts what you want, then opens a dataset in an appropiate server-system folder, and transfers the data rows to the dataset as fixed-length or tab-delimited file.  It's been done many times, so suggest that you search.

  • Automatic restriction of currency based on company code

    Hi,
      I have a requirement where in the layout I need to restrict the header currency based on the company code chosen.  How is this possible?
    Currency is an attribute of company code and both company code and currency are in the header but users dont want to choose currency and only want to select company code from the drop down.
    Now my problem is without limiting the header to a single currency the layout cannot be opened.
    Any help would be appreciated.
    Thanks

    Hi,
    if it is not working with the table as Sunil describes (I never tried this) maybe the solution for your problem is reading the value of the variable for company code with the function module Z_VARIABLE_GET_DETAIL as describes in the howTo-paper "Variables of type exit"
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20variables%20of%20type%20exit.pdf
    It works, in case of troubles, dont use the buffer.
    Greetings,
    Christian

  • TDMS copy based on Company Code and time based reduction.

    I'm struggling to understand the process of this scenario.
    I created a new client in the target system (using local client copy with SAP_UCSV).
    I configured a time based and company code based reduction.
    After the TDMS copy is complete, I check the target system and still find plenty of data that isn't related to the company codes I selected. It appears that it still copies part of the excluded data. For example: I can still find work orders and sales orders for company codes that I specifically didn't select for the copy process.
    Any idea why this is? It appears that the copy doesn't bring across ALL of the excluded data. Just some.
    I double checked and triple checked my TDMS selection for company code based reduction and I can't find any error in there.
    To be more specific: I selected company code A01 A02 A03 and left B01 B02 B03 out. After the copy there are still orders visible in the target system with company code B01 B02 B03.
    This is after I created an empty target client first so it's not copying into an already existing client.
    Thanks for any guidance guys.

    Hm, not sure what's going on. There is no clear link between those existing orders and the company codes I initially selected. Then again it only seems to have a "high level" record of the data. As soon as one starts to drill down, the data is missing as expected. Same goes for other areas as well.
    Looks like we can live with that for now so I won't lose any sleep over it anymore.

  • Number Range for PO based on company code and document type

    Dear All,
    I've a requirement to assign a separate purchase order Number Range for a company code for the following document types.
    ZNB         Standard PO   
    ZRB         Return PO
    ZUB         Stock transport ord. 
    ZLPA       Scheduling agreement 
    ZLU         Transp. sched. agmt.
    (Number Ranges are different for each of the doc types mentioned above)
    Is it something like I've to create 5 different Number Range objects and then provide the condition in the corresponding user exit , so that the appropriate document could pick its corresponding Number range.
    Does anyone have any specific advice / experience on this , I am new to SAP and please advise me as how to go about this requirement. Thanks !!
    Srinivas G.

    Create the five different number ranges via configuration the configuration for PO.  Usually a user exit is not needed.  You've really posted in the wrong forum.
    There is a lot of work involved in creating a different PO types.  It is usually done in materials management.
    If everything is done:
    In spro go to materials management -> purchase order -> define number ranges.
    Once they are defined they should work automatically or be entered manually depending on how your number range is set up.
    Edited by: Michelle Crapo on Aug 3, 2009 3:07 PM

  • Restrict access in report based on compnay codes and cost centers

    Hi,
    We are using a standard report, which is  assigend to a Z transaction and assigend to the role.
    The report need to be restricted based on the company code and cost center   ?
    but i could not find any AUTHORITY- CHECK statements in the code ( there is only authority check statement for object G_803J_GJB which has authorization groups and aCTVT field.)
    Please let me know what steps need to be followed to restrict the report based on company codes and cost centers.
    Thanks for your help in advance.

    Thanks all for the quick response.
    Steps to be followed:
    1) incorporatomg AUTHORITY-CHECK  statements for K_KOSTL and F_BKPF_BUK objects in the program.
    2) adding the objects as check yes in SU24 for the Z transaction.
    and restricting in the role.
    The program name is "GP3O4ZGOOF3HA68QMGHF8S7I9ER250".
    Please let me know if any more steps need to be followed.
    Based on this i have to send a estimate to my client.
    Thanks,
    Sanketh.

  • Get pernr based on company code in logical databse

    Hi,
        When using the get pernr event, all the pernrs that I get are in the ascending order  I want them first grouped based on the company code and then on pernr.
    Any suggestions would be appreciated abd suitably rewarded.
    for ex: get pernr.
               write:/ pernr, bukrs.
             end-of-selection.
    result:   00000099 1001
              00000002 1003
    Regards
    Vick
    Message was edited by:
            vick vennav

    for ex: get pernr.
    write:/ pernr, bukrs.
    end-of-selection.
    result: 00000099 1001
    00000002 1003
    We are sending the payroll information to the 3rd party for pay check purposes, at my client side they have inserted a custom include in the standard program and populating the information in a flat file which needs to be sorted first based on company code and then on pernr. If I try to do it later,the code is becoming a mess, so I want to know is there a way to get pernr using logical database whose order is based on company code.
    Regards

  • Any option to restrict SE16 record level access based on company code?

    Hi All,
    I have a requirement to restrict record level access in SE16 based on company code.
    Our SAP system has two company codes. The requirement is that users of one company code should not be able to see records of other company code in SE16.
    Is it possible through some exits/badis/other methods?
    Thanks in advance.
    Regards,
    Arun Mohan

    You could write a small front end that accepts the company code, applies custom authorization code for each value and retains or removes, then calls the transaction and enters the selections the user requested and that your authorization check resulting in "passing"....  Of course, you'd have to block those users from "pure" SE16...   I once worked in situation similar, users in one country couldn't see USA data, etc. I think someone wrote an entire new program, called by ZSE16, for that.

  • Restriction of Tcode SQ01 based on Company code

    We are running one customized query using Tcode SQ01.  We need to restrict Tcode SQ01 in company code level.  We have checked about authorization object in st01. But there is no check of authorization object. Can anybody help to restrict SQ01 based on company code level?
    Regards
    Auroshikha

    Hi Auroshikha,
    Itu2019s very easy to maintain authorization in your Infoset Query report. I got and implemented similar requirement i.e. restriction /authorization as per company code.
    You need to use authority check for authorization object  P_ORGIN in your infoset.
    Please follow the bellow steps:
    -->Go to SQ02, Enter your Infoset name and click on Change button.
    -->Click on 'Code' (Shift+F8) icon dispalyed on application toolbar, you will be moved to Code Section of Infoset that lists different events.
    -->Choose Record Processing event from code section.
    -->Write the following code in 'Record processing' event of your Infoset.
    AUTHORITY-CHECK OBJECT 'P_ORGIN'
    *ID 'INFTY' FIELD '*'
    *ID 'SUBTY' FIELD '*'
    ID 'AUTHC' FIELD 'R' "read
    ID 'PERSA' FIELD P0001-WERKS
    *ID 'PERSG' FIELD DUMMY
    *ID 'PERSK' FIELD DUMMY
    *ID 'VDSK1' FIELD DUMMY.
    CHECK Sy-SUBRC EQ 0.
    Note: PERSA field used in this Authorization object plays an importan role , if you are in different module other that HR , then pass here table_name-companycode_field
    -->Genetare Infoset
    -->Go to SQ01 (in a new session) , Click on exeute or 'Test button' to check authorization is working for report
    Let me know if you need any more details.
    Thank you.
    Regards,
    Dinesh Tiwari

  • 0HR_PY_PP_1 restricting based on Company Code

    Hi ,
    I am trying to use extractor  HR_PY_PP_1. The extractor pulls all the CC data as it do not allow selection based on Company Code.
    When we try to change in extractor in source system it does now show field for selection. So I changed the values in ROOSFIELD table .
    Now I see CC for selection but still after making the company code selection , it do not select  the data based on that particular company code.
    Any idea in this direction will be much appreciated.

    Vamsi,
    I think you do not want to allow to see the some FI user these Tcodes data for specific companies.
    I think you have assigned more then one role to user and mentined 3 Tcodes are coming from multiple roles and the user buffer is having multiple entry for the . If this is the case please keep these Tcodes in one role only and restrict the user only in F_BKPF_BUK BUKRS.
    If only one role is assigned to you then assigned the required company codes at Orgranisation Level only and it will populated at Authorisation Object F_BKPF_BUK BUKRS for company codes.
    I would advise you not to modify the SAP standard object in SU24 because it can distrub the Standard Auth. Object.
    Hope this will help.
    Lokendra

  • OB52 based on Company Code

    Dear All,
           As we are having several company codes and want users only to be able to open and close periods from transaction code OB52 belonging to their posting period with respect to company codes how can I restrict and allow them open & close periods based on company code repectively. Is there any process this be done.
    I tried with the notes I got from one sap-img link. But it did not work & there something is missing. Kindly if anyone have done this before send be step by step process. Awaiting for you reply...
    regards,
    Raj B...

    How about trying it this way?
    1. Remove access to OB52
    2. Create a maintenance view similar to V_T001B specific for each company.
    3. Create a TCODE for each of these views.
    4. Use this TCODE for authorization assignment.
    This should be simple but your number of views would be increasing with respect to the number of companies.
    ~Eswar

  • Reason for change of Infotype Based on Company Code

    Hi Experts,
    I have a requirement where I need to restrict the F4 HELP in
    PA30 Transaction for the infotype 15  based on company code for the field reason for chagne.
    I know that reason for change of infotype are maintained in the table T530E.
    But can this be restricited through SPRO configuration.
    Thanks in Advance.
    Regards,
    IFF

    Hi.
    It's possible to change the search helps with a search help exit.
    Take a look in SE11 for search help H_T530E.
    Search help exit
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    Regards.

  • Gl a/c short and long text based on company code

    Hello Friends,
    In table skat the gl account description is given based on chart of accounts but what if i want the description based on company code.
    I want the table where i can get the gl account description based on company code??
    Pls suggest.
    Regards,
    Sunny

    Hi,
    you can look at the database view for requirement
    GL_ACCT_CC_TEXT
    regards\
    Mahesh

  • SKF transactional values based on company code

    Can anybody let me know the logic how we can seggregate transactional value passed to statistical key figure based on company code or is there anytable where we can direclty find SKF transactions involved based on company code ?
    Need to upload SKF transactional figures from one SAP system to another.Hence require process for extraction and uploading of the same

    Hi Amogh
    Hope you are looking for actual SKF quantities posted. kindly check s_alr_87013611 CC report, I think on the lower part this comes. This time I am not in front of system so you please check.
    Regards
    Rajneesh

  • Decimal places adjustment based on company code or currency

    Hi experts,
        my requirement is i have to adjust the decimal places in amount fields of internal table based on company code or currency given by user.
    suppose for example in my internal tables having 5 amount fields like 1.50 1.234 1.45 1.34, 1.67  for  company code is in01
    the same values for VN01 should be like this
    150 1234 145 134  167  ....
    can any body plz tell me any functional module is there to covert or abapcode?
    Thanks in advance,
    veena.

    That code is a bad idea.  Why would you hard-code that type of action for currency/amount handling?
    @poster: If the output is based on the local currency defined for the specified company code or one specified by the user, then use it.  SAP handles amount output automatically with a currency specification because the currency definition identifies where/how the decimal is output. 
    Just use WRITE as Florian indicated but  use the CURRENCY extension instead of DECIMALS.  You can do this dynamically based on the company code easily...
    A simple 3 line program shows you how this works:
    PARAMETERS: p_wrbtr type wrbtr.
    write:/ p_wrbtr CURRENCY 'USD'.
    write:/ p_wrbtr CURRENCY 'JPY'.
    Edited by: Brad Bohn on May 12, 2011 1:07 PM

Maybe you are looking for

  • Wirelessly connecting to a home stereo system

    Anyone know if/how it is possible to play audio wirelessly thorugh a home stereo system? I'm looking to do something similar to what the Airport station does but with all audio from the mac not just audio from Itunes.

  • Portal Content error when opening BEx Portfolio in EP

    I am trying to open BEx portfolio but an error is coming when i tried to opne it. The error is as below : Portal runtime error. An exception occurred while processing your request. Send the exception ID to your portal administrator. Exception ID: 02:

  • Pre 2 Photo viewing problem in FB

    Just got the Palm Pre 2.  Extending my addiction to WebOS.  Love the new phone and definitely an upgrade from the Pre Plus.  Only issue so far is I am unable to view photos while in Facebook mobile.  Any solutions to this?  All is see is an x.  Thank

  • Exporting metadata in Yosemite

    Since upgrading to Yosemite and doing the Aperture upgrade as well; whenever I export photos to the desktop, Zenfolio, or Facebook the title and caption info does not export as well. It was working in Mavericks. It's kind of a pain having to reenter

  • What is that font?

    Hi Lovers of Good things! Does anybody know what the font is, that is used by 'Contacts' I like it Graham