How to delete ABAP program of production environment

Dear Experts,
I have to delete a Z program, exists in production environment. But the program does not exist in development environment. Is this possible to delete the program using transport request? or other ways to delete the program in production environment.
Thanks in advance.
Tanay

Hi Tanay,
If you have access tcode SE80 in Production system, you can delete it.
Srivijay

Similar Messages

  • How to make inactive ABAP Program in production system

    Dear Expert,
    I have a lot abap program in production system which are not used anymore and my company plan to upgarde our SAP system, therefore to reduce the effort for the SAP upgarde I will  deactivate the unused ABAP program.
    My question how to change the active abap to inactive in production system ?
    Thank you in advance.
    Best regrads,
    Tjandiagung

    Program details are stored in the table REPOSRC.
    Primaray keys are PROGNAME and R3STATE.
    Suppose if the program zxy is in active state, then enry will be
    ZXY  A
    Suppose if we made some changes to it and saved, so the program is in inactive state. so one more entry will be there in the table
    ZXY A
    ZXY  I
    So if you add like this for the program which you want in the table REPOSRC, then that programs will be in inactive state.
    Regards,
    Nikhil

  • How to download run time ABAP dump in production environment

    Hello,
    I am getting run time ABAP dump in production environment. Please guide me onHow to download run time ABAP dump in production environment?
    Also, please tell me how best can analyze that dump. Like there are tools like gdb, purify etc. to analyze problems in other languages.
    Regards,
    Sameer.

    Hi,
    Go to ST22, and Double click on the error line, It will show you the detailed analysis.
    See the section How to correct the error for details on error correction and the instructions to download the log( you can download in the format you want - HTML would be a nice option).
    And there are no tools to analyze errors but ST22 has a large data regarding the location of the error, the reason and the source code which caused. So you need to use the debugger to reproduce the error and check the source code,
    Regards
    Karthik D

  • Delete Abap program via change reqeust

    Hi,
        We deleted some ABAP report source code via tcode(SE38) at development system. The system ask insert the delete action to one change request. I have added it to the change request. The ABAP source code have delete at development system. We transported the change request to our QA and PRD system. The deleted ABAP program source code is still exist in QA and PRD system. We want to delete the QA and PRD system ABAP source code. Could you pls advise how to delete it? Thanks.
    Best Regards
    Park Han

    My delete ABAP program process, Pls help check it correct or not. And How to delete the QA and PRD system ABAP program source code? Pls advise.
    1. Access Tcode(SE38)
    2. Input the delete program, Click Delete button.
    3. The system ask generate the change request. I have create the change request.
    4. Release and transport the change request to QA and PRD system.
    5. The development ABAP program has deleted. I can't find it via Tcode(SE38).
    6. We checked the ABAP program at QA and PRD system. It is still exist.
    Best Regards
    Park Han

  • How to add Abap program in process chain to check the another process chain status and do accordingly

    Hello All,
    My requirement is related to process chain 1 . I have one process chain in that i have to  put abap program in middle of that chain . This program will check the status of one another process chain 2 status ( whether it was completed or it is going on). if it is completed then continue the Process chain 1  to further activity else wait to complete Process chain 2 .
    Here i have to use process chain 2 as a parameter.
    Kindly provide me solution .
    Regards
    Saurabh

    Hi Saurabh,
    You need to create ABAP program in which you check the values for required process chain in
    following table
    RSPCLOGCHAIN (Feilds ANALYZED_STATUS LOG_ID)
    Depend on values you can trigger next process or you can wait unitil this process chain complete.you need to check status from table using ABAP.
    If you are not aware about how to write ABAP program then take help from ABAP Team.
    Regards,
    Ganesh Bothe

  • HOW TO WRITE ABAP PROGRAMMING IN JAVA BY USING NETWEAVER

    HI,
    i am working with bapi(mean is calling bapis in my java programs).
    please tell me the how to write abap programs in nwds
    Thanqqqqqqqqq
    Guru

    Hi,
    Refer the following links..
    http://manuals.sybase.com/onlinebooks/group-iaw/iag0203e/iadgen2/@Generic__BookTextView/24685
    and this blog
    /people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
    Regards,
    Uma

  • How to delete genieo program

    how to delete genieo program?

    Hello, Francisco,
    Maybe you will find useful this free tool: http://www.bitdefender.com/solutions/adware-removal-tool.html.
    This version currently detects and removes Genieo for Mac. It quickly scans a user’s system for adware and its elements and, if detected asks for permission to remove it. It then removes all traces of the software and resets browser settings that were changed by the adware, eliminating unwanted ads and modified default search results.
    Mirabela, Social Media Manager at Bitdefender
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    <Edited by Host>

  • Retriving a a deleted abap program

    A Custom ABAP program was accidentally deleted a few weeks ago and the transport made it to production and all systems.  Are there any options to get a copy of the program back from somewhere? anywhere?
    Message was edited by: Scott Hoelscher

    Create a program with the same name as earlier (which is deleted)
    Click on "Utilities" --> "Versions" --> "Version Management"
    Select the version of your earlier program and click on display.
    Your earlier program is displayed here.
    This is only possible if you have generated a version and saved the program in a package other than $TMP.

  • How to Lock ABAP Program

    Hi all,
    I am using a module pool program,
    I want to ristrict the access of program to single user at a time.
    can some one give me some clues about program locks.
    Regards,
    Gaurav Sood.

    Hi
    Locking  All Users
    Sometimes it is useful to be able to lock all the users out of a client; for instance, during a client copy (you can also do this with tp locksys, but you have to issue that command from the OS level, and then you can only use DDIC or SAP* to log on). You can use this program to lock out all users except yourself.
    This program (un)locks all the users in a client, except for the current user, and the SAP* user. You might want to add somthing like SELECT-OPTIONS EXEMPTUS FOR USR02-BNAME to allow a list of usernames not to be processed.
    Un/Lock all users in a client
    *& Report YUSRLOCK *
    REPORT YUSRLOCK MESSAGE-ID Z1 .
    TABLES: USR02.
    PARAMETERS: LOCK AS CHECKBOX, LISTLOCK AS CHECKBOX.
    DATA: UFLAGVAL TYPE I, LOCKSTRING(8) TYPE C.
    ---- Authorization check -
    AUTHORITY-CHECK OBJECT 'ZPROG_RUN' ID 'PROGRAM' FIELD SY-CPROG.
    IF SY-SUBRC <> 0.
    IF SY-SUBRC = 4.
    MESSAGE E000 WITH SY-CPROG. "some message about authorization check failure
    ELSE.
    MESSAGE E005 WITH SY-SUBRC. "some message about authorization check failure
    ENDIF.
    ENDIF.
    IF LISTLOCK = 'X'.
    WRITE:/ 'List all locked users: '.
    SELECT * FROM USR02 WHERE UFLAG = 64.
    WRITE: / USR02-BNAME.
    ENDSELECT.
    EXIT.
    ENDIF.
    IF LOCK = 'X'.
    UFLAGVAL = 64. "lock all users
    LOCKSTRING = 'locked'.
    ELSE.
    UFLAGVAL = 0. "unlock all users
    LOCKSTRING = 'unlocked'.
    ENDIF.
    SELECT * FROM USR02 WHERE BNAME <> 'SAP*' AND BNAME <> SY-UNAME.
    IF USR02-UFLAG <> 0 AND USR02-UFLAG <> 64.
    WRITE: 'User', USR02-BNAME, 'untouched; please handle manually.'.
    CONTINUE.
    ENDIF.
    check that user has authority to make these changes
    AUTHORITY-CHECK OBJECT 'S_USER_GRP'
    ID 'CLASS' FIELD USR02-CLASS
    ID 'ACTVT' FIELD '05'.
    IF SY-SUBRC <> 0.
    IF SY-SUBRC = 4.
    WRITE: /'You are not authorized to lock/unlock user ',
    USR02-BNAME, USR02-CLASS.
    ELSE.
    WRITE: /'Authorization error checking user ',
    USR02-BNAME, USR02-CLASS, '(return code', SY-SUBRC, ').'.
    ENDIF.
    ELSE. "has authority
    UPDATE USR02 SET UFLAG = UFLAGVAL WHERE BNAME = USR02-BNAME.
    WRITE: / 'User', USR02-BNAME, LOCKSTRING, '.'.
    ENDIF.
    The SAP Lock Concept
    Reasons for Setting Locks
    Suppose a travel agent want to book a flight. The customer wants to fly to a particular city with a certain airline on a certain day. The booking must only be possible if there are still free places on the flight. To avoid the possibility of overbooking, the database entry corresponding to the flight must be locked against access from other transactions. This ensures that one user can find out the number of free places, make the booking, and change the number of free places without the data being changed in the meantime by another transaction.
    Lock Mechanisms in the Database System
    The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. Database locks are therefore never available longer than for only one database LUW. That means that in ABAP application programming, database locks can no longer exist than the duration of one dialog step.
    The physical lock mechanisms in the database system are therefore insufficient for the requirements of an ABAP transaction. The locks must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must not only apply on the application server that carries out the locking transaction, but on all installed servers of the SAP Web AS ABAP.
    SAP Locks
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the SAP System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The complete documentation on SAP locks can be found in The SAP Lock Concept. This is a short introduction within the environment of ABAP programming.
    The SAP lock concept is based on lock objects. Lock objects allow you to set SAP locks for entire application objects. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary. A lock object definition contains the database tables and their key fields on the basis of which you want to set a lock. When you create a lock object, the system automatically generates two function modules with the names ENQUEUE_Name and DEQUEUE_Name. You can then set and release SAP locks in your ABAP program by calling these function modules in a CALL FUNCTION statemenT.
    Reward If Helpfull,
    Naresh.

  • Import issue for ABAP program in Production Server ?

    Hi Experts,
    I have an ABAP program which gets executed properly in BW Development server but getting the following error when I am trying to execute it in the BW Production while  I could activate the program successfully.
    Kindly help me to resolve this issue.
    Thanks in advance !!!
    Regards,
    Gokulkumar RD

    Hi Golkul,
    Can you debug the program while execute?
    I think there is some hardcoding in the program for checkiing the client and then raised a custom message in the program.
    Can you share the coding of the prorgam if possible?
    Try to check for any messages raised in the program. Also click on the on the message pop up and see the details on the message and let us know.
    Thanks
    Amit

  • How to protect ABAP programs

    Hi experts
             I want to protect my ABAP programs from other users from changing it.
             How to protect my program by setting password or not allowing only display mode like.
             Please suggest me on this.
    Thanks in advance.
    Regards
    Rajaram

    Hi Raja,
    If in case you want to lock the development done by you in SAP,then while the report is open in the ABAP edtor,click on GoTo and then Attributes at the menu bar and then check the checkbox "Editor Lock".
    Nobody will be able to make any changes to your program unless and until logged by your user ID.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • How to call ABAP programs from Excel

    Hello everyone,
    Currently I'm investigating the integration of Excel and ABAP program. I find it's easy to call Excel from ABAP program, but does anyone of you know how I can first open and do some actions in an Excel sheet first, and then, for example, when I press the save button, the data will be transferred back to ABAP system? I think when openning the Excel, the logon of the backend system is needed.
    I've ever seen this functionality in some BW-reporting tools, but I cannot remember the details.
    Thank you very much and best regards,
    Leon

    yes in BW we are having this concept of creating wookbooks & queries.
    If u have BW server Go to Transaction RRMX  - u will get a Microsoft Excel sheet.
    Here it allows u to logon to the SAP system.
    For details see this link.
    <a href="https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=2553631">https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=2553631</a>
    <a href="https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=519862">https://forums.sdn.sap.com/click.jspa?searchID=561476&messageID=519862</a>

  • Details for deletion of programs from dev environment

    Hi guys,
    Can someone tell me what are the ways to delete a object from a dev and Qas,but it should be retained in Bs and Prd.
    pls tell me how to delete the objects through transport request.

    Hi Priya
    Think there is no standard procedure for this.
    But considering the case, you can try to develop a tool(program) which can perform the action in a simple way.
    1. Download all objects to hard disk. ( Over the net we can find tools whereby we can download and upload objects)
    2. Try to use functions in function group STRV to include objects in a request.
    3. Transport this request to all servers.
    4. Upload the objects back and include in a request
    5. Transport this request to QA.
    But ofcourse you need to have thorough testing before going ahead with all objects.
    Ofocurse i can understand this is tedious but can not think of any other alternative solution. I really feel sorry for you.
    Also i would advice you to search in SDN to see if any solution provided for similar sort of scenario.
    Kind Regards
    Eswar

  • Delete ABAP Program Variant

    Hi,
    Is there a way to block users from deleting the variants in an ABAP program?
    The PROTECTED flag only protects against any changes...but allows deletion..strange!!!!

    AT SELECTION-SCREEN.
      CASE sy-ucomm .
      WHEN 'VDEL' .
      MESSAGE 'Variant cannot be deleted' TYPE 'E'.
    ENDCASE.

  • How to tranport ABAP program?

    I changed the include X (needed for report Y). How I can tranport the include X from Dev system to QA system? When I go to Adminstrator Workbench: Transport connection I can see All Object but which of them should I use to add ABAP program to be transported?
    TIA

    Hi,
    Go to SE38, Display your program.
    Then in upper menu bar, Go to "Goto" tab, there u will find the option of "Object Directory Entry". Here you can assign the package and then transport request.
    Transport the same request and your program will be moved to next system.
    Hope it helps.
    Regards,
    Yogesh.

Maybe you are looking for

  • XML Parser for Java v2. Applying XSLT to DOM tree

    I encountered pretty weird behavior of XML Parser for Java v2. While applying XSLT to XML document created in memory using DOM interface I couldn't access element attributes. For example, given the XML document: <root> <Item ID="00001">Value of Item

  • Beginning Inventory calc in ASO

    I'm just trying to put a simple calculation to link the beginning inventory balance to the prior period ending inventory. Here is what I put on the member formula: For Apri (April as the first month of the fiscal year) Beg Balance = (PrevMember(Year.

  • LR2 Does Not Support .rw2 RAW File

    Hi. I recently downloaded RAW files taken by the new Panasonic LX3 digital camera from this website: http://www.photographyblog.com/reviews_panasonic_lumix_dmc_lx3_3.php (see bottom of the page for the RAW images) The RAW files have an extension of:

  • There are no llb files in the hp8165a zip file . What can I do?

    Missing files in the zip file. Cannot run the downloaded file for the HP 8165 A programmable Signal Source Attachments: hp8165.zip ‏15 KB

  • How to restart VSS writers without rebooting

    Hello fellow teckies. I'm having this problem when backing up with Symantec Backup Exec 11d where it generates errors about not being able to backup VSS sections on the C drive. I've already posted with Symantec.  https://www-secure.symantec.com/conn