Retrieve the Object Code in se38

Hi,
I have devoloped a report in se38 and saved in a Request.
I was actually intending in chaging the code by calling into another program.Unfortunately the code was been overwritten and i am not able to see the old code.
Even i tried to get the old version by version management.
Please sugget me how i can retrieve the code.
FYI, all the custom FM and all the structures were been visible which was been used in the main prog.
Kindly suggest.
Thanks,
Tayi

Hi Ravi,
I have devoloped a program in se38 and when i tired to submit the output of the program in PDF and then later to be sent it the same to mail using the code in
https://wiki.sdn.sap.com/wiki/display/Snippets/Send%20email%20in%20background%20-PDF%20output%20of%20the%20any%20report 
and my program was replaced with another code in the above link and below is the replaced code.
REPORT ZR_SYSTEM_MONITOR .
INCLUDE zrep_print .
*IF flag ne 'X' AND Sy-subrc eq 0 .
  SUBMIT ZR_SYSTEM_MONITOR
TO SAP-SPOOL SPOOL PARAMETERS print_parameters
*ARCHIVE PARAMETERS archi_parameters RETURN.
SELECT rqident FROM tsp01
INTO gd_spool_nr WHERE rq2name = print_parameters-plist .
*export gd_spool_nr to MEMORY ID 'SPOOLNO' .
*ENDIF .
Can anyone help me out how i can retrieve the old code.
1) I havent released the task .
2)also through the version management  but not been able to get.
Thanks,
Anjani

Similar Messages

  • UDF For Retrieving the Tax Code based on PO

    Hi all,
    Mine is a file to Idoc scenario.
    I wrote a FM to retrieve the Tax Code based on PO .
    Created the udf which directly gets the Taxcode from the r/3 with out importing in to the imported objects,is this correct i never tried this before.
    Find the UDF for the Same.
    final String    CHANNEL_NAME = "GeneratedReceiverChannel_RFC",
         VALNOTFOUND = "VALUE_NOT_FOUND",
         SAPRFCNS = "urn:sap-com:document:sap:rfc:functions",
         TAG_FM = "Z_P_INT012_RFC_LOOKUP",
         TAG_TAX_CODE = "T_TAX_CODE",
         TAG_TAX_CODE_P = "TAX_CODE";
    AbstractTrace trace = container.getTrace();
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              DocumentBuilder builder = null;
              factory.setNamespaceAware(false);
              factory.setValidating(false);
              try {
                   builder = factory.newDocumentBuilder();
              } catch (Exception e) {
                   trace.addWarning("Error creating DocumentBuilder - " + e.getMessage());
              Document docReq = null;
              try {
                   // Building up RFC Request Document
                   docReq = builder.newDocument();
                   Node root = docReq.appendChild(docReq.createElementNS(SAPRFCNS, TAG_FM));
                   Node nodeTbOpt = root.appendChild(docReq.createElement(TAG_TAX_CODE));
                   for (int i = 0; i < pernr.length; i++) {
                        Node nodeTbOptItem = nodeTbOpt.appendChild(docReq.createElement("item"));
                        nodeTbOptItem.appendChild(docReq.createElement(TAG_TAX_CODE_P)).appendChild(docReq.createTextNode(TAX_CODE<i>));
              } catch (Exception e) {
                   trace.addWarning("Error while building RFC Request  - " + e);
              trace.addInfo("RFC Request XML: " + docReq.toString());
                                                    //trace.addWarning("RFC Request XML: " + docReq.toString());
              // Lookup
              Payload load = null;
              try {
                   Channel channel = LookupService.getChannel(receiver[0], CHANNEL_NAME);
                   RfcAccessor accessor = LookupService.getRfcAccessor(channel);
                   InputStream is = new ByteArrayInputStream(docReq.toString().getBytes());
                   XmlPayload payload = LookupService.getXmlPayload(is);
                   load = accessor.call(payload);
              } catch (LookupException e) {
                   trace.addWarning("Error during lookup - " + e);
              // Parsing RFC Response Document
              Document docRsp = null;
              try {
                   docRsp = builder.parse(load.getContent());
              } catch (Exception e) {
                   trace.addWarning("Error when parsing RFC Response - " + e.getMessage());
              trace.addInfo("RFC Response XML: " + docRsp.toString());
                                                    //trace.addWarning("RFC Response XML: " + docRsp.toString());
              try {
                   NodeList res = docRsp.getElementsByTagName("item");
                   for(int i=0;i<res.getLength();i++){
                        NodeList itemNodes = res.item(i).getChildNodes();
                        Map itemMap = new HashMap();
                        for(int j=0;j<itemNodes.getLength();j++){
                             itemMap.put(itemNodes.item(j).getNodeName(), itemNodes.item(j).getFirstChild().getNodeValue());
                        rows.add(itemMap);
                                                            catch (Exception e) {
                   trace.addWarning("Result value not found in DOM - " + e);
                   result.addValue("true");
    Error:
    16:24:08 Start of test
    Source code has syntax error:  /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:598: 'class' or 'interface' expected public void TaxValues$(String[] a,String[] b,ResultList result,Container container){ ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:618: 'class' or 'interface' expected } ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:619: 'class' or 'interface' expected ^ 3 errors  Source code has syntax error:  /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:598: 'class' or 'interface' expected public void TaxValues$(String[] a,String[] b,ResultList result,Container container){ ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:618: 'class' or 'interface' expected } ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:619: 'class' or 'interface' expected ^ 3 errors
    16:24:11 End of test.

    Hi Potharaju,
    Why don't you try this, that really works:
    If you are using PI 7.1:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/frameset.htm
    If you are using XI 3.0, PI 7.0
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    Try with these.
    Regards,
    Juan

  • Why does viber keep asking me to set up again? I have   it up about 3 times now and if I don't have my mobile  when overseas will be unable to retrieve the sms code. I am using an ipad mini

    Why does viber keep asking me to set up again when I have already set it up about 3 times and used it successfully. Will be overseas without my mobile and will be unable to retrieve the sms code to set it up if this happens when I am away so should I reinstall it ?

    ISSUE FINALLY RESOLVED!!!!!!
    So, it turns out, I had to restore the iPhone...with a twist! Here are the steps:
    FIRST BACK UP YOUR DEVICE
    1. Go to the library (Hold option, click on "go" in the finder, then go to library)
    2. Go to your iTunes folder in this Library (not application support, the main iTunes folder)
    3. Go to the iX software folder (i.e., iPhone software, iPad software, etc.) and delete the file in this folder
    4. Hook up the phone and then click on restore iPhone.
    At this point, it will redownload the entire OS again. You must then restore the iPhone. As it is downloading the iOS, you can disconnect and use your phone for probably however long you want (I did the restore the same day as the download) and when you are ready you can hook up the phone and restore it.
    THE MOST IMPORTANT STEP FOLLOWS:
    And one many may dislike. Upon restoring the phone, you MUST select "Set-Up as new iPhone"
    You need to make sure you've backed up EVERYTHING elsewhere. 3rd party, non-apple/icloud apps will lose data through this method, and you'll lose all texts, your call history, and super old voicemails. The upside is that, if you've backed up, then you can just restart the process if you forgot something. But seeing as how the popup was interfering with my ability to use iCloud (I couldn't sync anything, such as calendar events, reminders, etc.,  unless I had gone into mail to sign in to iCloud), it was totally worth it....no more popups.
    My only wish is that this thread becomes popular. Many people have this issue and you should only use this method as a super last resort (after trying literally everything I had written previously).

  • How to retrieve the return code of the scenario execution

    Hi,
    I do see the return code in the execution tab of the scenarios..
    I need to use those values in a package.
    So how do i retrieve those value and use in a variable..?
    In which table, i find this value?
    Please respond as soona s possible. This is very critical for me.
    thanks,

    Yes, reference the Java API package oracle.odi.domain.runtime.session - this package contains classes for managing Oracle Data Integrator Sessions and related objects.
    In this package is the java class OdiSessionStepLog which has the method getReturnCode() which will do the same as the earlier substitution variable example

  • How to retrieve the source code navigation sidebar

    Hi,
    I'm trying to build a site following the tutorials on the dreamweaver software.  I get in the part where i have to do the columns but i lost the navigation sidebar where the source code tab and the check_cs5.css are under the index.html tab, and have to use this one to be able to continue with the setup.  I would like to know if it possible to retrieve this side bar and how?  Or what to do to fix it, especially i'm far away for this step, do I have to start over?  Please, I need an ASAP answer.
    Thanks,

    I get in the part where i have to do the columns but i lost the
    navigation sidebar where the source code tab and the check_cs5.css are
    under the index.html tab, and have to use this one to be able to
    continue with the setup.  I would like to know if it possible to
    retrieve this side bar and how?
    I'm assuming you're doing this tutorial by David Powers:
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt2.html
    DW Menu > Window > Files or CSS Styles.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to retrieve the webdynpro code from a business package

    Hi Experts,
    We have deployed the ESS/MSS Business Package . The issue is that we have to make some changes in the applications which have been deployed alongwith the business package.Since the business package was provided by SAP , we do not have the Webdynpro DC for the same.
    Can Experts please tell me the easiest & legal way to retrieve the webdynpro piece of code so we can make the required changes?
    Thanks in advance,
    Virag Shinde
    virag.shinde(@)lntinfotech.com

    Hi,
      You will have to use NWDI and import the webdynpro components into developer studio. Check these links.
    Re: ESS/XSS Web Dynpro SCA import in CMS to view/modify Web Dynpro Source Code
    Common pitfalls using the NWDI
    Best Practices for Running the NWDI
    Regards,
    Harini S

  • Retrieving The source code of a web.

    Hi,
    Sorry if this is not the place fro this post but I didn�t know where to put it.
    I need to connect to a web page and get the page source code to retrieve the text it has to preprocess it and insert in my BD. Is there any way to do this in java?.
    Thanks in advance,
    HexDump.

    Sure.
    http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html

  • I am looking to transfer Production Premium CS5.5 from Windows to OS X. However, my license code was only stored on a now deactivated email address, is there any way I can possibly retrieve the license code?

    Hi, I have recently migrated over from Windows to OS X and was hoping to transfer my Creative Suite over.
    I purchased it whilst at college and obtained the student & teacher edition using my college email address which they unfortunately deactivated without warning. I am still a student, now studying at University. I still have the box which contains the product code and I can provide evidence that I am the same person who purchased the product initially if required and additionally still have the initial evidence i sent off saved to my computer. Would it be possible to retrieve the license key?

    Platform swaps only apply to the latest version, meaning CS6. You are wasting your time looking for something that doesn't exist to begin with. Simply buy a fresh CS6 license at student discount.
    Mylenium

  • Retrieving the Lock Code

    Hi guyz...
    have a problem with my e71 i forgot my lock code i was trying to reformat my phone but before continuing it is required to enter the lock code i enter it for 2x already
    but it keeps on saying that it is CODE ERROR
    kindly help me at this matter how to retrieve back my lock code
    thanks hope to hear from you soon

    The standard code is 12345, but if you've changed it you're in for a trip to the Nokia service centre with your proof of purchase or proof of ownership.
    There is no 'back door' to the lock code that you can deal with yourself otherwise everybody would know it and the lock code would be utterly useless as a secutiry feature, so the phone has to be re-flashed completely. Be warned that if you don't have a backup on memory card or PC Suite, your data will all be lost.

  • The property with ID SI_LOGON_INFO does not exist in the object

    Hi Experts,
    I am writing a Java code which upload rpt report to an infoview and try to set username/password and user prompt false together.
    I uploaded rpt success, however, after I add IReportLogon to add user/password. I got an error.
    The property with ID SI_LOGON_INFO does not exist in the object
    Code here, any suggestion is appreciated.
    IPluginMgr boIPluginMgr = infoStore.getPluginMgr();
    IPluginInfo boReportPlugin = boIPluginMgr.getPluginInfo("CrystalEnterprise.Report");
    IInfoObjects boInfoObjects = infoStore.newInfoObjectCollection();
    boInfoObjects.add(boReportPlugin);
    IInfoObject boReportObject = (IInfoObject) boInfoObjects.get(0);
    String boReportName = getName(filePath);
    boReportObject.setTitle(boReportName);
    boReportObject.setDescription(filePath);
    boReportObject.getFiles().addFile(filePath);
    boReportObject.properties().setProperty(CePropertyID.SI_PARENTID, folderID);
    IReport Report = (IReport)boReportObject;
    IReportLogon rptLogon = (IReportLogon) Report.getReportLogons().get(0);     
    //get error after try to retrieve rptLogon Class.     
    rptLogon.setPromptOnDemandViewing(false);
    rptLogon.setUserName("fortest");
    rptLogon.setPassword("whatever");
    infoStore.commit (boInfoObjects);

    Hi Adam,
    Thanks for your reply.
    I added this refreshProperties() method before, but after run this method, the application will no response even wait for over 2 minutes.
    Do you know why?
    or shall I wait for long time to resolve this issue?

  • Workitem ID wise to get the Object value

    Hi All,
    is it possible to get the object value form Workitem id wise.
    for example workitem id '446085' based on that workitem id i want to retrieve the object value.
    Please clarify.,
    Thanks & Regards
    K.Gunasekar.

    Hi
    I want to update the object Reference.
    for example i am getting the object value from SAP_WAPI_GET_OBJECTS. (F.M)
    based on the workitem_id.
    i want to update the objects reference from the original one.
    if is it possible means please let me know.
    Thanks & Regards
    K.Gunasekar.

  • Can't load object code to CIN. Mashine specific.

    Suddenly all the VIs using CINs have lost their object
    code. They are broken and any attempt to load the code fails. I have "object code is not loaded" error.
    I've tried with simple test examples but LabVIEW simply refuses to load object code into VI. It isn't getting any bigger in size. This problem is specific only for one of my computers running LabVIEW. My CINs are used for computational purposes, they do not refer to any hardware. How to solve this problem ?

    One way for this to happen is for the VI to be saved on a different platform (Mac / Linux / Windows). If you open a VI on a different platform from the one it was compiled on, its object code is tossed. If that VI is saved in that state, the object code is removed from the file.
    Normal (non-CIN) VIs are recompiled as needed. But CINs need external object files for the platform they're being compiled on.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • From program to know the transaction code

    Hi all,
    How to see/know the transaction code from SE38? or any other methods to know if we know only program name not known t.code?
    early reply highly appriciated/awarded.
    Soma

    Hi Soma:
    Refer to this website
    http://www.easymarketplace.de/transactions.php
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    MSReddy

  • How retrieve the statement error

    Hi,
    When an oracle error occurs beyond to retrieve the Error Code and Error Message with SQLCODE and SQLERRM, I'd like to retrieve also the statement that produces this error.
    For example:
    CREATE TABLE TAB1
    ID NUMBER,
    NAME VARCHAR2(32 BYTE)
    CREATE TABLE TAB2
    ID NUMBER,
    NAME VARCHAR2(32 BYTE)
    CREATE TABLE LOG_ERROR
    OBJ_NAME VARCHAR2(50 BYTE),
    ERR_CODE NUMBER,
    ERR_MSG VARCHAR2(500 BYTE),
    STM_MSG VARCHAR2(1000 BYTE)
    I've this trigger:
    CREATE OR REPLACE TRIGGER MY_TRG
    BEFORE INSERT ON TAB1
    FOR EACH ROW
    DECLARE
    ERR_NUM     NUMBER;
    ERR_MSG     VARCHAR2(300);
    BEGIN
    IF :NEW.ID=3 THEN
    INSERT INTO TAB2 (ID, NAME) VALUES ('AAA', 5555);
    END IF;
    IF :NEW.ID = 7 THEN
    INSERT INTO TAB2 (ID, NAME) VALUES ('BBBB','7777');
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
         ERR_MSG:= SUBSTR(SQLERRM, 1, 300);
         ERR_NUM:= SQLCODE;
         INSERT INTO LOG_ERROR (OBJ_NAME, ERR_CODE, ERR_MSG)
    VALUES ('MY_TRG', ERR_NUM, ERR_MSG);
    END MY_TRG;
    When I RUN:
    INSERT INTO TAB1 (ID, NAME) VALUES (3, 'MY_NAME');
    COMMIT;
    I get this error in LOG_ERROR table:
    OBJ_NAME.............ERR_CODE...............ERR_MSG.....................STM_MSG
    MY_TRG...............-1722..............ORA-01722: invalid number.............
    INSERT INTO TAB1 (ID, NAME) VALUES (7, 'YOUR_NAME');
    COMMIT;
    I get same error in LOG_ERROR table:
    OBJ_NAME.............ERR_CODE...............ERR_MSG.....................STM_MSG
    MY_TRG...............-1722..............ORA-01722: invalid number.............
    I'd like to get:
    INSERT INTO TAB1 (ID, NAME) VALUES (3, 'MY_NAME');
    COMMIT;
    OBJ_NAME.............ERR_CODE...............ERR_MSG..........................STM_MSG
    MY_TRG...............-1722..............ORA-01722: invalid number.......INSERT INTO TAB2 (ID, NAME) VALUES ('AAA', 5555)
    INSERT INTO TAB1 (ID, NAME) VALUES (7, 'YOUR_NAME');
    COMMIT;
    OBJ_NAME.............ERR_CODE...............ERR_MSG........................STM_MSG
    MY_TRG...............-1722..............ORA-01722: invalid number.......INSERT INTO TAB2 (ID, NAME) VALUES ('BBBB','7777')
    How can I retrieve the statement that produces this error in the STM_MSG column?
    Thanks in advance!

    Error occured due to ID is number type and you are inserting Char in the insert statement. May it looks like you want to swap the values in the insert.
    To track the error event may be this?
    Modify erro table and add column Event varchar2(200);
    theni sert the ven in to error_log table for the error at each event. somthing like this
    CREATE OR REPLACE TRIGGER MY_TRG
    BEFORE INSERT ON TAB1
    FOR EACH ROW
    DECLARE
    ERR_NUM NUMBER;
    ERR_MSG VARCHAR2(300);
    lEvent varchar2(200);
    BEGIN
    IF :NEW.ID=3 THEN
      lEvent:=' Inserting in to tab2 for id 3';
      INSERT INTO TAB2 (ID, NAME) VALUES ('AAA', 5555);
    END IF;
    IF :NEW.ID = 7 THEN
      lEvent:=' Inserting in to tab2 for id 7';
      INSERT INTO TAB2 (ID, NAME) VALUES ('BBBB','7777');
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
       ERR_MSG:= SUBSTR(SQLERRM, 1, 300);
       ERR_NUM:= SQLCODE;
       INSERT INTO LOG_ERROR (OBJ_NAME, ERR_CODE, ERR_MSG,event)
        VALUES ('MY_TRG', ERR_NUM, ERR_MSG,lEvent);
    END MY_TRG;formatted
    Message was edited by:
    devmiral

  • How could a cin lose object code?

    I am currently using the System Exec.vi. For some reason the object code is now gone. Was there ever a problem with cin losing their object code.

    Robert,
    In order for LabVIEW to be capable of calling compiled functions of C from a running VI, the code must be loaded and unloaded into memory at the same time as the VI code itself. LabVIEW uses object code in the form of a .lsb file which is generated by the C compiler from the C source code using the ntlvsbm.mak file. This ntlvsbm.mak file is included in the CINtools directory in the LabVIEW folder. Do you have this file in this folder?
    I've attached this file from my LabVIEW 7 folder.
    Attachments:
    ntlvsb.mak ‏2 KB

Maybe you are looking for