Program is erroring out in production system due to transport being missed

hey,
we are having a issue where program is erroring out in production which works perfectly fine in dev. we are guessing because of transport is being missed to move to production.
what is the best solution.
is there way in SAP where we can overwrite a whole program with a current program in dev using a transport so that program will contain latest code. how to create such transport. i created using write a transport entry option in se80 where i recreated a workbench request transport which errored out as welll. what are other options.
thanks

Ramakrishna
Looks like this is for the tax line (based on the fact that it is trying to update the link_to_line_id). The issue seems to be from the duplicate interface_line_attributes for the two different lines.This leads to this query returning more than one row for the tax line when it is trying to update.
For two different lines, make one of your interface_line_attributes (in this query I see 1, 13, 14, 15) unique.
Thanks
Nagamohan

Similar Messages

  • XML Report Publisher program is erroring out

    Hi All,
    I've customized the AR Customer Statements.
    I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
    As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
    So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
    I've added the below code in After Report trigger.
    =======================================
    FUNCTION AfterReport
    RETURN BOOLEAN
    IS
    BEGIN
    Below code added for Customer Statement Case Study
    DECLARE
    l_req_id NUMBER := 0;
    L_XML_LAYOUT BOOLEAN := TRUE;
    BEGIN
    L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
    IF L_XML_LAYOUT THEN
    srw.message(20001, 'Template is picked ');
    srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
    l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :p_conc_request_id,
    222, -- Receivables
    'ARXSGPO', -- Statement Generate
    'en-US', -- English
    'N',
    'RTF',
    'PDF');
    IF l_req_id > 0 THEN
    COMMIT;
    ELSE
    srw.message(20004, 'Failed to submit request');
    END IF;
    ELSE -- Not L_XML_LAYOUT
    srw.message(20005, 'Template is not picked ');
    END IF;
    END;
    --------------------Code Ends----------------------------
    SRW.USER_EXIT('FND SRWEXIT');
    RETURN (TRUE);
    END;
    ==============================================
    After Printing the Statements through Print Documents-->Statements
    Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
    But the XML Report Publisher Program is erroring out with below error.
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOREPPB module: XML Report Publisher
    Current system time is 03-SEP-2012 17:42:18
    Oracle XML Publisher 5.6.3
    java.lang.NumberFormatException: For input string: "ARXSGPO"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    ------------- 1) PUBLISH -------------
    Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-SEP-2012 17:42:22
    Please help out with a solution.
    Thanks,
    Tech D

    for r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
    follow works for me
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'N', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888651
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL> 'Y' for "Dummy for Data Security" also works for me
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'Y', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888652
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL>

  • Error in SCM production system

    We are getting following 2 errors in SCM production system. Does anybody know what could be the reason
    Time series error in class /SCF/CL_ICHDM_DATAAXS method /SCF/IF_ICHDMAXS_2_CNTL~SELECT
    Access error for time series type, key figure INTRANSITORPL,ODM message
    Regards,
    Vaibhav

    Hi Vaibhav
    Note 1420372 & 1454608
    Please implement them, there are some manual steps too
    After that go back to screen, Use refresh button , The reported error will not appear
    Regards
    Vinod

  • Execute custom SQL in DB Adpater errors out in Production - urgent please.

    Hi,
    I get this error when running the process in PROD at invoking delete operation that I'm doing by selecting the execute custom SQL option while defining the DB adapter. It worked fine in TEST environment but errors out in PROD env.
    Any suggestions on why? Its urgent.
    Thanks
    -Prapoorna
    The state of this instance is Faulted
    <messages><input><InvokeDelete_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="DeleteDataInput_msg"><DeleteDataInput xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DeleteData"/>
    </part></InvokeDelete_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>17410</code>
    </part><part name="summary"><summary>file:/prod/app/bpel/as/bpel/domains/verint/tmp/.bpel_SynchOTLLoad_1.0_0259c5f142631959ec0fb067d23fe98e.tmp/DeleteData.wsdl [ DeleteData_ptt::DeleteData(DeleteDataInput_msg) ] - WSIF JCA Execute of operation 'DeleteData' failed due to: Pure SQL Exception.
    Pure SQL Execute of delete from xxhxc_timeattend_to_otl where report_date >= TRUNC(ADD_MONTHS(sysdate, -1),'MM') failed. Caused by java.sql.SQLException: No more data to read from socket.
    ; nested exception is:
    ORABPEL-11633
    Pure SQL Exception.
    Pure SQL Execute of delete from xxhxc_timeattend_to_otl where report_date >= TRUNC(ADD_MONTHS(sysdate, -1),'MM') failed. Caused by java.sql.SQLException: No more data to read from socket.
    The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead.
    </summary>
    </part><part name="detail"><detail>No more data to read from socket</detail>
    </part></remoteFault></fault></messages>

    Looks like in production you have much more data than you do in your test environments.
    It could be something wrong with your rollback segments. Is there any other activity happening when this is running?
    What happens when you run this command inside SQLPlus?
    cheers
    James

  • In R12 standard Auto Invoice Import program is erroring out

    Hi All,
    The standard Auto Invoice Import concurrent porgram is erroring out when i run for the source as 'SUM_DIF', in the log messages its showing the following error:
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = sysdate,
    LAST_UPDATED_BY = :b2,
    LAST_UPDATE_LOGIN = :b3,
    CUSTOMER_TRX_ID = NULL,
    INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
    RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
    SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
    LINK_TO_LINE_ID =
    SELECT INTERFACE_LINE_ID
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b5
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    WHERE NVL(INTERFACE_STATUS, '~') != 'P'
    AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
    AND EXISTS
    SELECT 'x'
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b7
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    len = 1289
    Current system time is 18-SEP-2008 21:35:19
    APP-AR-11526: ORA-01427: single-row subquery returns more than one row
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = !
    APP-AR-11526: 5069629/ar/src/autoinv/raamil.lpc 1342
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = sysdate,
    LAST_UPDATED_BY = :b2,
    LAST_UPDATE_LOGIN = :b3,
    CUSTOMER_TRX_ID = NULL,
    INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
    RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
    SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
    LINK_TO_LINE_ID =
    SELECT INTERFACE_LINE_ID
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b5
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    WHERE NVL(INTERFACE_STATUS, '~') != 'P'
    AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
    AND EXISTS
    SELECT 'x'
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b7
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    Error calling raamil()
    Error calling raapft()
    Thanks,
    Ramakrishna.
    Edited by: user605279 on Sep 18, 2008 11:59 PM

    Ramakrishna
    Looks like this is for the tax line (based on the fact that it is trying to update the link_to_line_id). The issue seems to be from the duplicate interface_line_attributes for the two different lines.This leads to this query returning more than one row for the tax line when it is trying to update.
    For two different lines, make one of your interface_line_attributes (in this query I see 1, 13, 14, 15) unique.
    Thanks
    Nagamohan

  • Supplier Site Contacts Open Interface Import Program is erroring out.

    Hi,
    We are on 12.0.4 on solaris 10.
    Tomorrow is go-live in one of our client, When we doing data migration. Uploaded the data into Interface table. From there we are running this standard program to push th edata into standard table.
    Its erroring out saying:
    ================
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: unable to extend temp segment by 128 in tablespace TEMP2
    ==> SELECT INT.org_id C_Rejected_Org_Id,
    ===============
    I have added 2 GB of Tempfile to the tablespace even though it is erroring in the same. And it is taking too much time to give error.
    We are tried with only one record also it is taking 1 hr to give the error.
    Please help me out in resolving the same.
    Many thanks in Advance..
    Supplier Site Contacts Open Interface Import

    I believe you hit Bug# 6624764, so you may need to apply (Patch 6624764 - SUPPLIER REPORT ERROS WITH ENTER PASSWORD: REP-0069: INTERNAL ERROR REP-57054).
    Please log a SR to confirm this with Oracle Support.
    Note: 565898.1 - Oracle Financials Software Updates, Release Update Pack 5
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=565898.1

  • XML Job is error out due to "emsg:was terminated by signal 11"

    We are using XML report to print checks and today suddenly program started error out. Due to following reason.
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    /u30/app/applmgr/abghfprd/806/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /u30/app/applmgr/abghfprd/806/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 8B
    stat_high = 0
    emsg:was terminated by signal 11
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program was terminated by signal 11
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 5641862.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 5641862 on node E2PSCORHRMDBA02 at 09-JAN-2013 12:56:20.
    Post-processing of request 5641862 failed at 09-JAN-2013 12:56:21 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Please help me if anybody faces this kind of issues.

    980896 wrote:
    Hi,
    Application version 11.5.10.3 and data base version 11g. Unix OS
    And here is the OPP log details on this.
    Output type: PDF
    [1/9/13 3:43:56 PM] [UNEXPECTED] [524201:RT5642840] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Unexpected EOF.
    at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
    at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java:526)
    at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1287)
    at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
    at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
    at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
    thanks,
    KrishnaPlease see these docs.
    Output Post Processor (OPP) Log Contains Error "oracle.xdo.parser.v2.XMLParseException: Unexpected EOF" [ID 1273272.1]
    Output Post Processor Fails Due To oracle.xdo.parser.v2.XMLParseException: Unexpected EOF [ID 741501.1]
    R12.1:Pymt Format Instruction Rpt Fails Java.Lang.Reflect.Invocationtargetexception [ID 1328979.1]
    EEO Error Signal 11 Post-Processing Of Request Failed Caused by: oracle.xdo.parser.v2.XMLParseException: Unexpected EOF [ID 461321.1]
    Thanks,
    Hussein

  • IDOCs error in Production System

    Hi Gurus,
       In Production system, there is a CRM oppertunities process chain is running on hourly basis, the data was updated to DSO successfully, but for the past one week it was not updating to further processing InfoCube, there is an error.
    error:  Idoc Ready to be transferred to application.
    Please update me step by step procedure.
    Thanks

    Hi,
    Check the DataSource in RSA3, if it is working fine and able to see the data in RSA3, there is no problem in DS level, then checl the Mappings and any routines in BW for that DS, if this is also fine then check the below options.
    See Dumps in ST22, SM21 also.
    Check RFC Connection between ECC and BW systems, i.e. RSA1-->Source System->Right Click on Source system and Check.
    You must have the following profiles to BWREMOTE or ALEREMOTE users.So add it. Bcoz either of these two users will use in background to get extract the data from ECC, so add these profiels in BW.
    S_BI-WHM_RFC, S_BI-WHM_SPC, S_BI-WX_RFC
    And also check the following things.
    1.Connections from BW to ECC and ECC to BW in SM59
    2.Check Port,Partner Profiles,and Message Types in WE20 in ECC & BW.
    3.Check Dumps in ST22, and SM21.
    4.If Idocs are stuck i.e see the OLTP Idoc numbers in RSMO Screen in (BW) detials tab see in bottom, you can see OLTP Idoc number and take the Idoc numbers and then goto to ECC see the status in WE05 or WE02, if error then check the log else goto to BD87 in ECC and give the Idoc numbers and execute manually and see in RSMO and refresh.
    5.Check the LUWs struck in SM58,User Name = * (star) and run it and see Strucked LUWs and select our LUW and execute manually and see in RSMO in BW.
    See in SDN
    Re: Loading error in the production  system
    Thanks
    Reddy

  • Error In webdynpro java application in production system.

    HI Friend ,
       I am getting the following error in the production system, but it is working fine in the develop system and quality system.
                 com.sap.dictionary.runtime.DdException: Type com.itc.espb.fetchmodel.types.Yypp_Teco_Orders does not exist
                 at com.sap.dictionary.types.mdi.util.ProviderUtil.createAbapTypeXmlMap(ProviderUtil.java:413)
                 at com.sap.dictionary.runtime.mdi.DataProvider.createSimpleTypeFromAbapType(DataProvider.java:587)
                 at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:287)
                 at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:94)
                 at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:169)
      Please let me know what is the problem it's urgent ?
    Thanks & Regards,
    Murali

    Hi Murali,
        Looks like the related RFC from backend has not been transported to the production server. Please check if the RFC is transported. You can check your named transport requests in SE09 T.code in your quality.
    Hope it helps.
    Regards
    Uday

  • Importing Program from Production System to DEV and QAS.

    Hi All,
    I have 3 Systems in my Landscape.
    DEV-> QAS-> PRD
    One of my Z program is running in the Production system.
    This Z program is got deleted in the DEV and QAS.
    How can I import the Program from Production System to QAS and DEV.
    Regards,
    Viji.

    hi Vijaya laxmi,
    you can goto Production system ---> SE38/ SA38 and copy the program and create the same in program using SE38 in Development system  and then transport it to Quality system.
    You can also Re-Import the Request from Production to Dev system.
    Thanks,
    Nelson
    Edited by: Nelson karunakar on Sep 18, 2008 7:15 AM

  • Error out the ABAP program execution

    I have an ABAP program which transfers data from a file to a database table thru function module in packages of 50,000 records.
    Upon the successful completion of this ABAP program, I start dependent processes.
    Sometimes the function module does not transfer the data and returns the exception back to the ABAP program - which is an expected scenario. Currently when ever an exception is received in the function module, I stop the ABAP program with a STOP statement.
    The ABAP program stops, which meets my first objective. But what happens is, if you look at the job log --> it is Completed in terms of program execution and the dependent processes automatically start - which is not meeting my second objective.
    My second objective is to force the ABAP program to error out in such a way that .........
    1) The program execution is stopped
    2) If I look at the job log it should not be Completed (I am looking for something like Cancelled so that the dependent process do not get started automatically)
    Is it possible to error out the ABAP program execution by raising an exception or something, so that when i look at the job log - it shows Cancelled and not Completed?
    Let me know if you have any questions.
    Thanks,
    RK.

    Adrian,
    Thanks - This is exactly what I was looking for, it works.
    For some reason Messages skipped my mind and I was looking at raising Exceptions
    Solution:
    if sy-subrc NE 0.
      message id 'abc' type 'E' number 000.
    endif.
    Thanks,
    RK.
    Edited by: RK on Jan 17, 2010 7:47 PM
    Edited by: RK on Jan 17, 2010 7:50 PM
    Edited by: RK on Jan 17, 2010 7:52 PM

  • Runtime error DBIF_REPO_SQL_ERROR in production server

    Hello All,
    I am recieving the following running time error in my Production system. Any help would be really appreciated.
    Runtime Error          DBIF_REPO_SQL_ERROR
           Occurred on     06.09.2009 at   19:16:45
    *SQL error 3114 occurred when accessing program*
    What happened?
    The system is no longer linked to an ORACLE instance.
    No further operations can be performed on the database.
    What can you do?
    You cannot eliminate this error yourself.
    Please inform your database administrator.
    Make a note of the actions and input which caused the error.
    To resolve the problem, contact your
    SAP system administrator.
    With transaction ST22, for dump analysis, you can see and manage
    termination messages and, in particular, save them for longer periods of
    time.
    Make a note of the actions and input which caused the error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    The system attempted to access an ORACLE instance to which it is
    no longer linked.
    This can occur if the ORACLE instance has been stopped due to an
    error or an external operation.
    How to correct the error
    Database error text........: "ORA-03114: not connected to ORACLE"
    Triggering SQL statement...: "CX_SY_OPEN_SQL_DB=============CP "
    The current status of the ORACLE instance cannot be determined.
    It may still be inactive or the database administrator may have
    restarted it.
    In any case, all systems that have accessed the ORACLE instance
    must be restarted after the ORACLE instance has been restarted.
    If you were working on a central system, inform
    your system administrator.
    If you were working on an external local system, inform
    the person responsible for this system.
    If you were working on your own local system, restart
    the system yourself.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "DBIF_REPO_SQL_ERROR" C
    "SAPLSALA" or "LSALAU01"
    "SALA_UPDATE_TRANS_SPEZ_MON"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "DBIF_REPO_SQL_ERROR" C
    "SAPLSALA" or "LSALAU01"
    "SALA_UPDATE_TRANS_SPEZ_MON"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    Internal call code.........: "[REPO/*/43/LOAD/CX_SY_OPEN_SQL_DB=============CP
    Please check the entries in the system log (Transaction SM21).
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "DBIF_REPO_SQL_ERROR" C
    "SAPLSALA" or "LSALAU01"
    "SALA_UPDATE_TRANS_SPEZ_MON"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    Already we have checked the SAPnotes 534729, 135942 and 112266 advice to configure all network
    components on the same fixed speed and full-duplex, instead of using the auto-negotiating.
    Please suggest... thanks in advace.
    Regards,
    Suresh
    Edited by: Suresh Kalagarla on Sep 9, 2009 11:27 AM

    I'd say the dump tells you what you need to do:
    > -
    > What happened?
    > -
    >
    > The system is no longer linked to an ORACLE instance.
    > No further operations can be performed on the database.
    >
    > -
    > What can you do?
    > -
    >
    > You cannot eliminate this error yourself.
    > Please inform your database administrator.
    > Make a note of the actions and input which caused the error.
    > -
    >
    > To resolve the problem, contact your
    > SAP system administrator.
    >

  • Supplier Sites Interface errors out -- URGENT!! please help.

    Hi All,
    The log file has the following message when executing the supplier sites interface import program that errored out:
    REP-1419: 'beforereport': PL/SQL program aborted.
    I have searched Metalink where they said the Batch Size should be 1000 by default. I did the same but still did not work.
    I have made sure that teh vendor_id, vendor_site_code, org_id combination is unique.
    I am not sure why I am getting this record. I have to process around 300000 records. When I ran the import progam the first time, it errored out after processing 171000 records. Then when I ran the program again for new records(that were not imported) it errored out after processing 42000 records. I dod not know how to resolve this issue.
    Please help!!
    Swati

    Please check if the following notes are applicable to the issue:
    Note: 369443.1 - Supplier Sites Open Interface Import Errs With Rep-1419 Rep-1419
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=369443.1
    Note: 369913.1 - Supplier Open Interface Import (APXSUIMP) Errors: Rep-1419
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=369913.1

  • OPEN ITEMS EXTRACTION (FPBW) cancel in productive system... HELP

    Hello!
    I have received this message when I executed FPBW transaction, Open items extraction for BW... I have looked in Notes OSS but nothing... Could you helpme please? Do you have any idea what was the problem??? I think it is Basis problem in Database, but I am not sure, please it is urgent, because the error was in productive system---
    The exception must either be prevented, caught within the procedure    
    "FETCH_CURSOR"                                                        
    "(FORM)", or declared in the procedure's RAISING clause.               
    To prevent the exception, note the following:                          
    Database error text........: "ORA-01555: snapshot too old: rollback segm
    number 169 with name "_SYSSMU169$" too small"                         
    Internal call code.........: "[RSQL/FTCH/DFKKOP ]"                     
    Please check the entries in the system log (Transaction SM21).                                                                               
    You may able to find an interim solution to the problem                
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:                                                                               
    "DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC                               
    "SAPLFKKOP03" or "LFKKOP03FR1"                                         
    "FETCH_CURSOR"

    Hi,
    How you resolved this issue?
    If you are having the solution for this please share with me as well.
    and one more thing, how can we schedule these two jobs in background for daily loading the data into DFKKCIBW and DFKKOPBW.
    Please share these two things with me.
    Thanks in advance.
    Srinivas

  • BI Production System

    Hi,
    In our company, we are planning to go live in a couple of weeks and are running tight on schedule. I have been assigned the work of checking the BI production system.
    The transportation from Test to Production has not happened so far, but I got to check the system to see if we have everything in place in the BI system.
    The landscape has a developement box, a test box and a production box. Enterprise portal will be used and the BI system will be feeding the reports to the EP.
    We have a ECC 6.0 system and a BI 7.0 system. The current patch level is 10 on the BI system.
    What is it that I should be looking for in the BI system?
    Any suggestions and comments are appreciated and will be duely rewarded with points.
    Thank you,
    DV

    If the production box is empty now, your focus should be on the test system.
    It is a practice is maintain the error logs of various activities that were performed in the test system. Get that log and review to see anything you can do preemtively in prod  box.
    Check the capacity, load, sizing of the prod system.
    Do the go live check including RSRV checks.
    Ravi Thothadri

Maybe you are looking for

  • Using Apple TV 3, I get mad pixel problems!

    When I'm watching shows and movies, I get intermittent periods where I get bunched of garbled pixels on the screen - sometimes green, sometimes white... it's crazy. Last for a few seconds, but can happen several times over the course of a 1/2 hour sh

  • Strange bug (ArgumentError #1112) in extending MediaTraitBase

    Hello. I'm implementing a custom dynamic stream trait, which allows to use stream switching with standard progressive video. When I create the Trait (in the proxy element) a runtime error is thrown: ArgumentError: Error #1112: Discordancia del recuen

  • How do I download from a portable drive to my new computer?

    My hard drive crashed. The geek squad was able to copy the info (including my photoshop elements 3.0 pictures) onto a new portable Hard Drive. I bought a new PC.I have hooked up the portable drive to my new pc, and installed Elements 3.0 on the new P

  • HP Deskjet 1000 Printer - J110a cannot print in color using WIndows 8

    J110a cannot print in color using WIndows 8. The printer will only print in black and white even though it works fine on a PC with Windows 7. I installed the latest drivers from the HP web-site.

  • Can't get back online

    over last week issues signing in now can't get back online ... what the heck is going on?