Erorr in run bapi

hi,
i wont run bapi in portal and i get erorr :
No storage space available for extending an internal table., error key: RFC_ERROR_SYSTEM_FAILURE
the bapi is working o.k. in R.3
what can be the problem?
Regards

does the query too large, consuming large memory?
This is most likely to happen when the system is being used extensively and the memory is not sufficient, or the query is very large or complex.
- any relevant dump in ST22?
- can simplify the bapi query definition ?
- try execute $SYNC to clear the internal
- can it be run in background somehow ?
- what is the value of following parameters ?
ztta/roll_extension =
abap/heap_area_total
abap/heap_area_dia =
abap/heap_area_nondia
em/initial_size_MB =
- are you in 64bits or 32 bits ?
- SAP note #649327     Analysis of memory consumption
cheers,
Vincent

Similar Messages

  • Erorr in run bapi in portal

    hi,
    i wont run bapi in portal and i get erorr :
    No storage space available for extending an internal table., error key: RFC_ERROR_SYSTEM_FAILURE
    the bapi is working o.k. in R.3
    what can be the problem?
    Regards

    hi ricardo.............
           check for the number entries that the bapi returns when run in r3.
            make sure that it is rfc enabled.
            tell the portal consulant to check whether the bapi is being called number of times so that the internal table is getting filled again and again... tell hi to debug the coding.
    ---regards,
       alex b justin

  • Error in run bapi in portal

    hi,
    i wont run bapi in portal and i get erorr :
    No storage space available for extending an internal table., error key: RFC_ERROR_SYSTEM_FAILURE
    the bapi is working o.k. in R.3
    what can be the problem?
    <REMOVED BY MODERATOR>
    Regards
    Edited by: Alvaro Tejada Galindo on Mar 5, 2008 3:51 PM

    hi,
    thanks!
    the fm running o.k. in r.3 but when i try to run it from the portal
    with same value i have error!
    from  your experience it's portal problem or bapi problem?
    i wasted on this problem 2 days...
    Regards

  • Problems with running BAPI   BAPI_SALESORDER_CREATEFROMDAT2

    Hi all,
    I’ve got a problem running BAPIs in SD invironment.
    I’m creating contract releases in SD via BAPI.
    First I run BAPI BAPISORDER_GETDETAILEDLIST in my program to get detaildata of the contract.
    Then I run the BAPI   BAPI_SALESORDER_CREATEFROMDAT2 filled with contract reference data and in addition with order data to create the contract release.This works properly so far. On both sides in the contract and in he contract release I find the correct document flow. Means: in document flow of the contract I find all the releases created . Also I find the contract in the documentflow of the releases.
    But…something does not work: In the contract the released values are not updated. When I create a release manually, the release values are accumulated  in the contract in field  ‘value released’ under flag ‘item detail’. But this does not work, when the leases are created via BAPI. However I checked several parameters in the BAPIS but I cannot find something that leads to an update .
    Can somebody help me and can tell me what is to be done to get this field updated? Thanks in advance.
    same in German...
    Ich habe ein Problem mit BAPIs im SD.
    Ich erzeuge Abrufe zum Kontrakt im SD mittels BAPIs.
    Zuerst lasse ich den BAPI BAPISORDER_GETDETAILEDLIST laufen, um mittels Kontraktnummer alle Daten zum Kontrakt zu bekommen. Dann lasse ich den BAPI   BAPI_SALESORDER_CREATEFROMDAT2 gefüllt mit SD-Abrufdaten und den Referenzdaten des Kontraktes laufen Dies funktioniert soweit sehr gut. Sowohl im Kontrakt als auch im Abruf sind jeweils die übergeordneten bzw. untergeordneten Vertiebsbelege zu sehen. Die Referenz wird also hergestellt. Jedoch wird im Kontrakt nicht die Abrufwerte aufsummiert. Normalerweise wird bei manueller Erstellung der Abrufe im Kontrakt die jeweilgen abgerufenen Werte gegen den Kontraktwert aufsummiert (Feld abgerufene Werte im Kontrakt unter Reiter ‚Positionsdetail‘. Ich habe alle möglichen Parameter im BAPI geprüft und getestet aber nichts gefunden, was mir die abgerufenen Werten aufsummiert.
    Kann mir dazu einen Tip geben, was ich tun kann, damit auch die Werte richtig referenzieren ? Danke im Voraus.

    the usage of exactly this BAPIs in the way I described  is in according to SAP note 370988.
    BAPI_SALES_DEL_SCHEDULE_CREATE ist for SD schedule agreements and not for SD contracts and does not offer Input parameters for e.g.  adding price conditions what is needed for my task.
    The field in contract I mentioned e.g. in Transaction VA42 VA43 is filled / gets its Information out of Infostructure/table S135. The BAPI seems not be able to fill this structure while creating the contract release.
    I'm looking for example an input parameter I did not found already or any other option that leads to an update of infostructure S135 while creating/posting a release via BAPI.

  • What is the Procedure to run BAPI?

    Hi,
    May i know what is the Step by Step procedure to run BAPI?
    Regards,
    Chow

    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.sapgenie.com/abap/bapi/index.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    Reward if it is useful to you.

  • Running bapi in back ground

    hi all,
    i had to upload material master basic view, iam updating using bapi,
    i want to run this program in background. i am getting problem wen calling bapi. its not executing this bapi.
    wen i run the same program its working fine.
    could any body help me in this regard
    below is the code
    *& Report  ZTEST_BAPI_BASIC
    report  ztest_bapi_basic.
    types : begin of ty_mara,
            matnr type mara-matnr,
            mbrsh type mara-mbrsh,
            mtart type mara-mtart,
            meins type mara-meins,
            maktx type makt-maktx,
            end of ty_mara.
    data: begin of it_makt occurs 0.
            include structure bapi_makt.
    data end of it_makt.
    data:begin of it_ret occurs 0.
            include structure bapiret2.
    data end of it_ret.
    data : t_mara type standard table of ty_mara,
           st_mara type ty_mara.
    data: bapi_head like bapimathead,
          bapi_clientdata like bapi_mara,
          bapi_clientdatax like bapi_marax.
    selection-screen : begin of block b1 with frame title text-001.   "SELECTION SCREEN
    parameters: p_fnam like rlgrap-filename.
    selection-screen : end of block b1.
    at selection-screen on value-request for p_fnam.
      call function 'F4_FILENAME'                              "FUNCTION MODULE TO LOCATE THE FILE ON THE DISK
        exporting
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = ' '
        importing
          file_name     = p_fnam.
    start-of-selection.
      perform upload.
      perform bapi.
    *&      Form  UPLOAD
          text
    -->  p1        text
    <--  p2        text
    form upload .
      data : filename type string.
      filename = p_fnam.
      call function 'GUI_UPLOAD'
        exporting
          filename                      = filename
         filetype                      = 'ASC'
         has_field_separator           = 'X'
       HEADER_LENGTH                 = 0
       READ_BY_LINE                  = 'X'
       HEADER                        =
        tables
          data_tab                      = t_mara
    EXCEPTIONS
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " UPLOAD
    *&      Form  BAPI
          text
    -->  p1        text
    <--  p2        text
    form bapi .
      sort t_mara by matnr.
      loop at t_mara into st_mara.
        perform conversion using st_mara-matnr changing  st_mara-matnr.
        bapi_head-material = st_mara-matnr.
        bapi_head-ind_sector = st_mara-mbrsh.
        bapi_head-matl_type = st_mara-mtart.
        bapi_head-basic_view ='X'.
        bapi_clientdata-base_uom = st_mara-meins.
        bapi_clientdatax-base_uom = 'x'.
        refresh it_makt.
        it_makt-langu = 'E'.
        it_makt-matl_desc = st_mara-maktx.
        append it_makt.
        clear it_ret.
        refresh it_ret.
        perform update_bapi  using bapi_head
                                         bapi_clientdata
                                         bapi_clientdatax .
        read table it_ret with key type = 'S'.
        if sy-subrc eq 0.
          commit work.
        else.
          call function 'BAPI_TRANSACTION_ROLLBACK'
                  IMPORTING
                    RETURN        =
        endif.
      endloop.
    endform.                    " BAPI
    *&      Form  CONVERSION
          text
         -->INPUT      text
         -->OUTPUT     text
    form conversion using input changing  output.
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
        exporting
          input  = input
        importing
          output = output.
    endform.                    "conversion
    *&      Form  update_bapi
          text
         -->BAPI_HEAD         text
         -->BAPI_CLIENTDATA   text
         -->BAPI_CLIENTDATAX  text
    form update_bapi  using bapi_head bapi_clientdata  bapi_clientdatax .
      call function 'BAPI_MATERIAL_SAVEDATA' in background task as separate unit
        exporting
          headdata                   = bapi_head
         clientdata                 = bapi_clientdata
         clientdatax                = bapi_clientdatax
      FLAG_ONLINE                = ' '
      FLAG_CAD_CALL              = ' '
      NO_DEQUEUE                 = ' '
      NO_ROLLBACK_WORK           = ' '
      importing
         return                     = it_ret
       tables
         materialdescription        = it_makt
      append it_ret.
    endform.                    "update_bapi
    regards
    siva

    Hi,
    I'm a bit confused now - does the BAPI call work if you run it entirely in foreground or does it fail there too?
    You need to ensure your BAPI works correctly with the data you are passing to it - preferably in foreground so you can debug it and see what is happening.  If it throws errors there then add them to this thread.
    If it works in foreground then you probably need to schedule the job in background but as others have pointed out, you can't use the GUI_UPLOAD function to do this.
    Gareth.

  • Erorrs  while running Jpcap

    Hi all
    I have installed Jpcap and when running it using eclips
    it gives me this erorr message :
    Activation.main: warning: sun.rmi.activation.execPolicy system
    property unspecified and no ExecPermissions/ExecOptionPermissions
    granted; subsequent activation attempts may fail due to unsuccessful
    ExecPermission/ExecOptionPermission permission checks. For
    documentation on how to configure rmid security, refer to:
    http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
    http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html
    can anybody help :(

    PRAM reset did not resolve the issue

  • Blocking a running BAPI

    Hello,
    I am trying to work with a scenario which goes something like this -
    I have a Z-BAPI which calls an RFC on an external system. The RFC processes data sent over by the Z-BAPI and generates a link.
    The next steps are tricky - the generated link shall be sent back as an export parameter to the Z-BAPI. This BAPI then starts the link in a browser and then needs to wait until the application running in the browser is complete.
    The problem is that the application in the browser processes further data which needs to be written into the tables of the Z-BAPI. Only after these tables have been filled, should the custom BAPI go ahead with further processing.
    The problem is that after I send the generated URL back to the custom BAPI, the BAPI thinks (naturally) that the remote RFC is done with the data processing and after opening the browser goes on ahead with further processing without waiting until the application has filled tables in the BAPI.
    So, is there a way in which I can temporarily block the BAPI from processing after it has started the browser? And how do I ask the BAPI to "wake up" again after the browser application has filled up the tables?
    T00th.

    Hi Lakshmi,
    the BAPI may lock the material master data. Please try to call the FM BAPI_TRANSACTION_COMMIT with the parameter "wait = 'X'" after each call of the BAPI.
    Hope this solves the problem
    Uwe
    grrr, was too slow

  • Unable to run bapis for project status update and date update together

    Hi Experts,
    I have a requirement to update the dates and status of a project WBS at level 4. I am trying to do update the CJ02 Transaction using standard BAPI available. I need to do both Date update and status update in the same LOOP PASS   i am using the below mention bapi. when i am doing so i am getting an error Project 'A._____' has been currently processed by ID i.e. my id.
    I have tried putting  a wait for 2 seconds in the code but its still not working. please find the order below in which i am calling the bapi.
    Loop at itab.
    if  date_changed = 'X'.
          CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
          READ TABLE it_error WITH KEY message_type = c_e.
          IF sy-subrc <> 0.
    Commit
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
       endif.
    endif.
    if Status_change = 'X'.
          CALL FUNCTION 'BAPI_PS_INITIALIZATION' .
          CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
          READ TABLE t_result WITH KEY message_type = c_e.
          IF sy-subrc NE 0.
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
                 TABLES
                      et_return = t_ret.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
         ENDIF.
    endif.
        WAIT UP TO 4 SECONDS.
    endloop.

    Try to use
    SET UPDATE TASK LOCAL.
    before each BAPI call.
    Did you try to debug through your code, leaving sufficient time between BAPI calls? If it does work like that, then the above statement might help.

  • RUNNING BAPI BAPI_ROUTING_CREATE

    I AM GETTING ERROR IN USING BAPI
    A CP 205 The task list type in structure MTK_CLASS_DATA_INTERFACE does not match the task MATERIALTASKALLOCATI  1
    HELP ME .

    I AM GETTING ERROR IN USING BAPI
    A CP 205 The task list type in structure MTK_CLASS_DATA_INTERFACE does not match the task MATERIALTASKALLOCATI  1
    HELP ME .

  • Bapi erorr in portal

    hi,
    i wont run bapi in portal and i get erorr :
    No storage space available for extending an internal table., error key: RFC_ERROR_SYSTEM_FAILURE
    the bapi is working o.k. in R.3
    what can be the problem?
    Regards

    Hi Ricardo,
                      U can find it in ur server .
    D:\usr\sap\<SID>\JC00\j2ee\cluster\server0\log. at this place u can check for defaultTrace.trc file. check this file & get the stack trace from there.
    regards
    Sumit

  • Error in call to bapi

    hi,
    i wont run bapi in portal and i get erorr :
    No storage space available for extending an internal table., error key: RFC_ERROR_SYSTEM_FAILURE
    the bapi is working o.k. in R.3
    what can be the problem?
    Regards

    i hope this link will help u
    http://help.sap.com/saphelp_nw70/helpdata/en/f6/daea401675752ae10000000a155106/content.htm
    Kevin

  • SAP PI Interface for Multiple Bapi

    hi,
    i need to expose 2 Bapi (Bapi A and Bapi B) using SAP PI 7.0 using single PI Interface / webservice.
    3rd party --> SAP PI -->SAP ECC6.
    for first option, i can create new Bapi C and include Bapi A & B new Bapi C.  then only expose BAPI C in SAP PI.
    for 2nd Option, i want to import BAPI A & B into SAP PI and used SAP PI capability to run BAPI A & B in sequence.
    if i want to go for 2nd option (just use existing BAPI A & B), how to implement the steps to make the bapi can execute in sequence? any link tutorial wil be help me a lot.

    Hi Hashim,
    try to implement Stefan approach or even you can try below appraoch,
    call BAPI A using SAP PI, then cal BAPI B within BAPI A logic, here you need to import only BAPI A in to PI system.
    better to take help from ABAPer, he will help you on the same.
    Regards,
    Raj

  • BAPI Error: No schedule lines due for delivery up to the selected date

    Hi,
    I have created a program to create delivery orders with reference to sales orders using BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After execution I get the error: No schedule lines due for delivery up to the selected date
    Please help.
    Thanks in advance!!!
    Regards,
    Sriram

    hi,
    this is to inform you that,
    please check the schedule line date in the sales order because the date is not matching here for the BAPI to upload.
    here,  for example the schedule line is 4 days after and you are running BAPI today. that will mismatch no.
    the same thing is happening in uploading case also.
    so please check the date.
    because in teh sales order if teh schedule line date is today it will accept the uploading with out throwing any errors.
    regards,
    balajia

  • Document Chekc in through BAPI Error

    Dear all,
          I am using bapi  BAPI_DOCUMENT_CHECKIN2 to Check in Dcument into content server but i am getting error as
    Error while checking in and storing: C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\DD.doc
    message no is 253
    Please guide me.
    thanx
    harish.

    hi,
    i think u did not configure the defualt as Front end computer.
    check, data carrier type....should be front end computer..
    and then run Bapi
    Benakaraj

Maybe you are looking for

  • Notifications

    My iPhone 4 (iOS 6.1, but I had the same problem with 6.0.1) has not received notifications in app, for example on Facebook Messenger Whatsapp and Viber. Someone with the same problem? How to solve? Thank you...

  • Java manually installaiton is required in the case of  r12 cloning on the new server.

    Hi experts,  i have need some suggestion. i have required to clone my production database to a fully new test server. for this i know i have  required  to prepare the new test server for ebs r12. for exp install rpm package, setup the kernel paramete

  • Custom function in Servside application

    I have a server side application .asc file . I want to add my own function in it and call it from client side action script . How is this possible ?

  • TOP questions for Eseries devices - not so new!

    Just noticed that the thread titled: TOP questions for Eseries devices - start here [new] Really isn't so new dated 30-Cot-2007 11:48 AM - last edited on 30-Oct-2007 11:48 AM The post suggests that the first thing to do is update to the latest versio

  • LR 1.0 not rendering photo in Loupe View

    I can work with LR fine for some time and every now and then the application stops rendering the Loupe view. It is possible to get back to the grid view but when i double click on the image to get the Loupe view it switches to the Loupe layout but do