Add an Object Authorization to a standard transaction

Hello everybody,
I have to add an authorization to MB1C so that the user can't introduce a specific movement to a type of material and it can to other type of material.
I've not found some standard object what do it this. So I've created a new object, and in the user exit xxx validate the check, but when I should show the error, it shows "cancelled update" and I must go to SM13.
Are there another way to do this ? Any idea ?
Best regards
Paloma

Hi,
Exit EXIT_SAPLMBMB_001  is called in update task when saving the material doc. If you issue an error message here you will get an update error.
Try user exit EXIT_SAPMM07M_001 ( ZXMBCU02 ) in enahncement MBCF0002 . This will throw error on screen itself. You can also use MB_CHECK_LINE badi which has same functionality.
Cheers.

Similar Messages

  • How to add a new column in a standard transaction mb5b

    Hi,
    In t-code mb5b, there are columns which describe the material description, material , opening stock , opening value, etc. I have to add a column with the field name "opening rate". Values for opening rate are calculated using the formula
    opening rate = opening value / opening stock.Please help.

    Hi
    if you want to add a new Column in the Standard transaction you need to create a copy of program RM07MLBD. Add your field in the end of STYPE_BELEGE, Populate the text for field in FieldCat and in the end Populate the value by doing calculation on each row and modifying the table.
    Rajnesh

  • How to add custom authorization object to a SAP standard transaction

    Hi All,
    I have a standard tcode IW22 (change PM Notification) and I would lock changing when some users modify the field Functional Location (field TPLNR).
    Since this field does not have an authorization object associated, I've tried to solve this problem with the following steps:
    - tcode SU20 - creation of new authorization field TPLNR with data element TPLNR
    - tcode SU21 - creation of  a new auth object in transaction SU21 with name ZPM and field (TPLNR, ACTVT and TCOD)
    - tcode SU24 - insert of new authorization field e check indicator (green)
    - tcode SU22 - check indicator - check (green)
    After this we have created a new role with PFCG and add transaction IW22; the new auth.ZPM was added manually.
    We have try to analyze log (ST01 trace) but it seems no check was made in the trace file.
    It seems new authorization object was not checked.
    My question is: "Is it possible to add a custom authorization object into standard transaction and implementing authorization check without writing abap code in exit or badi ?"
    Thanks
    Maurizio

    > My question is: "Is it possible to add a custom authorization object into standard transaction and implementing authorization check without writing abap code in exit or badi ?"
    >
    No .. not possible. The list of Auth. objects SAP proposed in SU24 for each Stnd. SAP TCodes are basically documentation of the Authority-Checks in the program for that TCode. The extra advantage of SU24 is to set the object status (means the proposal for availability in PFCG) among any of the four check indicators. So that we can provide our own value (customer specific values which are basically defined and separate from sap provided values) and reinforce the authorization concept of the organization.
    So you need to provide a Authority-Check for ZPM in the program of IW22 to make sure that the fields you want to be checked are really being checked during execution of the tcode.
    Regards,
    Dipanjan

  • Generic Object Services for a standard transaction code

    Hi,
    We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit trail we have been asked to use "Generic Object Services" in transaction code ABAA.
    Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Object Services" for a particular standard transaction code. Also, we have show the details of custom workflow that handles the approval process in order to depreciate the asset. How to show this workflow details using Generic Object Services. This is a very critical issue, any help will be very help ful.
    Please let me know should you require more information on this topic.
    Thanks,
    Ashish

    Hello Ashish,
    i dont think activating of GOS will solve ur probs..... GOS wont create a WF item ...... try to get some kind of GOS before u do anything in SAP systems.
    u can do like this ......
    1 create custom screen where u can enter asset details and store in custom tables....and generate one custom doc.number to track.
    2. trigger WF when user submits it for approvals.
    3.Upon final approvals.--->run BDC to do postings......
    4.Give a Option to attach documents to the parking documents. ( that GOS ).
    regards
    Prabhu

  • Add image/object in HTML Editor Standard item (apex 3.2)

    Hi,
    I'm using the HTML editor standard item from Apex3.2.
    I want the possibility to add an image/object in the editor, but I don't see that option on the HTML editor standard item.
    How do I activate this option? Can someone help me out please?
    I've found something on:
    http://www.inside-oracle-apex.com/enable-add-picture-for-html-editor/#high_1
    Is this the only & easiest solution?
    Thanks,
    Sunenny
    Edited by: Sunenny on Feb 2, 2010 4:32 AM
    Edited by: Sunenny on Feb 2, 2010 4:33 AM

    Sunenny,
    Yes, it would take something like that. Another option, although not any easier really, it to use the latest CKEditor.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/

  • Creation of Generic business Object for a standard transaction

    Hi,
    We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit train we have been asked to use "Generic Business Object" in transaction code ABAA.
    Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Business Object" for a particular standard transaction code. Also, we have show the details of custom workflow that follows the approval process in order to depreciate the asset. how to show this workflow details using Generic Business Object. This is a very critical issue, any help will be very help ful.
    Please let me know should you require more information on this topic.
    Thanks,
    Ashish

    this is already answered in the forum, and also explained in the sap library

  • Need to add a field in standard transaction 'fs00'

    hi,
    can any one suggest me how to add a new field in the standard transaction 'fs00' under the field company code...
    thanks &regards'
    prajwala.

    Hi Prajwala,
    You can try the following user exit available for fs00:
    GLX1028             User exit for BAPI_GLflex_GetDocItems (EXIT_SAPL1028_001) 
    Hope this will solve your problem...

  • Add new fields incu stomer data tab ( transaction BP)

    Hello,
    I need to add three new fields in the  standard  transaction BP.  I need the  three new fields show in the customer data tab when you have introduced a determinated value in control tab before.
    Is it possible?
    Can you tell me the way?
    Thanks

    Hello,
    I was changing  the  customer fields of transaction BP with transaction eewb.
    I was working in a specific project (ZBUPA) as you can see in the following images. I don´t know what I've changed but now the icon of the enhancement of the project is like a red broken box (Errors occurred if you look for it at the legend), and the task has got a prohibit icon (Processed with Errors). Like this:
    [[IMG]http://img329.imageshack.us/img329/6627/errorpp1.th.jpg]http://img329.imageshack.us/my.php?image=errorpp1.jpg][IMG]http://img329.imageshack.us/img329/6627/errorpp1.th.jpg | http://img329.imageshack.us/my.php?image=errorpp1.jpg]
    I am very interested in recover the system to the initial state of the screen, like this image shows.
    [[IMG]http://img329.imageshack.us/img329/3763/okzv3.th.jpg]http://img329.imageshack.us/my.php?image=okzv3.jpg][IMG]http://img329.imageshack.us/img329/3763/okzv3.th.jpg | http://img329.imageshack.us/my.php?image=okzv3.jpg]
    Thanx!

  • GOS for the standard transactions

    Hi,
      Other than the OSS notes,Is there any way that we can create the generic object services for the standard transactions.
    Thanks,

    None of the pre-installed apps can be deleted...look on every page & in every folder...still don't see it? If so: Settings>General>Reset>Reset Home Screen Layout...see if you see it now.

  • Standard transaction ME21N

    Hi Experts,
            Can we add new field for Time in standard transaction ME21N.If yes how is it possible tell me..
    Its very urgent..
    Thanks in advance
    Srihari.

    Hi Bhupal,
                  Thanks for giving the Userexit.I am new to user exits and Dialog programming.Please can any one explain me the step by step procedure for How to do the screen exit for standard transaction ME21N.
                   Thanks in Advance.
    Regards
    Srihari.

  • Authorization default values of transaction F-53 for object F_FAGL_LDR

    All,
    I am getting this error when I go to adjust an existing role
    "Authorization default values of transaction F-53 for object F_FAGL_LDR inconsistant"
    Can any one help me resolve this issue?  I tried to set the check indicator to "NO" but it is still giving me the error at the bottom.
    Please assist.

    > ... they had me add Profit center to F_FAGL_LDR through SU21 and then I ran into the inconsistant issue.
    This part was missing before hand... I can understand that SAP said this is not support, because you have modified as standard object by adding a field to it... that makes it yours now.
    Whoever "they" is, they gave you bad advice.
    To repair the authorization object preferably do so by transporting it from a system on the same release which still has the standard fields.
    Cheers,
    Julius
    Edited by: Julius Bussche on Aug 15, 2009 3:30 PM

  • How to add function key to a menu exit in a standard transaction

    Hi all,
    I have a requirement to add a function key for a menu item in a standard transaction.
    In Menu bar we have an option Extras->Other->Repricing . Now my requirement is if i click a function key (ex. F9) the code under the menu exit (Repricing) should trigger. For that i had a function exit EXIT_SAPLJHPA_011 and in this the menu exit SAPLJHPA +CU7 is defined.could anyone suggest me the procedure in detail to add a function key..
    Thanks in advance,
    Uday.

    Hi
    for this u have to edit standard PF-status, that particular transaction is using. becarefull as the same pf-status may be used for many programs.
    get the PF-status for that program. you can get the pf-status via se80, give the program name and u can get the the list of all the objects of that prigram, there you can edit the standard status and can add the function key to your menu item.

  • Authorization default values of transaction /MRSS/PLBOMGR for object /MRSS/

    Hello,
      When I add the tcode "/MRSS/PLBOORGM " throuh the menu tab and when I go the authrization tab and click  on either
        Change Authorization Data or    Expert Mode for Profile Generation the is an error message stating the following :
    ======================================================================================
    Authorization default values of transaction /MRSS/PLBOORGM for object /MRSS/PB1 inconsistent
    Message no. 5@015
    Diagnosis
    The authorization fields contained in the authorization defaults are incomplete or incorrect.
    System Response
    The process had to be terminated to avoid generating inconsistent authorization data.
    Procedure
    Use transaction SU24 to adjust the authorization defaults to the object definitions in transaction SU21 and then repeat the process.
    ============================================================================================
    SU24, the custom values maintained are same as SAP Default . Any suggestion?
    Thanks
    Osama Khalifa

    This indicates one of two things resulting from changes to the authorization object AFTER SU22 had been maintained for it:
    1) One or more of the fields were converted to org. levels using the "old" technique of maintaining the table instead of running the report for this.
    2) One of more of the fields were changed in SU20 or SU21 but the original data in SU22 was not corrected.
    Solution in both cases is to correct the proposals in SU24 (customer data) and report it to SAP to correct in SU22 (original SAP data).
    Cheers,
    Julius

  • To add feild in standard transaction code

    hi
    can anyone guide me to add one field t074u-UMSKZ( special G/L indicator) in standard transaction code FBCJ 
    under CASH PAYMENT tab ?.
    regards
    rajdeep

    You have to update the structure ISCJ_E_POSTINGS (to inser the new field) and then dynpro SAPMFCJ00110 by screen painter (SE51)...both objects are standard so you have to get the keys to update them from OSS.
    Perhaps you should update the code to get the information and put it in your new field
    Message was edited by: max bianchi

  • Add button to RF Standard transaction

    Hello,
    Is it possible to add a push button to an RF Standard transaction? and How?
    Thx

    Hi,
       SAP has provided Dummy screens to each RF screen for you to enhance it. They usually named as 'SAPLXLRF' and screen number would be 9XXX . 'XXX' being the original screen number. Then you need to activate the corresponding user exit that starts with MWMRF* for the corresponding screen. Also in the RF Screen Management you need to add an entry with Variant '1'.
    Hope that helps.
    Thanks
    Vinod.

Maybe you are looking for