Error executing webutil program

Gurus,
This is the post which I have already closed earlier since I got the solution for Webutil program (the thread is printing file to printer from forms 10g) .. Now the problem is very peculiar
When I execute the form from printer (network) when I am in network, my program worked very much fine .. Now when I copy the same program onto server and try to run, it throws an error
"Oracle.forms.webutil.host.Host bean not found. WEBUTIL_HOST execute will not work"
I have checked with default.env, formsweb.cfg whether the entries are properly made or not on the server .. Everything is perfect. I have executed create_webutil_db.sql script too onto the server ... I have copied jacob.jar, frmwebutil.jar into the respective folders .. Yet I am facing the problem
Can anyone suggest me why am I facing this error and what could be the probable solution for this
Can anyone help me please
Regards
Edited by: Sarma12 on Nov 21, 2008 3:17 AM

hello,
1) make sure that you are using the right version for your JDK.
2) Are you sure that the path referencing your webutil and any bean is setup. From the message you have, it seems like it is not finding the bean.
3) Did you try your printing bean on windows and worked fine and now you are trying on UNIX/LINUX ? if so, you have a path prob to fix on UNIX/LINUX. Also, there are some additional config that are a bit different whether you are on OC4J or IAS.

Similar Messages

  • Getting errors when trying to execute CRUD programs

    Hi All
    I am trying to execute one of the CRUD programs for creating , updatying or deleting data in MDM server and a m getting a few errors .Could anybody advise.
    Created on Jun 6, 2007
    package com.sap.nw.mdm.rig;
    import com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram;
    import com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram;
    import com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram;
    import com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram;
    import com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram;
    import com.sap.nw.mdm.rig.programs.data.search.SearchProgram;
    import com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram;
    import com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram;
    import com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram;
    import com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram;
    import com.sap.mdm.data.RegionProperties;
    import com.sap.nw.mdm.rig.repository.Repository;
    import com.sap.nw.mdm.rig.server.Server;
    This class is the starting point to execute all sample programs.
    To see a description of the various programs you can execute, please have a look at the
    documentation for the following classes.  There are static variables in each of these
    classes that point to the various programs that can be executed with a description of
    what the program does.
    <ul>
    <li>{@link com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.search.SearchProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram}
    <li>{@link com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram}
    </ul>
    @author Richard LeBlanc
    public class Application {
         private Application() {
    Starts the application and executes a program
    @param args - not required
         static public void main(String[] args) {
              System.out.println("876876");
              Application app = new Application();
              System.out.println("11111");
              Program program = null;
              System.out.println("22222");
    Simply uncomment the line that contains the program you wish to execute and run this class.
    Blob Programs
    //          program = BLOBDataProgram.RETRIEVE_AND_WRITE_IMAGE_TO_FILE;
    //          program = BLOBDataProgram.RETRIEVE_AND_WRITE_PDF_TO_FILE;
    Checkout/Checkin Data Programs
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_CHECK_IN;
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_ROLLBACK;
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_CHECK_IN;
    //          program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_ROLLBACK;
    Create Read Update Delete (CRUD) Data Programs
    //          program = CRUDDataProgram.CRUD_HIERARCHY_TABLE;
              program = CRUDDataProgram.CRUD_MAIN_TABLE;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_FLAT_AND_HIERARCHY_LOOKUP_FIELDS;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_QUALIFIED_LOOKUP_FIELD;
    //          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_TAXONOMY_LOOKUP_FIELD;
    //          program = CRUDDataProgram.CRUD_TAXONOMY_TABLE_WITH_ATTRIBUTES;
              System.out.println("333333");
    Bulk Create Read Update Delete (CRUD) data programs
    (many records at once)
    //          program = BulkCRUDDataProgram.BULK_CRUD_MAIN_TABLE;
    KeyMapping Programs
    //          program = KeyMappingProgram.RETRIEVE;
    Search Programs
    //          program = SearchProgram.DRILL_DOWN_SEARCH;
    //          program = SearchProgram.KEYWORD;
    //          program = SearchProgram.MASK;
    //          program = SearchProgram.NAMED_SEARCH;
    //          program = SearchProgram.QUALIFIER;
    Attribute Search Programs
    //          program = AttributeSearchProgram.COUPLED_NUMERIC;
    //          program = AttributeSearchProgram.NUMERIC;
    //          program = AttributeSearchProgram.TEXT;
    Field Search Programs
    //          program = FieldSearchProgram.BOOLEAN;
    //          program = FieldSearchProgram.CURRENCY;
    //          program = FieldSearchProgram.LITERAL_DATE;
    //          program = FieldSearchProgram.LOOKUP;
    //          program = FieldSearchProgram.TEXT;
    Syndication Programs
    //          program = SyndicationProgram.SYNDICATE_PORT;
    Workflow Programs
    //          program = WorkflowProgram.EXECUTE;
              //TODO enter MDS name
              String mdsName = "172.18.139.200"; //the name of the Master Data Server
              String repositoryName = "GDS_1"; //make sure this is the name you use when unarchiving
                                                           //the repository otherwise change it to reflect the name
                                                           //of your repository
              String regionName = "English [US]";
              String userName = "Admin"; //there is an admin user with no password in the provided repository
              String password = ""; //there is an admin user with no password in the provided repository
              System.out.println("67r86587");
              app.start(mdsName, repositoryName, regionName, userName, password, program);
    Establishes a connection to the given server and logs in to the given repository
    with the given logon information and executes the given program
         private void start(String serverName, String repositoryName, String regionName,
                                  String user, String password, Program program) {
              //Create an instance of the MDS
              Server server = Server.getInstance(serverName);
              System.out.println("444444");
              //Get the list of running repositories from the server
              Repository[] repositories = server.getRepositories();
              System.out.println("5555");
              Repository repository = null;
              //Go through the list of repositories and see if any match the
              //given repository name
              for(int i=0, j=repositories.length; i<j; i++){
                   System.out.println("666666bbye");
                   if(repositories<i>.getIdentifier().getName().equals(repositoryName)) {
                        System.out.println(" hello" +repositoryName);
                        repository = repositories<i>;
                        System.out.println(" hi"   + repository);          
              //Get the list of regions for the repository
              RegionProperties[] regions = repository.getRegions();
              RegionProperties region = null;
              //Go through the list of regions and see if any match the given
              //repository name
              for(int i=0, j=regions.length; i<j; i++){
                   System.out.println(" hello");
                   if(regions<i>.getName().equals(regionName)) {
                        region = regions<i>;
                        System.out.println(" 99999" +region);
              //Login to the repository as you would using the Data Manager
              //This creates a user and repository session that are available using
              //repository.getSession()
              repository.login(region, user, password);
              //execute the program from the list above
              program.execute(repository);
              System.out.println(" finally");
              //destroy the session (destroys the repository and user sessions)
              repository.getSession().destroy();
              //close the connection to the MDS
              repository.getServer().closeConnection();
    I am getting the following errors:
    Exception in thread "main" java.lang.IllegalArgumentException: Table with Code 'Products' does not exist in the repository 'GDS_1'
         at com.sap.mdm.internal.schema.RepositorySchemaImpl.getTableSchema(RepositorySchemaImpl.java:136)
         at com.sap.nw.mdm.rig.programs.data.crud.CRUDMainTableRecordProgram.execute(CRUDMainTableRecordProgram.java:33)
         at com.sap.nw.mdm.rig.Application.start(Application.java:211)
         at com.sap.nw.mdm.rig.Application.main(Application.java:157)

    Hi Stephen,
    I assume that a super admin user does not get these error messages, right? If so, this behaviour might come due to missing permissions on PCD objects for the user rubinmd. Please apply note 792370 which explains how to set end user permission on the pcd folder com.sap.ip.collaboration/Rooms
    Kind regards,
    Roland

  • Error in executing ABAP program. Error occurred when creating dataset

    hi,
    when I use LKM SAP ERP to Oracle (SQLLDR) to extract data from SAP ERP server. I execute my interface, and it's stop at extract data step.
    This is message:
    java.lang.RuntimeException: Error occured in open tool execute method...Error in executing ABAP program...Error in executing ABAP program...Error occurred when creating dataset/abc/ZODI_13001_6001_GLOBAL.txt
    I tried others path name, tried slash or backslash. This is content in code tab
    OdiSAPAbapExecute "-UPLOAD=1" "-EXECUTE=1" "-EXECUTEBASE_RKM=0" "-ZRFC_RUN_INSTALL=1" "-ABAP_PROGRAM_NAME=ZODI_13001_6001" "-HOST=10.86.87.24" "-USER=sv_hoa" "-PASSWORD=<@=snpRef.getInfo("SRC_PASS") @>" "-SAP_CLIENT=800" "-SAP_LANGUAGE=EN" "-SAP_SYSTEM_NUMBER=02" "-SAP_FUNCTION_GROUP_NAME=ZODI_FGR_13001" "-CONNECTION_POOL_NAME=SAP_ODI_ERP_POOL_10.86.87.24" "-CONNECTION_POOL_SIZE=10" "-FILE_DELIMITER=<@=""+(char)8@>" "-FILE_NAME=ZODI_13001_6001_GLOBAL.txt" "-FTP_HOST=10.86.82.108" "-FTP_USER=anh" "-FTP_PASSWORD=<@=sFtpPassword@>" "-FTP_PASSIVE_MODE=1" "-FTP_TRANSFER_TIMEOUT=100000" "-ODI_VARIABLE_NAMES=" "-ODI_VARIABLE_VALUES=" "-USER_ABAP_PARAMETER_NAMES=IV_DELIMITER,CHAR3;IV_FILENAME,CHAR255;IV_USER,CHAR35;IV_PWD,CHAR35;IV_HOST,CHAR35;IV_HASHVALUE,CHAR35;IV_PATH,CHAR35;IV_MAX_ROW_CNT,SYTABIX;IV_FETCH_BATCH_SIZE,SYTABIX;" "-USER_ABAP_PARAMETER_VALUES=<Value>" "-USER_ABAP_PARAMETER_SEPARATOR=<Value>" "-ABAP_TABLE_PARAMETERS=RETURN,BAPIRETURN;ET_FILE_RETURN,BAPIRET2" "-ABAP_EXPORT_PARAMETERS=ERRORMESSAGE;SY-MSGV1" "-LOG_FILE_NAME=C:\Users\anh\AppData\Local\Temp\SapAbapExecuteOpenTool_13001.log" "-FTP_PATH=/abc/" "-DEV_CLASS=ZODI_DEVCLASS" "-MAX_ROW_COUNT=" "-FETCH_BATCH_SIZE=100000" "-HASH_VALUE_MARKER=HVM" "-ABAP_PROGRAM_BODY=
    *Final Type declarations
    TYPES : BEGIN OF ty_final,
    Y03HOCSINH_HOCSINH_ID TYPE
    Y03HOCSINH-HOCSINH_ID,
    Y03HOCSINH_MA_HOC_SINH TYPE
    Y03HOCSINH-MA_HOC_SINH,
    Y03HOCSINH_TEN_HOC_SINH TYPE
    Y03HOCSINH-TEN_HOC_SINH,
    Y03HOCSINH_GIOI_TINH TYPE
    Y03HOCSINH-GIOI_TINH,
    Y03HOCSINH_DIA_CHI TYPE
    Y03HOCSINH-DIA_CHI,
    Y03HOCSINH_GHI_CHU TYPE
    Y03HOCSINH-GHI_CHU,
    END OF ty_final.
    *Final Temp Type Declarations
    TYPES : BEGIN OF ty_final_tmp,
    Y03HOCSINH_HOCSINH_ID TYPE
    Y03HOCSINH-HOCSINH_ID ,
    Y03HOCSINH_MA_HOC_SINH TYPE
    Y03HOCSINH-MA_HOC_SINH ,
    Y03HOCSINH_TEN_HOC_SINH TYPE
    Y03HOCSINH-TEN_HOC_SINH ,
    Y03HOCSINH_GIOI_TINH TYPE
    Y03HOCSINH-GIOI_TINH ,
    Y03HOCSINH_DIA_CHI TYPE
    Y03HOCSINH-DIA_CHI ,
    Y03HOCSINH_GHI_CHU TYPE
    Y03HOCSINH-GHI_CHU ,
    END OF ty_final_tmp.
    *Final Target Type Declarations
    TYPES : BEGIN OF ty_final_target,
    C0_Y03HOCSINH_HOCSINH_ID TYPE
    Y03HOCSINH-HOCSINH_ID,
    C1_Y03HOCSINH_MA_HOC_SINH TYPE
    Y03HOCSINH-MA_HOC_SINH,
    C2_Y03HOCSINH_TEN_HOC_SINH TYPE
    Y03HOCSINH-TEN_HOC_SINH,
    C3_Y03HOCSINH_GIOI_TINH TYPE
    Y03HOCSINH-GIOI_TINH,
    C4_Y03HOCSINH_DIA_CHI TYPE
    Y03HOCSINH-DIA_CHI,
    C5_Y03HOCSINH_GHI_CHU TYPE
    Y03HOCSINH-GHI_CHU,
    END OF ty_final_target.
    * Table type for Y03HOCSINH
    TYPES : BEGIN OF ty_Y03HOCSINH,
    HOCSINH_ID TYPE
    Y03HOCSINH-HOCSINH_ID,
    MA_HOC_SINH TYPE
    Y03HOCSINH-MA_HOC_SINH,
    TEN_HOC_SINH TYPE
    Y03HOCSINH-TEN_HOC_SINH,
    GIOI_TINH TYPE
    Y03HOCSINH-GIOI_TINH,
    DIA_CHI TYPE
    Y03HOCSINH-DIA_CHI,
    GHI_CHU TYPE
    Y03HOCSINH-GHI_CHU,
    END OF ty_Y03HOCSINH.
    TYPES: BEGIN OF gs_text,
    line(843) TYPE c,
    END OF gs_text.
    *Structure Declarations
    DATA: wa_final_string TYPE string,
    wa_final TYPE ty_final,
    wa_final_target TYPE ty_final_target,
    wa_Y03HOCSINH TYPE ty_Y03HOCSINH,
    *Table Declarations
    tt_final TYPE STANDARD TABLE OF ty_final,
    tt_Y03HOCSINH TYPE STANDARD TABLE OF ty_Y03HOCSINH,
    tt_final_target TYPE STANDARD TABLE
    OF ty_final_target,
    tt_final_tmp TYPE STANDARD TABLE OF ty_final_tmp,
    tt_final_tmp1 TYPE STANDARD TABLE OF ty_final,
    gt_result TYPE STANDARD TABLE OF gs_text,
    *Variable Declarations
    lv_path TYPE string,
    lv_flag TYPE char1,
    C0_Y03HOCSINH_HOCSINH_ID TYPE
    STRING,
    C1_Y03HOCSINH_MA_HOC_SINH TYPE
    STRING,
    C2_Y03HOCSINH_TEN_HOC_SINH TYPE
    STRING,
    C3_Y03HOCSINH_GIOI_TINH TYPE
    STRING,
    C4_Y03HOCSINH_DIA_CHI TYPE
    STRING,
    C5_Y03HOCSINH_GHI_CHU TYPE
    STRING,
    wa_final_tmp TYPE ty_final_tmp,
    lv_file TYPE string,
    lv_datum TYPE sy-datum,
    lv_date TYPE char10,
    wa_result TYPE string,
    lv_delimiter type string,
    lv_cnt TYPE sytabix,
    *-Cursor Declaration
    lv_Y03HOCSINH_dbcur TYPE cursor,
    lv_tabix_frm TYPE sy-tabix.
    lv_delimiter = iv_delimiter.
    IF iv_hashvalue = 'HVM'.
    *Open/delete output file
    CONCATENATE iv_path iv_filename INTO lv_path.
    *Check for file existence, if found, delete it
    OPEN DATASET lv_path FOR INPUT
    IN TEXT MODE
    ENCODING DEFAULT.
    IF sy-subrc EQ 0.
    DELETE DATASET lv_path.
    ENDIF.
    *Open/create output file
    OPEN DATASET lv_path FOR APPENDING
    IN TEXT MODE
    ENCODING DEFAULT.
    IF sy-subrc EQ 0.
    *Batch Processing
    OPEN CURSOR WITH HOLD lv_Y03HOCSINH_dbcur FOR
    SELECT HOCSINH_ID
    MA_HOC_SINH
    TEN_HOC_SINH
    GIOI_TINH
    DIA_CHI
    GHI_CHU
    FROM Y03HOCSINH.
    DO.
    *Check for the counter, only for first batch
    *process new line is required...
    lv_cnt = lv_cnt + 1.
    REFRESH tt_Y03HOCSINH.
    FETCH NEXT CURSOR lv_Y03HOCSINH_dbcur
    APPENDING TABLE tt_Y03HOCSINH
    PACKAGE SIZE IV_FETCH_BATCH_SIZE.
    IF NOT tt_Y03HOCSINH IS INITIAL.
    ELSE.
    EXIT.
    ENDIF.
    LOOP AT tt_Y03HOCSINH INTO wa_Y03HOCSINH.
    MOVE wa_Y03HOCSINH-HOCSINH_ID
    TO wa_final_tmp-Y03HOCSINH_HOCSINH_ID.
    MOVE wa_Y03HOCSINH-MA_HOC_SINH
    TO wa_final_tmp-Y03HOCSINH_MA_HOC_SINH.
    MOVE wa_Y03HOCSINH-TEN_HOC_SINH
    TO wa_final_tmp-Y03HOCSINH_TEN_HOC_SINH.
    MOVE wa_Y03HOCSINH-GIOI_TINH
    TO wa_final_tmp-Y03HOCSINH_GIOI_TINH.
    MOVE wa_Y03HOCSINH-DIA_CHI
    TO wa_final_tmp-Y03HOCSINH_DIA_CHI.
    MOVE wa_Y03HOCSINH-GHI_CHU
    TO wa_final_tmp-Y03HOCSINH_GHI_CHU.
    APPEND wa_final_tmp TO tt_final_tmp.
    ENDLOOP.
    free : tt_Y03HOCSINH.
    LOOP AT tt_final_tmp INTO wa_final_tmp.
    MOVE wa_final_tmp-Y03HOCSINH_HOCSINH_ID
    TO wa_final_target-C0_Y03HOCSINH_HOCSINH_ID.
    MOVE wa_final_tmp-Y03HOCSINH_MA_HOC_SINH
    TO wa_final_target-C1_Y03HOCSINH_MA_HOC_SINH.
    MOVE wa_final_tmp-Y03HOCSINH_TEN_HOC_SINH
    TO wa_final_target-C2_Y03HOCSINH_TEN_HOC_SINH.
    MOVE wa_final_tmp-Y03HOCSINH_GIOI_TINH
    TO wa_final_target-C3_Y03HOCSINH_GIOI_TINH.
    MOVE wa_final_tmp-Y03HOCSINH_DIA_CHI
    TO wa_final_target-C4_Y03HOCSINH_DIA_CHI.
    MOVE wa_final_tmp-Y03HOCSINH_GHI_CHU
    TO wa_final_target-C5_Y03HOCSINH_GHI_CHU.
    Append wa_final_target to tt_final_target.
    ENDLOOP.
    free : tt_final_tmp.
    Clear wa_final_target.
    IF NOT iv_max_row_cnt IS INITIAL.
    Loop at tt_final_target into
    wa_final_target TO iv_max_row_cnt.
    MOVE wa_final_target-C0_Y03HOCSINH_HOCSINH_ID
    TO C0_Y03HOCSINH_HOCSINH_ID.
    MOVE wa_final_target-C1_Y03HOCSINH_MA_HOC_SINH
    TO C1_Y03HOCSINH_MA_HOC_SINH.
    MOVE wa_final_target-C2_Y03HOCSINH_TEN_HOC_SINH
    TO C2_Y03HOCSINH_TEN_HOC_SINH.
    MOVE wa_final_target-C3_Y03HOCSINH_GIOI_TINH
    TO C3_Y03HOCSINH_GIOI_TINH.
    MOVE wa_final_target-C4_Y03HOCSINH_DIA_CHI
    TO C4_Y03HOCSINH_DIA_CHI.
    MOVE wa_final_target-C5_Y03HOCSINH_GHI_CHU
    TO C5_Y03HOCSINH_GHI_CHU.
    CONCATENATE
    C0_Y03HOCSINH_HOCSINH_ID
    C1_Y03HOCSINH_MA_HOC_SINH
    C2_Y03HOCSINH_TEN_HOC_SINH
    C3_Y03HOCSINH_GIOI_TINH
    C4_Y03HOCSINH_DIA_CHI
    C5_Y03HOCSINH_GHI_CHU
    INTO wa_final_string
    SEPARATED BY lv_delimiter.
    IF sy-tabix EQ 1 AND lv_cnt EQ 1.
    CONCATENATE wa_final_string
    lv_delimiter INTO wa_final_string.
    ELSE.
    CONCATENATE '<@=""+(char)8@>' lv_delimiter wa_final_string
    lv_delimiter INTO wa_final_string.
    ENDIF.
    APPEND wa_final_string TO gt_result.
    CLEAR : C0_Y03HOCSINH_HOCSINH_ID,
    C1_Y03HOCSINH_MA_HOC_SINH,
    C2_Y03HOCSINH_TEN_HOC_SINH,
    C3_Y03HOCSINH_GIOI_TINH,
    C4_Y03HOCSINH_DIA_CHI,
    C5_Y03HOCSINH_GHI_CHU.
    ENDLOOP.
    ELSE.
    Loop at tt_final_target into wa_final_target.
    MOVE wa_final_target-C0_Y03HOCSINH_HOCSINH_ID
    TO C0_Y03HOCSINH_HOCSINH_ID.
    MOVE wa_final_target-C1_Y03HOCSINH_MA_HOC_SINH
    TO C1_Y03HOCSINH_MA_HOC_SINH.
    MOVE wa_final_target-C2_Y03HOCSINH_TEN_HOC_SINH
    TO C2_Y03HOCSINH_TEN_HOC_SINH.
    MOVE wa_final_target-C3_Y03HOCSINH_GIOI_TINH
    TO C3_Y03HOCSINH_GIOI_TINH.
    MOVE wa_final_target-C4_Y03HOCSINH_DIA_CHI
    TO C4_Y03HOCSINH_DIA_CHI.
    MOVE wa_final_target-C5_Y03HOCSINH_GHI_CHU
    TO C5_Y03HOCSINH_GHI_CHU.
    CONCATENATE
    C0_Y03HOCSINH_HOCSINH_ID
    C1_Y03HOCSINH_MA_HOC_SINH
    C2_Y03HOCSINH_TEN_HOC_SINH
    C3_Y03HOCSINH_GIOI_TINH
    C4_Y03HOCSINH_DIA_CHI
    C5_Y03HOCSINH_GHI_CHU
    INTO wa_final_string
    SEPARATED BY lv_delimiter.
    IF sy-tabix EQ 1 AND lv_cnt EQ 1.
    CONCATENATE wa_final_string
    lv_delimiter INTO wa_final_string.
    ELSE.
    CONCATENATE '<@=""+(char)8@>' lv_delimiter wa_final_string
    lv_delimiter INTO wa_final_string.
    ENDIF.
    APPEND wa_final_string TO gt_result.
    CLEAR : C0_Y03HOCSINH_HOCSINH_ID,
    C1_Y03HOCSINH_MA_HOC_SINH,
    C2_Y03HOCSINH_TEN_HOC_SINH,
    C3_Y03HOCSINH_GIOI_TINH,
    C4_Y03HOCSINH_DIA_CHI,
    C5_Y03HOCSINH_GHI_CHU.
    ENDLOOP.
    ENDIF.
    free : tt_final_target.
    IF NOT gt_result IS INITIAL.
    CLEAR wa_result.
    LOOP AT gt_result INTO wa_result.
    TRANSFER wa_result TO lv_path.
    ENDLOOP.
    ENDIF.
    REFRESH gt_result.
    *End of main loop for batching
    ENDDO.
    *Close dataset
    CLOSE DATASET lv_path.
    CLOSE CURSOR lv_Y03HOCSINH_dbcur.
    ELSE.
    DATA: lv_mesg TYPE string.
    CLEAR et_file_return.
    et_file_return-type = 'E'.
    CONCATENATE
    'Error occurred when creating dataset' lv_path
    INTO lv_mesg.
    et_file_return-message = lv_mesg.
    Append et_file_return.
    ENDIF.
    ELSE.
    CLEAR et_file_return.
    et_file_return-type = 'E'.
    et_file_return-message =
    'Installed ABAP program does not match interface definition'.
    APPEND et_file_return.
    ENDIF.
    Thanks for help

    r u able to figure it out..........i got the same error .......can someone help me fix this issue

  • Error while executing the program RIMODAC2.

    I am not sure of this program's functionality.
            While i execute this program it displays a error message which is displaying a very old Sales Order in the message.
    this is the message
    Function: /SAPAPO/CIF_SL_DOC_INBOUND
    Text: Customer requirement N BM 0100005129 000003 0001:
    the number 0100005129 is a Sales order.
    Regards,
    Kevin.

    Hi,
    It seems that the line raising the exception is:
    pstselect=con.prepareStatement(selectQuery,ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    I don't know the odbc bridge so I'm just guessing, but you cant try with:
    pstselect=con.prepareStatement(selectQuery);
    and see what happens.
    I recommend you to use the thin driver, with a single jar you can connect to Oracle without having to configure anything on your machine, just supply a database url, a username and a password.
    ciao,
    Giovanni
    P.S. the code you posted is prone to NullPointerException, if you got an exception you catch it in the the first cathc block, bat after printing the stack trace you are going on even if the variables are null.

  • Error while executing the program  'RBDMIDOC'

    Hi Experts,
    While executing the program  RBDMIDOC
    I am getting the following errors
    One error in Communication data  :
    1)    No data distributed because of conversion errors
    Two errors in Data selection and formatting :
    1)    No ISO code found for the country key NT in the field NATIO
    2)    Conversion error: infotype 0002, object 01,P,00000033
    I am having change pointer entries in BDCP table.
    Can anyone please tell me how to resolve these errors....
    Thanks in advance...

    us the program
    RHALEINI

  • Authorization Error while executing a program

    Hi All,
               I have developed a program which calls VF02 transaction in background. But while executing it, the program fails with message'No authorization for sales organization XXXX'.
    The users who are executing the program does not have access to VF02 and for security reasons the access can not be given to the users.
    So my question is whether this error is due to no access to 'VF02' or with the sales organization?
    Can we give access to the users according to sales organization rather than giving authorization for VF02 ?
    If not then whats the solution to rectify this error without giving VF02 access to users?
    Please help.
    Thanks,
    Sanujit Acharya

    Hi Sandeep
    The OP's question appears to be 'If I give a custom transaction to a user it seems to then call an object unexpectedly that has a sales organisation value because I'm using it to call VF02".
    Due to SU24 not being updated for the custom transaction I'm guessing.
    A trace would probably assist when working with the functional team to decide what is really needed but I'm a little lost as to what is being asked of either the OP or the security/ABAP teams as this is pretty basic stuff...
    @Sanujit
    I have developed a program which calls VF02 transaction in background. But while executing it
    Have you had this program associated with a custom transaction yet?
    Regards
    David
    Edited by: David Berry on May 28, 2011 5:41 PM (got my sales orders mixed up)
    Edited by: David Berry on May 28, 2011 5:47 PM

  • Command not found error while executing shell programs in terminal

    I have written one sample shell program.
    while executing shell program in terminal,it shows COMMAND NOT FOUND error.
    How to slove this.

    Post the "Actual" error.  It says more than command not found.
    Post your script.
    Post the output from:
    echo $PATH
    Post the output from:
    which name_of_command_not_found

  • Error while executing FP_TEST_00 program

    Hi,
    I configured ADS, it was working fine,i'am able to take all the PDF documents from SAP.
    But now when i execute FP_TEST_00 program i got an error message that
    "ADS: SOAP Runtime Exception: CSoapExceptionFault : SOAP(100102)
        Message no. FPRUNX001"
    But when i run FP_PDF_TEST_00 program it is giving me the Version information.
    I'am unable to find a solution.Please guide me
    With Regards,
    Pradeep.

    checkout #944221 in particular:
    4.  Check the settings for the destination service
                  To use the destination service on AS Java, settings are required on AS ABAP and AS Java. Therefore, this test contains several steps.
                  4. 1 In your ABAP system (transaction SA38), call the FP_CHECK_DESTINATION_SERVICE program (available as of NW2004s SPS 08).
                           a) First of all, execute the program without selecting the option "With Destination Service".
                           The system processes a test form in the background and displays the size of the generated PDF. It does not use the destination service in the process.
                           b) Now select the option "With Destination Service" and execute the program again. The system processes the test form, using the destination service.
    If the system displays the same message (file size of generated PDF) as it does in a), the configuration of the destination service is correct.
                        -> Proceed to the next point (5).
    If the system issues an error message, the configuration of the destination service is incorrect.
                        -> Carry out tests 4.2 to 4.4.
                  4. 2 Check whether the /default_host/sap/bc/fp and /default_host/sap/bc/fpads ICF services are active. (transaction SICF). If this service is not active, activate it. Note: As of NW2004s Support Package Stack 12, when you bundle in distributed systems (in other words, for "non-double-stack installations"), it is optional to use the fpads ICF service
                  4.3 Check the settings for the ICF service.
                           a) Enter the following URL in your Web browser:
                        http://<server>:<port>/sap/bc/fp/form/layout/fp_test_00.xdp
                        < server> is the AS ABAP, <port> is the HTTP port of the AS ABAP. (you can determine this information using transaction SICF).
                           b) In the dialog box for the user, enter ADS_AGENT and the relevant password.
    If the ICF service settings are correct, the browser displays the layout information of the FP_TEST_00 form in XML format.
                        -> Proceed with point 4.4.
    If the browser displays an error message instead of the XML file, a configuration error occurred.
                        -> Check whether the user ADS_AGENT exists on the AS ABAP, and if the user has the required authorizations and roles (SAP_BC_FP_ICF).
                  4.4. Check the settings for the destination service on AS Java
                           a) Call Visual Administrator and navigate to Services -> Destinations
                           (detailed instructions are available on the Help Portal at: http://help.sap.com/saphelp_nw2004s/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm ->Adobe Document Services Configuration Guide -> Configuring the Web Service -> Securing Access to the Web Service -> Creating or Changing the Destination Service)
                           b) Extend the setting in field URLunder Connection Settings to:
                           http://<server>:<port>/sap/bc/fp/form/layout/fp_test_00.xdp
                           (The <server> and <port> that are already available refer to the AS ABAP.)
                           c) Choose 'Save and Test'
                           d) The system calls the ABAP system that stores the form templates.
    If the settings are correct, the system issues the message: "HTTP GET response code 200 Content Type/xml."
                        -> Proceed with point 5.
    If the system issues an error message, the configuration of the destination service is incorrect.
                        -> Contact your system administrator and ask them to correct the settings for the destination service.
                           e) Do not forget to change the URL back to http://<server>:<port>.

  • Error while Executing th program

    Hi Guys,
                 When i am executing my program I am getting this type of error
              " Object ZMMOF3007_INVCE_TO_FACILITIES of class RE and language EN does not exist.
    Message no. SF616"
                          can anybody tell me whsts the solution for this?
    Thanks,
    Gopi.

    Hi,
    Please try to run that program in se80 in background and check., and check thru own jobs
    aRs

  • Error in executing the program,what can be the error

    Error in executing the program.
    What can be the error ,if the error shown is PROGRAM ABC DOE! after entering the values in selection screen?

    Hi,
    Use find to search globally for message in the program.
    Check the message that is handled in the program in the selection screen validations.Double click and find out the message.Then you can easily trace why it's happening.

  • Execute ABAP Program - Error in Open File Cust_Dim.dat

    HI All,
    I am trying to Implement scenario of Data Service designer for Extract SAP Application data (page no. 181 Onwards). It is for transfer data from SAP ECC - KNA1 to MSSQL table.
    I have Data Service server install on my system.
    I have implement all the steps. When I execute job server. I am getting error like
    "Execute ABAP program <C:/Program Files/Business Objects/BusinessObjects Data Services/ZCUSTDIM_1.aba> error < Open File Error -- C:\Program Files\Business Objects\/Cust_Dim.dat>"
    Does anyone knows about this? I have tried to find lot in SDN but didn't find any solution.
    Thanks
    Ratnakar

    Hi all
    I was having the exact same problem as the one explained here.
    I was a little mixed up because I assigned full privileges on the destination folder to one specific account called installsap
    I used  this account for installing SAP BO Data Services. This account is the one configured on the Business Objects Data Services Service:
    However, I kept getting the same error, as if this account had not enough privileges over the folder.
    I saw that there is another Service called Server Intelligent Agent. I went through its configuration Properties by using the Central Configuration Manager, specifically within the Log On As Property and it seemed like a non specific System Account was configured there.
    Then I open the services.msc (Windows application) in order to see this very same service configuration and it had NOTHING specified there, nor a Local System Account nor an specific user account.
    So, I stopped the service and specified the installsap account I used for the Business Objects Data Services Service. After that I verified I could see this configuration through the Central Configuration Manager and now both tools showed the same.
    Then I started the SIA Service retried again executing the ABAP Data Flow and the Error in Open File was gone.
    It is how the SIA Service configuration looks like.
    By the way, I am not sure if the "Job Server Service" which was cited before in this thread is the same as the Server Intelligence Agent Service I modified
    Besides, although I've been using DS for quite a considerable amount of time, I have never heard of such "Job Server Service". Let me know if I am wrong.
    Anyways it worked for me and I hope it works for someone else who faces the same error.
    Best regards!

  • Adobe - Error executing program

    Hi,
    When I am executing the WebDynpro program DEMO_ADOBE_OFFLINE I am getting the following error in the log file
    ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [sap.com/com.sap.lcr*sld : LcrClassWriter].
    We have done the ADS configuration.
    When I execute the program FP_CHECK_DESTINATION_SERVICE it runs continuously. Kindly help in resolving this issue
    Regards
    Aruna

    Hello,
    it seems, that there is no data exchange  between ads an application-server.
    Causes can be
    - the user ADSUser is not defined,
    - the password for user ADSUser is expired.
    Check the ads with the configuration guide.
    Best Regards
    Oliver Prodigner

  • Error upon executing driver program

    Hi guys,
    iam getting the following error when executing print program;
    I/O error from text Z_TABLE_DATA ST EN.
    (actually am trying to pass the subroutine pool prog.through perform statement , in that i inlcuded the standard text).
    Regards
    chandrakanth.k

    please check this text in SO10  tcode ,Z_TABLE_DATA ST EN, this text language EN not maintained..

  • Error executing Program

    Dear all.
       I'm executing this simple code:
    SELECTION-SCREEN BEGIN OF BLOCK I1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: ZB_TEST as checkbox default 'x'.
    SELECTION-SCREEN END OF BLOCK I1.
    IF ZB_TEST eq 'X'.
        write 'X Upper'.
    elseif ZB_TEST eq 'x'.
        write 'x lower'.
    endif.
    When executing the frist time the system Display x lower.
    Then when re-executed the Program with no parameter.
    Then executed the Program with the check box set the system Display X Upper.
    Best Regards

    Hi,
    Give always in Capital letters..
    ZB_TEST as checkbox default 'X'.
    If the check box is checked the ZB_TEST = 'X'.
    Elseif the check box is not checked then ZB_TEST = ' '.
    Thanks,
    Naren

  • RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''

    Hi,
    While executing the below code i am getting the error
    " RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ' ' am new to ABAP , can anyone kindly help me where i have went wrong ? .
    IF ( V_DO_CDS_NAME_MAIN <> '' ).
        ABAP.
            DATA: ref_it_tab TYPE REF TO data,
                  ref_wa TYPE REF TO data.
            FIELD-SYMBOLS: <fs_itab> TYPE ANY TABLE.
            FIELD-SYMBOLS: <fs_wa> TYPE ANY.
            FIELD-SYMBOLS: <fs_field> TYPE ANY.
            CREATE DATA ref_it_tab TYPE STANDARD TABLE OF (V_DO_CDS_NAME_MAIN) WITH NON-UNIQUE DEFAULT KEY.
            ASSIGN ref_it_tab->* TO <fs_itab>.
            SELECT * FROM (V_DO_CDS_NAME_MAIN) INTO TABLE <fs_itab> where C1 = V_WORK_ITEM_ID_MAIN.
            CREATE DATA ref_wa LIKE LINE OF <fs_itab>.
            ASSIGN ref_wa->* TO <fs_wa>.
            loop at <fs_itab> assigning <fs_wa>.
                assign component 'CLIENT' of structure <fs_wa> to <fs_field>.
                V_CLIENT = <fs_field>.
                assign component 'C0' of structure <fs_wa> to <fs_field>.
                V_C0 = <fs_field>.
                assign component 'C1' of structure <fs_wa> to <fs_field>.
                V_C1 = <fs_field>.
                assign component 'C2' of structure <fs_wa> to <fs_field>.
                V_C2 = <fs_field>.
                assign component 'C3' of structure <fs_wa> to <fs_field>.
                V_C3 = <fs_field>.
                assign component 'C4' of structure <fs_wa> to <fs_field>.
                V_C4 = <fs_field>.
                assign component 'C5' of structure <fs_wa> to <fs_field>.
                V_C5 = <fs_field>.
                assign component 'C6' of structure <fs_wa> to <fs_field>.
                V_C6 = <fs_field>.
                assign component 'C7' of structure <fs_wa> to <fs_field>.
                V_C7 = <fs_field>.
                assign component 'C8' of structure <fs_wa> to <fs_field>.
                V_C8 = <fs_field>.
                assign component 'MESSAGE_ID' of structure <fs_wa> to <fs_field>.
                V_MESSAGE_ID = <fs_field>.
                assign component 'TIMESTAMP' of structure <fs_wa> to <fs_field>.
                V_TIMESTAMP = <fs_field>.
                assign component 'EXTRACTKEY' of structure <fs_wa> to <fs_field>.
                V_EXTRACTKEY = <fs_field>.
                assign component 'STATEID' of structure <fs_wa> to <fs_field>.
                V_STATEID = <fs_field>.
                assign component 'DEVICE_ID' of structure <fs_wa> to <fs_field>.
                V_DEVICE_ID = <fs_field>.
            ENDLOOP.
        ENDABAP.
    ENDIF.

    Hi Mubeen,
    While Copying the cotes have come closer otherwise its working fine , i was able to find the error .
    There are ten predefined ABAP data types. There are 100 possible type combinations between these elementary data types. ABAP supports automatic type conversion and length adjustment for all of them except type D (date) and type T (time) fields which cannot be converted into each other.
    I commented the TimeStamp part where i had given the ABAP Type as D and it started working .
    But now i want to display the content of  "TimeStamp"  field but i am not able to do so .
    This is the format in which it has to be displayed 2009.011.915.3353.
    Which ABAPTYPE i need to use ?.
    i am able to display in this format 20090119153353
    regards
    Harsha

Maybe you are looking for

  • All Open Sales Orders in APO system

    Hi Experts, We have a requirement in which we have to get all open sales orders in SAP APO system for 2013.  Please suggest if there is some way to do this. Thanks in advance.

  • User id while  creating a purchase order

    Hello all, I would like to know whether there is any option to enter the user id or user name while creating a purchase order. If so could anyone post on how to do that. Thanks, Maxx

  • What's wrong with my Mac's disk drive?

    I have a Macbook running OS X Mountain Lion (10.7.5). It has multiple users on it because I share it with other family members. A member of our family is getting a new computer and is giving me and those who share the computer with me, the old one. T

  • View offending records in audit viewer for set-based mappings

    i have mappings which is configured to load data from Oracle9i external tables into Fact tables. i am using set-based loading with reject limit set to 0. Whenever there's an offending record from the external table, the whole mapping will fail with m

  • How to install external speakers to my i mac

    I got some bose companion 2 for christmas. I am unable to make them work, aghgh! help please