Need to restrict view of DIRs assigned to material, vendor, and customer

Hello,
SAP standard, version ECC 6.0. Different plants in use with requirement for differnt authorizations.
I know that DIRs can be assigned to material master. However, the problem is that it's client level data. Now there is a need to implement DMS with materials, vendors, and customers.
Problem is that company operates in different countries and with different plants. One material/customer/vendor is created and then extended to cover different plants.
Material 1111 has a specification assigned to it, e.g. document type ZSP with DIR 1000001111, this document is at client level.
Person A from plant 1000 can display and maintain it (1000001111) but person B from 2000 must not see this, she has DIR 10000011113 instead (and person A should see this).
If person A has authorizations which are limited by the plant type because of the usage of MM already, do these restrictions apply also to DMS? I haven't found a definite answer for this.
I cannot set a authorization object based on document type and maintaining different uthorization groups is the last option because of the vast number of  users.
The same question is for customer. if there is e.g. a contract assigned to customer, can the view be restricted by distribution channel or another field provided by SD (standard solution).
Vendor master is the 3rd major issue. How to limit access to documents?
Help is highly appreciated.
Thanks in advance,
Pia

Hi,
Can you please elaborate what is the object you mean. I have serious problems with system and cannot check it.
Thanks,
Pia

Similar Messages

  • Vendor and customer  assignment

    Hi,
    In EDSDC table, I can see the assignment between the vendor and customer , sales area and the sales doc type . but where can we assign this in IMG…?
    pls suggest.
    Regards
    Nawzir

    Hi Syed R,
         We wont assign vendor -customer n viceversa in IMG but we assign it in Easy access, while maintianing master data-XD01/XK01
               In some cases,
    our vendor might be our customer n at the same time,
    our customer become our vendor,
    eg: MRF tyres company sell the tyres to Tata motors, n MRF tyres can buy the 4 wheelers from Tata motors,
    for this , we create MRF tyres as vendor(XK01) n customer(XD01),
    after that in XK02- we assign this customer number into Vendor Master record, n
    Vendor number to customer master record, to identify the sytem ,MRF tyres is a customer *** vendor,
    Here we need to have 2 different Master data's becoz of its accounting documents ,
    as we knew, Customer cums into Debitros-A/R module
    Vendor cums into Creditors- A/P module.
    in XD02-general data-control data, u fill find vendor field,
    *hope this helps,
    <b>Reward Points</b>
    Message was edited by:
            Raj

  • Profit centerwise Vendor and Customer line items view

    Deal ALL,
    We have not activated Business Area.
    We have 10 plant under one company code. Client is booking the vendor and customer invoice as per the cost center and profit center of the plant. Payment and Receipt is also made according the bank maintain for each plant. As one customer or vendor is dealing with all the plants.
    Can any body can help me out how to get the vendor and customer line item display according plant or cost or profit center wise, so we can make or receive payment accordingly.
    Request you all to reply.
    Thanks & Regards,
    Bhadresh

    Hi
    Try the transaction codes for Profit Display by suitable config in TCode O7F1, O7F2, O7F3
    Assign Points if useful
    Regards
    Sanil

  • Vendor and Customer BADI needed

    Hi Folks,
                  I need BADI for Vendor and Customer which can store Purchase and Sales organization details entered  while creating Vendor and Customer in xk01,xd01 TX Codes respectively.....
    Thanks in Advance.
    Prasad.

    You may use the following [BTE Business Transaction Events|http://help.sap.com/erp2005_ehp_04/helpdata/EN/95/1632f0ba9511d29e310000e839cd96/frameset.htm]
    - 00001321 - CUSTOMER MASTER DATA: Save with data transfer Call up during creation/change
    - 00001421 - VENDOR MASTER DATA: Save with data transfer
    Look via [FINF|https://www.sdn.sap.com/irj/scn/advancedsearch?query=finf&cat=sdn_all] and implement via SE37 and [FIBF|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=fibf&adv=false&sortby=cm_rnd_rankvalue].
    Regards

  • Need to get the production order by inputting Material number and serial no

    Hi Experts,
    I have material number and serial number . All I need is PRODUCTION ORDER number.
    Can any one give the table joints for that ?
    Thanks,
    Koya.

    hai check this code.. similar req:
    REPORT z_so_info.
    TABLES: vbak, vbap, afko, afpo.
    *Field catalog
    TYPE-POOLS: slis.
    DATA: lv_repid TYPE sy-repid VALUE sy-repid,
    xfield TYPE slis_t_fieldcat_alv,
    afield TYPE slis_fieldcat_alv.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(25) text-002.
    SELECT-OPTIONS: so_so FOR vbak-vbeln OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-003.
    PARAMETERS:
    p_kunnr LIKE vbak-kunnr, " sold-to
    p_kunwe LIKE vbak-kunnr. " ship-to
    SELECTION-SCREEN END OF BLOCK b2.
    *Constants
    CONSTANTS: c_zor TYPE vbak-auart VALUE 'ZOR',
    c_we TYPE vbpa-parvw VALUE 'WE',
    c_ag TYPE vbpa-parvw VALUE 'AG'.
    * c_space TYPE space.
    *Ranges
    RANGES: ra_parvw FOR vbpa-parvw,
    ra_kunnr FOR vbpa-kunnr.
    *Tables
    DATA: BEGIN OF gt_output OCCURS 0,
    vbeln LIKE vbak-vbeln, " sales order number
    posnr LIKE vbap-posnr, " SO item number
    matnr LIKE vbap-matnr, " material number
    sh LIKE vbpa-kunnr, " Ship-to
    sp LIKE vbpa-kunnr, " Sold-to
    lifnr LIKE ekko-lifnr, " Vendor
    bstnk LIKE vbak-bstnk, " PO number
    banfn LIKE vbep-banfn, " Purchase requi
    po_st TYPE char30, " PO status text
    pstyv TYPE vbap-pstyv, " Item catagory
    aufnr LIKE afpo-aufnr, " Production Order
    prd_stat TYPE string, " Prd order status
    END OF gt_output.
    DATA: wa_output LIKE gt_output.
    FIELD-SYMBOLS: <fs_output> LIKE gt_output.
    *Table for sales order and PO
    TYPES : BEGIN OF gs_data,
    vbeln TYPE vbak-vbeln,
    posnr TYPE vbap-posnr,
    pstyv TYPE vbap-pstyv,
    matnr TYPE vbap-matnr,
    END OF gs_data.
    DATA: gt_data TYPE STANDARD TABLE OF gs_data,
    wa_data TYPE gs_data.
    *Table for Production Orders
    TYPES: BEGIN OF gs_prd,
    aufnr TYPE afpo-aufnr,
    posnr TYPE afpo-posnr,
    kdauf TYPE afpo-kdauf,
    kdpos TYPE afpo-kdpos,
    wepos TYPE afpo-wepos, "Goods Receipt Indicator
    elikz TYPE afpo-elikz, "Delivery Completed Indicator
    objnr TYPE aufk-objnr, "Object number
    * getri TYPE afko-getri, "Confirmed Order Finish Date
    * gltri TYPE afko-gltri, "Actual finish date
    END OF gs_prd.
    DATA: gt_prd TYPE STANDARD TABLE OF gs_prd,
    wa_prd TYPE gs_prd.
    *Table for partner data
    TYPES: BEGIN OF gs_partner,
    vbeln TYPE vbak-vbeln,
    posnr TYPE vbap-posnr,
    parvw TYPE vbpa-parvw,
    kunnr TYPE vbpa-kunnr,
    END OF gs_partner.
    DATA: gt_partner TYPE STANDARD TABLE OF gs_partner,
    wa_partner TYPE gs_partner.
    TYPES: BEGIN OF gs_po,
    ebeln TYPE ekkn-ebeln,
    ebelp TYPE ekkn-ebelp,
    vbeln TYPE ekkn-vbeln,
    vbelp TYPE ekkn-vbelp,
    END OF gs_po.
    DATA: gt_po TYPE STANDARD TABLE OF gs_po,
    wa_po TYPE gs_po.
    TYPES: BEGIN OF gs_preq,
    vbeln TYPE vbep-vbeln,
    posnr TYPE vbep-posnr,
    banfn TYPE vbep-banfn,
    END OF gs_preq.
    DATA: gt_preq TYPE STANDARD TABLE OF gs_preq,
    wa_preq TYPE gs_preq.
    TYPES: BEGIN OF gs_po_stat,
    ebeln TYPE ekko-ebeln,
    procstat TYPE ekko-procstat,
    lifnr TYPE ekko-lifnr,
    END OF gs_po_stat.
    DATA: gt_po_stat TYPE STANDARD TABLE OF gs_po_stat,
    wa_po_stat TYPE gs_po_stat.
    *Field symbols
    FIELD-SYMBOLS: <fs> TYPE tj02t-txt04,
    <fs_temp> TYPE tj02t-txt04,
    <fs_stat> TYPE char30.
    START-OF-SELECTION.
    PERFORM fr_build_range.
    PERFORM fr_get_data.
    PERFORM fr_build_fc.
    PERFORM fr_output.
    *& Form fr_get_data
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_get_data.
    *Get SO
    SELECT a~vbeln a~posnr a~pstyv a~matnr
    FROM vbap AS a
    JOIN vbak AS b
    ON a~vbeln = b~vbeln
    JOIN vbpa AS c
    ON b~vbeln = c~vbeln
    INTO TABLE gt_data
    WHERE b~vbeln IN so_so
    AND b~auart EQ c_zor "Only Sales Orders
    AND c~kunnr IN ra_kunnr. "from selection screen
    DELETE ADJACENT DUPLICATES FROM gt_data COMPARING vbeln posnr.
    *get data of the production order
    IF NOT gt_data[] IS INITIAL.
    SELECT a~aufnr a~posnr a~kdauf a~kdpos a~wepos a~elikz
    b~objnr
    FROM afpo AS a
    JOIN aufk AS b
    ON a~aufnr = b~aufnr
    INTO TABLE gt_prd
    FOR ALL ENTRIES IN gt_data
    WHERE a~kdauf EQ gt_data-vbeln
    AND a~kdpos EQ gt_data-posnr.
    ENDIF.
    *Get partner data
    IF NOT gt_data[] IS INITIAL.
    SELECT vbeln posnr parvw kunnr
    FROM vbpa
    INTO TABLE gt_partner
    FOR ALL ENTRIES IN gt_data
    WHERE vbeln EQ gt_data-vbeln.
    ENDIF.
    *Get Purchase Order
    IF NOT gt_data[] IS INITIAL.
    SELECT ebeln ebelp vbeln vbelp
    FROM ekkn
    INTO TABLE gt_po
    FOR ALL ENTRIES IN gt_data
    WHERE vbeln EQ gt_data-vbeln
    AND vbelp EQ gt_data-posnr.
    SELECT vbeln posnr banfn
    FROM vbep
    INTO TABLE gt_preq
    FOR ALL ENTRIES IN gt_data
    WHERE vbeln EQ gt_data-vbeln
    AND posnr EQ gt_data-posnr.
    ENDIF.
    IF NOT gt_po[] IS INITIAL.
    SELECT a~ebeln a~procstat a~lifnr
    FROM ekko AS a
    JOIN ekpo AS b
    ON a~ebeln = b~ebeln
    INTO TABLE gt_po_stat
    FOR ALL ENTRIES IN gt_po
    WHERE b~ebeln EQ gt_po-ebeln
    AND b~ebelp EQ gt_po-ebelp.
    ENDIF.
    *Move data to output table
    LOOP AT gt_data INTO wa_data.
    wa_output-vbeln = wa_data-vbeln.
    wa_output-posnr = wa_data-posnr.
    wa_output-pstyv = wa_data-pstyv.
    wa_output-matnr = wa_data-matnr.
    READ TABLE gt_po INTO wa_po WITH KEY vbeln = wa_data-vbeln
    vbelp = wa_data-posnr.
    IF sy-subrc EQ 0.
    wa_output-bstnk = wa_po-ebeln.
    READ TABLE gt_po_stat INTO wa_po_stat WITH KEY ebeln = wa_po-ebeln.
    IF sy-subrc EQ 0.
    wa_output-lifnr = wa_po_stat-lifnr.
    CASE wa_po_stat-procstat.
    WHEN '01'.
    wa_output-po_st = 'Version in process'.
    WHEN '02'.
    wa_output-po_st = 'Active'.
    WHEN '03'.
    wa_output-po_st = 'In release'.
    WHEN '04'.
    wa_output-po_st = 'Partially released'.
    WHEN '05'.
    wa_output-po_st = 'Released Completely'.
    WHEN '08'.
    wa_output-po_st = 'Rejected'.
    ENDCASE.
    ENDIF. "inner read subrc
    ENDIF. "outer read subrc
    READ TABLE gt_preq INTO wa_preq WITH KEY vbeln = wa_data-vbeln
    posnr = wa_data-posnr.
    IF sy-subrc EQ 0.
    wa_output-banfn = wa_preq-banfn.
    ENDIF.
    READ TABLE gt_prd INTO wa_prd WITH KEY kdauf = wa_data-vbeln
    kdpos = wa_data-posnr.
    IF sy-subrc EQ 0.
    wa_output-aufnr = wa_prd-aufnr.
    *get the purchase requisition for production order as well
    SELECT SINGLE banfn
    FROM ebkn
    INTO wa_output-banfn
    WHERE aufnr EQ wa_prd-aufnr.
    *Get the status of the production order
    PERFORM fr_get_prd_stat USING wa_prd-objnr
    CHANGING wa_output-prd_stat.
    ENDIF. " sy-subrc
    READ TABLE gt_partner INTO wa_partner WITH KEY vbeln = wa_data-vbeln
    parvw = c_we.
    IF sy-subrc EQ 0.
    wa_output-sh = wa_partner-kunnr.
    ENDIF.
    READ TABLE gt_partner INTO wa_partner WITH KEY vbeln = wa_data-vbeln
    parvw = c_ag.
    IF sy-subrc EQ 0.
    wa_output-sp = wa_partner-kunnr.
    ENDIF.
    APPEND wa_output TO gt_output.
    CLEAR: wa_data, wa_prd,wa_partner,wa_output.
    ENDLOOP.
    ENDFORM. " fr_get_data
    *& Form fr_build_range
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_build_range .
    *Range for partner function
    MOVE 'I' TO ra_parvw-sign.
    MOVE 'EQ' TO ra_parvw-option.
    MOVE 'SH' TO ra_parvw-low. " we
    APPEND ra_parvw.
    CLEAR ra_parvw.
    MOVE 'I' TO ra_parvw-sign.
    MOVE 'EQ' TO ra_parvw-option.
    MOVE 'SP' TO ra_parvw-low. " ag
    APPEND ra_parvw.
    CLEAR ra_parvw.
    *Range for ship-to and sold-to
    MOVE 'I' TO ra_kunnr-sign.
    MOVE 'EQ' TO ra_kunnr-option.
    MOVE p_kunnr TO ra_kunnr-low.
    APPEND ra_kunnr.
    CLEAR ra_kunnr.
    MOVE 'I' TO ra_kunnr-sign.
    MOVE 'EQ' TO ra_kunnr-option.
    MOVE p_kunwe TO ra_kunnr-low.
    APPEND ra_kunnr.
    CLEAR ra_kunnr.
    ENDFORM. " fr_build_range
    *& Form fr_build_fc
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_build_fc .
    * sales order number
    afield-fieldname = 'VBELN'.
    afield-seltext_s = 'Sales #'.
    afield-ref_tabname = 'VBAK'.
    APPEND afield TO xfield. CLEAR afield.
    * sales ITEM number
    afield-fieldname = 'POSNR'.
    afield-seltext_s = 'Item #'.
    afield-ref_tabname = 'VBAP'.
    APPEND afield TO xfield. CLEAR afield.
    * Material Number
    afield-fieldname = 'MATNR'.
    afield-seltext_s = 'Material #'.
    afield-ref_tabname = 'VBAP'.
    afield-outputlen = 10.
    APPEND afield TO xfield. CLEAR afield.
    *Vendor Number
    afield-fieldname = 'LIFNR'.
    afield-seltext_s = 'Vendor Num.'.
    afield-ref_tabname = 'EKKO'.
    APPEND afield TO xfield. CLEAR afield.
    * ship-to-party
    afield-fieldname = 'SH'.
    afield-seltext_s = 'Ship-to'.
    afield-ref_tabname = 'VBPA'.
    APPEND afield TO xfield. CLEAR afield.
    * sold-to-party
    afield-fieldname = 'SP'.
    afield-seltext_s = 'Sold-to'.
    afield-ref_tabname = 'VBPA'.
    APPEND afield TO xfield. CLEAR afield.
    *PO number
    afield-fieldname = 'BSTNK'.
    afield-seltext_s = 'PO NUM'.
    afield-ref_tabname = 'EKKO'.
    APPEND afield TO xfield. CLEAR afield.
    *PO status
    * afield-fieldname = 'PO_STAT'.
    * afield-seltext_s = 'Step'.
    * afield-ref_tabname = 'zbacklog_v2'.
    * APPEND afield TO xfield. CLEAR afield.
    *PO step status
    afield-fieldname = 'PO_ST'.
    afield-seltext_s = 'PO.Status'.
    afield-ref_tabname = 'zbacklog_v2'.
    APPEND afield TO xfield. CLEAR afield.
    *Purchase requisition
    afield-fieldname = 'BANFN'.
    afield-seltext_s = 'Pur. Req.'.
    afield-ref_tabname = 'VBEP'.
    APPEND afield TO xfield. CLEAR afield.
    *Item catagory
    afield-fieldname = 'PSTYV'.
    afield-seltext_s = 'Itm. Catg'.
    afield-ref_tabname = 'VBAP'.
    APPEND afield TO xfield. CLEAR afield.
    *Prodcution Order number
    afield-fieldname = 'AUFNR'.
    afield-seltext_m = 'Prod.Order'.
    afield-ref_tabname = 'AFKO'.
    APPEND afield TO xfield. CLEAR afield.
    *PRODCUTION status
    afield-fieldname = 'PRD_STAT'.
    afield-seltext_s = 'Prd. Step'.
    afield-ref_tabname = 'zbacklog_v2'.
    afield-outputlen = 20.
    APPEND afield TO xfield. CLEAR afield.
    *PRODUCTION step status
    * afield-fieldname = 'PRD_ST'.
    * afield-seltext_s = 'Prd. Status'.
    * afield-ref_tabname = 'zbacklog_v2'.
    * APPEND afield TO xfield. CLEAR afield.
    ENDFORM. " fr_build_fc
    *& Form fr_output
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_output .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    * I_CALLBACK_PF_STATUS_SET = ' '
    * I_CALLBACK_USER_COMMAND = ' '
    * I_STRUCTURE_NAME =
    * IS_LAYOUT =
    it_fieldcat = xfield[]
    i_default = 'X'
    i_save = 'A'
    TABLES
    t_outtab = gt_output
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    ENDFORM. " fr_output
    *& Form fr_get_prd_stat
    * text
    * -->P_WA_PRD_OBJNR text
    FORM fr_get_prd_stat USING p_objnr CHANGING p_prd_stat.
    DATA: lt_status TYPE STANDARD TABLE OF jstat,
    wa_status TYPE jstat,
    lv_status TYPE tj02t-txt04,
    lv_temp2 TYPE char5,
    lv_buff TYPE string.
    CALL FUNCTION 'STATUS_READ'
    EXPORTING
    client = sy-mandt
    objnr = p_objnr
    only_active = 'X'
    TABLES
    status = lt_status
    EXCEPTIONS
    object_not_found = 1
    OTHERS = 2.
    LOOP AT lt_status INTO wa_status.
    IF wa_status-stat(1) EQ 'I'.
    SELECT txt04 FROM tj02t
    INTO lv_status
    WHERE istat EQ wa_status-stat
    AND spras EQ 'E'.
    ENDSELECT.
    lv_temp2 = lv_status.
    CONCATENATE lv_temp2 p_prd_stat INTO p_prd_stat
    SEPARATED BY ','.
    ENDIF.
    CLEAR: wa_status, lv_status, lv_temp2.
    ENDLOOP.
    lv_buff = p_prd_stat.
    *Status of Production Order
    IF lv_buff CS 'CRTD'.
    p_prd_stat = 'Not Active'.
    ENDIF.
    IF lv_buff CS 'REL'.
    IF lv_buff CS 'GMPS'.
    p_prd_stat = 'Printed In Prod'.
    ELSE.
    p_prd_stat = 'Printed'.
    ENDIF.
    ENDIF.
    IF lv_buff CS 'TECO'.
    p_prd_stat = 'Technically Compt.'.
    ENDIF.
    ENDFORM. " fr_get_prd_stat

  • Restrict View of quotation only by its creator and not to all users

    Hi,
    There is a team of Marketing users who are responsible to send Quotations to Customers for Sales Inquiry.
    One Marketing User is sending quotation to his generated lead/Customer. Similarly another user is also sending a quotation to his own generated lead/ customer.
    Now, after the quotations are sent, while pulling a report, all marketing users are able to view every Quotation sent to different customers created by different users in one screen.
    We don't want one marketing user to view another marketing user's quotation, since there is a possibility of information leakage (Sale Price-Quote) due to which we are loosing customers. Somebody from marketing team is leaking the information to competitors.
    Kindly suggest a way to control this problem.

    Hi Nabin
    Are you talking about only in report or do you want to control this in VA23/VA22 transactions as well? If you restrict this in report users could watch this in display quotation transaction.
    And also let me know which report you are talking about? Share the Tcodes please. If this is standard one then its better to remove that from user's role and create your own report. Use authority check object in that report and give access to every user so that they can view their own quotations.
    Search the google with authorization check coding. Create an authorization object with ERNAM field and give every user name in every user's role. If this is confusing for you, you could seek help from your technical guys.
    Thank$

  • Restriction of Profit Centre assignment in Material Master

    Hi folks!!
    We have been using two different profit centres number ranges in material master, one with only numbers and the other one with alphabet sufix.
    Now we want to stop material master creator from assigning profit centre with alphabet sufix in material master.
    Please help how to do it

    You can try using the Badi
    BADI_MATERIAL_REF - Addition of customer-defined default data for material
    for writting the logic . You can restric both alpha numeric and numeric also here .
    -Hari.

  • Profit centre needs to be updated in Vendor and Customer line item reports

    We are using ECC 6. 
    Profit centre is updating for vendor and customer line items in document level.  But the same is to be reflected/updated in profit centre field in FBL1N and Reports.

    hi
    Use this T codes you will get Profit center wise  S_AC0_52000888 Paybles (vendor balances )
    Tcode for Profit center wise receviables S_AC0_52000887  (customer balances )
    Regards
    Babu.k

  • How to delete MRP view data after create in Material master data ?

    Hi all ,
          After user  create a useless MRP view data in Material master data , how to remove it ?

    Hi
    Material master once created cannot be deleted.Only thing u can do is to mark it for deletion
    Go to Logistics > Materials management > Material master > Material > Flag for deletion > Immediately.
    Give the necessary data that is needed for the view you want to delete.
    Press and flag the view you want to delete.
    Now the view is flagged for deletion. This means that it's use is limited and it will be cleaned up or really deleted at the next clean up of the system.
    regards
    Anand

  • I need to restrict users to submit data from Smart view or Excel Addin.

    Hi All,
    I need to restrict users to submit data from Smart view or Excel Addin.
    I cant provision them as read access because I want them to write from the Hyperion Planning Web Form.
    Any help on the same will be highily appriciated.

    John,
    Thanks for the reply . if i dont give them essbase write role user cant submit data through smartview or Excel addin. at the same users want to see adhoc reports making connection in smartview through planning, then users can send data.
    1. I want users to restrict export dataform to smartview, if they can export dataform to smartview it automatically makes connection using planning and users can pretty much change data.
    2. is there any way to restrict users making connection through planning in smartview.
    3. when users make smartview connection through essbase, the secuirty works fine and they cant change the data.
    Please let me know if you any solution ....
    advance thanks,
    NM

  • How To Restrict View of Data Per User

    I am designing a reporting application in Discoverer, from Oracle Applications data. We need to show sales data to the sales people - and we would like a single Discoverer workbook to do this - the challenge is that we need to restrict the data so that the salesperson only sees his/her own data, and cannot view other sales data.
    I will need to use this same methodology for the sales managers. Each sales manager will only be able to see his/her direct reports' sales data.
    How would you design this? Could we use a single Discoverer workbook for all sales people - and there be row-level security to restrict the current users' search results?
    Thank you,
    Rich Magee
    Greenwich, CT

    Yes Rich. We have only one workbook for all the stores in our case. You can create mapping table like this
    Table Name: usermapping
    username salesrepid
    john 10
    michelle 20
    If you are using your own tables/views for your reports create a repid column in them and populate accordingly.Assuming that your custom tables is like this
    Table Name: RepInfo
    line# salesrepid region product amount
    1 10 NE S/W 1000.00
    2 20 SW H/W 500.00
    Create a function like this
    CREATE OR REPLACE FUNCTION setparam (name VARCHAR2)
    RETURN NUMBER
    IS
    BEGIN
    /* Setting the session client information to the value of parameter so that this can be accessed
    by the custom folder in the admin edition */
    dbms_application_info.set_client_info(name);
    RETURN 1;
    END;
    Create a custom folder like
    select a.region,a.product,a.amount
    from
    repinfo a,
    usermapping b
    where
    a.salesrepid = b.salesrepid
    and b.username = USERENV('CLIENT_INFO') --gets the username from the above function which sets the username for the database session.
    The input to above function which is username would be passed from report using a calculation item.You can create a calculation item and select the function setparam and give the input to it 'USER' variable which is gives the username of the current session.
    The workbooks passes the username to function and custom folder would get the username from the function.This approach would allow you to pass the username dynamically and use the same report for all the rep's. I'vent tried VPD concept till now.
    Hope this helps.
    Thanks
    Raj

  • Restrict view buiseness area and profit center

    Dear all,
    We have  requirement that for particular user we need to restrict to view only one Business Area ( we have total 6 Business Area )  in standard T-code (e.g FBL3N,FBL5N)
    Please let me know how to do this.
    We tried certain authorization objects, but it won't help us to restrict user.
    Thanks and Regards,
    Abhijit

    Hi Abhijit
    Please check below documentation from help.sap.com:
    "    You can protect the user activities that affect accounting documents from different viewpoints. On the one hand, you can specify the organizational units (such as company code, business area) in which an employee may post or display a document. On the other hand, you can define authorization for posting and processing documents from the point of view of the accounts.
        You should note the following special features of authorization objects for accounting documents:
            With automatic postings, the system does not carry out an authorization check for business areas and accounts. Therefore, these authorizatons only take effect with manually-entered line items.
            Authorizations for document types and business areas are not taken into consideration for display functions and for reporting. That is, line items are always displayed in lists for all document types and for all business areas.
            Line items for which an employee has no authorization are suppressed when displaying and changing documents. The system indicates the missing authorization with a message.
            The authorization check for business areas is carried out when posting and changing documents, but not when displaying them. You use this authorization check for posting and changing, to avoid incorrect entries."
    [http://help.sap.com/saphelp_40b/helpdata/en/d6/eb2c7dd435d1118b3f0060b03ca329/content.htm]
    Please check with functional people on configuration settings as well because I searched and found that in IMG there is option "Activate display authorization for business area" which needs to be activated as applicable.
    I hope in consultation with functional guys you would be able to come up with desired solution.
    Best Regards
    Prashant

  • Need to restrict users from adding or modifying folders or reports

    Requirement: Need to restrict users from adding or modifying folders or reports through Info view and to reflect the modifications only thriough LCM.
    Issue: Customer wants to restrict users from adding or modifying existing reports from Infoview and need to force users to do make the changes through Life cycle manager tool.
    As per my understanding LCM can only be used to to promote folders and objects from one environment to another and to schedule the promotion of these jobs on a daily basis.My query is:
    Can we add or modify existing reports or folders using the LCM tool?
    Could you please help me out in this issue and provide me your suggestions.
    Thanks in advance.
    Prashanthi Rayaprolu.

    You can not restrict that using LCM. Need to modify the rights at the folder level.
    Explicitly remove the following rights for the user group,
    Add objects to the folder
    Edit objects
    Delete objects
    Copy objects to another folder (check this if required)
    Once the above four are denied then users wont be able to Edit/Add/Delete reports in that folder.

  • I need a report of PS Text assigned to Project Definition or WBS Elements.

    Dear Friend's
    I need a report of PS Text assigned to Project Definition or WBS Elements.
    By putting Project Definition or WBS Elements i must get all PS Text & print option is also required.
    How i can do this in PS module.
    Regard's
    Sandeep

    hi pratap,
    on ps texts account, can u pl let me know, how i can restrict using the ps texts assigned to one project, bcos the same ps text can be edited or modified any other user.
    ps texts may be different eg, different excel sheets assigned at wbs elements.
    1. abc project wbs assigned xyz ps text (excel sheet)
    2. zyx project wbs assigned xyz1 ps text (excel sheet)
    the above are used by two different users.
    if abc project user goes thru cj02 for editing the ps text xyz, but at the same time, if this user goes thru pull down list, he can also pick up xyz1 ps text and can do edit/modify. 
    is there any way to restrict thru basis/ps control or authorisations
    my requirement whatever assigned ps text is only has to be changed/modified as & when the user opens project thru cj02
    pl help
    regards
    srihari

  • Need to restrict USER in IR and ID based on SWC and CS

    Hello Experts,
    We need to restrict the USER access in IR and ID based on software Components and configuration scenario's.
    I have already created role in IR and ID and have assigned to the user, but still user is able to see the entire landscape. Can anyone share thier inputs and documents.
    Regards,
    Hiren A.

    Hello Mark,
    I have exactly followed the link which you have shared, but still not able to attain the desired results.
    Do let me know in case you have anyother suggestions
    Regards,
    Hiren

Maybe you are looking for

  • Finder crashed on mac 10.6.8

    i have a mac os x 10.6.8 and my finder crashed. i have shut it down, logged in with the safe boot and nothing has changed. any suggestions on how to get it up and running again?

  • Specifying folder to synchronize for Microsoft Office users

    Hello, We have a couple remote offices with users setup as mobile users. These users are using Microsoft Office which saves a folder in ~/documents/Microsoft user data files The remote offices connect to the main office using a slow connection ( Cabl

  • TS2179 import files from final cut express to idvd

    Import files from final cut express to idvd. When we are making a dvd in iDVD importing the files (widescreen mov files ) from final cut express they automatically change to 4x3. They look correct when played in the quicktime player. Has anyone had t

  • ETRS89 / Portugal TM06

    Hello, I'm trying to add the EPSG:3763 coordinate system, but I'm not able to do so. Using the following: INSERT INTO mdsys.cs_srs VALUES ('ETRS89 / Portugal TM06', 3763, 3763, 'EPSG', 'PROJCS["ETRS89 / Portugal TM06", GEOGCS["ETRS89",DATUM["European

  • Canon Rebel XT

    Is it worth my money and time to refurbish my old Canon Rebel XT? It has taken thousands of pictures and seems to be about worn out.