Is it possible to get object type name with help of key field?
can any one tell me is it really possible to get the object type name if i have only key field,
are there any tables which store the object type names & keyfield. or there are any functionmodue which gives object type name by entering keyfield.
Hello,
If the PO has workflows associated with it, there is a table SWIWIOBJCT which stores details of the workitem, object key , object type details.
If you input the object key to this table ( For ex: PO number in this case) , it will give you the corresponding object type for the object key for Workitem type F.
Thanks,
Sowmya Arni
Similar Messages
-
Is possible to get the page name from the _pageid
Is possible to get the page name from the _pageid displayed in the url?
It must be stored in a portal oracle table does anyone know which ones or whether there is a api to translate the pageid.
Thanks in advance.You have you execute this query, using both the numbers included in the parameter pageid:
select display_name from portal.wwsbr_all_folders
where caid = :first_number
and id = :second_number -
Get the pc name with domain name and add it to my properties file using commands
i want to get the pc name with domain name and add it to my properties file using powershell .
sidfunction Get-Environment{
[environment]|Get-Member -Static -MemberType Properties |
ForEach-Object{
if($_.Name -ne 'StackTrace'){
$v=[scriptblock]::Create("[environment]::$($_.Name)").Invoke()
New-Object PsCustomObject -Property ([ordered]@{Name=$_.Name;Value=$v[0]})
Get-Environment
Get-Environment | Out-String | Out-File environment.txt
¯\_(ツ)_/¯ -
FM for getting teh file name with path
Hi guys,
Is there an fm getting the file name with path given the physical path and file name? Thanks!Hi Mark,
Function Module WS_FILENAME_GET is obsolete, dont use it.
Use the Method file_open_dialog of class cl_gui_frontend_services as given below.
DATA:
lt_filetable TYPE filetable,
lf_rc TYPE i,
lv_filename(50) TYPE c,
lv_fileext(3) TYPE c,
ls_file TYPE file_table,
lv_file TYPE localfile,
lv_title TYPE string.
lv_title = sy-title.
lv_progname = sy-cprog.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = lv_title
file_filter = '*.txt'
multiselection = abap_false
CHANGING
file_table = lt_filetable
rc = lf_rc
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
not_supported_by_gui = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
DISPLAY LIKE 'E'
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
* Number of selected filed must be equal to one.
CHECK lf_rc = 1.
* Access selected file
READ TABLE lt_filetable INTO ls_file INDEX 1.
CHECK sy-subrc = 0.
lv_file = ls_file-filename.
SPLIT lv_file AT '.' INTO lv_filename lv_fileext.
Revert back if you need clarifications.
Regards
Karthik D -
Is it possible to get Siri to work with 'old' Car handsfree systems?
Is it possible to get Siri to work with 'old' Car handsfree systems?
Unless I'm missing something - Siri doesn't work well with older handsfree car systems - as typically the cars built in system handles the voice control and relays the request to the phone over bluetooth protocols. I tried initiating siri standalone while connected to the car and it failed.
I was hoping I might be able to do some sneaky like 'Call Siri' to enter Siri mode but it doesn't seem to work.
I'm guessing future Car handsfree systems will be Siri aware - but making Siri work with older systems (and my car isn't old - it's a 2011 model) would be very useful.
Has anyone come up with a workaround? I really don't want to have to buy or use a bluetooth ear piece
Thanks
AdamI never heard anything on this and so am still unable to use Siri without touching my phone.
-
I want to buy an imac from the refurb store, but with a magic trackpad. Is it possible to get a magic trackpad with a refurbished imac?
You would have to buy it separately. Refurbished machines are sold as they were originally configured so you cannot customize the machine when you order it.
-
We need to buy Adobe Framemaker version 11. The distributor is only able to provide us with version 12. Can someone suggest me how is it possible to get the license for ver 11 serial key after purchasing ver 12 and also how to get the download details ? Urgent response will be helpful.D
Adobe Support helped us with a similar query. We ended up with exactly what you need.
-
How to get object/instance name in method
Hi folks,
I have created a class and implemented a method within the class.
Now i would like get the name of instance/object calling this method ,within this method.
Is their any way to get this obj name within method?
Eg:
I hve class ZCL with method METH
Now in some program i used this method, by creating any obj
data obj type ref to ZCL
obj->METH
Now is there any way to get this obj name within the methodMETH by using some method like GET_OBJ_NAME(just making a guess)
Regards
PG>
PG wrote:
> Now is there any way to get this obj name within the methodMETH by using some method like GET_OBJ_NAME(just making a guess)
>
> Regards
> PG
Please check the below code snippet
DATA:
lref_obj TYPE REF TO cl_abap_typedescr.
lref_obj ?= cl_abap_objectdescr=>describe_by_object_ref( me ). -
Hi all,
I am doing a final year student project in constructing a visual tracing tool in java. I have a problem getting the method arguments and method argument types similar to problem posted before http://forum.java.sun.com/thread.jsp?forum=47&thread=200408
basically every time i track the method entry event and ask for the list of argument types i get the outmof bounds exception as if there is nothing in the method arguments. But i forced values into the arguments.They are there. I cannot understand this. I trawled through the examples and trace example with the java documentation and followed their example but still no luck. The program i'm tracing is simple on below
public class testProgram{
private String name;
private int age;
public testProgram(){
setage(22);
setName("ciaran");
public void setage(int theAge){
age = theAge;
public void setName(String theName){
name = theName;
public static void main(String[] args ){
testProgram aTest = new testProgram();
the tracking code is below
public ParseMethodData(MethodEntryEvent event){
locEvent = (LocatableEvent) event;
Location loc = locEvent.location();
Method meth = loc.method();
threadRef = locEvent.thread();
refType = loc.declaringType();
try{
ArrayList list =(ArrayList) meth.argumentTypeNames();
}catch(IndexOutOfBoundsException iobe){
iobe.printStackTrace();
Any "general" ideas would be welcome. Why are the arguments not coming out.Hia there,
I've been looking at the jdb source code for ages now, and have had the same problems with you here. What I found was that you need to wait until a vmInterupptedEvent has been generated, otherwise you cannot access the information safely - the jvm may not have been suspended at the time that the methodentryevent was generated. This really is the case because I tested the EventHandler code in the JDB (or tty) source code. So, if you're interested in information like argument names, values and types from a methodevent, then get a list of argument type names from the method event, and when the virtual machine is suspended (i.e. a vmInterrupted event has been generated) you can safely map these to their values in the corresponding stackframe that execution is in.
There are about ten million other problems I have found with using the JDB, and stuff like that but I hope this helps. What I said worked for me, but murphy's law (most prevalent with the JDI) suggests it won't for you.
PS. So what you need to do is, implement vmInterrupted, and ensure requests are set to true for these, then use access data once this has been called.
Byee - Edd. -
Is possible leave a object type (MIME Repository) of the transport system?
Hi,
We'd like use the MIME Repository for storing pictures of our SAP CCM Catalog.
When we import a new MIME object a order is created. It is possible to avoid this. I mean I'd like to know if we can do this.
- In a prductive system (closed)
- Configure an object type to leave the transport system
Any idea about this?
Thanks for your attention
Regards
JorgeHi
Your program works fine you need only to write all DEFINITION and then all IMPLEMENTATION:
* CLASS one DEFINITION
CLASS ONE DEFINITION.
PUBLIC SECTION.
METHODS: ADDIT IMPORTING ADD_NUM1 TYPE ANY
ADD_NUM2 TYPE ANY
EXPORTING ADD_SUM TYPE ANY.
ENDCLASS.
* CLASS two DEFINITION
CLASS TWO DEFINITION INHERITING FROM ONE.
PUBLIC SECTION.
METHODS: OUT IMPORTING OUT_NUM1 TYPE ANY
OUT_NUM2 TYPE ANY
OUT_SUM TYPE ANY.
ENDCLASS.
* CLASS one IMPLEMENTATION
CLASS ONE IMPLEMENTATION.
METHOD ADDIT.
ADD_SUM = ADD_NUM1 + ADD_NUM2.
ENDMETHOD.
ENDCLASS.
* CLASS two IMPLEMENTATION
CLASS TWO IMPLEMENTATION.
METHOD OUT.
WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
ENDMETHOD.
ENDCLASS.
DATA O_ONE TYPE REF TO ONE.
DATA O_TWO TYPE REF TO TWO.
DATA: NUM1 TYPE I,
NUM2 TYPE I,
SUM TYPE I.
START-OF-SELECTION.
CREATE OBJECT: O_ONE, O_TWO.
NUM1 = 2. NUM2 = 4.
*when is called is used EXPORTING
CALL METHOD O_ONE->ADDIT
EXPORTING
ADD_NUM1 = NUM1
ADD_NUM2 = NUM2
IMPORTING
ADD_SUM = SUM.
*PERFORM addit USING num1 num2 CHANGING sum.
CALL METHOD O_TWO->OUT
EXPORTING
OUT_NUM1 = NUM1
OUT_NUM2 = NUM2
OUT_SUM = SUM.
NUM1 = 7. NUM2 = 11.
CALL METHOD O_ONE->ADDIT
EXPORTING
ADD_NUM1 = NUM1
ADD_NUM2 = NUM2
IMPORTING
ADD_SUM = SUM.
*PERFORM addit USING num1 num2 CHANGING sum.
CALL METHOD O_TWO->OUT
EXPORTING
OUT_NUM1 = NUM1
OUT_NUM2 = NUM2
OUT_SUM = SUM.
Max -
REST Query to Get Content Type Name
I'm just getting started learning to use the SharePoint REST interface. One of the first things I'd like to do is return the content type name for a list item in a document library (the document library is configured with several content types). From
what I've read, it looks like I need to use the $expand query option. So, my REST query looks like this:
http://localhost/_api/web/lists/Documents/Items()?&$select=ContentType/Name&$expand=ContentType/Name
But it's not working. I can't "dig" out the content type name property. In other words the $expand query option is not working. I just receive the following which includes a link to the content type:
<entry m:etag=""2"">
<id>4078e129-ac4b-44b8-b469-bcc083f2268d</id>
<category term="SP.Data.DocumentsItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<link rel="edit" href="Web/Lists(guid'cd710fd1-057e-4ee7-b0bd-1f014218ea3e')/Items(36)" />
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ContentType" type="application/atom+xml;type=entry" title="ContentType" href="Web/Lists(guid'cd710fd1-057e-4ee7-b0bd-1f014218ea3e')/Items(36)/ContentType"
/>
<title />
<updated>2013-04-12T00:16:26Z</updated>
<author>
<name />
</author>
<content type="application/xml" />
</entry>
I've tried difference variations and if I just use "$expand=ContentType" then I get all the list items with the content type fully expanded within each item.
What am I missing?It's been awhile since this question got asked, but I figured i'd post for anyone who happens to stumble
on it.
Try this:
http://localhost/_api/web/lists/Documents/Items(<item
id>)/ContentType?$select=Name -
Possible to get exchange type E & M in difference row
Hi guys,
It that any possible we get 2 Exchange rate type ( 'E' & 'M') in the report?
When we run the reports, we entered the variable which we select one of the exchange rate, (M or E)
Is that possible when we select 'M' in the variable, certain of the row will read from 'E' instead of 'M' exchange rate. Where should I write the code?
in RSCUR,
I only can see the variable , which I define the variable, but that only to select whether it's 'M' or 'E' exchange rate, how that we want to put some of the row will read from 'E' exchange rate.
Thank you
Regards
Edi.Hi Yasemin,
Thanks for your prompt reply, when I tried did as what you advised here I get, (The issues, I couldn't select the 'Conversion Type' as is highlighted as 'grey', cannot do selection for the conversation type)
Please do inform I've already define the Conversion Type in Column Struc as showed below:- Can I said we can't conflict defining the conversation type in both, (Column Struc & Cell defination) we only can define one at one time.
Does this correct as per what you advised?
Thank you
Regards
Edi. -
Hi Experts,
I have the requirement to show a warning that the user shall maintain a Partner "Enduser" in the Assignmentblock "Partners" when creating an Opportunity. The code for the warning is implemented in the Impl-Class of the View BTPARTNER/Partner (my Assignmentblock "Partners"). The problem is, that the Assignment Block is also used in other Scenarios, but the Waring shall only appear in the Opportunity View.
How can I check the current Scenario? I thought of getting the Object Type BT111_OPPT and check it.
Anyone know how to get the Object Type or any other solution for the problem?
Thanks and regards,
SebastianHi,
I think using the Object_type to display warning message in your case is fine and it should work. Now as you are looking how to get object_type here..my suggestion would be in View BTPARTNER/Partner you have a context node called 'BTPartnerSet' after getting the current entity (by using get_current() ) you can get the parent which would be BTAdminH and in this entity you have object_type as a attribute so you can easily call get_property or get_property_by_string () and can put your check.
Regards
Ajay -
Is it possible to get the scope name within a running BPEL instance
I am currently adding some error handling for a business fault and wondered whether there is any way to get the scope name at run time. I am already catching the fault details using getFaultAsString but the support team have asked whether we can log any other additional information such as the scope name to help the diagnose the problems quickly.
If any one has any ideas on other details that may be worth logging please let me know.
Thanks RichYou can also use the DOM API to traverse the XML tree and generate your path. But I advice to look into XPath because it is very easy to get values with simple XPath strings. Here's a good start:
http://www.w3schools.com/xpath/ -
Get object type attribute value
1 am trying binding Oracle Object types to java object types using the ORAData interface.
I created a simple object type called att_mesg_type with the syntax
create type att_mesg_type as object (subject varchar2(200),Text varchar2(1000));
I then created a class called attMesgType using Jpublisher which implements the interface.
The getSubject() and getText() method return '???'.
Anybody has any insights? Any inputs are appreciated.declare
attr_name varchar2(10) := 'ATTR1';
attr_value varchar2(50);
type_instance MyType := MyType('VALUE 1', 'VALUE 2');
begin
execute immediate 'declare type_instance MyType := :1; begin :2 := type_instance.' || attr_name || '; end;'
using type_instance,out attr_value;
dbms_output.put_line(attr_value);
end;
VALUE 1
PL/SQL procedure successfully completed.
SQL> SY.
Maybe you are looking for
-
Bridge CC - Stuck building criteria
I recently upgraded to the Adobe CC suite from the Adobe CS5 suite. Bridge CC was working fine until I upgraded my Mac to the new mac OS X version - Maverik. Since then, when I open Bridge CC the interface opens but none of the files respond to any i
-
How can I print from my ipad to the plain paper tray not the photo tray?
I have a new HP Photosmart Plus All-in-One Printer - B209a and an ipad on my showroom floor. I let my customers use the ipad to browse through photos of items that are not on display, then print some of the photos. Right now the print job always goe
-
ITunes and QuickTime won't start
Hi! The problem is that I've installed iTunes, everything went fine, but when I'm trying to start it with iTunes.exe, it won't start. I can see iTunes.exe in the task manager, for about 5 seconds, and then it disappears. The same happens with QuickTi
-
Keeping iTunes 10.7 on new iMac
I am planning to purchase a new iMac in the near future and will be copying everything over from my current iMac. One thing that potentially concerns me is that I will need to copy my large iTunes library over to the new iMac, which I assume will co
-
Survey Analysis without using BIW
Hi all! I'm new on SAP-CRM (6.0), and I'm having some problems when trying to analyse surveys result. I have created a survey using the crm_survey_suite transaction, and it's working fine. I have generated the URL by clicking in the "Generate URL" Bu