Runtime Error while uploading data using a BAPI

Hi ALL,
    I am trying to upload duties for PO items using BAPI from a excel sheet.In this BAPI I am saving the data into a z table(Customizing table, maintenance only by cust., not SAP import).The data is getting saved into the table and it shows the data uploaded successfully message also,but when I scroll up I see RUN time error,althogh the data is getting saved.
        I have seen in the st22 and it shows the following information.
Internal error: Invalid page number.                                                                               
What happened?                                                                               
The current ABAP program had to be terminated because the                    
ABAP processor detected an internal system error.                            
The current ABAP program "ZFI_UPD_BOE_UPLOAD" had to be terminated because the
ABAP                                                                        
processor discovered an invalid system state.                                
    My functional consultants opinion is after data getting saved it comes into me23n's  condition tab.He has done it many times.But for one PO it is not showing.
    I checked the upload program.In upload program a BAPI is written which simply takes the data from a excelsheet and saves into the z table.
  My query is whether we can show the data of a z table into standard tocde?

Thanks Lakshman!
           I debug the program.There is no BDC used update.In this program after taking the data from excel sheet one internal table is prepared and this internal table is directly used to insert data into z table.This is the last code which executes.
  INSERT zmmpoamend FROM TABLE t_zmmpo_amend_tab.
  IF sy-subrc EQ '0'.
    MESSAGE 'Data Upload Successfully completed' TYPE 'S'.
  ELSE.
    ROLLBACK WORK.
    MESSAGE 'Data Upload failed ' TYPE 'E'.
  ENDIF.
  CLEAR t_zmmpo_amend_tab.
  REFRESH t_zmmpo_amend_tab.
     Is it possible to configure z table using SPRO tcode,such that this z tables data will go to standard table and then we can see it in the standard tcode?
I am not sure but it's just a guess.

Similar Messages

  • Getting error while uploading data  using the EXCEL( GUI_upload)

    Dear Freinds,
    I am uploading data from my excel sheet to my Custom table . I am using the below code
    call function 'GUI_UPLOAD'
    exporting
    filename = l_fn
    filetype = 'BIN' "'ASC'
    has_field_separator = 'X'
    tables
    data_tab = p_i_ins_db
    exceptions
    others = 17.
    i can see in my internal P_i_ins_db ...all the data is coming in encrypted format.
    The flat given to me is the .CSV file .
    Could any one please let me know how i can upload the data which is there in .csv file.
    regards
    syamala

    Hi Syamala,
    Before using the GUI_UPLOAD to upload the data from the excel file to the internal table,you can try usng the Function Module 'SAP_CONVERT_TO_TEX_FORMAT' or 'SAP_CONVERT_TO_CSV_FORMAT' as it helps n formatting the data.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • Can anyone list problems/errors when uploading data using BDC's and BAPI's?

    Can anyone list the problems/errors when uploading data using BDC's and BAPI's?

    Hi,
    If you are actually creating a BDC to load data pls be more specific.
    Data format incorrect. Tab delimited/ etc
    Dates in wrong formats
    Currency incorrect formats
    Missing screens
    Wrong transaction code
    File not found,
    Missing Mandatory fields,
    Screen resoultion.
    You should always use refresh for your Bdcdata table.
    Loop at internal table.
    refresh Bdcdata.
    regards,
    sowjanya.

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

  • DB Connect Load - "Unknow error while uploading data from the DB Table"

    Hi Experts,
    We have our BI7 system connected to Oracle DB based third party tool. The loads are performing quite well in DEV environment.
    I would like to know, how we transport DB Connect datasources to Quality systems? Any different process to be followed for DB Connect datasources?
    At present the connections between BI Quality and the third party quality systems are established. We transported the DataSource from BI DEV system to BI quality system, but on trigerring an infopackage we are not able to perform loads. It prompts - "Unknow error while uploading data from the DB Table".
    Also on comparing the DataSources in DEV system and Quality system there are no fields in "Proposal" tab of datasource in Quality system. Also I cannot change or activate Datasource in Quality system as we dont have change access in quality.
    Please advice.
    Thanks,
    Abhijit

    Hi,
    Sorry for bumping an old thread ....
    Did this issue get ever get resolved?
    I am facing the same one. The loads work successfully in Dev. The transport for DBConnect DS also moved in successfully.
    One strange this is that DB User for dev did not automatically change to db user from quality when I transported the DBConnect datasource. DBCon DS still shows me the DB User from Dev in Quality system
    I get "Unknown Error" whenever I trigger the data package.
    Advait

  • Error while  uploading stock using Mb1c and migo

    Hi
    Following error is showing,while  uploading stock using Mb1c and migo
    Return code 8 is not permitted with BAdI 'FAGL_PERIOD_CHECK'
    Can anyone help me?/
    Thanks

    Hi
    You will need the help of an abaper in solving this , as a BAdi FAGL_PERIOD_CHECK - Posting Period Check has been activated.
    Please check the implementation of the BAdi , i feel that it has not been implemented properly.
    This Business Add-In (BAdI) enables you to extend the existing check of open posting periods.
    The result of the period check is provided to you as a parameter (CH_SUBRC). In your implementation, you can derive this parameter again (for example, if a posting is rejected under a certain condition).
    The following values are allowed for parameter CH_SUBRC:
    0 Posting allowed
    4 Period & is not open for account type & and general ledger &
    6 No authorization for posting period & &
    This is a custome developemnt , so only the ABAper present at your end will be able to resolve it.
    Thanks & Regards
    Kishore

  • Error  while uploading data in table t_499s through BDC Prog

    Hi
    am facing problem while uploading data in table t_499s through BDC Program  , if there is more than 15 records in file its not allowing to upload kindly suggest what to do
    Thanx
    Mukesh s

    Hi,
    See if you want to update only single table, which has User maintenance allowed
    Use Modify statement.
    EX:
    LOOP AT ITAB INTO WA_TAB.
        MOVE-CORRESPONDING WA_TAB TO T499S.
        MODIFY T499S.
        CLEAR T499S.
      ENDLOOP.
    It will update the table, to check go to sm30 , and check in V_T499S.
    Rgds
    Aeda

  • Runtime error while loading data into infocube

    Hi all,
    I am getting a runtime error while loading the transaction data into the InfoCube.
    Exception name: CX_SY_GENERATE_SUBPOOL_FULL
    Runtime error: GENERATE_SUBPOOL_DIR_FULL
    Anyone has any idea about this error? Any help will be really helpful. Thanks in advance.
    Regards,
    Sathesh

    Hi Sathesh,
    Please provide more details for the problem.
    You can go and check in ST22. Go through the Dump Analysis and Let us know.
    Regards
    Hemant Khemani

  • Error while uploading data in SAP (me01)using LSMW

    Hi All,
    I am using LSMW for the first time.
    I am trying to upload data to the Source List transaction (me01) using batch input recording. I created a new recording through LSMW itself. My source structure consists of 5 fields:
    <b>MATNR C(18)
    WERKS C(4)
    VDATU N(8)
    BDATU N(8)
    LIFNR C(10)
    EKORG C(10)</b>
    Now the problem is when i try to convert the data, it gives me an error saying
    "For type "C",a maximum length specification of 65535 is allowed."
    I have noticed that unlike Direct Input method,
    using batch input does not give any fields in "Maintain Field Mapping & Conversion Rules". So even if I have my fields in my source structure ,there are no fields to which I can map them to.
    I don't know that is how it is when we go with batch input.
    My file contain data in following order:
    DANGEROUS GOODS,ABBY,20060801,20060831,30010,TEST
    Pls help me to solve this problem.

    Hi Swapna!
    You get such an error message, when define a constant and forget the second ':
    g_werks = '1000.  "wrong
    g_werks = '1000'.  "correct
    In general: a batch input recording can have fixed values and some variables. You need to define, which fields you like to fill with a variable. Go to the overview of the recordings, open the recording in change mode and assign some variable names to the according batch lines.
    <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/76/a05b69e8a411d1b400006094b944c8/frameset.htm">Editing batch input recordings</a>
    Follow the help for the following steps of structure assignments.
    Regards,
    Christian

  • Error while uploading data in LT03?

    Dear All,
    I am uploading data in LT03 transaction and I am getting an error message 'System cannot find source storage bin'.
    I am using BAPI  'L_TO_CREATE_DN'.
    Even same error  I am getting in recording.
    This is happened in the case of Partial delivery not for full delivery.
    Thanks and Regards
    Steve

    Hi,
    Search SCN before posting a query...
    System cannot find source storage bin
    Regards
    Praveen

  • Runtime Error while activating data into dso

    hello all,
    i get a runtime error if i try to activate the loaded data in a dso object. A part of the error message is shown here:
    "SAPLRSBATCH"
    "RSBATCH_START_PROCESS"
    285     call function 'TH_SERVER_LIST'               
    286       tables                                     
    287         list           = l_t_server              
    288       exceptions                                 
    289         no_server_list = 1                       
    290         others         = 2.                      
    291     read table l_t_server with key               
    292          host = sy-host.                         
    293     if sy-subrc = 0.                             
    294       l_s_rsbatchheader-server = l_t_server-name.
    295       refresh l_t_server.                        
    296     else.                                        
    >>>>       message x000.                              
    298     endif.                                       
    I found the function 'TH_SERVER_LIST' gives as result
    name = LAPTOP3_NSP_00
    host = laptop3
    As you see, the host is written in lower case!
    If i work with a testprogram to show me the sy-host value, i get it in upper case letters: LAPTOP3.
    Could it be a problem?
    I read another message here with advice for sap note xyz. But i cant apply SP08 like it is explained there. The current system is working with SP05. Later SPs are not available for me!
    I also cant apply the corrections manually because the developer key 29671482393151224771 is invalid for any user except BCUSER in transaction SE80 client 000! If i try to change or create a program/function in TA SE37 or SE38 i always get the message "invalid developer key".
    Pls tell me where can i change the value for the function TH_SERVER_LIST and how can i create my own functions and programs in NW04s?
    thanks you much
    Frank

    Hi Ron,
    thanks, this note describes what i have to do. But it doesnt help!
    How can i go to SP7 if i cant download it? Message "Für den angemeldeten User nicht sichtbar" appears always.
    How can i follow the instructions to correct the function modules if i dont have an developer key on the NSP system?
    I'm not in any ramp-up program. Just found the free sneak preview of NW2004s here in SDN, downloaded it and get the problems while using. So i ask what can i do?
    Thanks
    Frank

  • Runtime error while loading data in BI 7.0

    Hi All,
    While loading data in BI 7.0,
    I am getting Runtime Errors "TSV_TNEW_PAGE_ALLOC_FAILED" . No more space available for extending internal table.
    As per SAP BASIS SUPPORT comments:
    "This is NOT a space problem but rather a huge memory resource consumption one, as you're trying to hold excessive amount of data in Memory, and that's when you get the short dump; I know that SAP sometimes is not clear in explaining the issue (ie "No more storage space available...."), but this refers to memory requirement, not disk storage space per se.
    So, please try to break down your data load in smaller sets and this will work OK"
    How to proceed with the above comments? How to break down data load in to smaller sets?
    Please helpme....

    there could be various ways -
    using selections / filters in Infopackage / DTPs based on may be some period or some other char you could identify based on your data.
    Hope it helps
    Vikash

  • Error while uploading data

    We are facing the problem while uploading forecast in APO (Base / Consensus) in each cycle.
    While incorporating some forecast corrections and uploading the consensus forecast in APO, the following error was encountered, and not able to save the data.
    "Error COM routine using application programe (return code 40,301) "
    could any one help me in this regard

    Hello SRIRAMULU CHANDU ,
    -> What SCM SP & version is on your system?
    -> What LCA build do you have on your system?
          < See in the TA /n/sapapo/om13 or /n/sapapo/om04 >
    The COM ERROR 40,301 means that the key figure became negative although      
    this is not permitted.
    Run /n/sapapo/om10 -> Returncode: 40301     => Execute
      Negative value not permitted for this key figure     
        ( om_ts_negative_kez_not_allowed )     
    < See more info by clicking on '?' >
    If you have not entered negative values for the key figure and there are no fixings at aggregate level, please open an OSS message in accordance with SAP Note 167280.
    Thank you and best regards, Natalia Khlopina

  • Runtime Error while extracting data by datasource based on function module

    Hi all,
    I am facing an issue while extracting data from a customised data source based on a new function module.
    The datasource is extracting data successfully for only 15000 records but after that the runtime error is displayed.
    I am not able to extract whole data from R/3 system.
    Please take a look into the details and tell me what should I have to do.
    Details of Issue:
    Runtime Error : GETWA_NOT_ASSIGNED
    What happened?                                                                               
    Error in the ABAP Application Program                                                        
    The current ABAP program "SAPLZ_99Z_BW_SD_PRICING"had to be terminated because  it has  come across a statement that unfortunately cannot be executed.
    Error analysis                                                                               
    You attempted to access an unassigned field symbol                                          
        (data segment 32790).                                                                               
    This error may occur if                                                                   
        - You address a typed field symbol before it has been set with                               
          ASSIGN                                                                               
    - You address a field symbol that pointed to the line of an                              
          internal table that was deleted                                                          
        - You address a field symbol that was previously reset using                           
          UNASSIGN or that pointed to a local field that no                                        
          longer exists                                                                               
    - You address a global function interface, although the                                      
      respective function module is not active - that is, is                                  
          not in the list of active calls. The list of active calls                                 
          can be taken from this short dump. 
    Edited by: anshu13 on Apr 27, 2010 10:28 AM

    The code is displayed here:
    error is in line no. 625
    Source Code Extract                                                                               
    Line SourceCde                                         
      595            <fs_fldval> = l_fieldval.
      596            APPEND <fs_dyntable> TO <it_dyntable>.                               
      597            CLEAR :l_fieldval, wa_fldcat.                                                  
      598            CLEAR l_totlength.                                                             
      599            CLEAR <fs_dyntable>.                                                        
      600         ENDIF.                                                                           
      601        ENDIF.                                                                               
    602        MOVE-CORRESPONDING <dd03l_fields> TO wa_dd03l.                                    
      603        IF <dd03l_fields>-datatype EQ 'DATS'.                                             
      604          l_fieldval = 'X'.                                                                
      605       ELSE.                                                                               
    606        SHIFT <dd03l_fields>-intlen LEFT DELETING LEADING '0'.                         
      607          IF l_totlength IS INITIAL.                                                       
      608            SHIFT l_totlength LEFT DELETING LEADING '0'.                                   
      609            l_totlength = '0'.                                                            
      610          ENDIF.                                                                           
      611          l_currlength = <dd03l_fields>-intlen.                                            
      612          CONCATENATE l_totlength '('  l_currlength ') ' INTO l_fieldval .                 
      613          l_totlength = l_totlength + l_currlength.                                        
      614        ENDIF.                                                                               
    615*** Consider both field name and domian name for checking in range list:                   
      616        IF <dd03l_fields>-fieldname IN s_fieldlist.                                        
      617          wa_fldcat-fieldname = <dd03l_fields>-fieldname.                                  
      618        ELSEIF <dd03l_fields>-domname IN s_fieldlist.                                      
      619          wa_fldcat-fieldname = <dd03l_fields>-domname.                                    
      620        ELSE.                                                                               
    621          wa_fldcat-fieldname = <dd03l_fields>-fieldname.                                  
      622        ENDIF.                                                                               
    623        ASSIGN COMPONENT wa_fldcat-fieldname                                               
      624             OF STRUCTURE <fs_dyntable> TO <fs_fldval>.                                    
    >>>>|        <fsfldval> = l_fieldval._                                                             
      626        CLEAR l_fieldval.                                                                  
      627        CLEAR l_currlength.                                                                
      628      ELSE.                                                                               
    629        IF <dd03l_fields>-datatype EQ 'DATS'.                                              
      630          l_fieldval = 'X'.                                                                
      631       ELSE.                                                                               
    632          SHIFT <dd03l_fields>-intlen LEFT DELETING LEADING '0'.                           
      633          IF l_totlength IS INITIAL.                                                       
      634            SHIFT l_totlength LEFT DELETING LEADING '0'.                                   
      635           l_totlength = '0'.                                                              
      636          ENDIF.                                                                           
      637          l_currlength = <dd03l_fields>-intlen.                                            
      638          CONCATENATE l_totlength '('  l_currlength ') ' INTO l_fieldval .                 
      639         l_totlength = l_totlength + l_currlength.                                         
      640        ENDIF.                                                                               
    641*** Consider both field name and domian name for checking in range list:                   
      642        IF <dd03l_fields>-fieldname IN s_fieldlist.                                        
    643        wa_fldcat-fieldname = <dd03l_fields>-fieldname.                                   
      644       ELSEIF <dd03l_fields>-domname IN s_fieldlist.         
    Edited by: anshu13 on Apr 27, 2010 11:33 AM

  • Error while uploading data from a flat file to the hierarchy

    Hi guys,
    after i upload data from a flat file to the hierarchy, i get a error message "Please select a valid info object" am loading data using PSA, having activated all external chars still get the problem..some help on this please..
    regards
    Sri

    there is o relation of infoobject name in flat file and infoobjet name at BW side.
    please check with the object in the BW and their lengths and type of the object and check your flat file weather u have the same type there,
    now check the sequence of the objects in the transfer rules  and activate them.
    there u go.

Maybe you are looking for

  • Configurations required for sender/reciever mail adapters

    Hi, I am working on a scenario, which involves mail adapter configuration. Mail Adapter scenarios – SAP Exchange Infrastructure: /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure XI: HTML e-mails from th

  • List of Excise Invoices-T-CODE other than J1I7

    Hi, Can any body plz tell me the t-code or path to see list of excise invoices created other then j1I7 T.code. In J1I7 T.code only Basic excise duty is flowing--but ECS & SECess in not flowing.. Plz guide me... Thanx & Regards, Ramesh Reddy

  • Cascading LOV behavior

    Hi, I have created a Cascading LOV for Employee-> Dept No and unchecked Hierarchical View in u201CCreate Cascading List of Valuesu201D option. Then I created a Webi report and applied u201CDept Nou201D as Prompt with LOV option enabled. When I refres

  • Adobe CS6 Upgrade Fiasco - HELP!!!!

    I am trying very hard not to lose my cool over this whole issue, but I think I am now at my breaking point. I, like every other "smart" cs5 owner saw an opportunity and jumped on it thinking and hoping that Adobe cares about thier customers and I tru

  • Sony NXCAM and Premiere Pro CS 5.5.2 crash (Win7)

    Hello, We recently got a Sony NXCAM. We are shooting in SD only (until next year!), so it's not a problem with any particular HD format. Until we got this camera, we've been using Panasonic P2s exclusively. Our Chief has had good luck with these Sony