How to see the packaged procedures in form builder?
Hi Experts,
I have a oarcle apps form in form builder.
When i want to see the code behind the trigger when pressed button do ,i see that it calls a packaged procedure like
oksaudet_header.when_button_pressed(p_item => 'STOP_BUTTON');
I want to see beyond this ,so how to find out this package procedure oksaudet_header.when_button_pressed?
if its any pll ,how do i know which pll will have this package?
Thanks
Hi,
You just need to search for component OKSAUDET_HEADER in Forms Builder (use the 'Find' button). It will take you to the package, and above it you will find the attached library that contains it (if it's an attached library).
Hope it helps.
Similar Messages
-
How to execute the packaged procedure(having out param) in TOAD for Oracle
Hi.
Could you help me
How to execute the packaged procedure having out parameters in TOAD for Oralce..
Thanks..Use anonymous PL/SQL block to execute it.
Example.
DECLARE
<out variable name> <out variable data type>;
BEGIN
<package name>.<procedure name>(<out variable name>);
END; -
How to see the output of a FORM of REMITTANCE ADVICE ( PAYMENT ADVICE )??
Hi Experts,
I got a SAP Script of REMITTANCE ADVICE (also known as PAYMENT ADVICE).
And I know the VENDOR #.
I need to see the output of this SAP Script on the screen, so, let me know that, How to test it/see its output. (I know, seeing the Customer statemet from the tx of F.27), I mean, wht r the transactions etc. stuff.
thanqYou should create a variant for payment advice and you can use the same while executing the t.code:F110.
Once payment run has been completed system will generate a spool for payment advice. You can view that payment advice through t.code:SP01. -
How to execute the packaged procedure
Hello i've written the following package: It's created fine but while running that procedure i'm getting the following error
create or replace package ttt_example as
TYPE ColumnsInfo IS RECORD (
columnName VARCHAR2 (30),
dataType VARCHAR2 (30)
TYPE ColumnsInfoList IS TABLE OF ColumnsInfo;
FUNCTION getColumns (
schemaName VARCHAR2,
tableName VARCHAR2
RETURN ColumnsInfoList;
PROCEDURE fillTable (
schemaName VARCHAR2,
tableName VARCHAR2
end;
create or replace package body ttt_example is
PROCEDURE fillTable (
schemaName VARCHAR2,
tableName VARCHAR2
) IS
i NUMBER;
columnsList ColumnsInfoList;
columnsStr VARCHAR2 (4000);
valList VARCHAR2 (4000) := NULL;
insertTime VARCHAR2 (100);
BEGIN
DBMS_OUTPUT.PUT_LINE ('fillTable - BEGIN');
columnsList := getColumns (schemaName, tableName);
i := columnsList.FIRST;
IF i IS NOT NULL THEN
columnsStr := columnsList (i).columnName;
i := columnsList.NEXT (i);
END IF;
WHILE i IS NOT NULL LOOP
columnsStr := columnsStr || ', ' || columnsList (i).columnName;
i := columnsList.NEXT (i);
END LOOP;
i := columnsList.FIRST;
WHILE i IS NOT NULL LOOP
IF i != columnsList.LAST THEN
IF columnsList (i).dataType = 'NUMBER' THEN
valList := valList || i || ', ';
ELSIF columnsList (i).dataType = 'VARCHAR2' THEN
valList := valList || '''' || i || '''' || ', ';
ELSIF columnsList (i).dataType = 'DATE' THEN
--EXECUTE IMMEDIATE 'SELECT TO_CHAR(SYSTIMESTAMP) FROM dual' INTO insertTime;
--valList := valList ||''''|| insertTime||''''|| ', ';
valList := valList || 'SYSDATE, ';
ELSE
DBMS_OUTPUT.PUT_LINE ('WRONG DATA TYPE ' || columnsList (i).dataType);
END IF;
ELSE
IF columnsList (i).dataType = 'NUMBER' THEN
valList := valList || i;
ELSIF columnsList (i).dataType = 'VARCHAR2' THEN
valList := valList || '''' || i || '''';
ELSIF columnsList (i).dataType = 'DATE' THEN
--EXECUTE IMMEDIATE 'SELECT TO_CHAR(SYSTIMESTAMP) FROM dual' INTO insertTime;
--valList := valList ||''''|| insertTime||'''';
valList := valList || 'SYSDATE';
ELSE
DBMS_OUTPUT.PUT_LINE ('WRONG DATA TYPE ' || columnsList (i).dataType);
END IF;
END IF;
i := columnsList.NEXT (i);
END LOOP;
DBMS_OUTPUT.PUT_LINE ('fillTable - MIDDLE');
EXECUTE IMMEDIATE 'INSERT INTO ' || tableName || '(' || columnsStr || ') VALUES (' || valList || ')';
DBMS_OUTPUT.PUT_LINE ('fillTable - END');
END;
FUNCTION getColumns (
schemaName VARCHAR2,
tableName VARCHAR2
RETURN ColumnsInfoList IS
columnsList ColumnsInfoList;
BEGIN
DBMS_OUTPUT.PUT_LINE ('getColumns - BEGIN');
EXECUTE IMMEDIATE 'SELECT COLUMN_NAME, DATA_TYPE FROM ALL_TAB_COLUMNS WHERE OWNER = ''' || schemaName || ''' AND TABLE_NAME = ''' || tableName || ''''
BULK COLLECT INTO columnsList;
DBMS_OUTPUT.PUT_LINE ('getColumns - END');
RETURN columnsList;
EXCEPTION
WHEN OTHERS THEN
RAISE;
END;
end;
/ While executing that package procedure
SQL> begin
2 ttt_example.fillTable('TEST','EMPE');
3 end;
4 /
begin
ERROR at line 1:
ORA-00928: missing SELECT keyword
ORA-06512: at "ttt.TTT_EXAMPLE", line 60
ORA-06512: at line 2help me in thisI was able to reproduce with NULL for columnstr;
create table t (c1 varchar2(20), c2 varchar2(20));
Table created
create or replace procedure p
tablename varchar2,
columnsstr varchar2,
vallist varchar2
) is
begin
execute immediate 'INSERT INTO ' || tablename || '(' || columnsstr ||
') VALUES (' || vallist || ')';
end;
Procedure created
exec p('t', 'c1,c2', '''a'',''b''');
PL/SQL procedure successfully completed
select * from t;
C1 C2
a b
exec p('t', '', '''a'',''b''');
begin p('t', '', '''a'',''b'''); end;
ORA-00928: missing SELECT keyword
ORA-06512: at "MSCALLION.P", line 8
ORA-06512: at line 2 -
How to call the stored procedure in side the package... ?
Hi
I have one package i am new to PL/SQL. I want to execute the package and procedure.
CREATE OR REPLACE PACKAGE BODY Employee_pkg
AS
PROCEDURE GetEmployeeName(i_empno IN NUMBER,
o_ename OUT VARCHAR2)
IS
BEGIN
SELECT ename
INTO o_ename
FROM emp
WHERE empno = i_empno;
END GetEmployeeName;
END Employee_pkg;
Please tell me how to execute the package. and inside procedure
ThanksSQL> create package employee_pkg
2 as
3 procedure getemployeename(i_empno in number, o_ename out varchar2);
4 end employee_pkg;
5 /
Package is aangemaakt.
SQL> CREATE OR REPLACE PACKAGE BODY Employee_pkg
2 AS
3 PROCEDURE GetEmployeeName(i_empno IN NUMBER,
4 o_ename OUT VARCHAR2)
5 IS
6 BEGIN
7 SELECT ename
8 INTO o_ename
9 FROM emp
10 WHERE empno = i_empno;
11 END GetEmployeeName;
12
13
14 END Employee_pkg;
15 /
Package-body is aangemaakt.
SQL> var P_ENAME varchar2(30)
SQL> set autoprint on
SQL> exec employee_pkg.getemployeename(7839,:P_ENAME)
PL/SQL-procedure is geslaagd.
P_ENAME
KINGRegards,
Rob. -
How to see the source code of procedure
how to see the sourse code of already created procedure or function
Select text
from all_source
where owner = '<Procedure owner>'
and type = 'PROCEDURE'
and name = '<Procedure name>' -
How to see the datas stored in DBMS_SQL.Varchar2S variable?
how to see the datas stored in DBMS_SQL.Varchar2S variable?
it says error if i use dbms_out.put_line.in PLSQL :
procedure p_try (p_test IN OUT DBMS_SQL.VARCHAR2S) is
begin
p_test.delete ;
p_test( -3000) := '===============' ;
p_test( 22) := 'Hello' ;
p_test( 55555) := 'World' ;
p_test(987654321) := '===============' ;
end p_try;
set serveroutput on
declare
l_test dbms_sql.varchar2s ;
i number ;
begin
p_try (l_test) ;
i := l_test.first ;
while i >= l_test.first and i <= l_test.last loop
dbms_output.put_line (l_test(i)) ;
i := l_test.next(i) ;
end loop ;
end ;
===============
Hello
World
===============when using Forms, you would use TEXT_IO instead of DBMS_OUTPUT -
How to improve the performance of adobe forms
Hi,
Please give me some suggestions as to how to improve the performance of adobe form?
Right now when I' am doing user events it is working fine for first 6 or 7 user events. From the next
one it is hanging.
I read about Wizard form design approach, how to use the same here.
Thanks,
AravindHi Otto,
The form is created using HCM forms and processes. I' am performing user events in the form.
User events will doa round trip, in which form data will be sent to backend SAP system. Processing will
happen on the ABAP side and result will appear on the form. First 6 or 7 user events works correctly,
the result is appearing on the form. Around 8 or 9th one, the wait symbol appears and the form is not
re-rendered. The form is of size 6 pages. The issue is not coming with form of size 1 page.
I was reading ways to improve performance during re-rendering given below.
http://www.adobe.com/devnet/livecycle/articles/DynamicInteractiveFormPerformance.pdf
It talks about wizard form design approach. But in SFP transaction, I am not seeing any kind of wizard.
Let me know if you need further details.
Thanks,
Aravind -
How to print the contents of a form(window)
I'm devloping visitors application in java. After the data entry, I need to display the selected information from database along with the photo and take a printout so that it looks like a card.
I know how to display the contents in a form. How do I print the contents of the form?
-Thanx
Hanein JComponent there is a method called print(Graphics g)
you can use that with a Printable class
read bout the java.print package in the java doc -
How to create the pricing procedure for domestic & import.
HI,
Pls any body let me know how to create the pricing procedure for domestic & import.
what is the use of the keys
step condiiton condition type from to manual required statistic subtotal requirement caltype basetype.
how system will work based on this.Hi,
Please see below WIKI for your reference:
http://wiki.sdn.sap.com/wiki/display/ERPLO/16FieldsDescriptioninPricing+Procedure
Regards,
Ninad Kshirsagar -
hi every body...
i want to get the result of any table..
for ex: select * from dept;
the o/p should be like(10~Accounts~new york)
for this i wrote this code.... it run sucessfully;
my prob is how to see the Result..
declare
tn varchar2(35);
sqlstmt varchar2(2000);
rc sys_refcursor;
begin
tn := '&tn';
sqlstmt := 'select * from '||tn;
open rc for sqlstmt;
end;
post u r comments,Hints and suggestion...post u r comments,Hints and suggestion...
SQL> var rc refcursor
SQL> begin
2 open :rc for 'select * from &tn';
3 end;
4 /
Enter value for tn: emp
old 2: open :rc for 'select * from &tn';
new 2: open :rc for 'select * from emp';
PL/SQL procedure successfully completed.
SQL> print rc
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SPENCER CLERK 7902 17-DEC-80 800 20
7499 VERREYNNE SALESMAN 7698 20-FEB-81 1600 300 30
7521 VAN WIJK SALESMAN 7698 22-FEB-81 1250 500 30
7566 MAINGUY MANAGER 7839 02-APR-81 2975 20
7654 KISHORE SALESMAN 7698 28-SEP-81 1250 1400 30
7698 BARRY MANAGER 7839 01-MAY-81 2850 30
7782 BOEHMER MANAGER 7839 09-JUN-81 2695 10
7788 PADFIELD ANALYST 7566 09-DEC-82 3000 20
7839 SCHNEIDER PRESIDENT 17-NOV-81 5500 10
7844 GASPAROTTO SALESMAN 7698 08-SEP-81 1500 0 30
7876 CAVE CLERK 7788 12-JAN-83 1100 20
7900 CLARKE CLERK 7698 03-DEC-81 950 30
7902 JAFFAR ANALYST 7566 03-DEC-81 3000 20
7934 ROBERTSON CLERK 7782 23-JAN-82 1430 10
109 JOMAR 30
8800 VISWARAYAR INTERN 7934 03-OCT-82 0 10
16 rows selected.
SQL> Cheers, APC
Blog : http://radiofreetooting.blogspot.com/ -
How to see the Table Names & Field Names by other than F1 help
Hi Experts
How to see the Table Names & Field Names by other than F1 help, & How to see the List of MM Table Names.
RgdsThe only option to see the active table/ field name is through F1 --> Technical Information. Apart from this, you can use any 3rd part application like GUIex (INbuilt in SAP ECC 6.0 ... can be activated by clicking on the tri-color button on the top right), but you need technical knowledge to understand the information. As far consolidated list of MM tables is concerned, SAP don;t provide you the same at one place, it experience and knowledge which help you in this regard. For your immediate reference MM tables are as under :
EBAN - Purchase Requisition
EBKN - Purchase Requisition Account Assignment
EBUB - Index for Stock Transport Requisitions for Materi
EINA - Purchasing Info Record: General Data
EINE - Purchasing Info Record: Purchasing Organization D
EIPA - Order Price History: Info Record
EKAB - Release Documentation
EKAN - Vendor Address: Purchasing Document
EKBE - History per Purchasing Document
EKBEH - Removed PO History Records
EKBZ - History per Purchasing Document: Delivery Costs
EKBZH - History per Purchasing Document: Delivery Costs
EKEH - Scheduling Agreement Release Documentation
EKEK - Header Data for Scheduling Agreement Releases
EKES - Vendor Confirmations
EKET - Scheduling Agreement Schedule Lines
EKETH - Scheduling Agreement Schedules: History Tables
EKKI - Purchasing Condition Index
EKKN - Account Assignment in Purchasing Document
EKKO - Purchasing Document Header
EKPA - Partner Roles in Purchasing
EKPB - "Material Provided" Item in Purchasing Document
EKPO - Purchasing Document Item
EKPV - Shipping-Specific Data on Stock Tfr. for Purch. D
EKRS - ERS Procedure: Goods (Merchandise) Movements to b
EKUB - Index for Stock Transport Orders for Material
EORD - Purchasing Source List
EQUK - Quota File: Header -
How to see the spool request number
hi experts,
how to see the spool request number of any object......
may be form or report........U can go to SP01/SP02.
For generating spool u can look into this code.
FORM write_to_spool.
DATA : l_f_list_name LIKE pri_params-plist,
l_f_destination LIKE pri_params-pdest,
l_f_spld LIKE usr01-spld,
l_f_layout LIKE pri_params-paart,
l_f_line_count LIKE pri_params-linct,
l_f_line_size LIKE pri_params-linsz,
l_f_out_parameters LIKE pri_params,
l_f_valid.
l_f_line_size = 255.
l_f_line_count = 65.
l_f_layout = 'X_65_255'.
l_f_list_name = sy-repid.
to get defult spool device for the user
SELECT SINGLE spld INTO l_f_spld FROM usr01 WHERE bname = sy-uname.
IF sy-subrc = 0.
MOVE l_f_spld TO l_f_destination.
ENDIF.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = C_CHAR_UNKNOWN
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
COPIES = C_NUM3_UNKNOWN
COVER_PAGE = C_CHAR_UNKNOWN
DATA_SET = C_CHAR_UNKNOWN
DEPARTMENT = C_CHAR_UNKNOWN
destination = l_f_destination
EXPIRATION = C_NUM1_UNKNOWN
immediately = 'X'
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
layout = l_f_layout
line_count = l_f_line_count
line_size = l_f_line_size
list_name = l_f_list_name
LIST_TEXT = C_CHAR_UNKNOWN
MODE = ' '
NEW_LIST_ID = C_CHAR_UNKNOWN
NO_DIALOG = C_FALSE
RECEIVER = C_CHAR_UNKNOWN
RELEASE = C_CHAR_UNKNOWN
REPORT = C_CHAR_UNKNOWN
SAP_COVER_PAGE = C_CHAR_UNKNOWN
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = C_CHAR_UNKNOWN
USER = SY-UNAME
IMPORTING
OUT_ARCHIVE_PARAMETERS =
out_parameters = l_f_out_parameters
valid = l_f_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF l_f_valid NE space.
NEW-PAGE PRINT ON PARAMETERS l_f_out_parameters.
WRITE : /5 'Material No.',
25 'Message Type',
40 'Message Issued'.
ULINE.
LOOP AT g_t_message_table WHERE type = 'E'.
WRITE : / g_t_message_table-matnr UNDER 'Material No.',
g_t_message_table-type UNDER 'Message Type',
g_t_message_table-message UNDER 'Message Issued'.
ENDLOOP.
NEW-PAGE PRINT OFF.
ENDIF.
ENDFORM. " WRITE_TO_SPOOL
Regards -
How to see the Missing Auth in HR
Hi...
When I am trying to use the Tcode CBIH12 in ECC6 (client 200), It is throwing the below error message:
cbih12 --> Hit List ( F8 ) --> It is showing the below error message:
Internal Program Error: SAPLCBIH_ER00
SAPLCBIH_ER00
ERROR_CBIH_ER30_ER_READ 3)
Message no. C$153
Diagnosis:
Internal System error
Procedure:
Notify your system Administrator
Error data:
SAPLCBIH_ER00
SAPLCBIH_ER00
ERROR_CBIH_ER30_ER_READ 3
But, I am able to access successfully in client 300 in the same system.
When I see the SU53 in client 200 where I am getting the problem, Authorization check is Successful.
But it seems it's clearly an "Authorization" issue.
So, How to see the Missing authorizations in HR.
Can anybody help on this ??
Thanks..
HariHi...Thanks for the response.
Ravi: No dumps(ST22) and also No error messages(SM21) are being created for this problem.
Julius:
We are getting the problem for the agent Type: EXPO_BIO in clinet 200.
We are able to get the data for the same Agent Type: EXPO_BIO in clinet 300.
Both are using the same Standard Function Module.
And also able to get the data for the another Agent Type:EXPO_CHEM in both the clients which is also using the same Function Module.
So it might not be the problem with the Function Module.
And also I have SAP_ALL authorization. I was able to access this till two days before.
2 days before only they implemented EHS authorisations. There onwards we are facing the problem.
Thanks in Advance..
Hari. -
How to see the table in se11 that has been created in oracle 10g directly
hi,
how to see the table in se11 that has been created at SQL> prompt in oracle 10g directly ?
is there any procedure to attache directly created table into sap ?I think you have to create it in SE11 first. Although you can probably use native SQL to access it from an ABAP program.
Rob
Maybe you are looking for
-
Working with Frames in Dreamweaver MX 2004
I've created a frameset (called index.htm) containing 3 frames (banner.htm, nav_bar.htm and content.htm). I have no borders and the borders width is set to zero. I'm using the layout mode so I get to see the 3 frames (gray lines dividing the frames).
-
Quick FYI: WaterCooling Block compatible with the MSI K8N Master2-FAR
If you're like me, you hated the noise from the stock CPU fans on the K8N Master2-FAR... well I did alot of searching and couldnt find any difinitive information about what fit, or didnt fit, on that motherboard as far as heatsinks or cooling blocks.
-
I successfully finished the migration assistant from my old macbook to my new macbook. When I started up my new macbook it directed me to the page with the user accounts. I signed in to my user with the password. Then the screen changed and the rainb
-
Hi experts, We want to customize a workflow for approved overtime when an employee entered it via ESS. Do you have an idea ? Thanks in advance Soufiene
-
When I forward an email the main body comes up blank
When I try to forward an email the main body and attachment comes up blank. == This happened == Every time Firefox opened == when I updated