Authorization based on t.code and screenvariant

All,
Suppose I have created screenvariant in particular transaction .
For eg MB52 , I have created one variant , ZVAR1
Is it possile to give authorization based on t.code MB52 and screen variant  ZVAR1?
Or t. code and layout of report.
For eg I have changed the layout and save the report as Z111.
Now is it possible to give authorization ,MB52 and Z111?
Please advise.
regards

Thanks Alex.
Suppose I am creating new t.code for MB52 program .
Now in SE93 which object I should I select :
- program and screen
- program and selection screen
- Method of a class
- transaction with variant
- transaction with parameters
Pls advice.
regards

Similar Messages

  • 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.

  • 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

  • Table for finding rate based on part code and material

    Hi Experts
         I am an ABAP consultant with ltd knowledge on SD . Please tell me in which table  I can find the rate based on party code and material .

    Hi
    The standard table is A305. But usually these tables can be customized based on the requirement. So if you are aware about the Condition type for which this Price/Rate is maintained you can find the same in VK13.
    In transaction code VK13, maintain the condition type and click on "Condition information" icon. Now dont maintain any input date. Just click on Execute icon or F8. System will give the list of all the tables and data maintained based on the combination.
    Select the required table.In SE11, maintain this table with prefix as A. You can get all the required information.
    Regards
    Vamsi

  • 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.

  • Authorization object for company code and profit center together

    Hi all,
    Please help me with the following requirement..
    Company Code = ABCD
    Profit Center = *
    The user is authorized to run the report for company code ABCD only but any profit center within this company code.
    2       Company Code = *
    Profit Center = WXYZ
    The user is authorized to run the report for Profit Center WXYZ only but any company code.
    3       Company Code = *
    Profit Center = *
    The user is authorized to run the report for any company code and profit center.
    The same user could have 1 and 2. So, in this case he should be able to run a report for the total inventory of company code ABCD, and a report for total inventory of profit center WXYZ only regardless company code.
    He should not have visibility to other company codes inventory other then profit center WXYZ.
    Regards,
    Raj

    Hi ,
    Anyone please help me..
    Regards,
    Raj

  • 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.

  • Authorization based on project code

    Hi All
    Can we base our authorizations on the basis of project code. Can a user be authorize for a project so that user cant see orher project's information.
    Thanx in advance

    Unfortunately this is not a case in SB1. You have to find a workaround, like queries, on authorizations or use documents ownership or develop something.

  • 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

  • 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

  • Client matter code and forced authorization code.

    what's the difference between these two? It seems they are same. Call the number and enter the code, otherwise you can not complete the call. Thanks

    CMC and FAC serves two diff functions. Its true that you enter the wrong code, you cannot complete the call. CMC's purpose is to generate a billing record for every call placed to a particular client, mostly used by businesses who bill back to their clients, based on the number of calls made. FAC on the other hand (even though generates records in CDR) is to block access to a particular calling pattern. The same CMC may be entered for any of the route patterns that are enabled with CMC. The same FAC may be entered for those route patterns whose authorization level is = or < the authorization level of the FAC itself.
    So if i have two FACs with auth levels 20 and 30, and if i have FAC enabled on long distance (min auth level 20) and international route patterns (min auth level 30) , i can enter the FAC with auth level 30 for both long distance and international patterns for the call to go through.
    With FACs, IPT admin usually have to allocate the code on a per user basis. User 1 doesnt know User2's FAC. With CMC, its usually used by a group of agents who possibly makes a lot of outbound calls to their clients and the code is distributed among users. Each code represents a particular client, so billing reports (CDR) can be pulled at the end of the month based on code and bill that back to client.
    HTH
    Sankar
    PS: please remember to rate posts!

  • Default SC Plant Company code and Storage location Based on Position

    Hi All,
    We are on version SRM 7.02.
    We are using SAP ECC R/3 EHP7 based system as a back end FI and HR system.
    Org structure in SRM is replicated fromm HR system.
    We have case of concurrent employment in the HR org structure , which means one USER can be assigned to multiple Positions in an org structure.
    We have a user A , who is created in Two different org units say O1 , O2 occupying positions P1 and P2, belonging to company code C1 and C2.
    Whenever a SC is created a custom enhancement shows all the user positions to him and he has to choose one from the list of positions.
    Now based on the selected position(P1) , i have to default plant(PL1), storage location(SL1) and Company code(C1).
    Even after defaulting attributes based on the position, user gets an error "company code C1 is not valid for user"
    This error (Message class : /SAPSRM/CLL ; # 135) is thrown from method : /SAPSRM/CL_CH_WD_DODM_SC_I_BD /SAPSRM/IF_CLL_MAPPER~UPDATE
    after getting user's Company code using following method.
    /sapsrm/cl_pdo_shared_user=>/sapsrm/if_pdo_shared_user~get_company_code
    This gets Company code as C2 ; Based on Users Attributes and not based on User Position attributes.
    If i overwrite values fetched by this method in Implicit enhancement, then plant(PL1), storage location(SL1) are not getting fetched.
    Does anyone have any solution for this problem?
    Regards,
    Ashish Shah

    Hi MURUGESAN !
          Can you give me some information more in Special Procument Configure in plant 2000 like:
              -  Procurement type (maybe F)
              -  Special procurement (Maybe U)
              -  Plant (Maybe 1000).
              - Issuing plant (maybe 2000)
           We will check together.
           Regards,
          Tony

  • Need a output based on document no and company code

    Hello All,
    I am new to BI and appreciate your cooperation
    I have a requirement where in I need a total count based on Document no and company code in the Report where in a document no can exist in multiple company code
    Say for eg
    Doc No CompanyCode
    123456          1000
    123456          2000   
    222222          2000
    333333          2000    
    Now I need the count based on document no and company code in the report. Kindly advice
    Thank you
    Poonam

    Hi Poonam,
    I don't know if this is possible in Query Designer level..
    Here is my suggestion:
    1. Create a new infoobject that will be used for the combined Doc No and Comp Code
    2. In transformation level, create a field routine that will CONCATENATE the Doc No and Comp Code in the infoobject you have created in STEP 1
    3. In Query Designer, make a FORMULA VARIABLE and choose REPLACEMENT PATH (select the infoobject you have created in STEP 1)
    4. In replacement path tab, choose INFOOBJECT, then ATTRIBUTE, and select CONSTANT 1 (forgot the exact name but there is constant 1 something in the selection)
    5. Create a global CKF with this formula (FORMULA VARIABLE * 1), this is necessary because sometimes the FV doesn't work without doing this
    6. Use the global CKF in your keyfigure structure, it will show the number of UNIQUE combination of Doc No and Comp Code
    Regards,
    Loed

  • Logo based on the divission and company code

    hi to all,
    I need to place a logo based on the divission and as well the company code.can any one provide me the logic.coz i have 10 logo's so how could i proceed with this...urgent
    thanx and regards,
    loki
    Edited by: Alvaro Tejada Galindo on Feb 19, 2008 11:16 AM

    Hi,
    You could include the company code and division in the name of the logo, for example;
    Z_LOGO_1000_250
    Z_LOGO_1000_300
    Z_LOGO_company code_division
    Then in your script
    /: DEFINE &LOGO_NAME& = 'Z_LOGO_'&BUKRS&'_'&DIVISION&
    Then
    /: INCLUDE &LOGO_NAME&
    So when your company adds new company codes or divisions you don't need to change the script, just upload the new logo.
    Regards,
    Nick

  • 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

Maybe you are looking for

  • How to use JavaScript to Open a link automatically

    Is there a method (using JavaScript) to allow a user clicked link to open the link through a "intermediary" page? For example, say I have a web page with a embedded Flash file that contains links to several different (outside) web pages. The behavior

  • Function Module or BAPI to update Delivery Date (LIKP-lfdat)

    Hello friends, I have a requirement to update Delivery Date (LIKP-lfdat) , is there any Function Module or BAPI to do that? any sample codes are appreciated. Thanks a lot! Edited by: Qiwei Yin on Dec 11, 2008 8:50 AM

  • Why is this hapening?

    Hi I have got this error from wtk 1.0.4 : ALERT:Maximum byte code lenght (32Kb) exceeded The jar size is under 60ko and classes size are 60ko(non-compresed) & 22 ko (compressed)... Can any one tell me what is wrong.. Thx.

  • Strange sorting issues with podcasts?

    I subscribe to the Onion News Network podcasts, the audio only versions, and no matter what information I change I cannot get my podcasts to sort together. iTunes keeps them together in the finder, but the app separates them. I've had two separate ic

  • Xbindkeys refusing to start after gnome/X update

    I have xbindkeys in my sessions in GNOME, but it won't startup properly from there. After I log in I can start it up normally from the terminal with no problems, but it just won't start up for sessions (and starting it from .xprofile causes my keyboa