BDC dump

Hi
I have created bdc program for fnfo t.code.
After the below statement it is going to dump.
svym value = 200907
perform bdc_field       using 'VDPOKO-SVYM'    SVYM.
FORM BDC_FIELD USING FNAM FVAL.
  IF fval  NE  NODATA_CHARACTER.       "after this line going to dump
    CLEAR BDCDATA.
    BDCDATA-FNAM = FNAM.
    BDCDATA-FVAL = FVAL.
    APPEND BDCDATA.
  ENDIF.
ENDFORM.
Error
Unable to interpret "/" as a number.
pls help me out
Edited by: Kumar k on Nov 21, 2009 5:09 PM

Hi,
System is trying to interpret the vaue in   SVYM as a number(posting period) and comparing with character variable. So try to modify below code in your program.
perform bdc_field       using 'VDPOKO-SVYM'    SVYM. "Delete
l_charactervariable = svym.
perform bdc_field       using 'VDPOKO-SVYM'    l_charactervariable .
You may have to check and change all such type of fields.
Thanks,
Vinod.

Similar Messages

  • BDC Coding & Short Dump

    HI Experts,
    I need to change the Document by using the FB02 Transaction. For this I am using BDC Call transaction. I did this by Recording. While Executing I am getting short dump. Can any one help me ASAP.
    BDC Code….
      DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
      DATA: messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
      CONSTANTS:  lv_tcode LIKE tstc-tcode VALUE 'FB02'.
      DATA: it_bseg LIKE bseg OCCURS 0 WITH HEADER LINE.
      DATA: w_chect LIKE regud-chect,    "CHECK NO.
            w_bukrs LIKE bseg-bukrs,    "COMPANY CODE
            w_belnr LIKE bseg-belnr,     "Accounting Doc. No.
            w_augbl LIKE bseg-augbl,    "Doc No. Of Clearing Doc.
            w_blart LIKE bkpf-blart,    "Document type.
            w_zlsch LIKE bseg-zlsch,    "Payment methods.
            w_assig LIKE bseg-zuonr,    "Assignment
            w_count(2) TYPE n,
            w_rep(2)   TYPE n.
    *First find out the Posting Document No.
      SELECT SINGLE augbl FROM bseg INTO w_augbl
             WHERE bukrs = regup-bukrs
             AND   belnr = regup-belnr.
      SELECT * FROM bseg INTO TABLE it_bseg
               WHERE bukrs = regup-bukrs
               AND   belnr = w_augbl.
    *Findint the Cheque No. from PAYR
      SELECT SINGLE chect FROM payr INTO w_chect
             WHERE vblnr = w_augbl
             AND   rzawe IN ('C','S').
    *Finding the Posting Document Type
      SELECT SINGLE blart FROM bkpf INTO w_blart
             WHERE belnr = w_augbl.
      SELECT COUNT( * ) FROM bseg INTO w_count
             WHERE belnr = w_augbl
             AND   zlsch IN ('C','S').
      IF w_blart EQ 'ZP' AND w_count GT 0.
        MOVE 01 TO w_rep.
        PERFORM bdc_dynpro      USING 'SAPMF05L' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF05L-BELNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RF05L-BELNR'
                                      w_augbl.
        PERFORM bdc_field       USING 'RF05L-BUKRS'
                                      regup-bukrs.
        PERFORM bdc_field       USING 'RF05L-GJAHR'
                                      regup-gjahr.
        w_count = w_count + 1.
        DO w_count TIMES.
          PERFORM bdc_dynpro      USING 'SAPMF05L' '0700'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'RF05L-ANZDT(w_rep)'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=PK'.
          IF w_rep EQ 01.
            PERFORM bdc_dynpro      USING 'SAPMF05L' '0302'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'BSEG-ZUONR'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=AB'.
            PERFORM bdc_field       USING 'BSEG-ZUONR'
                                          w_chect+7(6).
           PERFORM bdc_field       USING 'BDC_OKCODE'
                                               '=ENTE'.
            w_rep = w_rep + 1.
          ELSE.
            PERFORM bdc_dynpro      USING 'SAPMF05L' '0300'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'BSEG-ZUONR'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=AB'.
            PERFORM bdc_field       USING 'BSEG-ZUONR'
                                          w_chect+7(6).
            PERFORM bdc_field       USING 'DKACB-FMORE'
                                    'X'.
            PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'COBL-PRCTR'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=ENTE'.
            w_rep = w_rep + 1.
          ENDIF.
        ENDDO.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                       '=AE'.
        PERFORM call_transaction.
      ENDIF.
    FORM call_transaction .
      CALL TRANSACTION lv_tcode USING bdcdata
                         MODE   'N'
                         UPDATE 'S'
                         MESSAGES INTO messtab.
      REFRESH bdcdata.
    ENDFORM.                    " call_transaction
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDFORM.
    And I am getting Short Dump …..
    Runtime Error          DBIF_RSQL_INVALID_CURSOR
    Exception              CX_SY_OPEN_SQL_DB      
    Can any one help me ASAP.
    Thanks & Regards
    Rajendra

    HI,
    Actually I including this code in the RFFOUS_C Program, this pgm for Cheque printing Printing. After generate Cheques, in the Transaction FBO2 if we see the related Document. The Assignment field of all the line items must be filled with Cheque no. For this I included the above BDC code in the ZRFFOUS_C pgm. For this I am getting that short dump in the standard program coding selection statement.
    Thanks & Regards
    Rajendra

  • Dump TSV_TNEW_PAGE_ALLOC_FAILED in BDC

    Hi experts,
    we have developed bdc to upload the serial numbers while PGI (VL01n)  and scheduled in back ground  with 10 lac serial numbers to upload while PGI but the dump TSV_TNEW_PAGE_ALLOC_FAILED occured . we tried to split the serial numbers with  40k each item in delivery still the dump occured.
    Kindly let me know the possible way to resolve this.
    Regards
    Raghu Vamsi

    Dear Raghu,
    Please check the following sap note
    425207 - SAP memory management, current parameter ranges
    Regards
    Rajkumar Narasimman

  • Bdc short dump

    what do you do when you encounter short dump during execution report or bdc

    After getting a dump, first read the dump analysis. It ll tell you what exactly the problem is.
    Then move ahead to find the "Source code extract" which shows you at which line of your code the problem occurs.
    Click the icon left to Deburgger button to get the list of options available.
    1    What happened?
    2    What can you do?
    <b>3    Error analysis</b>
    <b> 4    How to correct the error</b>
    5    System environment
    6    User, transaction...
    7    Information on where terminated
    <b>8    Source code extract</b>
    9    Contents of system fields
    10    Active calls / events
    11    Chosen variables
    12    Application Calls
    13    Application Information
    14    Internal notes
    15    Active calls in SAP kernel
    16    List of ABAP programs affected
    17    List of internal tables
    18    Directory of Application Tables
    19    Directory of Application Tables (Administrative Information)
    20    ABAP control blocks CONT
    21    End of runtime analysis
    Reward points if helpful
    Thanks
    vinsee

  • Error on calling a BDC from web dynpro while it runs fine through FM.

    I have created a function module for calling transaction ima2n using a BDC. This function module runs as intended, if function module is executed using SE37. if I call the same function module from ABAP dynpro view, on some event. I get the below error. I have debugged the function module but it runs fine. If i debug function module and run the BDC in mode "A" then i can see that BDC is performing the intended actions. This is a strange behaviour.. Please help.
    ABAP Dynpro Error
    Error when processing your request
    What has happened?
    The URL http://dev.corp.bharatpetroleum.com:8000/sap/bc/webdynpro/sap/zcapex_appln/ was not called due to an error.
    Note
    The following error text was processed in the system D01 : Exception condition "CREATE_ERROR" raised.
    The error occurred on the application server dev_D01_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: TREEV_CREATE_COLUMN_TREE of program SAPLCNT4
    Form: TVAR_INIT of program SAPLAIA1
    Module: INIT_VARIANTEN_TREE of program SAPLAIA1
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system D01 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server dev_D01_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server dev_D01_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 100 -u: TESTAUTH32 -l: E -s: D01 -i: dev_D01_00 -w: 0 -d: 20111109 -t: 123625 -v: RABAX_STATE -e: RAISE_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    ST22 Dump screen
    User and Transaction
        Client.............. 100
        User................ "TESTAUTH32"
        Language Key........ "E"
        Transaction......... "IMA2N "
        Transactions ID..... "4EB9F7AE3E2403D7E10000000A481584"
        Program............. "SAPLCNT4"
        Screen.............. "SAPLAIA1 0306"
        Screen Line......... 5
        Information on Caller ofr "HTTP" Connection:
        Plug-in Type.......... "HTTP"
        Caller IP............. "10.72.46.106"
        Caller Port........... 8000
        Universal Resource Id. "/sap/bc/webdynpro/sap/zcapex_appln/"
    Information on where terminated
        Termination occurred in the ABAP program "SAPLC
         "TREEV_CREATE_COLUMN_TREE".
        The main program was "SAPLAIA1 ".
        In the source code you have the termination poi
        of the (Include) program "LCNT4U74".
    Error occurred during batch input processing
    Source Code :
                    CONTAINER
                 CHANGING
                    HANDLE
                    TREE_CONTROL_NOT_EXISTING
                    FAILED
                    CREATE_ERROR
                    CNTL_SYSTEM_ERROR.
    IF NOT TREE_CONTROL_NOT_EXISTING IS INITIAL
       RAISE TREE_CONTROL_NOT_EXISTING.
    ELSEIF NOT FAILED IS INITIAL.
       RAISE FAILED.
    ELSEIF NOT CREATE_ERROR IS INITIAL.
       -->>>>>>>>>RAISE CREATE_ERROR. " failed on this line
    ELSEIF NOT CNTL_SYSTEM_ERROR IS INITIAL.
       RAISE CNTL_SYSTEM_ERROR.
    ENDIF.
    regards,
    Parag Agrawal

    Hi,
    as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
    Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
    Thanks,
    Chandra

  • Dump while running report in background

    Hi Experts,
    I have created one report to create the conditions record by using BDC. The program is uploading the data from file which is located at local server and at selection screen, path of file is defined.
    When i run the report in foreground it works fine, first it uploaded that data and then created BDC and record saved successfully.  But if i run the program in background and check the job status through SM37 , job get canceled due to the dump. The dump message is "Exception condition "NO_BATCH" raised."
    The FM which i am using currently in my code to upload the data is "GUI_UPLOAD", i tried the same thing with FM "ALSM_EXCEL_TO_INTERNAL_TABLE" as well, but same dump is coming.
    Please advice if anyone have some solution.
    Thanks & Regards,
    Swati

    Hi,
    The FM GUI_UPLOAD, wont work in the background jobs. This is the reason for the dump.
    As the backround job runs at the application server, the program cannot identidy the presentation server (local system) file path.
    To avoid this store and read file from application server.
    Thanks & Regards,
    Navneeth K.

  • Running BDC program in background for the transaction VL02N

    Hi All,
    I have coded a BDC program (call transaction method) for the transaction code VL02N. I can able to run the program manually & successfully. But if I execute the program in background(SM36), it is going to dump giving CNTL_ERROR.
    Note: I am not using any of the GUI_UPLOAD, GUI_DOWNLOAD funciton modules in the program. But I am using the FTP command funtion modules like( FTP_COMMAND, FTP_CONNECT, FTP_DISCONNECT and FTP_SERVER_TO_R/3).
    <removed_by_moderator>
    Thanks in advance.
    Ramesh.
    Edited by: Julius Bussche on Jul 8, 2008 5:55 PM

    VL02N is an enjoy transaction. You cant run it in background. Please try VL02.
    Thanks
    Romit

  • Run time error while running BDC for production order creation and confirmation:

    Dear Gurus,
    We have a situation, where the users are trying to do the entries creation of order or confirmation (through manual and BDC). But, if there is any kind of a deficit quantities in consumption or GR quantity, then it is going to run time error and Dumps are coming in program SAPLCORB
    and the transaction code is coming for CO11N.
    How to avoid this error to run the production system in smoothing way...Any flash lights on this will be great full
    Regards,
    Madhu.G

    Hi Madhu,
    Expert Caetano has rightly point out. Refer Note 1840705 - RAISE_EXCEPTION short dump if running CO11N in background
    Cause
    The short dump is triggered because SAP transaction CO11N contains new GUI elements that cannot always be dealt with in a background process,
    such as the confirmation texts.
    Resolution
    SAP recommends that the standard production order BAPIs, such as BAPI_PRODORDCONF_CREATE_TT, should be used to post a confirmation in background.
    If this is not feasible, the following workaround may be uses:
    Define a confirmation profile in transaction OPK0; 
    In the detail areas, remove the area "Confirmation text"; 
    Set this profile as standard, so that it is chosen automatically by the system when a batch-job
    is started; 
    Assign this confirmation profile to the batch user with transaction SU3 using parameter CORUPROF.
    Also see Note 429432 - CO11N: Batch input in background dumps if long text is maintained
    Refer to note 1154692 - Endless loop during confirmation in background if you doing Auto GR during confirmations
    Thanks & Regards,
    Ramagiri

  • Dump while executing the report in the background!!!

    Hi Experts,
    I have created one report which is calling the "HRASR_TEST_PROCESS" (HR form process) thru BDC.
    Its running fine while executing via SE38 (foreground) but getting dump while executing from the background with same variant.
    The dump is follows,
    Short Text
    Exception condition "CNTL_ERROR" raised.
    ERROR ANALYSIS
    A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP" raised the exception condition "CNTL_ERROR". Since the exception was not intercepted by a superior program, processing was terminated.
    Line        Source Code
    32         WHEN 1.
       33           RAISE CNTL_SYSTEM_ERROR.
       34         WHEN 2.
       35           RAISE CNTL_ERROR.
       36         WHEN 3.
       37           class cl_gui_cfw definition load.
       38           message id 'DC' type 'W' number cl_gui_cfw=>reason_no_init
       39             raising create_error.
       40         WHEN 4.
       41           RAISE LIFETIME_ERROR.
       42         WHEN 5.
       43           RAISE LIFETIME_DYNPRO_DYNPRO_LINK.
       44         WHEN OTHERS.
       45           RAISE CNTL_ERROR.
       46       ENDCASE.
       47     
       48       m_container_type = CONTAINER_TYPE_CUSTOM.
       49     
       50       CALL METHOD SET_VISIBLE
       51           EXPORTING
       52               VISIBLE = '1'
       53           EXCEPTIONS
       54               CNTL_SYSTEM_ERROR = 1
       55               CNTL_ERROR = 2.
       56     
       57       CASE SY-SUBRC.
       58         WHEN 0.
       59         WHEN 1.
       60           RAISE CNTL_SYSTEM_ERROR.
       61         WHEN 2.
    >>>>>           RAISE CNTL_ERROR.
       63         WHEN OTHERS.
       64           RAISE CNTL_ERROR.
       65       ENDCASE.
       66     
       67       m_name = container_name.
       68       call method set_window_property
       69            exporting property_id = property_name
       70                      value       = m_name
       71                      keep_cache  = 'X'
       72            exceptions others = 1.
       73       if sy-subrc ne 0.
       74         clear m_name.
       75         raise cntl_error.
       76       endif.
       77     
       78       CALL METHOD ME->REGISTER_CACHED_W_PROPERTY
       79         EXPORTING
       80           PROPERTY_ID             = property_height
       81         EXCEPTIONS
    Kindly let me know, what is the problem and how can i solve it.
    Thanks in advance.
    Regards,
    Harish

    Hello Zhou,
    indeed, as you mention the ALV grid, there are some workarounds in the system, but there is no global solution. For example, the function module REUSE_ALV_GRID_DISPLAY detects internally whether it is called in background mode, and in this case it forwards the call to REUSE_ALV_LIST_DISPLAY which is runnable in background mode, since it creates an ABAP list.
    But normally, when using objects of the control framework in your program, you are restricted to dialog mode.
    Kind regards,
    Rüdiger

  • How to populate TEMKSV using BDC object in Emigall

    Hi,
    I need to migrate contact persons into ISU.  So I created a BDC using BUA1 and it imports data fine.
    BUT, I can't get the key generated to store in TEMKSV.  I tried populating the Application Area with R1, Message Number with 425 (which is what I get when I save in BUA1) and message variable 1 (also tried 2, 3 & 4). 
    I get a short dump telling me that the return field was not found or the message variable is initial.
    Can anybody point me in the right direction here?  I'm not sure what I'm doing wrong, and can't find anything in the docs about this specifically. 
    Thanks
    CN

    Good question Jurgen.  The short answer is that my contact persons are not actually business partners.  The data I'm trying to load is c/o mailing addresses.  Ah, but you say, I can load mailing addresses as just that.
    So here's the long answer.  My primary problem is that I need to be able to assign an address to a piece of equipment in Plant Management, so that I can send a letter in regards to the equipment.  In some cases I have dozens of mailing addresses in use for a single customer. 
    While ISU allows me to have many addresses for a BP, the PM side uses the SD customer and I can't have multiple addresses for an SD customer.  But, I can have many SD contacts related to an SD customer.  So my plan is to migrate these specific mailing addresses into IS-U contact persons, relate them to my IS-U BP, use some creative magic from my APAPer to replicate them as SD contact persons related to my SD customer.  Then I will be able to attach the SD contact person (and thus the mailing address) to the equipment.
    It seems like a round-about solution but we haven't been able to come up with a more elegant solution.

  • Calling a PP03 BDC  from abap webdynpro throws an exception from the class

    Hi Experts,
    I am calling a BDC FM for PP03 TCPDE form abap webdynpro.
    When i run the standalone FM, it works fine and When called from Webdynpro its giving a dump saying an exception is raised in the class CL_GUI_SPLITTER_CONTAINER.
    Can you please let me know how to resolve the issue? Your siggestions will be of great help to me.
    Thanks,
    Shilpa

    >
    shilpa hv wrote:
    > Hi Experts,
    >
    > I am calling a BDC FM for PP03 TCPDE form abap webdynpro.
    > When i run the standalone FM, it works fine and When called from Webdynpro its giving a dump saying an exception is raised in the class CL_GUI_SPLITTER_CONTAINER.
    >
    >
    > Can you please let me know how to resolve the issue? Your siggestions will be of great help to me.
    >
    >
    > Thanks,
    > Shilpa
    Hi,
    The FM might be calling a dialog or bringing a GUI screen up. This would cause the Webdynpro session to disconnect abruptly.
    Any conversion exit, GUI screen,dialog popup, transaction handling..etc would cause the webdynpro to disconnect. So you cannot use all FM's as it is.

  • Issue with ALV sceen called using BDC in new task and in background mode

    Hi Gurus,
    Need your expert advice. I am trying to call one transaction (IS AUTO - VELO) which has ALVs on screen. VELO is being called through BDC in NEW TASK in background. So, the new session is a Dialog session and SY-BATCH is initial here.
    In two different scenarios, I am getting error at two different places:
    a) As I can't call ALV directly, I am using docking container. This is giving issue during 'CREATE OBJECT' -> CONSTRUCTOR for cl_gui_alv_grid ->   if offline( ) is initial. (AS SY-BATCH is initial) -> call method me->set_registered_events_internal exporting events = lt_events. -> call method get_registered_events importing events = lt_events. -> IF H_CONTROL IS INITIAL.     RAISE CNTL_ERROR.   ENDIF.
    b) Call to OLE_FLUSH_CALL is happening, which is resulting into dump.
    I tried to search SDN and google, but couldn't find the solution. Thanks for your help :).
    Regards,
    Alok

    I'm not sure what is eating up your system resources, but .wmv files
    are considered to be a delivery format, and are not ideal for editing.
    I have never tried to edit screen capture video from any source, but you might consider
    upgrading to Expression Encoder 4 Pro (with codecs)... at least it includes H.264.
    Expression Encoder 4 Pro

  • BDC -Problem with mode 'N'

    Hi
    BDC with mode 'A'  is working correctly  but when I make the mode 'N' it gives a dump.
    With mode 'A' the record is updated , what may be the cause?
    Thanks

    I am using the tcode 7kE1 for bdc , it works perfectly with mode 'A' , but not with mode 'N', It give error  'Message_Type_Unknown' .
    there is no problem with the file as values are going correctly in tcode
    Edited by: Puneeta Parnami on Jun 12, 2009 12:57 PM

  • ABAP Dump while using "Upload from clipboard"

    Hi,
    We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.
    "Upload data" is working fine if some data exists on the clipboard. If in case of no data on the clipboard, it is leading to an ABAP dump.
    Appreciate if anyone could point some OSS note or any solution if you've already faced this issue.
    This is happening in our BW system with SAP_BASIS "SAPKB62018" and SAP_ABA "SAPKA62018".
    Same thing happens in our BW test systems which are upgraded to the latest support pack.
    Following is the error analysis
    Error analysis                                                                               
    A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP " raised the        
    exception                                                                             
    condition "CNTL_ERROR".                                                                
    Since the exception was not intercepted by a superior program                          
    in the hierarchy, processing was terminated.                                                                               
    Short description of exception condition:                                                                               
    For detailed documentation of the exception condition, use                             
    Transaction SE37 (Function Library). You can take the called                           
    function module from the display of active calls.                                      
    How to correct 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:                                                                               
    "RAISE_EXCEPTION" C                                                                    
    "CL_GUI_FRONTEND_SERVICES======CP " or "CL_GUI_FRONTEND_SERVICES======CM00T "          
    "CLIPBOARD_IMPORT"

    Hi,
    When you say 'We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.', are you using this in a custom program and are you running your custom program in the background?
    From the error you mentioned, to me it looks like you had a control error and controls are for foreground, online process and not suitable for background processing. Same argument holds good for most of the enjoy SAP transactions when you try to do BDC, they will give you a similar error if you hit the piece of code where controls are used.
    Controls are created on the desktop of the user and in background this is not possible.
    Please let me know if this is the reason.
    Srinivas

  • BDC commit work issue.

    Hi all,
    Im facing a issue in BDC:
    In a loop there is a select query called and if sy-subrc = 0 the call transaction using mode N is called in the next step.
    first time if the sy-subrc is ne 0 then call transaction is done which updates( considered as new entry )
    the table used in the select query.
    when the loop executes the second time the sy-subrc is still 4 instead of 0( previous data is not updated in DB ).
    So after all the execution only the last record exists in the transaction,
    that is the table control index is always 1 due to the select query failure.
    Here the problem is when using mode N, when mode A is used its working fine.
    The data is not getting updated in db in first loop cycle, so the select query in second loop cycle fails.
    The select query gets executed for the same material no's.
    I have also tried with explicit commit and synchrounous update is used
    Thanks,
    Keshav

    Hi Suhas,
    This applies when we open a cursor for select, use fetch to get the data. Ater the fetch if we commit, then it closes all the open cursors. So next fetch on the previously opened cursor will lead to dump.
    Perfect example could be.
    SELECT......
    Do processing.
    COMMIT WORK.
    ENDSELECT.
    Keshav,
    I beleive you are not using SELECT ENDSELECT in your case. If it is SELECT SIGLE/SELECT INTO TABLE,  OPEN, FETCH and CLOSE CURSOR operations happens at the back end during the select query execution. ( We can see ST05 trace for this). So as per my understanding COMMIT after the CALL TRANSACTION shouldn't cause any problem.
    Please correct if i am wrong any where.
    Thanks,
    Vinod.

Maybe you are looking for

  • Issues with acquiring from multiple GigE cameras

    Hi, I'm trying to build a simple app where three cameras are running simultaneously and can optionally record AVIs with timestamped data appended to each frame. I'm not having the recognition issue (all three cameras are seen through either a network

  • Dose oracle.sql.ArrayDescriptor support the user defined type in package?

    Hi folks: I get a obstacle in calling stored procedure by using JDBC driver (ojdbc14.jar). I have the following code: create or replace package xxx AS type var_table is table of varchar2(50); procedure(parameter in var_table); end xxx; When I use the

  • K7n2 with a serial ata addin card

    I have a k7n2 without the serial ata controller, athlon 2400, 512 mb ddr 333, and a winfast geforce 2 mx 64.  my question is will i be able to boot off of an addin serial ata card and a western digital raptor 36 gig hard drive.  also will the bios be

  • Dropdown Menu in SAP is in German

    Hi SAP Experts! We just upgraded from 4.6c to ERP6. In one of our customized reports (which is a copy of ME54, which is why I posted it here), the dropdown menu (List, Edit, Goto, Views, Settings, Environment, etc) is in German even if our logon lang

  • Discussion "sign in error"

    When I try to sign in to the discussions, I get an error message that I cannot sign in but it does, in fact, sign me in. This started before 10.4.10 but after 10.4.9. I've tried to type the information in rather than let the keychain do it but it mak