FM BDS_BUSINESSDOCUMENT_CREATEF  gives dump in background

This works fine when run in SAP GUI.
But when scheduled in a job it dumps with kpro_error.
Pls help.

Make sure you ar catching the exception in your program.
Rob

Similar Messages

  • Dump in Background Scheduling

    Hi all,
              I am using FM 'FILE_GET_NAME' to retrieve path from application server and then i read and write on that file.
    Further my problem is this when i execute program in forground it is running fine but when i am scheduling it to background so it give dump with DATASET_NOT_OPEN.I have checked all varriant for foreground and background but still i face same problem.
    Please help me in this regards
    Thanks
    Gagan

    Hey, Gagan.
    You canot activate FILE_GET_NAME in background mode, it requires user's interrupt.
    Activate it according to sy-batch (eq X at background mode), meaning that if sy-batch is empty activate it and if it equals X initilize the file path with a default file without any user's interuction.
    Best Regards,
    Rebeka

  • Why is InDesign CS5.5 gives me a background when kerning?

    I haven't noticed this ever happening before. I am kerning to reduce a space between two characters and it is give me  shaded background behind the line of text when I do so. I've checked settings and don't see anything obvious causing it.
    Does anyone know what is causing it?

    What color is the shaded background? Is it the whole line of text, or just the kerned character?
    If you go to Edit -> Preferences -> Composition you might find a checkbox next to "Custom Tracking/Kerning."

  • FM ARCHIVE_SCHEDULE_JOB giving dump as background job?

    Hello Everyone,
                       I am scheduling a report in SM37 which consists of FM ARCHIVE_SCHEDULE_JOB.
                       And based on the output of FM, some Ztables are updated and some jobs are created in sm37.
    Now, when i debugged the background job, i found out that Fm is giving Dump 'NO_RUNTIME_INFO' since sy-batch is not initial.
    Due to which Ztables are not updated but the jobs are created....
    Can anyone please help me what should i do on this case?
    Edited by: Suruchi Razdan on Jun 2, 2011 9:45 AM

    Hi Akshay,
    II have copied the Std workflow WS20000075 into a custom one and in the latest end tab, i have selected "Workitem creaton" for Refer Date/Time field and given 5 mins. I have deactivated the workflow in which i have created the containers for date and time and used "Expresion" for latest end and also commented the zmethod in delegated object. Even now also the job is getting cancelled with the same error.
    Any idea why is it happening ?
    regards,
    Trimurty

  • Issue in ESS i.e. gives dump error while availing a leave through ESS

    Hi All,
    In My client place, system gives a dump error when employee is maintaining its leave in ESS system.Here TM is not integrated with payroll.
    Plz help me how to resolve the issue.

    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(FPMConfigurationUsage): Active component must exist when getting interface controller. (Hint: Have you forgotten to create it with createComponent()? Should the lifecycle control of the component usage be "createOnDemand"?
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureActiveComponent(ComponentUsage.java:773)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUsage.java:348)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:335)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetFPMConfigurationUsageInterface(InternalFPMComponent.java:245)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.changeToExceptionPerspective(FPMComponent.java:862)
         at com.sap.pcuigp.xssfpm.java.MessageManager.handleException(MessageManager.java:259)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:104)
         at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModelInternal(BackendConnections.java:323)
         at com.sap.pcuigp.xssfpm.wd.BackendConnections.initBackend(BackendConnections.java:256)
         at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModel(BackendConnections.java:154)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.connectModel(InternalBackendConnections.java:237)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.connectModel(FPMComponent.java:842)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.connectModel(FPMComponent.java:1072)
         at com.sap.pcuigp.xssfpm.wd.BackendConnections.init(BackendConnections.java:141)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.init(InternalBackendConnections.java:233)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:182)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:782)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:302)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:332)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

  • SUBMIT via selection screen and return gives dump

    Hi Guys,
    When i have used SUBMIT via SELECTION SCREEN and RETURN, it gave me the selection screen and subsequent report is executed properly without an error and when i pressed back button, it went to selection screen without any issues but the problem is when i press back from the selection screen it gives me a dump. Could you guys think of what would be the probelm.
    Thanks in Advance.
    Santosh.

    Hi Santhosh,
    What is the dump u r getting? I tried like this and is working file.
    Report1
    REPORT  Z75694TEST1.
    PARAMETERS po_1 TYPE c.
    WRITE po_1.
    SUBMIT Z75694_TEST VIA SELECTION-SCREEN AND RETURN.
    Report2
    REPORT Z75694_TEST .
    PARAMETERS: po_2 TYPE c.
    WRITE po_2.
    Thanks,
    Vinod.

  • COND_A04 posting give dump for scale table TVFSCB while COND_A01 posts

    Hello Guys,
    We are uploading condition records in SAP from external system using IDOC. IDOC of basic type COND_A04 is proposed. But while posting the data using COND_A04, system gives a dump as below
    Error analysis
        Short text of error message:
        Error in READ TABLE G_TVFSCB_TAB (Key:    )
        Long text of error message:
        Technical information about the message:
        Message class....... "VYSC"
        Number.............. 002
        Variable 1.......... "READ TABLE"
        Variable 2.......... "G_TVFSCB_TAB"
    If we use the same data and use IDOC type COND_A01 the IDOC is posted successfully. I would like to know
    1. Is there any issue if we use COND_A01? What are the advantages of COND_A04?
    2. Why SAP is expecting values in TVFSCB? How can I find the reason?
    Thanks
    Vikas

    I feel, the issue relates to some shipment cost as the table TVFSCB relates to that.  Nevertheless, have a look at the following notes which may help you
    1)  Note 507828 - VI01/VI02: Program termination after price refresh
    2)  Note 578232 - VI01/VI02: VYSC806 Multiple cumulation without group cond.
    3)  Note 619945 - VI01: Runtime error VYSC 002 'READ g_vfkomv'
    4)  Note 675591 - Error when copying multi-dimensional freight conditions
    thanks
    G. Lakshmipathi

  • How to catch dump in background spool

    Hi Experts,
      I am a fresher and in background I want to execute a program, which is creating dump in production server and which I am not able to see the screenshots. The dump occurs, as I raise error message in start of selection. Can I see the dump output in spool or anything in testing server, forwhich I am authorised in my company. Could you say how to catch the dump. Should I eliminate the error messages or could I catch the error message also. Please help for this.
    Thanks and regards,
    Venkat, IBM.

    Hi Venkat,
    You will have to get the necessary authzn to production server for ST22 transaction.
    There is no way to access the dump of production server from Unit testing client.
    Other alternative could be to simulate the same program in background in Unit testing server & check whether it dumps.
    Schedule a job in SM36 for the same program in Quality/Unit testing client & check the output.
    Best regards,
    Prashant

  • Migo_gr dump in background

    hi all,
            we are running the call transaction for tcode migo_gr in foreground which is working fine,when we try the same doing by background scheduling  we are leaving at dump side.pleas can anyone help on this.why it is behaving like this..
    thanks alot .

    Please see note 304122. This transaction is not suitable for batch input in the background. You can either convert to a BAPI or use the old transaction in batch input.
    Rob

  • FM  "COM_PRCAT_CREATE_API_INT"  gives  dump

    Hi all,
    I am trying to use the foll FM  "COM_PRCAT_CREATE_API_INT" in a report but getting an exception:
    Function module "COM_PRCAT_CREATE_API_INT" was called
    with the parameter "IV_HIEARCHY_EXIST_IN_PME".
    This parameter is not defined.
    When i run this FM seperately and passing a blank value to this parameter,it works .However  when using it in a report,if i pass a blank value to the parameter "IV_HIEARCHY_EXIST_IN_PME" the it gives the above dump.Since this parameter is a  mandatory parameter,I need to pass some value to this parameter.
    Can somebody throw some light?

    Hi,
    You are  calling the FM wrongly ...
    the parameter name is : IV_HIERARCHY_EXIST_IN_PME
    and not IV_HIEARCHY_EXIST_IN_PME
    BR,
    Disha.
    Do reward points for  useful answers.

  • Dump while background processing

    Hi
      When I run my program in forground I am able to download the file on PC.But when I run the program in background its generating the spool but its not creating the file on my PC for the path I have giving and also its not showing any output in the spool that its creating.When I remove the download file option and execute the program in background it works fine.
    Please advise.
    Thanks and Regards
    Davinder Singh

    You cannot download to your desktop in background. When you execute in the background, the execution actually happens on the server end and your server will not know your desktop location at that time. That is why it dumps. If your local directory structure is mounted on the application server, only in such cases, it treats the desktop locations similar to application server location. But even in those cases, you cannot use WS_DOWNLOAD or GUI_DOWNLOAD etc. You have to create a file on the application server using OPEN DATASET, TRANSFER, and CLOSE DATASET commands.

  • F4 help on web report gives dump

    Hello all,
    I am facing one issue on BI 7.0 web template as well as BI 7.0 Analyzer.
    We have one query, which works fine in BEx 3.x Analyzer, but when I execute the same query in BI 7.0 Web Analyzer / Bex Analyzer, it gives the dump while selecting the value for mandatory variables.
    I have two mandatory variables in this query. Date Interval and Plant. This query works fine in Quality, but it gives me dump only in Production.
    I performed following checks.
    1. If I select Plant and then click on the F4 help button for Day -> DUMP
    2. If I do not select Plan and click on the F4 help button for Day -> works fine -> After selecting date, click on the F4 help for Plant -> Works fine
    3. If I select Plant and put the date manually in the selection -> Click Check Button or Execute Button -> DUMP
    I was going through couple of threads. As per those threads, I did try changing the date variable from standard SAP to custom variable but that didn't help. I also tried changing the cache size, but didn't help.
    Please help. We are on BI 7.0 - SP21, BI Java SP 19 - Patch 30.
    Thanks,
    Danny

    In the first case
    1.
    Termination message sent
    ERROR BRAIN (629): Specify a value for variable Day Interval
      MSGV1: Day Interval
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    Second / Third with I execute the report
    2 / 3.
    Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    Thanks,
    Danny

  • Time_out dump in BackGround job

    Hi experts,
    I am facing an issue while scheduling a Background Job.The entire scenario is as follows.
    A RFC function module has been called  in the Report Program.The code inside the RFC function module is fetching a data from the database table(Select Query has been written).But in Production server system is giving the Time_out DUMP at this select Query which is written inside RFC function module.
    Table is having large number of records.For this Code optimization has been done already.
    Moreover entire report has been scheduled in Background.But I came to know RFC will work in Foreground only even though entire report program is scheduled in Background.
    Can anyone suggest how to solve this problem?
    For your information time limit has been maintained for Foreground job.

    Hi, Akhil, the rfc call is of course not run in foreground, but in dialog work process. Thats the same work process type, that performs requests of dialog users. Even though it does not sound much logically in first look, it has a logic. Also other limits for dialog users will apply.
    If you have to run the FM through RFC, there is no way how to bypass the dialog work process runtime limit on destination system, it will just apply, in my opinion I would recommend you don't loose your time to work around this point. afaik it does not matter if you start it synchronously or asynchronously.
    But as I wrote, you can try to throw a commit work in destination system occasionally, if you can (e.g. if you are not blocked in one big select query), you can also increase the runtime limit (but for all users on the same instance). You can redesign your application...
    If you will study the dump, you will find that it occurred on the destination (accounting) system, not in the calling system - where you are really ok since you run in background work process.
    Also, during the active RFC call you can monitor the destination system with SM66, where you will see this running process in DIA work process with the time increasing, before it will fail.
    On the other hand if you will start SM66 on caller system, you will see the work process is BTC

  • MKT_ELEMENT_CREATE gives Dump during creation of Campaign Element

    Hi,
    I am trying to create campaign element through code and I am getting dump in the following class method.
    Class : CL_CRM_MKTPL_OL_MKTPROJECT
    Method : SET_ATTRIBUTES
    Line No : 15 ->> lr_header_item->get_attributes( EXPORTING iv_get_external_attributes = abap_true
                                      IMPORTING es_attributes              = ls_header_attr ).
    In above statement LR_HEADER_ITEM comes as Initial.
    Below is the code for creating campaign element.
    DATA: LR_TASK          TYPE REF TO CL_CGPL_TASK,
            LR_TASKS         TYPE REF TO CL_CGPL_TASKS,
            LR_PROJECT       TYPE REF TO CL_CGPL_PROJECT.
      DATA: WA_PROJECT  TYPE CGPL_PROJECT.
      DATA: WA_TASK     TYPE CGPL_TASK.
      DATA: LIT_TASKS   TYPE CGPLD_ITAB_TASK.
      DATA: WA_MESSAGE TYPE BAPIRET2.
      DATA: LIT_RETURN TYPE TABLE OF BAPIRETURN1.
      DATA: WA_CAMPAIGN TYPE CRM_MKTPL_CAMPAIGN,
            WA_ATTRIBUTES TYPE CRM_MKTPL_MKTELEMENT.
      DATA: LV_GUID TYPE SYSUUID-X."BAPI_MARKETINGELEMENT_GUID-MKTELEMENT_GUID.
      DATA: LV_CAMP_GUID TYPE BAPI_MARKETINGELEMENT_GUID-MKTELEMENT_GUID.
      CALL FUNCTION 'MKT_ELEMENT_READ'
        EXPORTING
          MARKETINGELEMENT = IV_SOURCE_GUID - THIS IS A IMPORT PARAMETER OF FUNCTION MODULE ( CAMPAIGN GUID ).
        IMPORTING
          EX_CAMPAIGN      = WA_CAMPAIGN
          EX_ATTRIBUTES    = WA_ATTRIBUTES.
      CONCATENATE WA_ATTRIBUTES-EXTERNAL_ID '_' SY-DATUM '_' SY-UZEIT INTO WA_ATTRIBUTES-EXTERNAL_ID.
      WA_ATTRIBUTES-OBJECT_TYPE = 'CPT'.
      CALL FUNCTION 'SYSTEM_UUID_CREATE'
        IMPORTING
          UUID = WA_ATTRIBUTES-GUID.
      LV_CAMP_GUID = WA_ATTRIBUTES-GUID.
      WA_ATTRIBUTES-PROJECT_GUID = IV_SOURCE_GUID.
      WA_ATTRIBUTES-PARENT_GUID = IV_SOURCE_GUID.
      CALL FUNCTION 'MKT_ELEMENT_CREATE'
        EXPORTING
          IM_MARKETINGELEMENT = LV_CAMP_GUID
          IM_ATTRIBUTES       = WA_ATTRIBUTES
        TABLES
          RETURN              = LIT_RETURN.
      IF LIT_RETURN[] IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT = 'X'.
      ENDIF.

    This would happen if you are not passing the right guid to the program or Function Module. Please check that the guid is available in cgpl_project table.
    Ajay Gupta

  • RFC call from portal gives dump call_function_open_error

    Hi all ,
    We have a RFC function module where standarad BAPI BAPI_ENTRY_SHEET_CREATE IS USED
    where a dump  call_function_open_error occurs when the rfc is called from portal , while on r3 it works fine.
    I wanted to know if somebody has faced this kind of problem anytime and what can be the possible solution .
    There is no problem with data , there is no problem with RFC where can be the problem ?
    Please suggest >

    Hi Bhanu,
    Can be helpful
    too many dumps in production Env: CALL_FUNCTION_OPEN_ERROR

Maybe you are looking for

  • Problem calibration , ink tonner cartridge

    Hi , i've got a c4480 printer , and i've got problem with cartridge and allignement , on the screen it appears incopatible print cartridge , i did the start button + cancel to reset the printer , i've reset it and then , i've tryed to callibrate it a

  • Adobe Flash Player for MAC

    Please Help!!  How can I download adobe flash player on my 10.6.8 mac os  I keep getting blocked plug in every time I try.  I'm computer illerate and need to speak to a real person.  How do I do that?

  • HANA Live - SAP SNC

    Hi All, Can you please suggest if there is any HANA Live exist for SNC (Supply Network Collaboration). I have gone through with the required Standard guides but i am not able to find any component of HANA Live for SNC. Please suggest. Thanks

  • Regarding interface objects

    Hi Experts,           can anybody give me regarding: 1. External Definitions, Context objects,Data Type Enhancement 2. what is product, application,Technical System,Business System 3. what is the deffirence between Business system and Business Servic

  • How to retry a external webservice without fault policy framework?

    hi , -->i want retry a external web service if invocation fails first time, without using fault policy frame work how to achieve this? -->I have a Advanced Queue in OSB, i am Dequeueing that  , i have a proxy to deque the AQ topic, with any reason de