Lsmw error 'Specify Files first' while executing option 'Read Data'.

Hi All,
while trying to create mass users through LSMW, i am gettign the error 'Specify Files first' while executing option 'Read Data'.
I have specified file (.txt), manually created (with'1 tab space' between each term). i have used option 'On the PC(Frontend)'. No error while saving.
Next- i have executed 'Assign Files', where the file appeared automatically.
Next- Here, when i try to execute 'Read Data', i get the error 'Specify Files first'.
Can anyone help in resolving this error.

Hello Plaban,
What is your purpose? Are you tring to upload the data with more file variant?                                                                               
There are two possibilities to make file names more variable:                                                                               
1.If you choose system dependent file names by setting the according flag (in the first step 'Maintain object attributes'), you can define file names for each system in step 'Specify files' by assigning the files to a specific system ID (with a double-click on the specified file).                                                                               
2.You can use wildcards in the file names where you can assign several values.                                                               
I hope this helps you.
Regards,
Blanca

Similar Messages

  • Error 'Specify account number' while posting a parked document through FBV0

    Hi,
    I am getting an error 'Specify account number' while posting a parked document through transaction FBV0.
    I am not able to figure it out as to what account number it is referring to. Since the document is parked I assume the GL account used has no problem. Please help.

    Hi,
    Try to change the Account number and then save or post the data. I think Once We Parking the Document it wont allow to post the data without changing.
    Try same scenario in the development its be useful
    Regards,

  • An error occured while trying to read data

    Hi RoboHelpers,
    While opening my main project today (large project w/ thousands of topics) my project froze twice and wasn't responding, so I forced it to close via Task Manager and deleted the CPD file, thinking it was the culprit.
    I then got this error when I tried to reopen the .XJP file:
    "An error occurred while trying to read data from
    <D:\Hg\PcdmisQA\Pcdlrn\CoreHelp\13_hardware_topics\13_hardware_topics.fpj><1>."
    I clicked OK to get past this error, and now my htms are not appearing inside the Topic List for 13_hardware_topics and the TOC links show that the topics don't exist. But the .htms do exist inside the actual directory in Windows.
    I think I can fix this by importing the .htms inside 13_hardware_topics, but I'm not sure why it happened in the first place. Is there a way to just fix the .fjp file instead--if this is indeed the problem?
    My 13_hardware_topics.fjp structure looks like this (sorry for the post length):
    <?xml version="1.0" encoding="utf-8"?>
    <rhpml majorversion="2" minorversion="0">
        <folders/>
        <topics>
            <topic>
                <name>Tool_ID.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_Description.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Hardware.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Hardware_Introduction.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>List_of_Available_Tools.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Tool_Type.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Understanding_the_Probe_Utilities_dialog_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>use_trax_calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Probes.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Use_Partial_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_File_Name.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>User_Defined_Calibration_Order_check_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Search_Override_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Optical.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Showing_an_Animated_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Using_the_Quick_Fixture_Dialog_Box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Inserting_Quick_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_for_Creating_Multiple_Arm_Machines.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>print_list.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>example_printout.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Machines.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Selecting_or_Creating_a_Machine_for_Display.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Deleting_the_LOADMACHINE_Command.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Ball.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Removing_the_Animated_Machine_from_the_Graphics_Display_Window.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>collision_tolerance.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Optical_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_on_the_Machine_s_Axes.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Migrating_Part_Programs_Between_Machines_Using_PH10_and_Tesa_Star_M_Probes.htm</nam e>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_Setup.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>autocalibrate_probe.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Specifying_Collision_Tolerances.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Using_Existing_Quick_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_4_-_Begin_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_3_-_Define_Ports.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_8_-_Measuring_Port_2.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_6_-_Measuring_Port_1.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_7_-_Measuring_Port_3.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_9_-_Review_Calibration_Results.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Displaying_Existing_Machines_in_the_Graphics_Display_Window.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Calibrating_the_FCR25_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Inserting_and_Removing_Quick_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Selecting_the_No_Machine_Item.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_on_the_Machine_s_Home_Position_area.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Deleting_the_Machine.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>defining_probe_changers.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Quick_Fixture_Mode_s_Mouse_and_Keyboard_Commands.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Adding_Custom_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>add_tool.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>With_Averaging.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Shank_Optical_Vector_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Fast_Probe_Mode.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>X_Y_and_Z_Center.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Delete_Tool.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ScanRdv.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>available_tip_types.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Thickness_of_the_ball_tip.htm</name>
                <name>PrbRdv.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Edit.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Shank_Vector_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Ball_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>edit_probe_components.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Edit_Tool.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Ball_Tip.htm</name>
                <name>To_delete_a_wrist_angle.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_Setup.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Measure.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Disk_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>PrbRdv.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Previewing_your_Probe_Configuration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>use_unit_calibration_data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>New_Angles_List_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>To_Display_the_Probe_Changer_in_the_Graphics_Display_window.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>calibration_date_and_time.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Global_Used.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Individual_Angle_Data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Barrel_Shank_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>calibration_date_and_time.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Equally_Spaced_Angles_Data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Reset_Tips.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Disk_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>use_unit_calibration_data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>dmis_label.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>add_angles.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Notes_on_the_Add_Angle_option.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Working_with_the_Angle_Grid.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>available_tip_types.htm</name>
                <name>calibration_date_and_time.htm</name>
                <name>Results.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Ball_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Reset_Tips.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Diameter_Length.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Previewing_your_Probe_Configuration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>User_Defined_Calibration_Order_check_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Use_Wrist_Map_If_Available_check_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Diameter_Length.htm</name>
                <name>Use_Wrist_Map_If_Available_check_box.htm</name>
                <name>Probe_Description.htm</name>
                <name>List_of_Available_Tools.htm</name>
                <name>Probe_File_Name.htm</name>
                <name>use_trax_calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_2_-_Define_the_Mount_Point.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Use_Partial_Calibration.htm</name>
                <name>Probe_Description.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>autocalibrate_probe.htm</name>
                <name>Search_Override_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Disk.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Migrating_Part_Programs_Between_Machines_Using_PH10_and_Tesa_Star_M_Probes.htm</nam e>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Calibrating_the_ACR1_Probe_Changer.htm</name>
                <name>Step_1_-_Select_the_FCR25_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>example_printout.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>defining_probe_changers.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Calibrating_the_CW43_Probe_Changer.htm</name>
                <name>Optical.htm</name>
                <name>example_printout.htm</name>
                <name>To_Display_the_Probe_Changer_in_the_Graphics_Display_window.htm</name>
                <name>defining_probe_changers.htm</name>
                <name>Inserting_Quick_Fixtures.htm</name>
                <name>Shank.htm</name>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_9_-_Review_Calibration_Results.htm</name>
                <name>Additional_Information_on_the_Machine_s_Axes.htm</name>
                <name>Step_5_-_Prepare_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Migrating_Part_Programs_Between_Machines_Using_PH10_and_Tesa_Star_M_Probes.htm</nam e>
                <name>Probe_Setup.htm</name>
                <name>Selecting_or_Creating_a_Machine_for_Display.htm</name>
                <name>Step_6_-_Measuring_Port_1.htm</name>
                <name>Step_9_-_Review_Calibration_Results.htm</name>
                <name>Quick_Fixture_Mode_s_Mouse_and_Keyboard_Commands.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
                <name>Step_6_-_Measuring_Port_1.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Inserting_and_Removing_Quick_Fixtures.htm</name>
                <name>SP600__Step_3_-_Prepare_for_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Selecting_the_No_Machine_Item.htm</name>
                <name>Deleting_the_Machine.htm</name>
                <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</name>
                <name>SP600__Step_6_-_Take_the_Third_Manual_Hit.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>SCP600__Step_2_-_Define_the_Mount_Point.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Showing_an_Animated_Probe_Changer.htm</name>
                <name>ACR1__Step_1_-_Select_the_ACR1_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_for_Creating_Multiple_Arm_Machines.htm</name>
                <name>ACR1__Step_3_-_Define_the_Mount_Point.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_4_-_Define_Ports.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_5_-_Prepare_for_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_6_-_Measure_Port_1.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_7_-_Measure_Port_8.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_9_–_Measuring_Datum_Sphere_with_PEM_Extension(s)_(optional).htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>SP600__Step_4_-_Take_the_First_Manual_Hit.htm</name>
                <name>Step_1_-_Select_the_SP600_Probe_Changer.htm</name>
                <name>ACR1_Step_10_Review_Calibration_Results.htm</name>
        </topics>
    </rhpml>
    Thanks,
    Jared

    Hi Jared.
    I don't know if this is at the root cause of the error but I see that the closing </name> tag has a number of instances where there is a spurious space inside it:
    <topic>
        <name>Additional_Information_for_Creating_Multiple_Arm_Machines.htm</ name>
        <comments></comments>
        <frameset>0</frameset>
    </topic>
    <topic>
        <name>Additional_Information_on_the_Machine_s_Home_Position_area.htm< /name>
        <comments></comments>
        <frameset>0</frameset>
    </topic>
    <topic>
        <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</n ame>
        <comments></comments>
        <frameset>0</frameset>
    </topic>
    There are others.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • LPX-00601: Invalid token in: err while trying to read data from xml

    Hey ,
    While trying to read data from xml i got err:
    LPX-00601: Invalid token in: 'path'
    the proc. i'm using to read data from the xml is:
    procedure read_xml_file_test (in_filename in varchar2)
    is
    my_dir  varchar2(20) := 'XML_DIR;
      cur_emp2 number:=0;
      l_bfile   BFILE;
      l_clob    CLOB;
      l_parser  dbms_xmlparser.Parser;
      l_doc     dbms_xmldom.DOMDocument;
      l_nl      dbms_xmldom.DOMNodeList;
      l_nl2    dbms_xmldom.DOMNodeList;
      l_n       dbms_xmldom.DOMNode; 
      l_n2     dbms_xmldom.DOMNode;
      l_temp    VARCHAR2(1000);
    v_errors        internet_clients.errors%type; 
    src_csid       NUMBER := NLS_CHARSET_ID('UTF8'); 
    dest_offset    INTEGER := 1;
    src_offset     INTEGER := 1;
    lang_context   INTEGER := dbms_lob.default_lang_ctx;
    warning        INTEGER;
    v_count       number := 0;   --total records
    v_count_s      number := 0;   -- sucsess record
    v_count_f      number := 0;   -- failed record
    v_flag varchar2(1);
    v_char2 varchar2(1);
    v_l1 VARCHAR2(255);
    v_l2 VARCHAR2(255);
    v_l3 VARCHAR2(255);
    v_l4 VARCHAR2(255);
    v_l6 VARCHAR2(255);
    BEGIN
      l_bfile := BFileName(my_dir, in_filename);
      dbms_lob.createtemporary(l_clob, cache=>FALSE);
      dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
      dbms_lob.loadclobfromfile(l_clob, l_bfile, dbms_lob.getlength(l_bfile), dest_offset,src_offset, src_csid, lang_context, warning);                        
      dbms_lob.close(l_bfile);
      -- make sure implicit date conversions are performed correctly
      dbms_session.set_nls('NLS_DATE_FORMAT','''DD/MM/RR HH24:MI:SS''');   
      -- Create a parser.
      l_parser := dbms_xmlparser.newParser;
      -- Parse the document and create a new DOM document.
        dbms_xmlparser.parseClob(l_parser, l_clob);
        l_doc := dbms_xmlparser.getDocument(l_parser);
      -- Free resources associated with the CLOB and Parser now they are no longer needed.
      dbms_lob.freetemporary(l_clob);
      dbms_xmlparser.freeParser(l_parser);  
      -- Get a list of all the  nodes in the document using the XPATH syntax.
      l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');
      -- Loop through the list and create a new record in a tble collection
      -- for each  record.
      FOR cur_emp IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
       l_n := dbms_xmldom.item(l_nl, cur_emp);
       cur_emp2:=0;
       loop
         v_count := v_count + 1;
         begin
        -- Use XPATH syntax to assign values to he elements of the collection.
        dbms_xslprocessor.valueOf(l_n,'L1/text()',v_l1);
        dbms_xslprocessor.valueOf(l_n,'L2/text()',v_l2);
        dbms_xslprocessor.valueOf(l_n,'L3/text()',v_l3);
        dbms_xslprocessor.valueOf(l_n,'L4/text()',v_l4);
        dbms_xslprocessor.valueOf(l_n,'L6/text()',v_l6);
            exception
      when others then 
      null;
      end;
    exit when cur_emp2=dbms_xmldom.getLength(l_nl2);
      END LOOP;
      end loop;
      -- Free any resources associated with the document now it
      -- is no longer needed.
      dbms_xmldom.freeDocument(l_doc);
      --remove file to another directory   
          --COMMIT;  -- do not use the commit if you want to run this proc. from within the search_dir_list proc , because it execute a select from tmp table dir_list which contain a "on commit delete rows"  clause.    
      /*EXCEPTION
      /*WHEN OTHERS THEN
       dbms_lob.freetemporary(l_clob);
        dbms_xmlparser.freeParser(l_parser);
       dbms_xmldom.freeDocument(l_doc);
        null;
        ROLLBACK; */
    END;While trying to execute this i got:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: 'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP'
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 939
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 967
    ORA-06512: at "MARKET.READ_XML_FILE_TEST", line 51
    ORA-06512: at line 1
    i guess i mised somthing at the line
    l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');i attached here part of my xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <soap:Body>
    - <GetFieldsNameResponse xmlns="http://tempuri.org/">
    - <GetFieldsNameResult>
    - <xs:schema id="DataSet_FRM_GANERIC_PROP" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    - <xs:element name="DataSet_FRM_GANERIC_PROP" msdata:IsDataSet="true" msdata:Locale="he-IL">
    - <xs:complexType>
    - <xs:choice minOccurs="0" maxOccurs="unbounded">
    - <xs:element name="FRM_GANERIC_PROP">
    - <xs:complexType>
    - <xs:sequence>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:choice>
      </xs:complexType>
      </xs:element>
      </xs:schema>
    - <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    - <DataSet_FRM_GANERIC_PROP xmlns="">
    - <FRM_GANERIC_PROP diffgr:id="FRM_GANERIC_PROP1" msdata:rowOrder="0">
      <L1>val1</L1>
      <L2>val2</L2>
      <L3>val3</L3>
      <L4>val4</L4>
      <L6>val6</L6>
      </FRM_GANERIC_PROP>
      </DataSet_FRM_GANERIC_PROP>
      </diffgr:diffgram>
      </GetFieldsNameResult>
      </GetFieldsNameResponse>
      </soap:Body>
      </soap:Envelope>I Guess it somthing that have to do with node definition ,
    but i have tried so many combinations and none ot those worked for me.
    i'm deeply stuck here.
    What do i miss here?
    THANKS yair
    Edited by: yair_k on 02:30 14/10/2010

    Hey , after got a lot of success with the xml reading part , i wonder if you
    can help me with a problem while trying to reading that xml from a web service.
    i use a procedure as followes:
    FUNCTION read_from_web_service(in_username in varchar2 , in_password in varchar2)
      RETURN CHAR
    AS
      l_service          UTL_DBWS.service;
      l_call             UTL_DBWS.call;
      l_a_ns                     VARCHAR2(32767);
      l_wsdl_url         VARCHAR2(32767);
      l_namespace        VARCHAR2(32767);
      l_service_qname    UTL_DBWS.qname;
      l_port_qname       UTL_DBWS.qname;
      l_operation_qname  UTL_DBWS.qname;
      l_xmltype_in       SYS.XMLTYPE;
      l_xmltype_out      SYS.XMLTYPE;
      l_return           VARCHAR2(32767);
    BEGIN
      l_wsdl_url        := 'http://www.company.com/publisherService/ServiceGetpublisherTable.asmx?wsdl';
      l_namespace       := 'http://tempuri.org/';
      l_service_qname   := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTable');
      l_port_qname      := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTableSoap');
      l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'GetFieldsName');
      l_service := UTL_DBWS.create_service (
        wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
        service_name           => l_service_qname);
      l_call := UTL_DBWS.create_call (
        service_handle => l_service,
        port_name      => l_port_qname,
        operation_name => l_operation_qname);
      l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
        <GetFieldsName xmlns="' || l_namespace || '">
        <user>' || in_username || '</user>
        <password>'|| in_password || '</password>
        </GetFieldsName>');
      l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
                                       request     => l_xmltype_in);
      UTL_DBWS.release_call (call_handle => l_call);
      UTL_DBWS.release_service (service_handle => l_service);
      l_return := l_xmltype_out.extract('//GetFieldsName/text()').getstringVal();
       dbms_output.put_line(l_return);     
      RETURN l_return;
    END;but when i run it i got message:
    ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: Server did not recognize the value of HTTP Header SOAPAction: .
    regarding the line:
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    So , i deeply stuck here!
    my web service description is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
    - <s:element name="GetFieldsName">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetFieldsNameResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="GetFieldsNameResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMSG_ByUser_Not_Readed">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMSG_ByUser_Not_ReadedResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="GetMSG_ByUser_Not_ReadedResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="SetMSG_ByUser_Not_Readed_As_Readed">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Rec_Id" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="SetMSG_ByUser_Not_Readed_As_ReadedResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="SetMSG_ByUser_Not_Readed_As_ReadedResult" type="s:boolean" />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </wsdl:types>
    - <wsdl:message name="GetFieldsNameSoapIn">
      <wsdl:part name="parameters" element="tns:GetFieldsName" />
      </wsdl:message>
    - <wsdl:message name="GetFieldsNameSoapOut">
      <wsdl:part name="parameters" element="tns:GetFieldsNameResponse" />
      </wsdl:message>
    - <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapIn">
      <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_Readed" />
      </wsdl:message>
    - <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapOut">
      <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_ReadedResponse" />
      </wsdl:message>
    - <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapIn">
      <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_Readed" />
      </wsdl:message>
    - <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapOut">
      <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_ReadedResponse" />
      </wsdl:message>
    - <wsdl:portType name="ServiceGetpublisherTableSoap">
    - <wsdl:operation name="GetFieldsName">
      <wsdl:input message="tns:GetFieldsNameSoapIn" />
      <wsdl:output message="tns:GetFieldsNameSoapOut" />
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <wsdl:input message="tns:GetMSG_ByUser_Not_ReadedSoapIn" />
      <wsdl:output message="tns:GetMSG_ByUser_Not_ReadedSoapOut" />
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <wsdl:input message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapIn" />
      <wsdl:output message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ServiceGetpublisherTableSoap" type="tns:ServiceGetpublisherTableSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetFieldsName">
      <soap:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <soap:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <soap:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:binding name="ServiceGetpublisherTableSoap12" type="tns:ServiceGetpublisherTableSoap">
      <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetFieldsName">
      <soap12:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <soap12:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <soap12:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ServiceGetpublisherTable">
    - <wsdl:port name="ServiceGetpublisherTableSoap" binding="tns:ServiceGetpublisherTableSoap">
      <soap:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
      </wsdl:port>
    - <wsdl:port name="ServiceGetpublisherTableSoap12" binding="tns:ServiceGetpublisherTableSoap12">
      <soap12:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>also i have to mention that i have changed publisher references inside the code , and i also canot
    supply username and password , so i guess you canot test it. still i not shure if my definitions (namespace est.) inside my code defined correctly.
    hope you can help me with this.
    regards
    yair

  • LSMW, Step - Specify Files option

    Dear Experts,
    Please explain the details at Specify files options in LSMW
    I want to know about following options -
    1) Legacy data on PC (Front end)
    2) Legacy data on the R/3 server (Application Server)
    3) Imported data File for imported data (Application server)
    4) Converted data File for converted data (Application server)
    5) Wild card value Value of wild card ' * * in file name.
    Thanks in advance

    1) Legacy data on PC (Front end)
    -- defines that SAP shall find and upload the source file from your PCs Harddrive (can as well be a network drive)
    2) Legacy data on the R/3 server (Application Server)
    -- defines that the source file is to be found in the file system of your SAP system
    I use this often when we merge SAP systems, so I can send IDOCs from old SAP system to new SAP system and output the IDOCs directly as file. This file can then be found in on the SAP application server. (you can display the SAP directories with AL11 transaction)
    3) Imported data File for imported data (Application server)
    - this is the internal file LSMW writes the data to when it uploads from PC or application server.
    4) Converted data File for converted data (Application server)
    - this is the internal file LSMW writes the data  to when it converts from imported data file using the mapping rules.
    5) Wild card value Value of wild card ' * * in file name.
    - This allows you to use to use the same LSMW for many many similar files (e.g. if you migrate materials and you get extra files from each company) without the need to change the above entered names.

  • LSMW problem (Specify files)

    Hi Friends
    I try to specify file in LSMW (from local PC).
    <b>Legacy Data          On the PC (Frontend)</b>
    When I save this step I get error like "No Logical Path Specified".
    What should I do to correct this problem. Please help me.
    Thanks in advance.
    Hari

    Srikanth thanks.
    When I check logical path & file for converted data, those fields are mandatory fields. There is now value assigned, so I get this error. Now I assign logical path & file which already defined in system.
    For the lofical path, when I check in FILE transaction it has physical path as /usr/sap/DEV/SYS/global/<FILENAME>.
    But when I assign this logical path in LSMW (converted data)..I get error message like "Logical path does not point to physical directory"
    What should I do in this case.
    Please explain me.
    Thanks
    Bala

  • Error while executing Initialize with Data Transfer for 0FI_GL_10

    Hello All,
    Post Pre prod refresh, our timestamp for the datasource 0FI_GL_10 got reset. Due to which our deltas did not bring any records to the BW system.
    First we did an Initialize without data transfer for all the BW related datasources. The deltas were then set properly for all datasources except 0FI_GL_10.
    We then raised a message to SAP and they suggested to run the 'Initialize with data transfer' for 0FI_GL_10 so that the timestamp is set and accordingly the deltas are fixed.
    The issue now is we are getting the following error message while running INIT with data transfer.
    Job terminated in source system --> Request set to red
    Message no. RSM078
    We have copied the data till July 1st week of 2011.
    Please advice. The issue is very critical.
    Thanks & Regards
    Sneha

    Hi Arvind
    Thanks for your inputs.
    Please find below the details of the short dump.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          09/07/2011 11:25:32
    Short text
         SQL error in the database when accessing a table.
    What can you do?
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    How to correct the error
         Database error text........: "ORA-01652: unable to extend temp segment by 128
          in tablespace PSAPTEMP"
         Internal call code.........: "[RSQL/FTCH/FAGLFLEXT ]"
         Please check the entries in the system log (Transaction SM21).
         If the error occures in a non-modified SAP program, you may be able to
         find an interim solution in an SAP Note.
         If you have access to SAP Notes, carry out a search with the following
         keywords:
         "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    Information on where terminated
        Termination occurred in the ABAP program "GP_GLX_FAGLFLEXT" - in
         "FETCH_TO_ISTRUCTURE".
        The main program was "SBIE0001 ".
        In the source code you have the termination point in line 903
        of the (Include) program "GP_GLX_FAGLFLEXT".
        The program "GP_GLX_FAGLFLEXT" was started as a background job.
        Job Name....... "BIREQU_4N3PZQ12IA0X0PYGEA85IG39S"
        Job Initiator.. "BIWREMOTE"
        Job Number..... 11203300
        The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
        procedure "FETCH_TO_ISTRUCTURE" "(FORM)", but it was neither handled locally
         nor declared
        in the RAISING clause of its signature.
        The procedure is in program "GP_GLX_FAGLFLEXT "; its source code begins in line
        840 of the (Include program "GP_GLX_FAGLFLEXT ".

  • Error from bex query while executing in portal

    Dear Experts,
    while executing the query bex analyzer, is working ok but the same query when executing in portal is throwing the following error:
    error message:
    The initial exception that caused the request to fail was:
    Termination message sent
    ABEND RS_EXCEPTION (000): The argument '0,01' cannot be interpreted as a number
      MSGV1: The argument '0,01' cannot be interpreted as a
      MSGV2: number
    Messages
    ABEND: The argument '0,01' cannot be interpreted as a number
    ABEND: An exception with the type CX_SY_CONVERSION_NO_NUMBER occurred, but was neither handled locally, nor declared in a RAISING
    ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    I tried to find from existing blogs but did not get suggestions for similar issue.
    Coud some be kind enought to analyse this error.
    Inputs will highly been appreciated
    Thanks in advance,

    Hi,
    Here I tried retransporting the depended bex queries accross the landscape.
    Now the reports are OK from the Portal.
    Thanks,
    Mannu

  • Getting error in File adapter while using ChunkSize

    Hi,
    I am trying to move a large file using the ChunkSize property of the file adapter as shown below. However I am getting the error during the run time in the SOA server.
    Code used:
    <adapter-config name="SyncReadFile" adapter="File Adapter" wsdlLocation="SyncReadFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/FileAdapter"/>
      <endpoint-interaction portType="SynchRead_ptt" operation="SynchRead">
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
          <property name="DeleteFile" value="true"/>
          <property name="PhysicalDirectory" value="C:\JDeveloper\mywork\JCAPs\ChunkFileRead\Input"/>
          <property name="FileName" value="overwriteme.txt"/>
          <property name="ChunkSize" value="55"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>
    Error:
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SynchRead' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileIoInteractionSpec due to: Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setChunkSize is not defined for oracle.tip.adapter.file.outbound.FileIoInteractionSpec Please verify the spelling of the property. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Please suggest a resolution to this. I am using Jdeveloper 11.1.1.7.0

    Thank Daniel for the reply.
    But what is the impact user messaging service has here.  Can it happen that my oracle.tip.adapter.file.outbound.FileIoInteractionSpec is corrupted?
    Thanks
    Santanu

  • File Ownership while executing sql script from stored procedure

    We have a test_command.sql script which is spooling the result into a file. From database we have one Store Procedure(run_sql) which is
    calling and executing the .sql script.
    When we are calling the sql script directly from the database, i e SQL > @/dccops/test_command.sql it is creating the
    file under the Ownership of OS user which is connected to the system.
    The problem we are facing is when we are executing the stored procedure i e exec run_sql(), the file is creating under
    Oracle User.
    Could u please suggest me a solution inorder to create the output file under the user who is logged to the OS.

    First of all, your usage of IM speak is NOT appreciated. Please do not address anyone as if they were a 12-year old.
    'Our Applcation is in C. So we have to call the procedure to run the sql script.'
    This is just utter nonsense!
    Oracle has Pro*C which allows Embedded SQL in C. There is also OCI (Oracle Call Interface) to call Oracle directly in C, and there is OCCI, to do the same in C++.
    Apart from that, Oracle has Ole DB for Windows platforms, to allow for a .NET compatible interface to Oracle.
    There is NO NEED AT ALL to call PL/SQL to run a SQL script.
    Sybrand Bakker
    Senior Oracle DBA

  • How to specify file name while invoking the GET_ZIP_BUNDLE service

    Hello.
    The GET_ZIP_BUNDLE service by default generate zip file with name "Bundle". I wanted to change this name runtime, that is while invoking this service. How can I do it?
    The class ziprenditions.ZipRenditionsHandler most probably handle this service by the method createRenditionBundle.
    There I saw a line:
    downloadName = LocaleResources.getString("csZipRenditionBundleName", this.m_service);I have tried to print the value of csZipRenditionBundleName and I got "Bundle". I am wondering is there any way to set a value to this message key?
    I have tried this idoc function:
    <$createRenditionBundle='some_name'$>before invoking the service. But this didn't work.
    Also I have tried to change it from Java class, and for that I have defined a custom service and did:
    LocaleUtils.encodeMessage("csZipRenditionBundleName", null, "JYM");But this also not working.
    What I want is to get the zip file with the name which is the same to the files it is archiving.
    For more information, here is how I am invoking the GET_ZIP_BUNDLE service:
    I have defined a form element:
    <form action="/cs/idcplg" method="POST" id="zipBundleForm" name="zipBundleForm">
       <input type="hidden" value="GET_ZIP_BUNDLE" name="IdcService">
       <input type="hidden" value="pkg:dDocName,pkg:dID,pkg:Rendition,pkg:RevisionSelectionMethod,pkg:AuxRenditionType" name="bundleKeys">                            
    </form>And I have a button with id downloadContent and I have attached the following JavaScript with it:
    $('#downloadContent').click(function (event){
       event.preventDefault();
       var formId = "zipBundleForm";
       var counter = 0;
       var renditionType = "";
       $("#zipBundleForm").find(":hidden").each(function() {
          if($(this).attr("name").startsWith("pkg:"))
             $(this).remove();     
       $("#downloadContentForm").find('input:checkbox:checked').each(function() {
          renditionType = $(this).val();
          $(".thumbnails").find('input:checkbox:checked').each(function() {
             if($(this).attr('data-type') == 'image'){
                createHiddenInputElement(formId, "pkg:dDocName" + counter, $(this).attr("name"));
                createHiddenInputElement(formId, "pkg:dID" + counter, $(this).attr("id"));
                createHiddenInputElement(formId, "pkg:Rendition" + counter, renditionType)
                createHiddenInputElement(formId, "pkg:RevisionSelectionMethod" + counter, "Specific");                                             
                counter++;     
       $("#zipBundleForm").submit();     
    var createHiddenInputElement = function(formId, elementName, elementValue){
       var newElement = document.createElement("input");
       newElement.setAttribute("type", "hidden");
       newElement.setAttribute("name", elementName);
       newElement.setAttribute("value", elementValue);
       $("#"+formId).append(newElement);
    }Thanks in advance.

    if you want a fixed bundle name other than "bundle", you can override the localization string entry 'csZipRenditionBundleName' in a component.

  • Error in DC project while executing in NWDS

    Hi All,
    I have certain source codes of already developed webdynpro components. But when I try to execute the same in NWDS,it's showing a lot of errors....starting from import statement.
    Errors are listed below....
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java/SapMetamodelWebdynproContent.zip'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_services.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_runtime_repository.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_runtime_repository_pmr.jar'.
    Missing required library: 'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_runtime_designtime_coupling.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_runtime_designtime_coupling_api.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_progmodel.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_portal.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_pdfobject.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_modelimpl.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_model_dynamicrfc.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_clientserver.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_basesrvc.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java/_webdynpro_admin.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java/logging.perf.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java/logging.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java/SapMetamodelDictionaryContent.zip'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java/SapDictionaryTypesRuntime.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java/SapDictionaryTypeServices.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java/_cmi_api.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java/jrfc.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java/exception.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java/aii_util_misc.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java/aii_proxy_rt.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/dhl.com/UserDataCache_WD/_comp/gen/default/public/PP_UserData_WD/lib/java/dhl.comUserDataCache_WDPP_UserData_WD.jar'.
    Missing required library:
    'C:Users/username/.dtc/1/DCs/dhl.com/User_WD/_comp/gen/default/public/PP_User_WD/lib/java/dhl.comUser_WDPP_User_WD.jar'.
    Component HomePageComp UserData: Component usage has no used component
    Component HomePageComp UserData: Component usage has no used component
    Component HomePageComp UserChache: Component usage has no used component
    Component HomePageComp UserChache: Component usage has no used component
    Component HomePageComp: Has invalid component usage 'UserChache'
    .Vn_LanguagesList: The mapping definition is inconsistent, the mapped context element does not exist.
    .Vn_LanguagesList.languages: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute languages type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    .Vn_UserData: The mapping definition is inconsistent, the mapped context element does not exist.
    .Vn_UserData.countryName: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute countryName type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    .Vn_UserData.language: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute language type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    .Vn_UserData.lastModifDate: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute lastModifDate type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    .Vn_UserData.lastModifUser: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute lastModifUser type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    .Vn_UserData.userCompany: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute userCompany type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    .Vn_UserData.userCountry: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute userCountry type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    .Vn_UserData.userId: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute userId type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    .Vn_UserData.userName: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute userName type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    .Vn_UserData.userType: The mapping definition is inconsistent, the mapped context element does not exist.
    ContextValueAttribute userType type: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
    Component HomePageComp UserChache: Component usage has no used component
    Component HomePageComp UserData: Component usage has no used component
    How to resolve this?
    Regards,
    Athulya

    HI Both,
    As in the GL account 1 we cannot create we have to maintain the GL account total 9 digits. in Account symbol 3 it is masked to 10 digits. it is working for other contracts.
    Would like to know any thing missed in the Configuration.
    Regards
    Manjunath

  • An error occurred while trying to read data from...

    Hello,
    I'm getting this error repeatedly in more than one project.  It happens when i click Save a topic.  It also happened when I tried to create a new folder in the Project Files, and then i could not create the new folder.  I'm using RoboHelp HTML 9.2.  I did try moving the project files off the network drive and into my local C:/ drive, but still get the error.
    Are there any known cures?
    Thank you,
    Sherry

    You will see the topics are still there in Windows Explorer. What has happened is that the root.fpj file that you showed in your first post was corrupt because it was on the network. Now it cannot rebuild the new CPD in the normal way.
    Personally I would be creating a new project and importing stuff from your old project.
    You can import all the topics in a single folder in one go, you don't have to import topic by topic.
    There is information on my site about rebuilding broken projects.
    Provided you new project is local, you should be OK.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Error in SNC7.0 while accessing Product Location data in SMI Monitor detail

    Hi,
    I am facing a problem while accessing data in Responsive Replenishment -SMI details.
    I do not see any issues in Master data set up as i am able to view the Product data in Location Product settings.
    Error messages are as below
    -Time series error in class /SCF/CL_ICHDM_DATAAXS method /SCF/IF_ICHDMAXS_2_CNTL~SELECT
    - Planning object structure 9AINVM1 is not active
    I have also activated the all available time series data types in Customizing but still facing the same error.
    Any pointers to address this issue will be highly appreciated.
    Thanks and Regards
    Narayana

    Hi Nikhil,
    I had tried this option, i used option "Activate Planning Object structure" on time series data type VMIP1, VMIW1, SMI01 to 3 but got an error message "Error with Planning Object structure:". That's the reason looking to apply note 1326306.
    Am I missing something here?  Is there any option to input 9AINVM1 entry for activation?
    Thanks
    Narayana.K.P

  • Error"Update was terminated' while doing picking and data was not saved

    hi experts,
    I have created a sales order. for that i created a deliery.then i created shipment .and i have put pick qty and batch.
    it gives a message Express document " Updated was terminated "received from author XXXX.
    and picking is not saved and i'm not able to do PGI.
    Please help me.....
    Thanks in advance,
    ria

    Hai,
    Analyse this error in ST22 - ABAP runtime error or in SM13 - update request.The system will show the error update records in red color. Click the error & see the problem in funciton module.THis may be because of no ranges problem or any changes in print out program. Also if u have any BADI activation for the sale order & any changes in this program also leads to this error.

Maybe you are looking for

  • Installing to 64-bit Mac Mini with 32-bit EFI

    It's the Macmini 2,1/A1176 (http://www.everymac.com/systems/apple/m - specs.html). Is this possible? Installs fine from an ArchBang live CD built without UEFI, just can't get it to boot. I only get the blinking question-mark-folder icon. I've tried:

  • Will the Software Update to 10.4.7 install firmware upgrade for SuperDrive?

    Will the Software Update to 10.4.7 install firmware upgrade for a SuperDrive? I have a Mac mini and I've just let the Software Update run as needed, but I am confused by the number of Apple update downloads listed. I don't believe I need them, when I

  • Implementing Iterable interface

    Just trying to implement the the Iterable<> interface into my Stack class ... as far as I can tell I cannot specify a type beyond Object when iterating through it using the ForEach loop structure. Any thoughts on how to correct this or is my design l

  • Gnome pulseaudio using lots of shared memory

    Out of curisoty I did the following ls -l /dev/shm and I saw the following files:- -r-------- 1 peter users 67108904 Mar 23 10:40 pulse-shm-3021221787 -r-------- 1 peter users 67108904 Mar 23 10:24 pulse-shm-3538772094 -r-------- 1 peter users 671089

  • Possible to unlock iphone from Japan and use in US?

    I have iphone 4S from Japan. It is locked to Softbank company in Japan. Is it possible to unlock it and use it in US? Now, I am in NY. Anyone think Apple support service in NY can help me?