Authority Check or BADI for deleting a document in SOLAR02 transaction

Hi All,
Could anyone tell me whether there is any authorization object or BADI to do the check before deleting any document from
SOLAR02 transaction in Project Documentation Tab or General Documentation Tab
Thanks a lot in Advance.

Hi Jonathan,
Appreciate your reply. As you know the validations kick in based on your input on the screen, kind of mostly part of PAI of the screen (0750 in this case). But my requirement is to prevent this change in the first place, not validating the user's input after a change option is given to the user.
If you know if and how we can achieve this, please share your thoughts.
Thanks & Regards,
Venu

Similar Messages

  • Security for deleting parked documents

    Is there a way to secure who can delete parked documents? Currently, we only allow a certain group of users to delete parked documents. However, I would like to have a way for the creator or someone authorized for the account to delete them instead.  When we first tested it some time ago, there did not appear to be any checks for security authorizations.
    We are on ERP 04 (ECC 5.0).
    Any suggestions?

    I just attempted to duplicate the error message you were getting by pinpointing a parked document from 2006 created using FV50. I verified that the document contained cost centers and all CO posting periods from 2006 were locked in OKP1.
    I pulled up the document in display mode, clicked on Document in the top left corner and went into change mode, then I clicked on document again while in change mode and selected "Delete Parked Document" and the document was deleted without error. Is this the same deletion method that you are using?
    Like the previous response, I don't see how opening the CO posting periods will have any negative impact especially if FI posting periods are left closed.

  • User exit/BADI for Deleting the Empty Handling unit

    Hi All,
    Can anyone give me the suitable User exit/BADI for the below scenario.
    While creating the TO (Transfer order) for a delivery using the transaction code LT12, the system will automatically generate HU (Handling unit) number. If the materials are not found in the storage bin for the selected HU, we have to delete the Handling Unit from the delivery document.
    Thanks in advance.
    Thanks
    Ramesh.

    Find below couple of  User Exits for Transfer Order.
    MWMTO001 - EXIT_SAPLL03T_001 (Enhancements for end of transfer order generation)
    MWMTO002 - EXIT_SAPLL03T_002 (User Exit at End of TO Confirmation (in Update Task))
    The Exits gives you access to LTAK and LTAP.....
    Hope this is helpful to you.
    Vinodh Balakrishnan

  • BADI for changing Appraisal document application name for Web dynpro ABAP

    Hi,
    For Appraisal document customizing through PHAP_CATALOG_PA, We have BADI HRHAP00_BSP_TMPL  to change the BSP application name which can be used in Web layout for output display. Using this we can change application name from HAP_DOCUMENT to custom BSP application name
    Similarly, what is the BADI for changing Web dynpro ABAP applictaion name? Currently its triggering HAP_MAIN_DOCUMENT.
    how do we change application name to some custom web dynpro application name
    Regards,
    Kothand

    Hi Karim,
    I don't know, if there is any chance to get the Webdynpro application name. At least in the ABAP System fields is no information about the webdynpro application name.
    One remark: I have allways problems with BAPIS / BADIS that behave different depending on the caller. Could it be a good idea to pass some information through the interface / parameters?
    Best regards
    Renald

  • Authority Check on DatabaseConnection for HANA

    Hi,
    we are setting up our configuration for HANA.
    We want to make a Package within HANA for each functional domain. We also want to make separate connections to HANA (as secondary database) for each functional domain (Finance, Logistics, HR, ...) in DBCOCKPIT. But we want to control which application/user uses which connection; We don't want FI to use the HR-connection.
    Am I right when I think we might use authorization object S_DBCON to accomplish this?
    Thanks.
    Kris

    Hi,
    If different packages are customized development and assigned to different DB connection name, there is a possibility you can use S_DBCON object to check though that is not the original intention as Lars mentioned.
    Sample routine:
    * Check authority to access the specified connection
      IF con_name IS NOT INITIAL.
        AUTHORITY-CHECK OBJECT 'S_DBCON'
                 ID 'DBA_DBHOST' FIELD space
                 ID 'DBA_DBSID'  FIELD con_name
                 ID 'DBA_DBUSER' FIELD space
                 ID 'ACTVT'      FIELD '03'.
      ENDIF.
      IF sy-subrc <> 0.
        MESSAGE
          'You are not authorized to run this program' TYPE 'I'.
        RETURN.
    A user without the assigned DB connection name is unable to execute objects in a package when that connection is not assigned to him.
    Regards.
    YS

  • Tracing the Customer Number For deleted parked document

    Hi,
    I have wrongly deleted the park document . My client wants to know the customer Number of the deleted park document. Where  can I fetch this details from.
    I found that the  Accounting document  Number is stored in table BKPF with a deletion flag Can u please suggest which table the deleted customer no. for the park document is stored
    Thanks in advance
    Ratna & Susan

    Hi Rathna
    Oneway to find out the customer number is, thro transaction FBL5N, select all customer open items (with key date before the parked document was deleted) and select the noted items also.
    You will be able to see the document.
    Thanks
    Ashok
    Reward points if this is useful

  • EXIT/BADI  for enhancing the output of the transaction S_ALR_87013532

    Hi,
      greetings to all!! I have a problem here guys-I need to find any exit or badi for enhancing the output of the tcode S_ALR_87013532.This tcode is used for seeing the planned/actual/variance of project cost.
    In  the output we have got 3 columns-total of years, previous years and 2009. Under each column we have Plan, Actual, Variance and VAR %. Our requirement is to show Functional Location(PRPS-TPLNR), Budget Number(TCN01-SWRT0), SBU (TCN01-SWRT1) and Region (TCN01-SWRT2) in each of the clolumns-you can also get the last 3 fields in PRPS table as USR00, USR01 and USR02.
    Can anyone help please?could not find anything worthwhile on SDN. Thnx  a lot !

    Hi,
    Check   these User-Exits..
    Exit name  Short text
    KAHFEX01  Selection data for commercial reporting in PS
    KAP10001  PS: Hierarchy Reports for Projects
    KAP60001  PS: Export Project Key Figures into R/3 EIS
    Also check the BADI
    WBS_USER_FIELDS_F4
    Regards
    Raghu
    Edited by: Raghavendra  Rao G on Sep 2, 2009 12:26 PM

  • Badi for setting default values in the transaction in APO.

    BADI NAME: SMOD_APOCF005 which is used for setting default values in the transaction.
    I have implemented the BADI using the below code but that BADI is not triggering. Please can you provide any solution for resolving this.
    As per my requirement I am trying to set default values for these three fields RRP_TYPE, WHATBOM, CONVH.
    DATA: LS_MATLOC LIKE LINE OF IT_MATLOC.
    LOOP AT IT_MATLOC INTO LS_MATLOC.
    LS_MATLOC-RRP_TYPE = '4'.
    LS_MATLOC-WHATBOM = '5'.
    LS_MATLOC-CONVH = '999'.
    MODIFY TABLE IT_MATLOC FROM LS_MATLOC TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.
    DATA: LS_MATLOCX LIKE LINE OF IT_MATLOCX.
    LOOP AT IT_MATLOCX INTO LS_MATLOCX.
    LS_MATLOCX-RRP_TYPE = 'X'.
    LS_MATLOCX-WHATBOM = 'X'.
    LS_MATLOCX-CONVH = 'X'.
    MODIFY TABLE IT_MATLOCX FROM LS_MATLOCX TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.

    The  BADI name: SMOD_APOCF005 .
    T.code at APO : /sapapo/mat1
    Once we enter in that T.Code with some Product and Location data.
    There under PP/DS tab.
    Under Planning Procedure there is a field PP Plng Procedure which I want to set as 4
    And under Order Creation there is Plan Explosion which needs to be set as 5
    And Under Horizons there is PP/DS Horizon which needs to be set as 999.
    BADi is implemented and active.
    And once the data is CIF from ECC to APO
    These default values are not set in the T code in APO and the BADi is not triggering.

  • FM or BAPI for changing parked documents information of transaction FB02

    Hi Guys!
    Currently I'm working an upload report that will change the field XREF3 of FB02 (parked). I'm using BDC for the change but unfortunately, some invoice no. did not work out to my expectation because of a POP window (information). I'm just wondering if you guys have an idea how to deal with this kind of scenario. Using FM or BAPI can do it. Do you guys know any BAPI or FM for FB02 (parked doc) that will change the details XREF3. Thanks a lot. Hoping for your help!
    Regards,
    Mark

    Hi,
    Hi this might change from one client to another.. so better check if it suit to ur screens.
    [call transaction fb02;
    Regards,
    Surinder

  • BADI for MIGO ( Material document change for Production Order goods Receipt

    Hey experts,
    I am actually stuck up with MIGO BADI.
    There are many BADI's available but i dont think any one would suit my requirement.
    here goes my requirement.
    When a Production Order is created in transaction CO01 , the system picks the value of the moving  material and multiplies it with the quantity .
    But when the production order is being confirmed thru CO11N , again the system picks the present moving price of the material and multiplies it with the quantity. This goods receipt is done through MIGO transaction by selecting goods receipt for order that is 101 movement type. I have been asked to get the value of the material at the time of production order create and then change the dmbtr value of MSEG table, this can be done in the badi at the time of creation of material document number but the BADI's MB_DOCUMENT_BEFORE_UPDATE,  MB_DOCUMENT_UPDATE do not allow me to change the values .
      The BADI MB_DOCUMENT_BEFORE_UPDATE does not allow any changes to be made for XMSEG table
    and MB_DOCUMENT_UPDATE is passed by value and hence the changes are not affected after it comes out of the method.
    Guys please help me as this creating a hell lot of problem here and i would surely reward the max points if answered.
    here is the example to be more precise.
    Material : Pen
    Quantity : 10.
    date : 01.06.2008.
    TYransaction co01.
    lets say at the time of creation the value of the material was 5 rs
    a material document would be created with the value  : 50 rs.
    Now for this prod. order goods receipt is being done on 01.07.2008.
    Let the value be 4 rs now.
    so the Material document would be created with a value of 40 rs.
    I need to make this 50 rs.
    I have got all the data to do it but i am not gettin the coreect BADI, i just want the BADI name to change the DMBTR value at the time of creation of material Document.
    Thanks in Advance.

    User-exit /BADI to change mseg during migo
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=5435559
    try this links

  • User Exit or BADI for catch the document number after saving the document

    Hi ,
    I am working on data conversion where Document number(BELNR),BKPF and BSEG  data should
    transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
    Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
    BADI.So Could you please suggest me any User exit or BADI ASAP.
    Waiting for reply.
    Thanks
    Lakshmi

    You should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
    Study this document to know how to use BTE
    http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
    Let me know if you face any specific issues..

  • BADi for deleting a flexible goal in an Appraisal Template (SAP HCM)

    Hi,
    I know that we can use the standard BADi: ADD_NEW_ELEMENT for a flexible goal.
    If the employee has wrongly entered a flexible goal and later if he has to delete it, then do have standard BADi to this too?
    Thank you.
    Best,
    Veera

    Hi Andy,
    Thanks for the reply. I have managed to recall what I have done long before and here are further details.
    Go to the transaction PHAP_CATALOG
    Select the drop-down menu "Go-To"
    Choose Enhancements
    HRHAP00_ENHANCE_DEL1 - Delete Element Only 'In Planning'
    HRHAP00_ENHANCE_DEL2 - Delete Element Only 'In Planning' or 'In Review'
    HRHAP00_ENHANCE_DEL3 - Delete Element 'In Planning', 'In Review', 'In Process'
    Best
    Veera.

  • BAdIs for HR Appraisal Document Additional Header Data

    We use trx PHAP_PREPARE to create Appraisal doucments Using Organization Units.  I have the following requirement,
    1. add new selection parameters on the screen (Personnel Area, Additional Appraiser),
    2. create document based on the Personnel Area entered,
    3. populated the Additional Appraiser as the Further Participant on the Header Data Section.
    My questions are which BAdIs I can  use to fulfill my requirement and how can I do it??
    Q1. Can I use BAdi HRHAP00_ADD_HEADER to capture and pass the additonal data to the documents.
    Q2. Can I use BAdI HRHAP00_DOC_DEF_DO Default Further Participants to populate the data on the screen.
    Q3. How about BAdi Free Enhancement, what can I use it for and how can I use it?
    Does anybody has good link or detail documentation of how to implement the Appraisal BAdIs?
    Any help is greatly appreciated.

    Sept 12. A day later
    I haven't get any reply yet.  Someone out there must have done something similar.
    Kindly give me some suggestion where should I start looking.
    According to the HCM book, I can use "Prepare Appraisal Docs with Restricted Templates" to prepare appraisals based on more than just organization unit.
    The program is using LDB PCH, unlike PNP which can select different report category to default selection screen parameters.
    I can add personnel area on it, but I don't how to ask the program to get objec with this personnel area.
    Can someone give a SAP program that uses LDB PCH with additional selection options?
    Many thanks in advance.

  • BAPI FOR DELETE BILLING DOCUMENT

    Hi to all,
    do you know a BAPI to cancel a billing document?
    I have tried the BAPI_BILLINGDOC_CANCEL1 but it doesn't work.
    Thanks!!
    Silvia

    Hi,
    In test run give TESTRUN = ''.
    After Execute that BAPI run
    BAPI_TRANSACTION_COMMIT. FM
    Cheers,
    Naveen

  • User Exit or BADI for the Bank validation in BP transaction

    Hi All,
        My requirement goes like this, my customer wants to validate the bank keys whether the deletion flag is marked or not and if marked then throw the error message, in BP transaction. But when i was searching for the user exit or a BADI during "save" in BP transaction i was not able to get the appropriate user exit or a badi to do the validation. So can anyone help me finding the user exit or a BADI in the BP transaction
    Thanks and Regards,
    Praveenkumar T

    Hi Praveen,
    I don't think there is any Standard FM to validate the bank keys.
    You need to make a custom FM for the above requirement and call the FM during the save event of the BP.
    Go to Transaction Code-BUS7 and look for event-DSAVC
    Under the event DSAVC, assign the custom FM and place the X flag for calling the same.
    Hope it clarifies.
    Thanks,
    Amlan

Maybe you are looking for