Authority check at field level in the sales order

Dear all, our business requirement is the following:
only some users should be able to see the prices (including netwr, netpr,...) in the sales order depending on the authority check performed on the sales group field.
This means that for an order of sales group 'A':
a user of sales group 'A' can see the prices and change the order, a user of sales group 'B' cannnot see the prices but can change the order, a user of sales group 'C' can display the order but cannnot see the prices.
I ask you if such a scenario can be realized in SAP.
We currently run SAP ECC 5.0.
thx all !
bye Roberto

Hi
In general different users will be given different authorizations based on their role in the orgn.
We create ROLES and assign the Authorization and TCODES for that role, so only that user can have access to those T Codes.
USe SUIM and SU21 T codes for this.
Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction.
If you wish to protect a transaction that you have programmed yourself, then you must implement an authorization check.
This means you have to allocate an authorization object in the definition of the transaction.
For example:
program an AUTHORITY-CHECK.
AUTHORITY-CHECK OBJECT <authorization object>
ID <authority field 1> FIELD <field value 1>.
ID <authority field 2> FIELD <field value 2>.
ID <authority-field n> FIELD <field value n>.
The OBJECT parameter specifies the authorization object.
The ID parameter specifies an authorization field (in the authorization object).
The FIELD parameter specifies a value for the authorization field.
The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
http://help.sap.com/saphelp_nw04s/helpdata/en/52/67167f439b11d1896f0000e8322d00/content.htm
To ensure that a user has the appropriate authorizations when he or she performs an action, users are subject to authorization checks.
Authorization : An authorization enables you to perform a particular activity in the SAP System, based on a set of authorization object field values.
You program the authorization check using the ABAP statement AUTHORITY-CHECK.
AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
ID 'ACTVT' FIELD '02'
ID 'CUSTTYPE' FIELD 'B'.
IF SY-SUBRC <> 0.
MESSAGE E...
ENDIF.
'S_TRVL_BKS' is a auth. object
ID 'ACTVT' FIELD '02' in place 2 you can put 1,2, 3 for change create or display.
The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
This Authorization concept is somewhat linked with BASIS people.
As a developer you may not have access to access to SU21 Transaction where you have to define, authorizations, Objects and for nthat object you assign fields and values. Another Tcode is PFCG where you can assign these authrization objects and TCodes for a  profile and that profile in turn attached to a particular user.
Take the help of the basis Guy and create and use.
<b><REMOVED BY MODERATOR></b>
regards
Anji
Message was edited by:
        Alvaro Tejada Galindo

Similar Messages

  • Adding Variant in Header Level in the Sales Order

    Field "Card Verification Value" (CVV) is part of the Standard from Support Package SAPKH47028 onwards. But if you like you can use a variant for screen SAPMV45A4440 and set
    field "Card Verif.Code" to invisible in this variant.
    This is the reply from SAP after implementing the new support pack. Now there is an additional field in VA01 that I am trying to remove.
    I can add the variant in Table Settings but that is on Item Level in the Sales Order (VA01). How do I do it in Header Level?

    Hi,
    Go to SHD0 ,write down the Transaction code , transaction variant then go to Tab " With Processing'.
    Now you will be in T Code VA01 ,press enter and you will get all the variants maintained in Header Level.
    Now you can activate / deactivate as per your requirement.
    Best Regards,
    Ankur

  • Rename the Field Label  in the sales order application.

    Hi,
              Please suggest me how to rename one of the field name in the sales order application.
            I have add a new field called YOUR_REF_SHIP and simultaneously have to  rename it from your reference to Carrier Account No. this field  is available in the filed group SLO_DETAILS_GENERAL1.
             This field is located in the General data tab of the sales order application.
    I have created the Text Key in the Define Interface Texts and used the same text key in the Rename Field Label, but it is not working.
    and i dont want to change it with the CMOD transaction.
    Please suggest me where i have went wrong.
    Thanks.
    Anilkumar

    Hello Anil,
    The field groups are to be regenerated.
    However, I have done a similar thing and in the past, the layout generation helped me. In the recent example, the name is not reflected as per the interface text.
    Let me know if you find anything on this.
    Regards
    Priyanka

  • Authority check at field level in sales order

    Dear all, our business requirement is the following:
    only some users should be able to see the prices (including netwr, netpr,...) in the sales order depending on the authority check performed on the sales group field.
    This means that for an order of sales group 'A':
    a user of sales group 'A' can see the prices and change the order, a user of sales group 'B' cannnot see the prices but can change the order, a user of sales group 'C' can display the order but cannnot see the prices.
    I ask you if such a scenario can be realized in SAP.
    We currently run SAP ECC 5.0.
    thx all !
    bye Roberto

    Hi agree with Jan and Auke,
    To my knowledge it is object V_KONH_VKO which you are looking for. See the documentation in SU24 - SD class.
    But whether or not that will influence the visibility / editability of the screen in VA02 etc when turned the check on in SU24, I am not sure.
    If not, search the forum for topics relating to "transaction variants", "variant transactions" and "screen variants" to see whether those solutions will fulfill the requirement.
    Cheers,
    Julius

  • ATP Check at Delivery Level instead of Sales Order

    In Standard SAP, whenever a sales order is created the ATP check is done and a Goods movement 601 is done for it and gets blocked.
    I want that no movement to be carried out at Sales Order Level and should get blocked only at the Delivery level, instead of Sales order.
    Can i do this by not defining any movement type in the schedule line category attached to the Item category of the sales order.

    hi amit,
      u cannot remove MT assignment to SLCAT ,but what you can do is for your checking group and checking rule remove the ATP check relevancy in requirement class defination in spro customising >sd>availibility and TOR.
      so that in VOV4 transaction for your SLCAT atp will be deactivated.
    only while posting material doc at the time of PGI system would check for availibility and block the goods movement.
    reward if helps !!!!!

  • Incompletion log Profitability Segment at item level in the Sales Order

    Hello Sapians,
    We recently activated the "Sales Order value flow to COPA". When we create the Sales Orders the Profitability segment for the item is getting picked up automatically and have no issue in saving the Sales Order.
    But when we edit the Sales Order and then try to save it, Sales Order has incompletion log which is leading to Profitability segment in the item level.
    When I click the little box in Sales Order Item > Account Assignment tab> Profitability Segment forward arrow--> "continue" or "derivation" in the populated screen, then the Forward arrow in the profitability segment is deriving the characteristics, then system lets us to save the Sales order with out any incompletion log.
    I checked the OSS notes 114520, in this OSS note, my sitiuation is exactly first point but could not get any clue how to resolve automatically.
    Why it is happening only when we edit the Sales Order? How to update bulk of Sales Order automatically?
    Any inputs?
    Thank you.

    Hi
    Since you have activated the Sales order flow to COPA, any change in the sales order triggers a Prof Segment redetermination.... Thats why you are able to save it once you redetermine the Prof Segment....
    Ideally, if no Chars like Plant/Org Elements/etc are changed - It need not trigger the Prof Segment redetermination...
    Refer  Note 729381 - When is a profitability segment supposed to be determined?.... With ref to this note, raise an OSS msg to SAP and check if it is possible to avoid the redetermination of PSG as long as none of the relevant chars are changed in the sales order....
    There is a similar issue in MTO where by, even if you change the Header text of sales order, it triggers the Sales order cost estimate.... SAP provided a note to stop this... Note 1548608 & 1260868.... Your case is similar to this.... Raise an OSS to SAP and ask them if they can provide such a note for your case.... I feel, it should be possible for SAP to give this!
    br, Ajay M

  • Dates fields issue in the sales orders through IDOC

    Hi all,
    I'm trying to create a sales order through Inbound IDOC using IDOC_INPUT_ORDERS.
    I have 2 custom fields in the sales order which are date fields.
    I'm populating them from the IDOC segments(using E1EDKT1-tdid, E1EDKT2-tdline) in the user-exit just before the call trasacation statement. These dates are not coming for a few orders... but are getting populated normally for few of them.
    But the tricky part is that... if I process the same IDOC for the second time.. the order created is having the dates.
    My issue is that.. i need all the orders to be populated with the dates which IDOC have.
    Could anyone please help me with this issue.
    All the answers/replies are highly appreciated!!
    Thanks for you help!

    hi,
    the following may be of help
    There are 2 major exceptions to the batch input internal table. All text data from the segments E1EDKT1/2 and E1EDPT1/2 are not part of the batch input session. Text elements from these segments are posted directly to the data base AFTER the sales order has been created (please note: in order that item texts are posted correctly to the sales order the field POSEX from segment E1EDP01 MUST be transmitted). Also, configurable material information from the IDOC is exported to a global memory and therefore will not be part of the batch input session. Configurable material data is performed in Form CHECK_CONFIGURATION and the data is exported to global memory in the following code:
    Exportiert IDOC Daten ins globale Memory     
    export IDOC data to global memory            
      call function 'CUXC_IDOC_TO_MEMORY'          
           tables                                  
                cfg_instref = xe1curef             
                cfg_ref     = xe1cucfg             
                inst        = xe1cuins             
                part_of     = xe1cuprt             
                value       = xe1cuval             
           exceptions                              
                error       = 1                    
                others      = 2.                   
    One extra piece of useful infomartion if you wish to debug the process is to set your breakpoints at the following points
    for Function module IDOC_INPUT_ORDERS
    include LVEDAF0F..
      CALL TRANSACTION 'VA01' USING bdcdata
                                MODE  input_method
                                UPDATE 'S'
                                MESSAGES INTO xbdcmsgcoll.
    Now input_method is A foreground process and N for background processing but try changing it to P (pass through mode)
    If you have breakpoints in va01, e.g. MV45AF0B_BELEG_SICHERN,(the part where the sales document is saved)
    they will be hit, e.g
    perform userexit_save_document_prepare.
    perform userexit_save_document.
    Lastly, don't forget using program SDJEDI , see note 380603 for more information on this
    Hope this is useful
    Paul Quinn

  • In Sales Order form populate charges field after saving the Sales Order

    Can we populate Charges field in Sales Order form after saving the sales Order automatically.
    The charges to be calculated based on the amount entered and the item selected in Sales Order.
    In the Manual process it is done by hitting the Actions Button and then select the Charges.
    The charge type would be "Freight Costs"

    by using process_order API, I am able to update the charges field.

  • Field missing in the sales order.

    Hi Experts,
    We have notification for which the sales orders are created.
    Whenever some changes are made in the notification they get reflected in teh sales order once u open it an save it again.
    But this time when we made some changes on the notification and hence opened and saved the sales order along with reflecting the changes in the sales order as per the notification one crucial field got cleared.
    But we are not able to trace how is this field getting cleared.
    We have tried creating new sales orders and again tried the same changes  but this time no field got cleared and everything is fine.
    But the original sales order still have the field blank which is important.
    Please advice.

    Hi,
    The copying controls are same as for other notifications.
    We have tried creating sales orders without changing the copy controls. But this prob has not occurred with the sales orders we are creating now. But the prob that has occured in case of original sales order still persist.
    Please advice.

  • Availability Check at Multiple Plants for the Sales Order line Item.

    Hi Friends,
    We are having two plants, Plant A and Plant B. Plant A is used to issue the orders to the vendors and stock them, while Plant B is used to manufacture the Product and Stock.
    When we create the sales order, we want to check the Current Stock Plus Incomming Purchase order stock for plant A and also check current stock plus Production orders in plant B.
    for ex if the current stock is 100 in Plant A and No physical stock in Plant B but there are some production orders for 400 Qty which will be ready in 1 week.
    If i create a sales order for 500 qty which is scheduled for delivery 10 days later.  then we want to commit to the customer ( Looking at both the plants stock situation )  the system should check the stock availability for both the plants and automatically create two different line items , Line item 1 for plant A and line item 2 for plant b.
    I know there is a user exit for Multiple plant selection USEREXIT_PLANT_SELECTION  in program RV03VFZZ. The Description of the USer exit says ( This user exit may be used to provide a list of plants for which availability is to be checked)  But we have never used this one. Will this user exit do exactly what i want ??
    Did any of you, have used the above User exit in your implementations ? If so please let me know whats the purpose of this user exit
    Your reply is much appreciated.
    Thanks & Regards
    Srinivas

    Hi
    I dont know about the userexit which you are referring about
    But this is not available in R3 The system makes a Availability Check only in the plant which has got determined in the item details shipping tab and stops there
    The same is available in APO
    If there are 2 plants say 1000 and 2000
    In sales order the plant determined is 1000 and there is no stock
    In R3 system stops there
    But in APO  system checks the plant 2000 and if stocks are available it creates an STO in the background automatically from 2000 to 1000 if configured accordingly
    Even if the material is maintained in 10 plants the system will make a  Availability Check at all 10 plants and act accordingly
    Regards
    Raja

  • I wish to modify the name of one of the field name in the sales order.

    HELLO GURRRUS,
                 i wish to modify teh name of one of the field name in the sales ordder.
    what is the procdure,path and steps involved in that.it would be of great help of me if u take some  time and suggest me.
    bye take care hav a happy and peaceful life

    Hi Sameer,
    If you want to change the name or description of the field in the Sales order,
    you have to use the userexit MV45AFZZ and use the Form USEREXIT_FIELD_MODIFICATION.
    Get the help of the ABAPer and decide where do you want to make the change in the Header or the Line items.  Accordingly give the requirements to the ABAPer.
    He will do it.
    Thanks
    Augustine Ponraj

  • How the availiblity check is carried out during the sales order creation

    Hi All,
    I have maintained planned delivery time, GRProcesing time and replenishment lead time in days in material master. I am not understand ing how the system is calculating the availability date of the material during sales order creation.
    Please do needful regarding this.
    Regards
    Phani

    Hi,
    Using the Scheduling data from Delivery & Transportation Scheduling, the system does the backward calculation from the Requested Delivery Date. This is used to arrive at Material Availability Date.
    On the Material Availability Date, system checks the Available Qty, as seen in CO09 in column ***. ATP Qty. If the Available Qty is > than Required Qty, Requested Delivery Date is confirmed. Otherwise,
    System moves into the future till it finds the required Available Qty. The new date is then the new Material Availability Date.
    On getting the confirmed Material Availability Date, system does the Forward Scheduling to arrive at a Confirmed Delivery date.
    Regards

  • Final price of the Sales Order calculation on payment term

    Hi,
    Out Business requirement  as follows.
    1) one ZNAP pricing condition will be maintained by the monthly wise by business for pricing. this is a  statistical condition only checking at sales order level only. this condition will check with Final price of the Sales order.
    Now the requirement is
    1) based on payment term of the Sales Order. plus if its a credit payment if the its CASH payment. these deduction should be added to ZNAP condition, and same will calculate with Final price, while creating Sales order.
    For Example:
    ZANP condition maintained  1000 USD.
    while creating the SO:
    If the payment term of the customer: PT30, ( it means payment with be in 30 days of the bill creation date)
    system should do the below calculations
    1) Scenario
    Sales Order: Final price :                                       1500  USD( maintained by the Sales User while creating the SO)
    ZNAP price                      :                                    1000  USD
    according payment term 30 days                            20 USD ( as per table maintenance for calculation of the payment term.)
    Calcuation:                                                          1000+20= 1020 (approximate need to add as interest rate)
    Then final it should display final price 1500-1020= 480 USD.
    2) Scenario:
    If the payment term Cash:
    ZNAP                                                            : 1000 - 20= 980 ( approximately and deduct, from the condition due to cash payment its like discount)
    calucalte"                                                       1500-980= 520 difference
    this purely internal pricing calculation with final price...
    pl let me know how to get this in the pricing. and payment could be 30 days, 45 days 60 days etc.
    Thanks.

    Hi M Sham,
    I believe your requirement can not be met with Standard pricing and you will have to create Routines for getting this result.
    From scenario I believe you will be doing below points:
    You should Create Z-Table with Payment Term and respective rates against those payment Term.
    You should create a statistical condition type(Ex. ZNP1) and create Calculation Type routine with Logic to get KOMK-ZTERM field and derive value from Z-Table and update XKWERT field.
    Calculate addition of ZNAP and ZNP1 (With +ve or -ve Signs)
    And then again make deduction of derived value from Finale Value.
    Do let me know if I have misunderstood your question.
    Regards,
    MJ.

  • Mass delivery block in the sales order

    Hi
    Is there any way to remove the delivery block at the itel level in the sales order using the mass.
    I have some thousand of sales orders with the delivery block at item level.
    please let me know, this is urgent requirement.
    Thanks
    Aravalli

    Dear Aravali
    If I am correct, you cannot assign delivery block in sale order at item level, but can assign Reason for Rejection at item level.  Only at header level, delivery block is there.
    Nevertheless, if you want to remove the reason for rejection, go to MASS, input BUS2032 and execute.  There select [Sales Order Item Data]  and click on Fields. Select the field MASSVBAP-ABGRU and execute.  Give the required sale orders which you wanted to change and execute.  You can change and save so that the block will be removed at item level.
    Alternatively, if you are referring to field [LIFSK]  in that case also, select Sales Order Item Data and click on Fields.  There choose the field MASSSDHEAD_S-LIFSK and execute.  Make the required changes and execute.
    thanks
    G. Lakshmipathi

  • Table : Production Order in the sales order

    Hi,
    When can we found in the tables of the sales order the link to the PO numer.
    And, In which field screen in the sales order document we can find the order number.
    Thanks for yur quick answer.

    Dear Omar,
    tables of the sales order the link to the PO numer
    Table: VBKD
    Field: BSTDK
    Screen: 4001 (if, for Incompletion Log, maintain as KBES)
    In which field screen in the sales order document we can find the order number
    Table: VBAK
    Field: VBELN
    Screen: 4001
    Best Regards,
    Amit

Maybe you are looking for

  • Can I restore my iPad from a sync/backup that was made on a different computer but copied to my current one?

    I regularly sync my iPad with my mac by plugging it in with the USB cable and hitting the "Sync" button in iTunes. Until recently, I had a computer with Leopard that just died. Luckily I had a backup of everything, including my iTunes folder, on an e

  • Can't open Adobe cs5.5 .dmg on a 15inch MacBook Pro Retina screen

    Hi there, Hopefully someone can help. I recently bought a 15inch retina screen new macbook pro after my old one started to die last week - I bought Adobe cs5.5 a few years ago and I'd really like to be able to install in on the new laptop so I can ge

  • Boot camp 2.1 problems, win xp pro sp3

    I have just bought a MBP, 17" and I am running Windows XP Pro, Service Pack 3. With the included boot camp driver everything except the function keys worked. Although the (fn+backspace = delete) worked, no other function keys worked (can't raise or l

  • How to create the good received list before actual goods receipt?

    Hi, Current process at client's end. 1)Shipment arrives from vendor 2)Warehouse prints the reception note (with the system generated no.), based on the purchase order (usually referenced on package or vendor paperwork) 3)Warehouse confirms the correc

  • XRPM 2.0 - cProject Object Link

    Hi all, I am using xRPM 2.0 SPRO Path: SAP xApp Resource and Portfolio Management (SAP xRPM) -> Base System Interfaces -> SAP cProjects Integration -> Define Business Object Links for SAP cProjects Within this the following object types do not have a