Object type create
Hi!
I want to create new object type using trans SWO1.
When i try to create for example object type ZEMP_NEW , i need also the supertype.
I want to create new buisness object witout using existing one or with delegation.
How do i do it?
Do i miss something?
regards
yifat
hi,
Check this SAP help link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/4f/5668735cf211d194a30000e82dec10/frameset.htm
rgds
anver
if hlped mark points
Similar Messages
-
Require help on Array of Nested tables and Oracle Object type
Hi All,
I have a scenario where I have some millions of records received from a flat file and the record is stored in Table as below:
Tablename: FILE_RECORD
Rows:
FILE_REG_ID = 1
RECORD_NBR = 1
PROCESSED_IND = U
RECORD= 00120130326006A
FILE_REG_ID = 1
RECORD_NBR = 2
PROCESSED_IND = U
RECORD= 00120130326003
1) I have to read these records at once and
a) Split the RECORD column to get various other data Eg: Fld1=001, Fld2=20130326, Fld3 = 003
b) send as an Array to Java.
2) Java will format this into XML and sent to other application.
3) The other application returns a response as Successful or Failure to Java in XML
4) Java will send RECORD_NBR and the corresponding response as Success or Failure back to PLSQL
5) PLSQL should match the RECORD_NBR and update the PROCESSED_IND = P.
I 'm able to achieve this using SQL Table type by creating a TYPE for Each of the fields (Flds) however the problem is Java cannot Access the parameters as the TYPE are of COLUMN Types
Eg: For RECORD_NBR
SUBTYPE t_record_nbr IS FILE_RECORD.T010_RECORD_NBR%TYPE;
Can you please let me know how I can achieve this to support Java, I know one way that is by creating an OBJECT TYPE and a TABLE of the OBJECT TYPE.
Eg: T_FILE_RECORD_REC IS OBJECT
FILE_REG_ID number(8), RECORD_NBR number (10), PROCESSED_IND varchar2(1), RECORD varchar(20)
Create type T_FILE_RECORD_TAB IS TABLE OF T_FILE_RECORD_REC
However I'm facing a problem to populate an Array of records, I know I'm missing something important. Hence please help.
It would be helpful to provide some guidelines and suggestions or Pseudo or a Code to achieve this. Rest all I can take up further.
Thanks in advance,I know once way that is creating a OBJECT TYPE and a TABLE of OBJECT TYPE, howeve I feel I'm missing something to achieve this.You're right, you need SQL object types created at the database level. Java doesn't know about locally defined PL/SQL types
However you can do without all this by creating the XML directly in PL/SQL (steps 1+2) and passing the document to Java as XMLType or CLOB.
Are you processing the records one at a time? -
Can you reference package variables in a pl/sql object type
I'm trying to create an object type and I would like to use a type from a pacakge definition as one of the parameters for a method in the object. I read that types defined inside a PL/SQL package cannot be used as parameter. Does anyone have a workaround for this?
You could move the type definition out from the package to a schema level object type. Then you should be able to use the schema level object type in both your package and the new object you wish to create.
Below is a short example of what I mean:
-- The way I interpreted your question
CREATE OR REPLACE PACKAGE foo_pkg
AS
TYPE foo_obj IS RECORD (
f1 NUMBER
,f2 VARCHAR2 (10)
in_pkg_foo_obj foo_obj;
END foo_pkg;
SHOW errors
CREATE OR REPLACE TYPE newFooObj IS OBJECT (
f1 NUMBER
,f2 VARCHAR2 (3)
,f3 DATE
,MEMBER FUNCTION getAllFoos (inFoo IN foo_pkg.foo_obj)
RETURN NUMBER
SHOW errors
CREATE OR REPLACE TYPE BODY newFooObj
AS
MEMBER FUNCTION getAllFoos (inFoo IN foo_pkg.foo_obj)
RETURN NUMBER
IS
BEGIN
RETURN 1;
END;
END;
SHOW errors
-- Clean up
DROP PACKAGE foo_pkg;
DROP TYPE newFooObj;
-- Now try it with a schema level object type
CREATE OR REPLACE TYPE foo_obj IS OBJECT (
f1 NUMBER
,f2 VARCHAR2 (10)
CREATE OR REPLACE PACKAGE foo_pkg
AS
in_pkg_foo_obj foo_obj;
END foo_pkg;
SHOW errors
CREATE OR REPLACE TYPE newFooObj IS OBJECT (
f1 NUMBER
,f2 VARCHAR2 (3)
,f3 DATE
,MEMBER FUNCTION getAllFoos (inFoo IN foo_obj)
RETURN NUMBER
SHOW errors
CREATE OR REPLACE TYPE BODY newFooObj
AS
MEMBER FUNCTION getAllFoos (inFoo IN foo_obj)
RETURN NUMBER
IS
BEGIN
RETURN 1;
END;
END;
SHOW errors
DROP PACKAGE foo_pkg;
DROP TYPE newFooObj;
Bob -
Hi All
I have oracle object types created.
<code>
CREATE OR REPLACE
TYPE CONFIRM_APP_CONFIRM_ENQUIRY_AT AS OBJECT
ENQATTRIBTYPECODE VARCHAR2(1000),
ENQATTRIBVALUECODE VARCHAR2(1000),
ENQATTRIBSTRINGVALUE VARCHAR2(1000),
ENQATTRIBNUMVALUE NUMBER,
ENQATTRIBDATEVALUE DATE
</code>
I m using this type for couple of columns in a table
and then i try to use this procedure which generates XML
<code>
BEGIN
MY_SQL :=
DBMS_XMLQUERY.NEWCONTEXT
( 'Select Nvl(Enquiry_Number,9999) "EnquiryNumber",
External_System_Reference "ExternalSystemReference",
External_System_Number "ExternalSystemNumber",
Service_Code "ServiceCode",
Subject_Code "SubjectCode",
Enquiry_Description "EnquiryDescription",
Enquiry_Location "EnquiryLocation",
Enquiry_Status_Code "EnquiryStatusCode",
Assigned_Office_Code "AssignedOfficerCode",
Logged_Time "LoggedTime",
EnquiryX "EnquiryX",
EnquiryY "EnquiryY",
Site_Code "SiteCode",
Central_Asset_Id "CentralAssetId",
Contact_Name "ContactName",
Contact_Phone "ContactPhone",
Contact_Fax "ContactFax",
Contact_Email "ContactEmail",
Enquiry_Reference "EnquiryReference",
Enquiry_Class_Code "EnquiryClassCode",
Notice_From_Org_Code "NoticeFromOrgCode",
Works_Reference "WorksReference",
Job_Number "JobNumber",
Address_Reference "AddressReference",
enquiry_attribute1 "EnquiryAttribute",
enquiry_attribute2 "EnquiryAttribute",
enquiry_attribute3 "EnquiryAttribute",
enquiry_attribute4 "EnquiryAttribute",
enquiry_attribute5 "EnquiryAttribute",
enquiry_attribute6 "EnquiryAttribute",
enquiry_attribute7 "EnquiryAttribute",
enquiry_attribute8 "EnquiryAttribute",
enquiry_attribute9 "EnquiryAttribute",
enquiry_attribute10 "EnquiryAttribute",
enquiry_attribute11 "EnquiryAttribute",
enquiry_attribute12 "EnquiryAttribute",
enquiry_attribute13 "EnquiryAttribute",
enquiry_attribute14 "EnquiryAttribute",
enquiry_attribute15 "EnquiryAttribute",
enquiry_attribute16 "EnquiryAttribute",
enquiry_attribute17 "EnquiryAttribute",
enquiry_attribute18 "EnquiryAttribute",
enquiry_attribute19 "EnquiryAttribute",
enquiry_attribute20 "EnquiryAttribute",
enquiry_customer "EnquiryCustomer",
enquiry_document "DocumentLink"
FROM XXHCC_HOLDING_CONFIRM WHERE
EXTERNAL_SYSTEM_REFERENCE ='
|| EXTERNAL_SYSTEM_REFERENCE
|| '
AND message_status = ''FAIL'''
DBMS_XMLQUERY.SETROWSETTAG (MY_SQL, 'Operation');
DBMS_XMLQUERY.SETROWTAG (MY_SQL, 'NewEnquiry');
L_XML := DBMS_XMLQUERY.GETXML (MY_SQL);
DBMS_XMLQUERY.CLOSECONTEXT (MY_SQL);
</code>
when i get the xml as output, i get this..
<code>
<Operation>
<NewEnquiry num="1">
<EnquiryNumber>9999</EnquiryNumber>
<ExternalSystemReference>4343017</ExternalSystemReference>
<ExternalSystemNumber>1</ExternalSystemNumber>
<ServiceCode>HWAY</ServiceCode>
<SubjectCode>MAIN</SubjectCode>
<EnquiryDescription>TAI-Highway Maintenance</EnquiryDescription>
<EnquiryLocation>O/S Cheese Pub</EnquiryLocation>
<LoggedTime>2008-04-09T08:33:36</LoggedTime>
<SiteCode>19101890</SiteCode>
<ContactName>MRS xyz</ContactName>
<ContactPhone>3434343</ContactPhone>
<EnquiryReference>CRMHUB</EnquiryReference>
<NoticeFromOrgCode>ABC</NoticeFromOrgCode>
<WorksReference>4343017</WorksReference>
<EnquiryAttribute>
<ENQATTRIBTYPECODE>CSPL</ENQATTRIBTYPECODE> <ENQATTRIBSTRINGVALUE>n.a</ENQATTRIBSTRINGVALUE>
</EnquiryAttribute>
<EnquiryAttribute>
<ENQATTRIBTYPECODE>CSAI</ENQATTRIBTYPECODE>
<ENQATTRIBSTRINGVALUE>Cracked Path-Loose Flagstone</ENQATTRIBSTRINGVALUE>
</EnquiryAttribute>
<EnquiryAttribute> <ENQATTRIBTYPECODE>CSDL</ENQATTRIBTYPECODE> <ENQATTRIBSTRINGVALUE>No</ENQATTRIBSTRINGVALUE>
</EnquiryAttribute>
<EnquiryAttribute>
<ENQATTRIBTYPECODE>CSIM</ENQATTRIBTYPECODE>
</EnquiryAttribute>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<EnquiryAttribute/>
<ENQUIRY_CUSTOMER>
<CUSTOMER_ALT_PHONE>00</CUSTOMER_ALT_PHONE>
<CUSTOMER_PRIMARY_ADDRESS>,,0, ABC Street</CUSTOMER_PRIMARY_ADDRESS>
<CUSTOMER_TOWN_NAME>UK</CUSTOMER_TOWN_NAME>
<CUSTOMER_COUNTY_NAME>UK</CUSTOMER_COUNTY_NAME>
<CUSTOMER_POST_CODE>AB1 3QT</CUSTOMER_POST_CODE>
</ENQUIRY_CUSTOMER>
</NewEnquiry>
</Operation>
</code>
My question is i m transferring this XML to a third party webservice and it does inserting into a third party application.
The problem is if you look under EnquiryAttribute tag ENQATTRIBSTRINGVALUE and ENQATTRIBTYPECODE i need this to be in lowercase.
As the xml is getting automatically generated how do i achieve this. I feel them in the uppercase is causing problems at the other end.
Any help appreciated
Srini
Message was edited by:
sikhasrinivasUse "..." delimiters in the CREATE TYPE (and in all your code that references the type).
-
Gurus,
Please review the below code and let me know where am i not doing correct.
---1) Object Type
CREATE OR REPLACE TYPE MBS_OBJECT_TYPE AS
OBJECT (PROJECT_NUM VARCHAR2(25),
PROJECT_NAME VARCHAR2(555),
DEV_PROG_TYPE VARCHAR2(555),
ADDRESS VARCHAR2(555),
CITY VARCHAR2(55));
---2) Object Type Table
CREATE OR REPLACE TYPE MBS_OBJECT_TYPE_TAB as TABLE OF MBS_OBJECT_TYPE;
---3) Implementation Program and resultant error
DECLARE
cursor c1 is select project_num, PROJ_NAME, DEV_PRG_TYPE, ADDRESS_LINE1, CITY
from mbs_proj_masters where dev_prg_type = 'LOAN ACQUISITION';
V_INT NUMBER := 0 ;
v_tab mbs_object_type_tab;
BEGIN
select project_num, PROJ_NAME, DEV_PRG_TYPE, ADDRESS_LINE1, CITY
bulk collect into v_tab
from mbs_proj_masters where dev_prg_type = 'LOAN ACQUISITION';
END;
Error :
Error at line 1
ORA-06550: line 10, column 17:
PL/SQL: ORA-00947: not enough values
ORA-06550: line 8, column 4:
PL/SQL: SQL Statement ignoredKarthik Dhinakaran wrote:
Can I append or add up rows by running the above query multiple times. Not with BULK COLLECT which overrides nested table content. Use COLLECT + MULTISET UNION ALL:
CREATE OR REPLACE TYPE EMP_OBJ
AS OBJECT(
EMPNO NUMBER(4),
ENAME VARCHAR2(10),
JOB VARCHAR2(9),
MGR NUMBER(4),
HIREDATE DATE,
SAL NUMBER(7,2),
COMM NUMBER(7,2),
DEPTNO NUMBER(2)
CREATE OR REPLACE TYPE EMP_TBL
AS TABLE OF EMP_OBJ
DECLARE
v_emp_tbl emp_tbl;
BEGIN
SELECT cast(
collect(
emp_obj(
empno,
ename,
job,
mgr,
hiredate,
sal,
comm,
deptno
as emp_tbl
INTO v_emp_tbl
FROM emp
WHERE deptno = 10;
DBMS_OUTPUT.PUT_LINE('NESTED TABLE HAS ' || v_emp_tbl.count || ' ELEMENTS.');
SELECT v_emp_tbl MULTISET UNION ALL
cast(
collect(
emp_obj(
empno,
ename,
job,
mgr,
hiredate,
sal,
comm,
deptno
as emp_tbl
INTO v_emp_tbl
FROM emp
WHERE deptno = 20;
DBMS_OUTPUT.PUT_LINE('NESTED TABLE HAS ' || v_emp_tbl.count || ' ELEMENTS.');
SELECT v_emp_tbl MULTISET UNION ALL
cast(
collect(
emp_obj(
empno,
ename,
job,
mgr,
hiredate,
sal,
comm,
deptno
as emp_tbl
INTO v_emp_tbl
FROM emp
WHERE deptno = 30;
DBMS_OUTPUT.PUT_LINE('NESTED TABLE HAS ' || v_emp_tbl.count || ' ELEMENTS.');
END;
NESTED TABLE HAS 3 ELEMENTS.
NESTED TABLE HAS 8 ELEMENTS.
NESTED TABLE HAS 14 ELEMENTS.
PL/SQL procedure successfully completed.
SQL> SY. -
Implementing object type methods
I am having some problems with the object type method implementation.
I have poured over the docs and so far they have lead me to a dead end each time.
I am trying to implement a pl/sql object with methods that map to methods in a corresponding java class. The code is as follows:
the java class:
package possystems.poseqdb;
public class ObjTypeCallSpecTest {
private String teststring;
public void mutateString() {
this.testString = "the second value";
the oracle object type:
create type objecttesttype as Object (
teststring varchar2(255),
member procedure objtest as language java
name 'possystems.poseqdb.ObjTypeCallSpecTest.mutateString()'
the anonymous pl/sql block calling the method:
declare
auth1 objecttesttype;
begin
auth1:=objecttesttype('the first string');
dbms_output.put_line('1 '||auth1.teststring||' 1');
auth1.objtest();
dbms_output.put_line('2 '||auth1.teststring||' 2');
end;
There is nothing fancy going on here. The problem I have is the auth1.objtest() call allways returns the following error:
1 the first string 1
declare
ERROR at line 1:
ORA-00932: inconsistent datatypes
ORA-06512: at "ANDRE.OBJECTTESTTYPE", line 0
ORA-06512: at line 6
Note the first line of output is the first dbms_output message indicating the object was properly instantiated.
Could someone please let me know what stupid little thing I have overlooked or have misunderstood from the oracle docs.
Andre>
Use object types as data structures to be manipulated using packages, and ignore the type body possibility.
>
Well that would be throwing away a powerful part of the TYPE functionality.
The methods in the type body can be, and often are, used to provide multi-column validation to prevent the creation of invalid instances. A simple example is an ADDRESS_TYPE (e.g. ADDRESS1, ADDRESS2, CITY, STATE, ZIP) where a valid instance must have a value for each attribute except ADDRESS2 which might be optional.
The constructor and the methods in the body can perform validation to ensure that the components meet certain minimum requirements: not null, length (a 1 byte address wouldn't make much sense), character or numeric content, etc. A SET_ADDRESS1 method can also perform those validations.
That allows instances of those types to be used by PL/SQL code without repeated validation of the attributes. I use such basic TYPEs extensively in ETL and reporting processes. Even something as simple as a TYPE that has FROM_DATE and TO_DATE benefits by having constructor and body methods that prevent the attributes from being NULL and ensure that any TO_DATE is later than the FROM_DATE. -
Hi,
I have the following object type
create or type address_type as object
(street varchar2(10), no varchar2(10));
and table: create table test(id integer, address address_type)
How can I insert values in my table test using apex?
Thank youHi,
Both the above suggestions do not work
I have say an ITAB of type SPFLI.
How do I convert this data into xstring type?
Also does my ITAB have to be a specific type for me to get this to work?
Cheers
Kiran -
Hi,
I have a business requirement,where I'll be getting associative array as a INPUT parameter to a procedure,I Need to query the values in the collection in a table. What would be the best way?
I tried the below approach
Create two object types
create or replace
type t_st_id as object (
supply_type_id varchar2(50)
Create type t_nested_st_id IS TABLE OF t_st_id;
Also created the below function
create or replace
function return_st_id(p_in_st_id IN t_st_id) return T_NESTED_ST_ID as
v_ret_st_id T_NESTED_ST_ID;
BEGIN
v_ret_st_id:=T_NESTED_ST_ID();
FOR i IN 1..p_in_st_id.count
LOOP
v_ret_st_id.extend;
v_ret_st_id(v_ret_st_id.last):= T_st_id(p_in_st_id(i));
END LOOP;
return v_ret_st_id;
end return_st_id;
But got this Error
5,24): PLS-00302: component 'COUNT'
must be declared
Could you please help me out in this resolving issue? Also is there any better way to handle this type of prob
Regards,
Achyut KKarthick_Arp wrote:
create or replace type t_st_id as object (supply_type_id varchar2(50));
create type t_nested_st_id is table of t_st_id;
This is not associative array. This is a nested table. I think i understand what you want let me give an example using emp table.
The scenario is user will pass a list of empno and we we will get ename for that empno.
SQL> create or replace type empno_table as table of integer
2 /
Type created.
SQL> create or replace type emp_obj as object(empno integer, ename varchar2(100))
2 /
Type created.
SQL> create or replace type emp_table as table of emp_obj
2 /
Type created.
SQL> create or replace function get_emp_detail
2 (
3 p_empno_list empno_table
4 )
5 return emp_table
6 pipelined
7 as
8 begin
9 for i in (select emp_obj(empno, ename) emp_detail
10 from emp
11 where empno in (select column_value
12 from table(p_empno_list)))
13 loop
14 pipe row(i.emp_detail);
15 end loop;
16
17 return;
18 end;
19 /
Function created.
SQL> select *
2 from table(get_emp_detail(empno_table(7369,7499,7521)));
EMPNO ENAME
7369 SMITH
7499 ALLEN
7521 WARD
SQL>
Thanks Kartheek
My requirement is similar. I need to do some kind of IN operator functionality . For the INPUT collection type , I need to pull out the records for the values that I got from the collection.
Example
select employees
from employees,
where emp_no in (select empno from table(get_emp_table(1,2,3))
Assuming 1,2,3 are the values that I got from the INPUT parameter of collection type.
Regards,
Achyut K -
Object Type as Application Level Variable
I probably already know the answer to this but thought I would see if anyone has gotten to work or developed some sort of work-around.
My question is, if I define an object type (create type ... as object ...) is it possible to hold a variable of this type as the session level? For example, if I am creating an order using multiple web pages, it would be much easier (and intuitive) to create and manipulate an order object than to hold the data in generic collections.
If that is not possible, is there some way to make a generic Apex collection appear more application specific? By this I mean some way to map the columns C001, C002, ... to more intuitive names such as CUST_NO and ORDER_DATE. I had considered possibly creating a view of the APEX_COLLECTIONS view which would rename the columns but then I would also have to create a bunch of instead of triggers if I wanted to update it as well.
Any thoughts or suggestions would be appreciated. Thanks,
MarkMark Wagoner wrote:
I probably already know the answer to this but thought I would see if anyone has gotten to work or developed some sort of work-around.
My question is, if I define an object type (create type ... as object ...) is it possible to hold a variable of this type as the session level? No. APEX session variables are stringly typed (perhaps the biggest single drawback of the framework).
If that is not possible, is there some way to make a generic Apex collection appear more application specific? By this I mean some way to map the columns C001, C002, ... to more intuitive names such as CUST_NO and ORDER_DATE. I had considered possibly creating a view of the APEX_COLLECTIONS view which would rename the columns but then I would also have to create a bunch of instead of triggers if I wanted to update it as well.
jarola wrote:It might that instead of trigger do not work for view where you query APEX_COLLECTIONS.Confirmed: +{message:id=10391521}+
Don't waste your time on it.
But you can create view to display data from APEX_COLLECTIONS and give generic columns meaningful alias.
Then create own procedures where utilize APEX_COLLECTIONS package to make update/delete/insert.That's the approach I'd use as well. -
Unable to disply type created by registering XML schema
Hello,
I have tried to register my XML schema.
The process returns with success and I can see new object types created by:
select * from user_types;
However, if I perform a DESC on the object type it says:
ORA-0403: object <MyType> does not exist.
Has anybody seen the problem before ?
Thanks,
BryanHi,
Thanks a lot for the reply.
I have tried out and it seems to me that the SQLType specified in my schema must be in Capital letters. Otherwise DESC won't work.
Quoting it doesn't seem to work as well.
Bryan -
Creating PL/SQL web services from object types
Hello
Jdeveloper, pl/sql web-services working successfully with object types.If we want to send the web-services to the client, do we need to send the entire folder that is created in the web-services folder of the external oc4j..?
Creating the client process:
we are using the wsdl file that is generated in the web-services and adding to the partner link to Invoke the operations of web-services. Is there any other way to invoke the webservices?Could any one please suggest me?
Thanking you
MalathiHello
Accessing the pl/sql webservices from the application server:
I have created pl/sql webservice using the nested tables. This will insert the object data into database tables.after deplying the webservice into external oc4j, when I test the webservice locally with url: http://localmachine:8888/PL_SQL_WS-Nest_Obj_Webservice-context-root/ObjWebserviceSoapHttpPort
The above web-services working and I am able to insert into the database tables.
Same when I want to access through the application server, I have changed the wsdl file soap address as
<soap:address location="http://10.91.20.7:8888/PL_SQL_WS-Nest_Obj_Webservice-context-root/ObjWebserviceSoapHttpPort"/>
When I access this url, I am able to give the input data
http://10.91.20.7:8888/PL_SQL_WS-Nest_Obj_Webservice-context-root/ObjWebserviceSoapHttpPort
but the out from the web-service is:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>env:Server</faultcode>
<faultstring>Error creating target: DBConnImpMftest.ObjWebserviceUser</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
Err from the OC4j log:<PAYLOAD>
<MSG_TEXT>An error occurred for port: {http://dbconnimpmftest/Nested_Webserv.wsdl}Nested_WebservSoapHttpPort: javax.xml.rpc.JAXRPCException: Error creating target: dbconnimpmftest.Nested_WebservUser.</MSG_TEXT>
</PAYLOAD>
Could any one help me to solve the above issue?
Kind regards
Malathi -
Object type error while creating ECR
Hi All
When creating a Engineering change request ECR (T.code: CC31), after entering the change type, selecting the object type(document & material) when i try to save the ECR, i am getting the following error message "is not a valid object type for a task". The error message didnt show in which object type the error is coming, its simply showing the above mentioned message. Could anybody help me in fixing the problem?.
Regards
S.SivakumarHi,
To grant that allways the currenct screens and authorizations were
called please maintain also the value "1" into the "Authorization"
column. For further informations on this maintainance please see the
attached note 375452. It's important that you not enter the mentioned
screen number wihtout the leading "1" as this number is added
automatically by the system (e.g. object MARA 1201 maintain like MARA
201). You can do this in customizing under:
Transaction SPRO
> Cross-Application-Component
> Document Management
> Control Data
> Define screen for object links
If you need the dynpro number or object you will find all standard SAP
objects and their screen number in function module CV130 (Screens) by
transaction SE80. Please maintain all necessary SAP objects.
Best regards,
Christoph -
Error: Object type '' could not be generated when creating sales order
Hello Friends,
I am using a SAP standard ITS service to create sales order.
When I am creatin SO, it gives me error Object type '' could not be generated.
Can you plz suggest me what is that issue & how I can reslove it.
Regards,
Narendraany inputs around this plz??
-
Create "Object" Type based on columns of a table
Hi Experts
is it possible to create an Object Type based on columns of a table?
for example the syntax for creation of type is
CREATE OR REPLACE TYPE temp_t
AS OBJECT (ID number, code number)
can we create a type that is based on columns of an existing table? so that we donot have to write down all the column names in each type as i have to create types based on 100 and above tables :-s
Please help me out here!
Best RegardsYou cannot do that Zia, check below code:
SQL> create or replace type temp_t as object(object_name all_objects.object_name%TYPE);
2 /
Warning: Type created with compilation errors.
SQL> sho err
Errors for TYPE TEMP_T:
LINE/COL ERROR
0/0 PL/SQL: Compilation unit analysis terminated
1/35 PLS-00201: identifier 'ALL_OBJECTS.OBJECT_NAME' must be declared -
HI Guys...
I am working on a RFC to HTTP scenario:
It is a standard SAP interface ....so we created only ID objects..obviously the BPM delivered by must be correct.
in sxmb_moni_bpe it is throwing th following error texts:
Runtime handle of object type could not be created
Error executing service for node
Exception CX_MERGE_SPLIT occured
component mapping has returned an error
unmodeled exception when executing service for node
No payload found
object FLOWITEM method EXECUTE cannot be executed
I tested the mapping payload from sxmb_moni in IR and it is working fine.
Receiver is an HTTP so could not able to find exactly whats happening as no thrid party tools can be installed....struck up here.
Any iputs will be of help in this area.
Thanx in adavance.
Kiranany inputs around this plz??
Maybe you are looking for
-
A problem to get the value of a selected cell
Hi all, I am trying to get the value of a cell in JTable. The problem that I have is ListSelectionListener only listens if the selection changes(valueChanged method). It means that if I select apple then rum, only rowSelectionModel is triggered, whic
-
Windows 7 Ultimate x64 with all patches Office 2007 Ultimate with all patches One of my systems has begun to crash a lot lately. The information below is from bluescreenview. The associated mini-dumps are at: http://1drv.ms/1kgMrIW The latest two c
-
hi , is there any way we can determine the size of objects in java ,like we have sizeof() in C. because till now I have only found functions in runtime class to determie the mem. as total OR max. OR free
-
Clear reader enabled form?
Hi, Is there a way to clear a form that is Acrobat Reader enabled? Often times people forget to remove their info, and would be most helpful if there was a one button / one keystroke 'clear'. Thank you.
-
What happens when undo tablespace is lost and then instance aborted? How does roll back phase of crash recovery will be performed? what is your logic? In my views, after restoring the undo tablespace, recovery will be performed. Since changes written