Determining object type
This is probably very simple but I'm stumped. I want to determine the type of object I'm manipulating using javascript. So if I have a function that takes an object as a parameter how can I tell if the object if a button, radiobutton, checkbox, etc.... I've tried
.className and several other things with no luck.
Here is a sample of what I am talking about
function doWhatever(fieldNode){
//determine type of object
if( fieldNode.className == "button"){
Polish or Hungarian notation might work, but I'd probably have to redo all of the bindings on the xsd I'm using and possibly on the backend. I'm thinking I'll probably use Regular Expressions to assist me in the usage of the formattedValue to drill down to the most specific of field types.
I just ran across this link in another post though, so this will probably be my starting point:
http://www.adobe.com/support/products/enterprise/knowledgecenter/c4761.pdf
Similar Messages
-
Program error: Object type of receiver cannot be determined
Hello Experts,
Am getting this error "Program error: Object type of receiver cannot be determined" when creating internal orders using BAPI_INTERNALORDERS_CREATE. I read many forums, but they are not answered. I didn't get any solution. Any Solution Please.
Thanks in AdvanceHere is my Code
TYPE-POOLS : TRUXS.
TYPES:BEGIN OF TY_COAS_SVALD,
AUART TYPE AUFART, "Order Type
BUKRS TYPE BUKRS, "Company Code
KTEXT TYPE AUFTEXT, "Description
GSBER TYPE GSBER, "Business Area
WERKS TYPE WERKS_D, "plant
KDAUF TYPE KDAUF, "Sales Order Number
KDPOS TYPE KDPOS, "Item
USER0 TYPE AUFUSER0, "Applicant
USER1 TYPE AUFUSER1, "Applicant's telephone number
USER2 TYPE AUFUSER2, "Person responsible
USER6 TYPE AUFUSER6, "Department
KOKRS TYPE KOKRS, "Controlling area
AUFWAERS TYPE AUFWAERS, "Currency
END OF TY_COAS_SVALD .
DATA : IT_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
DATA:T_COAS TYPE STANDARD TABLE OF TY_COAS_SVALD INITIAL SIZE 0,
WA_COAS TYPE TY_COAS_SVALD.
PARAMETERs : p_file TYPE IBIPPARMS-PATH.
at SELECTION-SCREEN on VALUE-REQUEST FOR p_file.
PERFORM browse_file.
INITIALIZATION.
CLEAR:WA_COAS.
REFRESH:T_COAS.
START-OF-SELECTION.
PERFORM LOAD_FLAT_FILE.
PERFORM SUB_CALL_BAPI_FOR_KO01.
FORM browse_file .
CALL FUNCTION 'F4_FILENAME'
IMPORTING
FILE_NAME = p_file
ENDFORM. " browse_file
FORM LOAD_FLAT_FILE .
DATA : LT_RAW TYPE TRUXS_T_TEXT_DATA.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR = 'X'
I_LINE_HEADER = 'X'
I_TAB_RAW_DATA = LT_RAW
I_FILENAME = P_FILE
TABLES
I_TAB_CONVERTED_DATA = T_COAS
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
ENDIF.
ENDFORM. " LOAD_FLAT_FILE
FORM SUB_CALL_BAPI_FOR_KO01 .
DATA:L_MASTERDATA TYPE BAPI2075_7,
LE_MASTERDATA TYPE BAPI2075_2,
T_BAPI TYPE STANDARD TABLE OF BAPI2075_6 INITIAL SIZE 0,
WA_BAPI TYPE BAPI2075_6.
clear:l_masterdata,
le_masterdata,
wa_bapi.
refresh:t_bapi.
LOOP AT T_COAS INTO WA_COAS.
L_MASTERDATA-ORDER_TYPE = WA_COAS-AUART.
L_MASTERDATA-COMP_CODE = WA_COAS-BUKRS.
L_MASTERDATA-ORDER_NAME = WA_COAS-KTEXT.
L_MASTERDATA-PLANT = WA_COAS-WERKS.
L_MASTERDATA-BUS_AREA = WA_COAS-GSBER.
L_MASTERDATA-SALES_ORD = WA_COAS-KDAUF.
L_MASTERDATA-S_ORD_ITEM = WA_COAS-KDPOS.
L_MASTERDATA-APPLICANT = WA_COAS-USER0.
L_MASTERDATA-APPLICANT_PHONE = WA_COAS-USER1.
L_MASTERDATA-PERSON_RESP = WA_COAS-USER2.
L_MASTERDATA-DEPARTMENT = WA_COAS-USER6.
L_MASTERDATA-CO_AREA = WA_COAS-KOKRS.
L_MASTERDATA-CURRENCY = WA_COAS-AUFWAERS.
WA_BAPI-SALES_ORD = WA_COAS-KDAUF.
WA_BAPI-S_ORD_ITEM = WA_COAS-KDPOS.
WA_BAPI-COMP_CODE = WA_COAS-BUKRS.
APPEND WA_BAPI TO T_BAPI.
CALL FUNCTION 'BAPI_INTERNALORDER_CREATE'
EXPORTING
I_MASTER_DATA = L_MASTERDATA
IMPORTING
E_MASTER_DATA = LE_MASTERDATA
TABLES
SRULES = T_BAPI
RETURN = IT_RETURN
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDLOOP.
WRITE : / IT_RETURN-TYPE, IT_RETURN-MESSAGE.
ENDFORM. " SUB_CALL_BAPI_FOR_KO01 -
Hi all,
in scott Schema by ADF B.C 10.1.3, I created an entity object like emp
and created view object EmpView from emp and dept entities
and Application Module
and when draging EmpView and dropping it in jspx
while running I got an error :
JB0-25003 your EmpView View Object has no Type
How to determine a View Object Type (read only or updatable) in B.C ?
ThanksHi,
this should not require any manual confiuration. Can you select the ApplicationModule in the model, right click on it and run the ADf BC tester ? Check if he ViewObject runs if not added to JSF
Frank -
S/A bridge problem: No object type found for the message
Hi all,
I've been spending days looking into the following problem. I have a RFCXIFile scenario. The R3 system sends data via an RFC to XI and XI post the data as a flat file on a certain server using FTP.
This scenario worked just fine for 1 exception. I could only run this scenario once. The second time I got timeouts when checking the data sent to my RFC destination using SM58. When I reactivated my RFC communcation channel I could again send 1 RFC to the system. All subsequent tries would fail.
I guess this is due to the fact that I use a synchonous call (RFC) to an asynchronous one. Thus the adapter is still waiting for the response from the XI system and will not accept any further new calls from R3.
So I figure let's use this pattern called the S/A bridge. So I designed everything according to guides and examples and I'm quite certain everything is configured right but when I run the scenario I get the following message:
<i> <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error></i>
It seems that the adapter cannot find any integration process to send the message into!?
I've looked at numerous threads on sdn and tried all kinds of stuff (looked at the cache==> code 0 = OK , tried to reactivate my integration process, checked the interface determination,...), but to no avail. Does anybody has an idea what could be wrong ?
Any help would be greatly appreciated for I'm all out of clues....
BobFirst of all, Thank you for trying to help me out here.
Some answer to your suggestions/questions:
The IP has return code 0 in SXI_CACHE. so that doesn't seem to be the problem.
I've checked the BPM for syntax errors. I doesn't have any.
I've reimported the BPM into the integration directory.
And did a full cache refresh in SXI_CACHE. Return code is (stays) zero, so that's OK.
I've already included the error message from SXI_MONI. It is in the last step ("Call Adater") that the error occurs.
The other steps execute just fine...
The RFC communcation channel accepts the incoming RFC call and puts into the pipeline, so no problems with the communication channel either. the problem is actually when the pipeline is trying to forward the message into an IP trhough the BPE_ADAPTER (according to SXMB_MONI).
Therefore I'm not able to go to into PE, because the workflow is never started. the BPE_ADAPTER does not find any active process for the interface determination i've entered.
So i can not debug the IP in the PE and check container variables, like some of you mentioned.
Maybe some more information about the scenario:
The RFC is called from an R3 system to XI over the interface "CONTROL_RECIPE_DOWNLOAD", which is an imported RFC, with a request and response message type.
Then I got a receiver and interface determination with lead the incoming RFC message to the IP, into interface "XI_ERP_MF_MD_CONTROL_RECIPE_REQ_AI_MI".
This is an abstract synchronous interface based on the request and response types of the "CONTROL_RECIPE_DOWNLOAD" imported RFC.
This interface is used the first step (receive) of my BPM as the synchronous interface to open the S/A bridge.
The message (container var) used in this step is
name: CORREQ
Category: Abstract interface
type: "XI_ERP_MF_MD_CONTROL_RECIPE_REQ_AI_MI"
The interface "XI_ERP_MF_MD_CONTROL_RECIPE_REQ_AI_MI" is an abstract, asynchronous interface based on the request type of the "CONTROL_RECIPE_DOWNLOAD".
Then there are 2 send steps for putting the flat files into place and finally i close the the S/A bridge using message:
name: CORRES
Category: Abstract interface
type: "XI_ERP_MF_MD_CONTROL_RECIPE_RES_AI_MI"
The interface "XI_ERP_MF_MD_CONTROL_RECIPE_RES_AI_MI" is an abstract, asynchronous interface based on the response type of the "CONTROL_RECIPE_DOWNLOAD".
I hope this information gives you guys a better understanding of hte problem.
Really looking forward to see more suggestions and to solve this nasty problem ...
Regards,
Bob -
Getting "No Object type found error" in BPM sceanrio.
Hi Friends,
I am doing File to RFC with response sceanrio using BPM. For this i configured one receiver step, one send synchronous step to send input message to RFC and one asynchronous send step to send the response to a file.
I have configured 3 receiver determinations(file to bpm,bpm to ECC, bpm to file), 3 interface determinations(file to bpm, bpm to ecc, bpm to file) and 2 Receiver agreements(bpm to ecc and bpm to file).
I am getting the followin error:
No object type found for the message. Check that the corresponding process is activated
My sxi_cache has return code as ' 0 '. And as suggested in some threads, i deleted the objects and recreated them again. but still getting the same error.
Please help me in solving this issue.
Thanks & Regards,
Senthil.Hi Senthil,
Is all the objects created in IR and ID are reflecting in SPROXY tcode.
Check SM59=> AI_JCO_Server connection is working or not ?
Check SXMB_IFR tcode is working fine or not ?
Check sm22 and let us know the dumps are there ?
Check default trace files for any errors in the following paths ?
1.usr/SAP/X7systemname/DVEBMGS07/J2EE//cluster/server0/log/defaulttrace.trc
2.usr/SAP/X7systemname/DVEBMGS07/J2EE//cluster/dispatcher/log/defaulttrace.trc
3.usr/SAP/X7systemname/DVEBMGS07/J2EE//cluster/dispatcher/logs/services/http/req_resp.trc
Thanks,
Jogula Ramesh -
For your info.
I have searched SDN today for a solution to an error message found in XI message monitor (trx SXI_MONITOR) when sending a message to BPM:
<b>No object type found for this message; check the activation of the corresponding process</b>
Well, I found a lot of threads, but with no good answer for me.
So, here's my self-solution: I was just missing the Interface Determination (really don't know why) bringing from Outbound to Abstract message interface. So XI message was definitely correct.Hi,
Make sure that the first receive step in your integratiopn process uses the abstract interface that u defin in the interface determination.
Also check if you have used all the objects that you have created. Some times 'No object type found' error happens if your BPM is not activated.
Also check the activation log and see if there are any errors. Refrech the cache in SXI_CACHE. Check if the return code is 0.
Hope this helps.
Regards.
Praveen -
No object type found for this message
Hi all,
I have a file 2 file scenario which works fine.
I tried implementing BPM in the same scenario following the link:
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
The sender channel is working fine and the file gets deleted from the source folder.
But the output file is not getting generated.
The error msg displayed in SXMB_MONI is:
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>No object type found for this message</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
What can be the possible problem.
Pls help
Thanks in advance
Regards,
NeetuHi,
<i>>>Are you getting 2 entries in the SXMB_MONI for this File to File Scenario?</i>
No i am getting a sigle entry in which the sender service is the file system and the receiver service is the Integration Process.
<i>>>Do you have 2 receiver determinations.
i.e 1) File to Integration Process
2) Integrtaion Process to File</i>
Yes i have the above 2 receiver determinations.
<i>>>Also go to SXI_CACHE and check the Runtime version of your Integration PRocess.</i>
the runtime version of my integration process is 2.
I also tried activating my integration process in SXI_CACHE but the version remains 2.
What can i do next?
Pls guide
Regards
Neetu
There is one SAP note, but may not be related here.i.e 816778 -
When is object type decided?
I'd like to know when "OLTP Object Type(*)" is decided.
Though I created the planned order in APO, "OLTP Object Type" wasn't determined.
I checked existed planned order in my system and I found some planned orders have already been assigned "5" for "OLTP Object Type" but the others haven't been assinged yet.
When is object type decided? And how can we control this?
*OLTP Object Type = R/3 Object Type = Order_Type (import parameter of "BAPI_MOSRVAPS_SAVEMULTI3"(Order Category in OLTP System))
The selectable values are the following.
0 Stock
1 Purchase Requisition
2 Purchase Order
3 Sales Order
4 Planning
5 Planned Order
6 Production Order
7 Reservation
8 APO Local Order
9 Advanced Shipping Notification
A Order Confirmation
B Delivery
I Inspection Lot
M Maintenance Order
P Project Order
R Proposed Order
T Shipment
V VMI Stock Transfer Order
Not yet determined
You can check the "OLTP Object Type" from transaction code "/n/sapapo/om16" (Ordmap Anchor Table tab).Hello Shohei,
"OLTP Object Type(*)" is of more importance to the external system; surely, it would be assigned after the number is changed by the CIF .
The document is created an send it to R/3 or ECC (if you have publication types, Integration models, etc...); when the external system confirm the document and return it to SCM via CIF, the "OLTP Object Type(*)" should be assigned.
Probably you only have this number for documents working on planning version 000, and not for other planning versions.
At the end: "OLTP Object Type(*)" is decided by the external system, when documents go trough CIF.
Please check the following documentation:
"Order Category in OLTP System
The (OLTP or R/3) order category is used in addition to the order number to identify an order that has been transferred from an external (or R/3) system to the APO system.
Some examples of order categories are sales orders (fixed value 3), purchase orders (fixed value 2), and production orders (fixed value 6).
You can use various (OLTP or R/3) order categories for certain APO business objects, such as production orders or in-house production.
For example, a procurement order (BUS10502) in the APO system can contain both procurement orders (category 2) and purchase requisitions (category 1). In APO, the order category is only used to identify an order in combination with the order number. The category is also used in part to determine if an order/schedule line in the APO system can be changed by a user or not (a purchase order, for example, may no longer be changed, while a purchase requisition may still be changed). Generally, the order category is of more importance to the external system. For example, the R/3 system needs to know whether it is a purchase order or a purchase requisition that is being dealt with.
If an SAP (e.g. R/3) system is not linked to the APO system, and this system is to be used to exchange the order information that requires a certain order category, we recommend that you use the standard values, for example category 2 for business object BUS10502.
Orders that are created within an APO system, for example in a planning run, are not given an (OLTP) order category when created, since they were not transferred to the APO system from an external system. These orders all automatically receive (for example, when they are imported) the order category 8 (APO local order). These orders have an APO internal order category which distinguishes between criteria such as in-house production or external procurement. In a subsequent (optional) step, an external system can then decide whether an order created in APO is a purchase order (category 2) or a purchase requisition (category 1) and assign it an (OLTP) order category and an (external) order number.
You find these values in the documentation of the respective function or of the domain fixed values.
Note that certain functions (for example, configurations) are only possible for certain order categories."
Regards,
Gustavo Pérez -
Determining image types used in pdf
Hi,
I was sent a pdf by a client and was wondering if there was a way to determine what types of images he used in the file.
For example, did he use .jpg, .tif,, .eps etc.
Thanks,
Andrew Hutton
[signature deleted by host]In the Object palette make sure Embed Image Data is ticked.
-
Error when generating java classes from object types
Hi,
I'm using JDeveloper version 10.1.3.0.2
I created an object type in the database, the definition is:
TYPE domain_cls IS OBJECT (
domain_idx NUMBER(3)
) NOT INSTANTIABLE NOT FINAL
I tried to create a java class for this object using JDeveloper, by using generate java menu item.
I got the following error:
oracle.jpub.JPubException: Warning: Cannot determine what kind of type is OBJMOI. DOMAIN_CLS. The following error occurred: ORA-06550: line 1, column 13:
PLS-00103: Encountered the symbol "SYS" when expecting one of the following:
:= . ( @ % ;
The symbol ":=" was substituted for "SYS" to continue.
at oracle.jpub.sqlrefl.SqlReflector.addSqlType(SqlReflector.java:519)
at oracle.jpub.sqlrefl.SqlReflector.addSqlUserType(SqlReflector.java:707)
at oracle.jpub.publish.Publisher.addTypeOrPackage(Publisher.java:209)
at oracle.jpub.publish.IntypeParser.TypeDeclaration(IntypeParser.java:238)
at oracle.jpub.publish.IntypeParser.CompilationUnit(IntypeParser.java:75)
at oracle.jpub.Doit.main(Doit.java:257)
at oracle.jpub.Doit.main(Doit.java:102)
at oracle.jdevimpl.cm.dt.jpub.JPubModel.publish(JPubModel.java:1047)
at oracle.jdevimpl.wizard.jpub.JPubPanel.publish(JPubPanel.java:516)
at oracle.jdevimpl.cm.dt.jpub.JPubAddin._doJPub(JPubAddin.java:174)
at oracle.jdevimpl.cm.dt.jpub.JPubAddin.handleEvent(JPubAddin.java:81)
at oracle.ide.IdeAction.performAction(IdeAction.java:661)
at oracle.ide.IdeAction$2.run(IdeAction.java:889)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
any body can hlep in that pleaseI would recommend using JAXB instead of the Oracle class generator. This will give a standards based object-to-XML platform.
Oracle provides two JAXB implementations: one in the TopLink product, and the other in the XDK.
For an example of using TopLink JAXB see:
http://www.oracle.com/technology/products/ias/toplink/technical/tips/jaxb/index.htm
TopLink also provides the ability to map existing Java objects to an existing XML Schema, for an example of this see:
http://www.oracle.com/technology/products/ias/toplink/technical/tips/ox/index.htm
-Blaise -
/SAPQUERY/HR_LSO_TRNG1 Object type 'US' User
Hi ,
In InfoSet /SAPQUERY/HR_LSO_TRNG1 , I cannot change the "selection" in order to include the relation-ship to Object type 'US' User . Not in the list of "infotypes of related objects" under "change info-type selection" in transaction SQ02 .
How can I add that ? Thank youHi The SAP Query comprises five components:
Queries
InfoSet Query
InfoSets
User Groups
Translation/Query
Classic reporting- the creation of lists, statistics and ranked lists- are covered by the InfoSet Query and Queries components. Other componentsu2019 range of functions cover the maintenance of InfoSets, the administration of user groups and also the translation of texts created in the SAP Query. All data required by a user for a report can be read from various tables.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options, which determine the report layout. In the WYSIWYG (What You See Is What You Get) mode, you can edit the lists using Drag & Drop and various toolbars.
Overview:
The following sections describes the individual SAP Query components and provides general information about query areas, transport and authorizations
Menu Path Used For Transaction Code
à SAP Query à Queries Maintaining Queries SQ01
à SAP Query à InfoSets Maintaining InfoSets SQ02
à SAP Query à User Groups Maintaining User Groups SQ03
à Translation à Query Language Comparision SQ07
Query Components
The Queries component is used by end users to maintain queries.
You can carry out the following tasks:
Execute Queries and Generate Lists
Define Queries
Change Queries
Infosets Components
InfoSets are special views of data sources.
An InfoSet describes which fields of a data source can be reported on in queries.
InfoSets are assigned to user groups.
End-users are able to work only with those InfoSets that are relevant to their particular area, as designated by the role or user group that they are assigned to.
Eg: Vendor master data can be important in purchasing as well as in accountancy. The relevant InfoSet is assigned to both roles/user groups. This means that queries based on this InfoSet can be copied and executed by both groups.
User Groups Components
1. The User Groups component is used to maintain user groups. The system administrator uses it to set up the work environment for end-users.
2. Every user assigned to the user group is able to execute the query.
3. Users are not allowed to modify queries from other user groups, although they may, under certain circumstances, copy and execute
Translation/Query Component
A great deal of text is generated when defining queries, InfoSets, and user groups.
The SAP Query displays these texts in the language that you chose when you logged on to the SAP system.
You can compare the text languages using the component Translation/Query.
A related text in one or more additional languages is made available for each of the texts created when defining the query.
Query Areas
A query area contains a set of query objects (queries, InfoSets, and user groups) that are discrete and consistent.
There are the following query areas:
Standard area
Global area
Standard Area
1.Client specific
2.Query objects are not attached to the Workbench Organizer
Advantage :-End users can develop queries (ad-hoc reports) in their own client that are not meant for use in the rest of the system.
Global Area
1.Cross client
2.Query objects are attached to workbench organizer
Advantage:-The global query area is well suited for centrally developing queries meant for use and distribution throughout the system.
Authorizations
End-users, system administrators, and translators must all be assigned the appropriate authorizations allowing them to work with the SAP Query.
In order to give individual users targeted, specific rights, the following options are available:
Roles/user groups
Authorizations
Steps to create a Query
Step Description TCODE
1 Create a infoset or functional area SQ02
2 Assignment of user group to infoset SQ03
3 Creation of query based on infoset SQ01
Tools for Queries
The following are the tools to manage, create and change queries.
Infoset Query
Queries
Quick viewer
SAP Query
Step-by-step procedure in configuring SAP Query
SAP R/3 Query tools (SAP Query) are based on the following four main components:
u2022 Query Areas
u2022 Query Groups
u2022 InfoSets
u2022 Administrative Decisions (Company-specific)
Configuration of the Query tools is done in the following manner:
u2022 Create Query Groups
u2022 Assign Users to Query Groups
u2022 Create InfoSets
u2022 Assign each InfoSet to a Query Group.
Create Query Groups
u2022 Go to Transaction SQ03.
u2022 Ensure that you are in the correct SAP Query area by navigating to Environment à Query Areas
u2022 Select the u201CStandard Area (Client-specific).
u2022 Now in the main screen, enter the name of the Query Group in the User Group field and click on CREATE
u2022 Enter the description of the User Group in the next popup that appears.
u2022 User Group ZSAPTECH_GRP is created.
Assign Users to Query Groups
u2022 Click on the u201CAssign Users and InfoSetsu201D button
u2022 Enter the SAP User-Ids of all the users you wish to include in the test group.
Click on SAVE to save your entries.
Create InfoSets
u2022 Go to transaction SQ02
u2022 Ensure that you are in the correct SAP Query area by navigating to Environment à Query Areas
u2022 Enter the name of the InfoSet you wish to create and click on CREATE.
u2022 Enter the title and the logical database on the popup screen that appears.
We have used the LDB F1S (Flight bookings related) for our demo purpose.
u2022 Change InfoSet screen appears.
u2022 Expand the tree on the left hand side to view the fields in each table. As seen on the screen, the left side of the screen shows the tables and the fields. The right side displays the field groups.
u2022 Now we need to assign fields to the field groups. These field groups will display in the SAP Query tool during reporting. Please note that only the fields that are included here will be available for field selection in the SAP Query Tool that uses this infoSet as a data source.
u2022 Select the field group on the right side and then drag and drop the fields from the left side to this field group. u2022 When all the required fields are added, click on SAVE.
u2022 Now generate the InfoSet by clicking on GENERATE.
Attach each InfoSet to a Query Group
u2022 Go to transaction SQ02
u2022 Enter the InfoSet name created above and click on u201CUser Group Assignmentu201D button.
u2022 Select the query group u201CZSAPTECH_GRPu201D from the above list and click on SAVE. -
Use of organizational unit with org. Object type
Hi,
In What Scenario we will use organizational unit with org. Object type .
Regards,
Peter SonThis technique works by matching codes entered in customizing tables against organizational objects in the organizational plan.
E.g. A particular Sales Area can be related to an Organizational unit that represents all people in that Sales Area.
SAP Organizational Objects
Organizational entities (such as sales group, Distribution Channel, or purchasing organization) are represented by object types in the Business Object Repository.
The indicator organizational type in their basic data defines
such object types as SAP Organizational Objects
For Agent Determination, relationships are created between SAP Organizational Objects (residing in BOR) and the Organizational Management objects.
The agents are found by tracing these relationships.
Thanks and Regards,
Prabhakar Dharmala -
I'm working on importing a database into Oracle 10g, but when I run the import command through the gui, only a very few tables are generated correctly, and the log file is filled with messages like the following:
IMP-00063: Warning: Skipping table "SYSTEM"."ATHLETIC_COURT_AREA" because object type "SYSTEM"."UG_TEXT_ARRAY" cannot be created or has different identifier
and:
IMP-00019: row rejected due to ORACLE error 1
IMP-00003: ORACLE error 1 encountered
ORA-00001: unique constraint (SYSTEM.CATEGORY_MSL) violated
I googled the problem, and read that I may have to drop an object type? Thanks for your help!
TylerIMP-00063 Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier
Cause: An error occurred creating an object type that is used by the table.
Action: Examine the import log to determine why the object type could not be created. If the object type already existed, with a different object identifier, then drop the object type and retry the import.
Regards -
Bind problem for varchar2 of object type??
Hello all,
I am trying out binding Oracle Object types to java object types using the SQLData interface.
I created a simple object type called employee with the syntax
create type employee as object (empName varchar2(50),empNo number(9));
I then created a class called EmplyoeeObj which implements the interface. The code for the readSQL and
writeSQL methods are below:
public void readSQL(SQLInput stream, String typeName) throws SQLException {
empName = stream.readString();
empNo = stream.readInt();
public void writeSQL(SQLOutput stream) throws SQLException {
stream.writeString(empName);
stream.writeInt(empNo);
empName is a String and empNo is an int. The code that does the calling is:
String query = "{call test_employee(?)}";
Map map = connection.getTypeMap();
map.put("CISWEB.EMPLOYEE",
Class.forName("test.jdbc.EmployeeObj"));
/*Set back the type map with the new mappings*/
connection.setTypeMap(map);
/*Create a statement to make the call */
ocs = (OracleCallableStatement)connection.prepareCall(query);
ocs.registerOutParameter(1,
OracleTypes.STRUCT,
"CISWEB.EMPLOYEE");
boolean isWorked = ocs.execute();
System.out.println("Execute finished........");
Object outParam = ocs.getObject(1);
System.out.println("Object was obtained........" + outParam);
System.out.println("name:" + ((EmployeeObj)outParam).getName());
As can be seen I have created a stored procedure which has one out parameter. All
this preocedure does is assign an Employee object to the out parameter with a name of
'Alex' and an employee number of 9.
The code runs and all but I get this strange result. In the print I am getting the employee number
coming out correctly but the employee name comes out as 3 question marks. I can't understand why
"Alex" does not out. I have tried different things such as adding a new varchar2 to the object type and new a new integer and what I observer is that I keep getting 3 question marks coming back instead of whatever I assign for the employee name. Could someone please help and let me know what could be wrong?
I have no clue as what is causing this weird behaviour.
Thanks.Hi,
i have not really a idea. But at the next step i would
try the same procedure with in/out parameter and use a
initialized string. Maybe there is a problem to
determine the length of string.
Bye ThomasThanks for you reply Thomas,
This is the code for stored procedure that I use. As can be seen I just assign an employee to the
out parameter.
CREATE OR REPLACE PROCEDURE test_employee(emp out EMPLOYEE) IS
BEGIN
emp := EMPLOYEE('Alex',49);
END;
Now in the java code when the statement >>
System.out.println("name:" + ((EmployeeObj)outParam).getName());
executes I get the name coming out as the String: "???". That is three question marks. It is very weird. I then attempted to create the object using JPublisher and I get the same result. I attempted not only to use hte SQLData interface but Oracle's ORAData interfaces as well. I went to to create a table with column as the EMPLOYEE type and use in insert to put the same object and and then sellect * from the table to the the and I still get the 3 question marks for the name and the number comes out correctly.
I am not sure what could be causing the text to come out as three question marks. I am using Oracle 9.2.0.4.0 and the ojdbc_g.jar drivers version :9.2.0.3.0. Any help would be greatly appreciated.
Thanks -
Test Management - Add TBOM Object Types
Hello gurus!
My inquiry is the following:
I have created the TBOM for my Business Process, but when I check the TBOM content, not all object types I want are recorded. Is there a way to add which object types I want to be traced?
Kind regards,
Chrysanthihi Chrysanthi,
Did you generated TBOM dynamic or stati?
TBOM contents can be generated dynamically or statically.
Dynamic:
In the dynamic generation of a TBOM, the corresponding transaction is called using the corresponding RFC user in the managed system. All objects involved in the transaction are entered in the background and copied to the TBOM once the transaction is complete.
The generation of the dynamic TBOM only covers operations in the managed system that are processed within a context there. Branches to other systems (e.g. by RFC) are not recorded. This also applied to branched GUI procedures, which occur, for example, if a Web Dynpro is called within an SAP transaction. The operations within the Web Dynpro application are not recorded.
Static:
In the static generation of a TBOM, the transaction is not called. The system uses an environment analysis to determine which objects are involved in the transaction. Dynamic calls or generated objects are not found and therefore do not enter the TBOM either.
Please note:
The generation of dynamic TBOMs is not available in managed systems with kernel 620/640 but it is available in systems with kernel 46C and above 640.
The generation of static TBOMs is available for all managed systems with ST-PI 2008_01.
https://cw.sdn.sap.com/cw/docs/DOC-45979
regard,
Volker
Maybe you are looking for
-
Migrate from Exchange 2007 to Exchange 2013.
Hi All, Need some advised here, I am about to migrate Exchange 2007 with Windows Server 2003 to Exchange 2013 with Windows Server 2012 R2. Which one should I migrate first? Windows Server or Exchange? I tried to search it, i am a bit confuse with so
-
Unmountable boot volume error blue screen
I have a toshibia laptop that has crashed, I am eventually getting the unmountable_boot_volume error blue screen, the recovery disks that i ordered will not work, just disk 1 loads windows file then goes to a black screen with the cursor pointer, com
-
Error in receiver mail adapter
Hi, i am working with file to mail scenario. I have two files.The second file i am sending as an attachment with the first file. My receiver communication channel has following error:: error occured: [2006-11-08T07:35:08Z] unable to call the mailer;
-
Adobe reader android browser plugin
Why does adobe reader not allow the mime type application/pdf in an object tag to work in a web page? Instead it wants to download the pdf instead of viewing it in the browser like your desktop application. All you have to do is write a library .so
-
We recently migrated our old phone system to Cisco IP Telephony and just getting used to UCM. Don't know if this is the correct place to ask, but here is my question to ask. I have two users that are in a call pickup group. (Secretary and Director