How to determine the transaction type?

Hello,
I have a requirement to disable the user when the role string field on the usr form is empty. I set up a post update entity adapter to do that and it works fine.
When I want to enable the user using the Enable button, the above post update entity adapter detects that the role string field is empty and the user is Active, it disables the user right back.
So, I need to set up a pre-update entity adapter that can detect the type of transaction. If the transaction is to Enable the Xellerate User, then I will update the role string to a dummy value (as long as it's not empty) so that the Disable adapter doesn't get fired.
Is this possible to do? Where can I find the transaction type information for a given Object?
Thanks
Khanh

Thanks
This is the information that i got :
java version "1.4.2_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07
Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
from this i could make out that the jvm is client version,, but how do i determine which vendor has provided the jvm .

Similar Messages

  • How to find the transaction type in our program

    dear sir,
              in solution manager in that crmd_order there are 4 transaction type (SLF1 SLFN SLFD SLFH) .. now i want to validate one field in standard screen in that t-code crmd_order . but the same screen used in all transaction type (SLF1, SLFN,SLFDand SLFH ) i want to validate that field only if the transaction type is SLF1 or SLFN otherwise no need .. so i want to check if transaction type is SLF1 or SLFN in my program .. so now i need transaction type .. so how how capture type in our program ( not SY-TCODE ) is stored in any system variable..
    Regards
    kumar

    hi siva velma,
    thank you fro your answer.
    how i conclude that when i see the where list which table is the actual table i need.
    please make me understand that.
    what about the ordre types ..in crm how we have them..for complaints , returns, sales order etc.in r/3 we have re for returns, or for std sales order.
    there so many sales orders which one i should take.
    there are so many transaction types for complaints cmrr,cmrp,dmrb etc - for complaints.which is for what how i wil know.
    <b>if i want to print the out of a output list how do i do that .pl tell me the spool settings.the printer settings.</b>
    thank you,
    hun<b></b><b></b>

  • How to determine the data type of  a text field

    hi,
    I have a text field, now i need to know what data type i have given?
    it may be numerical, string, date & boolean data type. when i write something after that it will determine the data type of the input text? is it possible in jsp? Is there anyone who can help me about this? Please help me
    With regards
    Bina

    javascript:
    function test(sample){
          if(sample==true || sample==false){
           alert('boolean')
          }else if(isNaN(sample)){
           alert('number')
          }else{
          alert('string')
        }

  • How to determine the MIME types of the files?

    I'm making an application, in which I've to upload the files to the database. Now I want to insert into the database the MIME type of the files. Now how can I know that which type of the file is having which MIME type?
    where can I get the list of all supported MIME types?
    Even if I get the list, then every time I update the file in the database, so every time I have to check the file extension and then insert the MIME type...
    this seems to be a tedioius job..
    Is there any simple way to do this?

    I could ask "supported by what?" but I assume you will
    be the one supporting them. Here's a link to the
    latest list of registered MIME types.HERE's the link...
    ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types

  • How to determine the object type?

    Hi,
    I got a method that is of the following signature:
    Object result = method.invoke(object,args);The result can be any type from primitive types like double to class type.
    How can I determine whether the result object is of what type?
    I am thinking of using
    (if result instanceof Double)
          //do something
    }However, the method call invoke can return a primitive type double, so will the above method
    (if result instanceodf Double) be called?
    Thanks.

    However, the method call invoke can return a primitive
    type double, so will the above method
    (if result instanceodf Double) be called?(result instanceof Double) will be true because quoting the javadocs for Method.invoke(): "if the value has a primitive type, it is first appropriately wrapped in an object."
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/reflect/Method.html#invoke(java.lang.Object,%20java.lang.Object[])

  • How to determine the file type in FTP

    What command code that should be sent to FTP server in order to identify if
    a given name (return from NLST command code) is a file, a folder, or even a link?
    Any help is greately appreciated.
    Thanks in advance,
    ferdieabtik

    user-exit for outbound COSMAS01
    Idoc extension

  • How to determine the last transaction of a Batch Number

    Hello,
    For example,
    ITEMCODE - BATCHNUM - WHSCODE - LINENUM - DIRECTION
    ITEM1 - BATCH1 - WH1 - 0 - 0
    ITEM1 - BATCH1 - WH2 - 0 - 0
    ITEM1 - BATCH1 - WH1 - 1 - 1
    ITEM1 - BATCH1 - WH2 - 1 - 1
    How will I know that record number 4 is the last transaction regardless of the transaction type and warehouse code.  Is there any table which can help me solve this issue other than OIBT?
    Regards,
    Gilbert Ngo

    You could use the OINM Transnum (connected to the IBT1) to determine the last transaction:
    SELECT T1.[TransNum],
    T0.[ItemCode], T0.[BatchNum], T0.[WhsCode]
    FROM [dbo].[IBT1]  T0
    Join OINM T1 On T1.[BASE_REF] = T0.[BaseEntry]  and  T0.[BaseType] = T1.[TransType]

  • EEWB :  how to determine the business object and the extension type ?

    Hi,
    I ask myself how to determine the business object and the extension type to use to add new fields in a new tab of a specific transaction ? what means each business object, does that correspond to a specific transaction ?
    I need to add a new tab in the ‘BaMI’ business activity in transaction CRMD_ORDER just after the tab 'Actions' at header level.
    Could you help me please to determine which business object and extension type I have to select during creation of the project and which business object category I have to select during creation of the extension (wizard) ?
    Thanks for your help,
    Marie

    Marie,
    In order to determine what type of transaction you are extending, you will need to look at the customizing for the transaction.
    In the IMG:
    Goto:
    Customer Relationship Management->Transactions->Basic Settings->Define Transaction Types.
    You will then choose the transaction defined that you want to extend.  If you display the details of the transaction you will find an attribute called:
    "Leading Transaction Category".  This tells you the general context in which the transaction is used.  The other item to view is the assignment of business transaction categories found in the maintenance screen.
    This information general corresponds to one of the options that the EEWB will give you on the transaction type.
    As far as extensions go, my recommendation is the following:
    - Use CUSTOMER_H Customer Header Extensions for any new fields at the header level.
    - Use CUSTOMER_I Customer Item Extensions for any new fields at the item level.
    Unless you have a specific requirement to extend a segment of the transaction, I recommend placing all new fields in these segments.  The CUSTOMER_H & CUSTOMER_I segments are considered "standard" segments, that are already built into all the necessary API structures. 
    Let me know if you have any further questions.
    Good luck,
    Stephen

  • How the system determines the Requirement type  for one sales order

    Hi,
    SAP-SD Gurus,
    Please tell me how the system determines the Requirement type  for one sales order?
    Thanks & Regards,
    Sreenivas.P

    Hi,
    System follows some search criterial to determine the requirement type
    1. First, an attempt is made to find a requirements type using the strategy group in the material master.
    2. If the strategy group has not been maintained, the system will determine it using the MRP group.
    3. If the MRP group has not been defined, the system uses the material type instead of the MRP group when accessing the corresponding control tables.
    4. If no requirements type is found here, the system assumes a special rule and attempts to find a requirements type with the aid of the item category and the MRP type.
    5. If this is not possible, a last attempt is made to find a requirements type with the item category only.
    6. If the last attempt fails, the system declares the transaction as not relevant for the availability check or transfer of requirements.
    Please check the path
    SPRO->SALES & DISTRIBUTIONS->BASIC FUNCTIONS>AVAILABILITY CHECK AND TOR->TRANSFER OF REQUIREMENTS--->DETERMINATION OF REQUIREMENT TYPE USING TRANSACTION.
    Hope it will clarify
    regards,
    santosh

  • How to determine the type of the jobject... similar to instanceof

    hi,
    I would like to know how to determine the jobject reference of an instance is of which class.
    this is something similar to instanceof we use in java.
    is there any thing like 'instanceof' in JNI. if there how to use it?
    i got this as objective question for which answers were(i do not remember exactly)
    1.instanceof
    2.assignedto
    i could nt het much help in googling.
    thanks in advance

    Hi
    The JNI provides a native version to the java instanceof operator, this function takes two arguments
    an object refrence and a class refrence and reports JNI_TRUE.
    jclass myclass = env->FindClass("your class name");
    if(env->IsInstanceOf(obj,myclass) == JNI_TRUE)
    // obj is of type myclass
    }Regards
    pradish

  • Mailexample.sql how do you determine the file type?

    I'm using the mailexample.sql which explains how to use the demo_mail wrapper package for utl_smtp. There's a procedure for attaching text files and a procedure for attaching binary files. I've got binary files to attach to email successfully.
    How can I determine the file type so that I can use the attach_text procedure when attaching text files rather than the procedure for attaching binary files?
    Sandy

    Watch out! I think there is a bug in that code :-
    bug with PL/SQL Sample - maildemo.sql
    To answer your question - the usual way of determining a file type is to look for 'magic numbers' in the file that indicate its type. For example, Windows exe files often (always?) begin with the two letters 'MZ'. Zip files begin with 'PK'; Rar archives begin with 'Rar!'. Text files can begin with anything, and do not have any characteristic marker, but USASCII7 (which is what the format that routine is designed for - I think), is a characterset that only uses the first 7 bits of the byte. You could read the file, and if you find any bytes > 127, then you know it is not a USASCII7 file. I have seen various programs that 'sample' the first 64 or 256 bytes of a file instead of reading the whole file, and they usually get it right.
    Hope this helps.
    Takmeister

  • How to use Z transaction type while in the Transaction launcher Wizard?

    In SPRO->CRM->Transactions->Basic Settings->Define transaction Types I can see a whole host of Z transaction types.
    These define all sorts of business transaction defaults. Within the Transaction launcher Wizard there is a Transaction Type that can be entered, but I can only see three options, being 'BOR Transaction', 'URL Transaction' and ' M', for some reason. None of the transaction types shown in the above SPRO path are displayed.
    Does anyone know how I can use my Z transation type. These are used by the config behind the Action Boxes for the Winclient IC, but I can not get the Transaction launcher wizard to see or use these. The SAP How-to Guide to tha Transaction Launcher says that only BOR and URL Transactions can be used (unless you have IS-U). If this is true then how does one provide all the information provided by the Transaction type. The whole idea of the transaction type is default this information in one area.
    Anyone.
    Jason

    I think it is possible.
    In CRMC_UI_NBLINKS if you look at the logical links you can see that SRV-ORD-DC has a Parameter of 'SRVO' with a certain Parameter Class.
    If you were to check SPRO->CRM->Transactions_Basic Settings->Transaction Types  you will see that SRVO exists as an entry. This logical ink is therefore using this Transaction type to extract characteristics etc.
    Having said that, I need to call the sales order create with a certain transaction type, so I copied SLS-SLO-CR to a Z copy, added the Parameter of 'Z111' and also used the Parameter class of CL_CRM_UIU_BT_PARAM_CREATE.
    This should now, in theory all work, and show the exact same transaction in the Webclient IC as it does in the Winclient IC as they are both using the same Transaction type. However, the Webclient transaction looks different in terms of fields etc., so I don't think it's working. after all.
    Jason

  • How does the transaction type use?

    Hi everybody:
        A question often comes out of my mind, it makes me confused.
    When you post a accounting document in Asset module by using f-91.... input a transaction type in it, then the system can post to an G/L account for you. I wanna know how the transaction type links to a general ledger account?
    and I guess there must have some relations between the transaction type (maybe transaction type group) and AO90 configration.
    Any help will be really appreciated

    Hi expert
    I m a newcomer,so my expression may be ambiguous, sorry about that
    As U said that Here u mention the GL accounts against which ur acquistion, depreciation, sale of asset , scrape, loss/gain on sale of asset are maintained.
    I still dont kown How a GL Acc in AO90 i.e acquistion links to a transaction type(or transaction type group). U know there are lots of GL Accounts in AO90 acquistion group. When  I post a doc in fi, which Acc is chosen by the system? and how?
    Regards,
    James

  • Tablespace allocation type system  how oracle determines the extent size

    HI
    It may be silly question but the I have to ask and get some knowdge
    Suppose tablespace allocation_type is system then how oracle determins the inital extent and max extent size?

    Was this tablespace converted to locally managed from an existing tablespace? If so, the existing extents still exist after the conversion. Also depending on the Oracle version and maybe platform the pct_increase parameter is still honored after the conversion which can lead to odd sizes. The current value of this parameter may not be the value that was in effect when extents were allocated.
    Also Oracle enhanced the logic to not leave odd sized extents unused so that if by rights the system should take a 64K extent but there is a 56K extent available (perhaps at the end of a file) it can be used to fill the extent request.
    HTH -- Mark D Powell --

  • How to determine the field size

    I am going to make a multiplatform application that hopefully
    will run on linux and windows 2000.If the os is 2000, then I will use
    vb.net/aspx else I'll use java servlets. I make the connection
    to the web server ( through HTTP) not directly to database server.
    So, the resultset will be stored in the String object. The columns
    will be separated by delimeter. Our problem is how to determine
    the size and type of the fields of mssql,oracle and postgres database
    so that we can include it in the String object.
    Ex.
    String sResultSet=new String();
    ResultSet rs=statement.executeQuery(sSQL);
    while(rs.next()){
    sResultset=sResultSet + rs.getString(field1) + "||" + rs.getString(field2) + "||";
    vertical bars acts as delimeter
    supposedly this is the code:
    sResultset=sResultSet + rs.getString(field1) +"_" + rs.getFieldType() + "_"+
    rs.getFieldSize() + "||" + rs.getString(field2) +"_" + rs.getFieldType() + "_"+
    rs.getFieldSize() + "||";
    supposedly this is the code if rs.getFieldType() and rs.getFieldSize() methods are existing
    Anyone can give me an idea how to get the field type and field size of the database?
    thanks in advance

    Yes, but I dont know how to do it.
    Can you give me an example of using it.
    Thanks in advance

Maybe you are looking for

  • How do I print two DIFFERENT A5 pages onto one A4 piece of paper in Preview?

    Hi, I know that within the Preview printing set up you can print two copies of one document on an A4 page. However, I want to print one copy each instead. I want to put about 8 photographs and documents onto 4 A4 pages all in A5 size to save on paper

  • Not showing results in simulation

    hiii, i made some chngs in (generate work schedule manually) in development server and transported to production server. it is transported as i can view the changes but not showing result in simulation run, wats the reason... Thanks

  • Another scam????

    I have received the following email, which looks "phishy" to me. Can anyone confirm this is a scam? Here is the email: Dear Verizon Internet Customer, At Verizon, we continue our efforts to enhance your online experience as well as ensure ongoing sec

  • Searching for Queries

    Hi, once again. I did already post my qestion and got the list of tables from you. I thought thats it and was trying to solve my problem, but the information I get from the tables below are useless I guess. I would like to say in a selection screen t

  • OOP for abap

    good morning to all sap experts, i have a question for any OOP programmers in abap. i have been working in abap for over 12 years, but have not yet transitioned to oop. but, since we have been upgrading to ecc 6.0, i am constantly working with oop cl