Authorization for My Own Sales Document

Hi Gurus,
we intend to restrict reporting so that it is limited to my own sales document.
business wise, we need this functionality to keep whole organization pipeline info confidential to the sales staff as it's related to account management.
whenever a sales document has a partner function person responsible maintained with my employee number, i will be authorized to generate the BIW report. on the other hand, if the person responsible in the sales document is other sales person, i will not be authorized to generate the report.
is there any authorization object to control this kind of restriction?
as we have lots of sales staff, we also avoid creating one job role for each sales staff.
any lead is really appreciated.
Regards,
JD

Hi JD,
Yes you need to create and authorization object in RSSM and select for which all the info providers you want to use the Auth obj.
Ex: i want to restrict my reporting users to the sales doc, and comp code.
1.Check the auth relevent for these info objects in Bex tab
2.Create auth objects for sales doc and comp code
3. check the info providers you want to restrict.
4. Create a role for Sales doc, in the change profile select the value for sales doc which i want to restrict to the user. ex :1001
5 Create a role for comp code,in the change profile select the value for comp code which i want to restrict to the user. ex :ABC.
6. Generate the auth object.
7. Check in RSSM for auth obj, for a given user.
8. check the values according to the roles assigned by you.
9.Generate the Auth obj.
10.go to rssmq -- > give the user -> select the query & run-> check for the desired results --  > come back F3 ---> check the log for the Auth objects hitting.
Cheer's
HVR.

Similar Messages

  • Fiding valid idoc for the given sales document

    hi,
          Please send me the code for the 'finding whether valid IDOC  exists for a given sales document'..
    It is very urgent.....................
    Thanks in advance............

    If you are not familiar about manual steps check below..or else you can read directly from EDIDS table, just straight forward selection.
    VA02 or VA03
    >From menu>click System
    -->Click service for object
    -->Click Relationship
    -->You will see idoc number in case if order created from idoc
    Thanks,
    Narayan

  • Credit release time for a given sales document or delivery doc...

    Hello Experts,
    I need to get the credit release time of a given sales document or a
    delivery document. What table can I get this info? Thank you guys and take care!

    Hi
    I think there won't be a SAP table field with the description
    'credit release time ' can you be more clear about the field you need?
    But you can check the VBAK and VBAP for SAles order related data
    and LIKP and LIPS for Delivery related data
    Reward points for useful Answers
    Regards
    Anji

  • FM for unlocking the sales document

    Dear all,
               I need to know if there is any function module which unlocks the sales document.I have a problem with CRM system,it creates the sales order thr bdoc but with another material and the sales document cannot be opened in the edit mode.I tried using DEQUEUE_EVVBAKE.But its also not working may be i am passing the wrong parameters to this FM.Please help me out.
    Reward points are Guaranteed

    Check the below thread .
    Lock Objects
    Regards,
    Maha

  • Can wevcreate an LSMW for deleting the sales documents

    Hi All,
    Is it possible to create the LSMW to delete open sales orders?
    If yes,
    Which menthod is suitable and why....plz let me know.
    Thanks in advance,
    Praveen

    Hi All,
    Thanks for the inputs. I was able to create a LSMW in the develpment box of our system.
    Now my question is how do i transport my LSMW to Quality system?
    Is LSMW transportable?
    Wht is import and export option in LSMW?
    Please let us know if you guys know about it.
    Thanks in advance.
    Praveen

  • No authorization for a sales document

    Hello,
    We are facing a strange issue. We have some sales orders. When user is trying to Access VA02 and modify a contract, We are getting an error as "No authorization to change this sales document". We could change some sales orders. We have observed two things here,
    A) if a sales order has items in it,--> "No authorization to changes this sales document"
    B) if a sales orders has no items in it --> "No problem with the authorization, we can modify the order".
    Document type used for this sales order is ZC02. We have given ZC02 in role and 01,02,03,43,C1 and C2 activities in the roles along with proper Org values. still we are not able to open the sales order with change mode.
    Could you please  help me resolve this issue??

    That is a custom authorization object and not a standard SAP one, right? My guess, in that case, is that the code that implements that auth object, presumably in a user exit or BAdI in VA02, is incorrect. That must be your code - time to speak to the person that wrote it?
    Steve.

  • Billing block for customer for sales document type OR

    Hi
    I want to block a customer for a particular sales document type OR
    How to do it?
    Regards

    Hi Nikhil
    There is a field called "Check Partner Auth.", but it is necessary to create the order from a contract. This field is in sales document customizing VOV8.
    SAP Documentation:
    Check partner authorizations
    This check determines whether a partner is authorized to release against a contract.
    Procedure
    Here you can specify whether the check is to be performed against the partners in the contract or the partners in the customer hierarchy. If you do not want the check to be performed, leave the field blank.
    When you create a release order for a contract, the system determines whether a partner is authorized to release against the contract. The check is performed at header level. Depending on the rule you enter in this field, the system checks against one of the following:
    Partners in the contract
    If the partner has the partner function AG (sold-to party) or AA (sold-to party authorized to release) in the contract, the system accepts the partner as the sold-to party for the release order.
    Partners in the hierarchy
    If the sold-to party of the contract is at a higher level in the customer hierarchy to the partner who wants to release against the contract, the system accepts the partner as the sold-to party for the release order.
    Note
    If you create a contract with reference to another contract, the system does not run a check and it copies all the partners created in the target contract. If you do not want it to do this, use copying control in Customizing to change it.
    Regards.
    Mikel

  • Immediate Transfer Order Creation not occuring for Sales Document Type

    Hello gurus,
    I have a situation where a transfer order is not being created immediately for a specific sales document type.
    Here is an example document flow of a desired scenario where the system is working:
    Sales document type:  ZOR
    >  Delivery type:  LF
    >  WMS transfer order
    The Item Category in this scenario is TAN.
    Here is an example of the document flow in the current scenario where the system is not working:
    Sales document type:  ZPRD
    > Delivery type:  LF
    The Item Category is also TAN in this scenario.  The only identifiable difference in these scenarios is the sales document type.  For the ZOR SaTY, a Transfer Order prints immediately once the delivery is created.  For the ZPRD SaTY, a Transfer Order needs to be manually created after delivery creation.
    Is there a configuration setting that is controlling this?  Any help would be greatly appreciated.

    Thank you very much for the link.  When I insert the WMTA output type in the delivery output header, the Transfer Order is automatically created.
    The problem I'm running into now is the configuration setting that controls this.  I thought I figured it out when going to this IMG path:
    SAP Customizing Implementation Guide  -->  Logistics Execution -->  Shipping -->  Basic Shipping Functions  -->  Output Control -->  Define Print Parameters Shipping
    When selecting the Delivery Note, the shipping point I was using was not configured in this location.  I added the shipping point into this transaction, saved, and created a new order & delivery.  However, the WMTA output type still was not automatically inserted into the delivery when saving.  Is there another location I should be looking to fix this so that when I enter an order with a particular Shipping Point, the WMTA output type automatically appears in the delivery?

  • How can I get the correct Ship To (KNVP-KUNNR2) for a Sales Document?

    I am trying to generate a report that will (among other things) display the Ship To ID and Name for a given Sales Document.  I know the following information:
    VBAK-VBELN - Sales Document
    VBAK-VKORG - Sales Org
    VBAK-VTWEG - Distribution Channel
    VBAK-SPART - Division
    VBAK-KUNNR - Sold To Party
    I know that the table KNVP will return a list of Ship-To Customer numbers (KUNNR2) for a Sold-To Customer (VBAK-KUNNR) if I also filter by VKORG, VTWEG, and SPART (using SE16N).  What I don't know is which one of the returned values is being used in a particular Sales Document.  The customer in question has 29 Ship-To locations.  How do I find out which Partner Counter (KNVP-PARZA) the Sales Document uses? I don't know where that value would come from.  Once I can get the correct Ship-To Customer Number, I should be able to search the table KNA1 by WHERE KUNNR = KNVP-KUNNR2 and return KNA1-NAME1 for the Name of the Ship-To location.

    For a sales document?  Use VBPA with PARVW = 'WE'.  Also, use the ADRDA field to determine whether the address on the document has been manually changed.  In any case, you can use one of the many address management functions or just ADRC directly to get the name, address, etc., using the ADRNR field from VBPA or if the address is from the customer master, KNA1.

  • Multiple Partner Functions for a Sales document Item

    Hi,
    Can you please advise on modeling scenario for showing multiple partner functions for a given sales document in BI Report ..
    Because Key figure values should not be distributed for multiple records just becos of multiple partner functions but users want to see them in the reports along with sales doc and key figure
    I am explaining bit more clearly...
    I can achieve above requirement by having below model ..
    SDOC     ITEM  PF1  PF2  PF3  AMOUNT
    1000       10      AB    CD   EF    50000
    PF : Partner Function
    but as I feel it is a complicated task  to add more and more columns fro partner functions as and when new partner functions have been added or requested to show by users at sales doc level...
    So Can you please advise a better solution to meet the same requirement.
    Thanks & Regards,
    BRK
    Please advise me on this scenario
    Thanks & Regards,
    BRK
    Edited by: BRK on Jul 22, 2008 9:19 AM
    Edited by: BRK on Jul 22, 2008 9:29 AM

    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A1_______________$1000
    80000_________10_____________A2_______________$1000
    80000_________10_____________A3_______________$1000
    This will be the normal display in the cube if there is only one Partner Function.
    But what we need is
    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A1_______________$1000
    80000_________10_____________A2_________________' '
    80000_________10_____________A3_________________' '
    The Amount (KF) should be populated only for the first record for a SalesDoc / Item combo.
    You load data from source to the ODS, say delta.
    Suppose that the below record is already available in the ODS.
    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A1_______________$1000
    And you get the following data as DELTA in the Data_Package from the source.
    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A2_______________$1000
    80000_________10_____________A3_______________$1000
    If you populate the Amount again for these 2 records, then the total would sum to $3000, which is wrong.
    So what we do is,
    Write a Select stmt for ALL ENTRIES in Data_Package and fetch the records from the target ODS. Have it in an Internal table, say t_ODS1
    Take the SalesDoc / Item from the Data_Package and chk if it is present in the internal table t_ODS1.
    If it is present, then populate the Amount as ' ' (Blank)
    Else populate the Amount as $1000.
    Say, you are getting 3 new records, which is not present in the ODS1.
    In that case, your internal table t_ODS1 will be blank.
    Now again, we need to populate the Amount only for the first record among the 3 records.
    So, here comes the "Flag".
    Set the Flag as X, when we populate the Amount.
    Everytime chk the Flag <> X.
    Only if it is <> X, populate the Amount.
    Else Leave it Balnk.
    Hope I have explained in detail
    Regards,
    Balaji V

  • A FM for the Sales Document Flow ...?

    Hi Friends;
    I know that the Sales and Distribution Flow is kept in table VBFA .? But is there a ready function module that gives me the shipment note number  and invoice number taking reversals into consideration and giving the actual and final flow of sales order item ?
    for example : input     SALES Document : SD001 item 10
                        output   shipment Notice    : 8000001 item 10
                        output   invoice number      : 9000001 item 10
    Kind regards.
    Erkan VAROL.

    Hi,
    look for example to BAPI_SALESORDER_GETLIST
    CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
    Please check table VBFA. It contains all the information about document flow in SD.
    Check the example program below, it is not a function call, it is a dialog call.
    (Or)
    report zrich_0001.
    data: xvbco6 type vbco6.
    data: xvbak type vbak.
    parameters: p_vbeln type vbak-vbeln.
    clear xvbco6. clear xvbak.
    select single * from vbak into xvbak
    where vbeln = p_vbeln.
    move-corresponding xvbak to xvbco6.
    call dialog 'RV_DOCUMENT_FLOW'
    exporting
    vbco6 from xvbco6
    ivkorg from xvbak-vkorg
    ivtweg from xvbak-vtweg.
    Regards

  • How to release user status for sales documents automatically

    Hi All,
    We have configured status profile for third party sales document type. This will stop creating PR from sales order. After chaning the status from STP to GO, system will create PR. But the problem here is user is going and changing the object status manully.
    The business wants to release at a time many records automatically. Do we have any transaction code which we can use for changing the user status automatically for many orders?
    We have tried V.26, but this is just report we can not change the status automatically,
    Thanks in advance!
    Regards
    Lakshmikanth

    Hi,
    No standard program exists for it, as statuses are always customized.
    create a BDC program for status change and run in backgram as batch job.

  • Billing block for a sales document

    hi
    how can we assign automatic billing block for a particular sales document.
    Thank you

    Hi srinivas
    go to  VOV8 ,  and assign to that particular sales document type., in the billing tab automatically it will affect in the sales order for that sales documents. but if you  want to go only for a particular sales document you have to either enter manually and save it
    bcoz if you assign to a particular sales doc  type , it will block all sales documents created with that sales doc  type and it will affect the other modules also.
    if the billing block has to be triggered automatically , in your sales order without affecting your sales doc type then you need to use USER EXITS
    reward if useful
    Regards
    Srinath

  • Authority-Check for Sales Document Type

    Hi All...
    I would like to incorporate Authority-Chack for the field Sales Document Type "TVAK-AURT"...
    Can any one give me the sample code or exact code..?
    I have written Authority-check for Sales Organization as follows...
    authority-check object 'V_VBAK_VKO'
                     id 'VKORG' field i_sales-vkorg
                     id 'VTWEG' field '00'
                     id 'SPART' field '00'
                     id 'ACTVT' field '03'.
            if sy-subrc ne 0.
            delete i_sales.
    BUT HOW TO WRITE FOR V_VBAK_AAT..??

    Please check object: <b>V_VBAK_AAT</b> for the same.
    EG:
    authority-check object 'V_VBAK_AAT'
    id 'AUART' field L_AUART
    id 'ACTVT' field '03'.
    Kind Regards
    Eswar
    Message was edited by: Eswar Rao  Boddeti

  • Article number is missing for a sales document in VBAP table compared to BW data.

    Hi,
    We are loading data from 2LIS_11_VAITM and 2LIS_11_V_SSL to 0SD_O01, when we execute a report based on this DSO we are getting Article number 2224859 (for example) for sales order 573345 (for example) but when we check in VBAP/VA03 for the same sales order/document (573345)  we don't have the Article Number.
    It is delta load to the DSO from the two datasources and will executed daily once.
    Please suggest me any one on this.

    All,
    Thanks for your replys.
    Here are the more details about this.
    We are using 3.X flow in BW. (3.x Data sources)
    In BW                                           Mapping                In ECC     
    0DOC_NUMBER    Sales document  ----------->  VBELN          Sales Document
    0MATERIAL           Material  -----------------------> MATNR           Article Number
    In VBAP table, I have entered Sales document 573345 and executed then I got so many Article Numbers and Filtered with Article Number 2224859 then got no data.
    As I told earlier in BW for the same Sales Document number we have Article Number.
    We have start routine.
    PROGRAM UPDATE_ROUTINE.
    *$*$ begin of global - insert your declaration only below this line  *-*
    *$*$ end of global - insert your declaration only before this line   *-*
    * The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS2LIS_11_VAITM.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    *$*$ begin of routine - insert your code only below this line        *-*
    * fill the internal table "MONITOR", to make monitor entries
      LOOP AT DATA_PACKAGE.
        IF DATA_PACKAGE-doc_categ NE 'C' AND
           DATA_PACKAGE-doc_categ NE 'I'.
          DELETE DATA_PACKAGE.
        elseif DATA_PACKAGE-recordmode eq 'R'.
          DATA_PACKAGE-recordmode = 'X'.
          modify DATA_PACKAGE.
        ENDIF.
      ENDLOOP.
    * if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    *$*$ end of routine - insert your code only before this line         *-*
    ENDFORM.
    I think there is no much more lookups. ( I don't have much knowledge in ABAP)
    I have checked in another tables also like VBFA VBAG VBAK, VBKD, VBUK and VBUP but in those tables I don't have Article (MATNR) field.
    One more Question.
    Can any one tell me how the Queued Delta mechanism will work.
    As of now I know that, when ever any changes have been done to the tables this will pickup the changes and move into LBWQ after that RSA7.
    My Question is, If some one has forcefully deleted one Article number from the table for a Sales Order then this Queued delta will pick that also?
    Please let me know If you need any more details

Maybe you are looking for

  • G4 +23" CD Not keeping resolution after reboot

    Heya folks I have a powerbook g4 and a cinema display 23". I have been using the 2 of them together without problems, but I recently installed some of the apple service updates and after doing so I am having problems with with the external monitor. I

  • ORA-01116 - I've deleted a dbf file

    Hi, I tried to shutdown immediate the server. This is hanging. Can someone help? thx

  • Flash 9 won't install, mac osx

    I need help! I downloaded the trial version of Flash 8 and tried to install, it began at 8755 items and went down to 109 where it stalled. I had to force quit the application to get out of it. I contacted Adobe, they sent me instructions that fixed t

  • User Exit when i am saving notification in IW21(Create PM Notification )

    Please give a correct exit name I tried all this but control not going inside the exit. IWO10026           IWO10027           IWOC0001           IWOC0002           IWOC0003           IWOC0004 QQMA0024           Thank you Kumar

  • Cannot Paste? ZEN Vision M Series Media Explo

    Has anyone else been able to move a file from within the Vision M, using media explorer. I cannot drag and drop, cut / paste nor right click cut / paste to move a file from one folder to another. This is with ZEN Vision M Series Media Explorer 5.2.06