success of process message did not show

Hello
All the
I have a process called "process" page which is "On submit - after calculations" and Validations with the look of PL/SQL codes such as:

< pre class = "jive-pre" >


DECLARE

v_blob_data BLOB;

v_blob_len NUMBER;
-v_blob_len NUMBER: = DBMS_LOB. LOBMAXSIZE;
V_POSITION NUMBER;

v_raw_chunk RAW (10000);

v_char char (1);

number of c_chunk_len: = 1;

v_line VARCHAR2 (32767): = NULL;

v_data_array wwv_flow_global.vc_arr2;

number of v_rows;

number of v_sr_no: = 1;

BEGIN

-delete from data_upld;

-Read data from wwv_flow_files </span >

/ * Select blob_content from v_blob_data

of wwv_flow_files

where last_updated = (select max (last_updated) in the wwv_flow_files where UPDATED_BY =: APP_USER)

and id = (select max (id) in the wwv_flow_files where updated_by =: APP_USER); */
Select blob_content from v_blob_data
from wwv_flow_file_objects$
where id = (select max (id) from wwv_flow_file_objects$);
v_blob_len: = dbms_lob.getlength (v_blob_data);

V_POSITION: = 1;

-Read and convert the binary for char </span >

WHILE (v_position < = v_blob_len) LOOP

v_raw_chunk: = dbms_lob.substr(v_blob_data,c_chunk_len,v_position);

v_char: = chr (hex_to_decimal (rawtohex (v_raw_chunk)));
v_line: = REPLACE (v_line, CHR (10),': ');

-v_line: = substr (v_line, 1, length (v_line)-2);

v_line: = v_line | v_char;

V_POSITION: = v_position + c_chunk_len;

-When a whole line is retrieved < / span >

IF v_char = Chr (10) THEN

-Convert comma to: to use wwv_flow_utilities </span >

v_line: = REPLACE (v_line, ', ' :'); ")

-Converting each column separated by: in the data table </span >

v_data_array: = apex_util.string_to_table (v_line);

-Insert data into the table target </span >

EXECUTE IMMEDIATE ' insert into DATA_UPLD (SR_NO, CODE_ID, CODE_CTGY, CTGY_NAME, CTGY_DESC, nom_element, ITEM_DESC, ACTUL_COST, DIS_PER, SCHM_ID, ITEM_UNIT)

"values (: 1,: 2,: 3: 4:5:6,: 7,: 8,: 9,: 10:11).

USING
v_sr_no,
v_data_array (1),
TO_NUMBER (v_data_array (2)).
v_data_array (3),
v_data_array (4),
v_data_array (5),
v_data_array (6),
TO_NUMBER (v_data_array (7)).
TO_NUMBER (v_data_array (8)).
TO_NUMBER (v_data_array (9)).
v_data_array (10);
-Remove

v_line: = NULL;

v_sr_no: = v_sr_no + 1;
END IF;
END LOOP;
END;
< / pre >

in the success of the process of entering Message i

< pre class = "jive-pre" >

#MRI_COUNT # | "& P1_MSG. »

< / pre >

P1_MSG is an element hidden with the default value: Insert success

But no messages show what argued the success of the process

Can you help me?

Saven

Hello

Ah, sorry.
You loop here and you always insert just one line.
Just increase variable in loop and then the value point.

DECLARE
  v_blob_data BLOB;
  v_blob_len NUMBER; --v_blob_len NUMBER:= DBMS_LOB.LOBMAXSIZE;
  v_position NUMBER;
  v_raw_chunk RAW(10000);
  v_char      CHAR(1);
  c_chunk_len NUMBER           := 1;
  v_line      VARCHAR2 (32767) := NULL;
  v_data_array wwv_flow_global.vc_arr2;
  v_rows  NUMBER;
  v_sr_no NUMBER := 1;

  l_loop_count  NUMBER;
BEGIN
  -- delete from data_upld;
  -- Read data from wwv_flow_files
  /* select blob_content into v_blob_data from wwv_flow_files where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER); */

  l_loop_count := 0;

  SELECT blob_content
  INTO v_blob_data
  FROM wwv_flow_file_objects$
  WHERE id=
    (SELECT MAX(id) FROM wwv_flow_file_objects$
    );
  v_blob_len := dbms_lob.getlength(v_blob_data);
  v_position := 1;
  -- Read and convert binary to char
  WHILE ( v_position <= v_blob_len )
  LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char      := chr(hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line      := REPLACE(v_line, CHR(10),':');
    --v_line := substr(v_line, 1, length(v_line)-2);
    v_line     := v_line || v_char;
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved 
    IF v_char = CHR(10) THEN
      -- Convert comma to : to use wwv_flow_utilities
      v_line := REPLACE (v_line, ',', ':');
      -- Convert each column separated by : into array of data
      v_data_array := apex_util.string_to_table (v_line);
      -- Insert data into target table
      EXECUTE IMMEDIATE 'insert into DATA_UPLD (SR_NO, CODE_ID, CODE_CTGY, CTGY_NAME, CTGY_DESC, ITEM_NAME, ITEM_DESC, ACTUL_COST, DIS_PER,SCHM_ID, ITEM_UNIT) values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)' USING v_sr_no,
      v_data_array(1),
      to_number(v_data_array(2)),
      v_data_array(3),
      v_data_array(4),
      v_data_array(5),
      v_data_array(6),
      to_number(v_data_array(7)),
      to_number(v_data_array(8)),
      to_number(v_data_array(9)),
      v_data_array(10);
      -- Clear out
      v_line  := NULL;
      v_sr_no := v_sr_no + 1;

      l_loop_count := l_loop_count +1;
    END IF;
  END LOOP;

  :Px_YOUR_ITEM := l_loop_count;
END; 

Kind regards
Jari

Tags: Database

Similar Questions

  • Success of process message are not displayed

    I have a process that works. The message of success of process, however, does not appear. The process is performed by a button "to send", and the process runs after calculations and validations. But the message will not appear. There is no branch page. How can I view?

    Doug wrote:
    There is no branch page. How can I view?

    Create a branch with the selected checkbox: "process Include success Message.

    ?

  • Success of process message was not displayed

    Hello

    I am running my application on Apex 3.2. There is a process of 'After Submit' execution of the PL/SQL code. It runs correctly, but the message of success that I have provided in the box 'Success Message' Apex will not appear on the screen. Some bodies could please help, why not see the message?

    Best regards, Tamas

    Check your branch of the page, there is a box where you can decide if you want to see the process success message, or not.

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • After update of the iCloud contacts, these contacts did not show in iPhone, why?

    After update of the iCloud contacts, these contacts did not show in iPhone, why?

    The contacts are correct to iCloud.com?

    Try the settings/iCloud and remove the synchronization. Wait a few minutes and then resynchronize.

    Have you tried the signature to iCloud and then reconnect?

  • in my printer, I fill ink but when check here see the ink did not show anything

    so last week my printer working correctly and there see the ink low level. so, I refill the ink. so, when I saw the ink level, it did not show anything. the ink was no more.

    Hi Raghini,

    What is the brand and model of the printer?

    If you facing problems with the ink level, you could get in touch with the manufacturer of the printer to get the replaced cartridge or for further assistance on this issue.

    For more information, see the article:

    Check on a printer ink levels

  • Error when sending to recipients CC: your message did not reach all or part of the recipeints

    When I send emails to recipients CC or BCC recipients, I get a message that says:

    Your message did not reach all or part of the recipeints

    The following recipients could not be reached:

    BUT IT DOES NOT LIST WHO DID NOT GET THE EMAIL. HELP PLEASE

    Hello Joanmary,

    Thanks for posting in the Microsoft Answers forum! In order to help us help you with your problem, please post back to let us know what e-mail client and web browser that you use.

    If you use Windows Live Mail, you can post in the forum below for more specialized assistance:

    http://windowslivehelp.com/

    Please let me know if this helps J

    Adam
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • my system sounds for usb connected but it did not show in Explorer...

    so whenever I connect my USB to the system, it looks like it is plugged. It says unable to install the drivers and does not show in Explorer.

    Previously, I also had the same problem, but restore the system helped me. but now I can't find the restore point, with which I have already restored. I tried other restore points but they could not help. Help, please

    PS. I tried options like uninstalling and reinstalling the drivers from the Device Manager.

    Hi Suraj,

    Thanks for posting your query in Microsoft Community Forum.

    1. You get an error message when your pen-USB is not recognized? If YES, what is the exact and complete error message that you receive?
    2. You did any significant hardware or the software goes to the computer after you fix the problem with the system restore?
    3. The drivers have tried to reinstall?

    I understand that the USB device is not detected by your computer. The question may arise if the currently loaded USB driver has become unstable or damaged or if your PC requires an update for problems that could conflict with a device USB and Windows. This can also occur if your USB controllers may have become unstable or corrupt. So, I would suggest trying the following steps and check if the problem persists.

    Method 1:

    Please try the fixit (s) provided below which will help you solve common problems associated with devices and USB ports.

    If method 1 does not work, try Method 2.

    Method 2:

    This method will install the latest drivers from device to your USB device.

    1. Click the Start button, type Windows Update in the search box, and then click Windows Update in the results pane.
    2. Click find updates. When the scan finished, click optional review updates.
    3. Click the check box next to the update, and then click install updates.
    4. If you are prompted, read the license agreement, then click I agree.
    5. Follow the instructions on the screen to download and install updates.
    6. If you are prompted, restart your computer.

    More information: Update a hardware driver that is not working properly

    If the device fails after updating the driver, you can try to roll back the driver with its previous version.

    Restore a driver with its previous version

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

  • Integrator WebAID did not show

    I created an integrator in application custom (Interface and layout) using the Hr_Contact_Rel_Api.CREATE_CONTACT this API creates successfully, it would not display when I go to create the document this Integrator did not display in the drop-down list of integrators, I use the responsibility for the integration of office for the creation of document and seeded oracle hrms Integrator did not display.

    Step 1 of 5 of the wizard create Integrator has a check box:

    'Create a Page in the Document display'

    Cheer
    Jeroen

  • Process parameter did not change

    Hi all

    Currently, we have changed the process from 200 to 500 setting after changing, we can see the new value as 500

    When we restart the DB using the script addbcctl.sh once again to show 200

    If we reboot (after changing the value of process parameter) DB manually as sysdba in sql guest user is show the new value that is 500, but if we reboot the DB (after changing the value of process parameter) using the addbcctl.sh script it shows old value IE 200

    Please provide a version DB solution is 10.2.0.3

    Hello

    I think it's because of pfile and spfile. The database script addbctl.sh uses the file pfile to open the database, and when you start the database manually through SQL * more he reads the spfile first. So you can either make the addbctl.sh script read the spfile rather than the pfile file - see (Note: 457257.1 - how to use a SPfile with Auto Config?) for details recreate GOLD the pfile to the spfile (make a backup of the first pfile, then deliver ' SQL > create pfile from spfile; ").

    Kind regards
    Hussein

  • Garritan Personal Orchestra 4 did not show any LPX

    After the installation of the Garritan Personal Orchestra 4 Aria Player (1846 v) in Logic Pro X (10.2.0), the

    Aria Player shows any logic (Manager plug-in or Instrument of into the slots of the Instrument).

    The PS4 indicating correctly in the folder Library/Audio/Plug-ins and then supposed to show in logic.

    The PS4 is 64-bit. Try, uninstall, download new re - install, everything is ok every time but never see the place

    in the logic. Any idea? Thank you.

    Garritan support is great, but they are as confused as me.

    Did you try to go in the AU Manager and reset/analyze again this plugin?

  • Director of Windows 2.6 did not show my photos

    Im doing a project on the history and when I open windows movie maker 2.6 it shows only a big X where images must be visible. I'm saving my video on a USB key and working on different computers. What is a reason that they will not appear? Please help im really lost.

    Im doing a project on the history and when I open windows movie maker 2.6 it shows only a big X where images must be visible. I'm saving my video on a USB key and working on different computers. What is a reason that they will not appear? Please help im really lost.

    ========================================
    Movie Maker does not archive copies of the source files
    (photos, video clips, audio clips, etc.) Director must
    access the files from the original location.

    When you see the red Xs it means that a Movie Maker
    lost the path to the source files. If you right-click the
    Red Xs, you should be able to navigate to the current location
    source files and restore the path.

    It is always preferable that copies of all source files are saved
    you use to create the hard disk of the system
    your Movie Maker project.

  • Essbase dataload is successful, but the data did not get loaded

    Hi John,.

    I load the data into essbase cube. It worked successfully, but in the execution tab, the number of insertions is 0. When I saw the agent log the following appears. Could you please let me know what it means

    A JDK is required to run Web Services with OracleDI. You are currently using
    a JRE.
    From Oracle Data Integrator Agent...
    Version: 10.1.3.5 - 11/10/2008
    2009-10-22 08:15:30 AM (main): server launched
    Access to the properties file error. Essbase.Properties: essbase.properties (The
    system cannot find the file specified.) Using the default values.
    Hyperion provider Services - version 9.3.1.1.0 Release 050
    Copyright (c) 1991, 2007 Oracle and / or its subsidiaries. All rights reserved.
    connection mode: INTEGRATED
    Essbase.Properties: essbase.properties
    Domain.DB location: domain.db
    enable log console: false
    enable log file: false
    logRequest: false
    logLevel: ERROR
    DESS_ES_HOME Java System properties: null
    Initialization of the essbase and connection wrapper
    log4j: WARN no appenders could be found for logger (D:\Shared\Logs\WrkForce\WrkFo
    RCE.log).
    log4j: WARN Please initialize log4j correctly system.

    Hello

    If it was properly executed, and there is no insertions, releases, you must first check the log to see if all records have been rejected.
    Then you will need to check the SQL code generated because more than probably he not returned no documents.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • My message do not show up in my Apple Watch

    Hello

    I have a

    iPhone 5 s

    Version: 9.2

    and one

    Model: Apple Watch

    Version: 2.1

    but when the new message came to me, I don't see the message in my notification pop up at my watch and after going to my message watch application, I see only a phone number without any message text or data.

    Perhaps it is better to say "I don't see my message in my Apple Watch."

    tank you for your time of reading.

    Hello

    What do you see when you open the same message on your iPhone in the Messages app?

  • I had to do are install disks initially provided. My computer turns off during the process and did not finish. Info please.

    I had to do a re system install the OEM disks but my computer starts to spin off before the reinstall is complete. As my dischas been reformatted I can't access control panel to reset the timeout settings. Advice please.

    Hello

    You tell us why you had to reinstall.

    If it keeps closing, it looks like you have a hardware problem.

    The OEM recovery disks are provided by your computer manufacturer.

    For problems with their recovery process, you will need to contact them.

    See you soon.

  • In Skype small circle next to contacts did not show online

    Original title:

    Skype

    Using Skype to IM a friend and I've noticed in my contacts list, the small circle beside it is name was not showng online, but it has been. I've updated my Skype, but it didn't. Could be the problem?

    Hello

    You will find the best support for your problem in the Skype community:

    http://support.Microsoft.com/kb/2629803/en-us

    Skype support please connect directly with Skype to receive assistance on their excellent products and services.

    Skype: http://skype.com

             
    Skype Support site: https://support.skype.com
             
    Skype support network: http://community.skype.com

    See you soon.

Maybe you are looking for

  • Safari freezes - flash is the culprit?

    On several web sites, most recently the "Wundermap" on underground.com, I get the ball of spinning of death or what you call. If I go to activity monitor or to the command-option-esc key combination I get the information that the "Safari web content"

  • Synchronized analog input and output on myRIO

    Hello! A brilliant new myRIO just landed on my desk and I'm looking forward to learn how to use it. I have a question about the ability of the default FPGA personality. Is really similar synchronous HW in and output possible? Can configure you the ne

  • Acer Aspire ES1 111 M cannot install windows 10

    I can't update my netbook. During the Windows Update 10 WHEA 8.1 (blue error screen) error message and 8.1 windows is reinstalled. I tried several times with different USB drives external used to expand the capacity of the system. Clean Windows 10 in

  • Problems connecting to a hotspot wifi using my laptop.

    Original title: why my laptop can not do wifi hotspot? I use windows vista with Atheros AR9285 802 starter. 11 b / g WiFi adapt. Thank you for participating in my concern. I use windows vista with Atheros AR9285 802 starter. 11 b / g WiFi adapt

  • need help with dell (968w)

    the printer will not acknowledge not receiving new ink cartrages