ESR Context Objects: using in ABAP or Java

Hello, experts!
Is it possible to use (get values of) Context Objects assigned to Service Interface in ABAP or Java?
If it's possible, than how can we do that?
BR,
Vika

Hello,
Is it possible to use (get values of) Context Objects assigned to Service Interface in ABAP or Java?
Context objects assigned to a service interface can't be retrieved via dynamic configuration hint: I tried it the hard way ;-). Not sure about ABAP, but the same could also be true. I think only the COs that came in with adapter metadata can be accessed(conf.get) and overwritten (conf.put).
Corrections are welcome.
Hope this helps,
Mark

Similar Messages

  • How to get list of custom objects used in abap report program?

    Hi friends,
    I have a requirement in which I have to scan the entire abap report and retrieve list of custom objects used in it for example custom tables, data elements, structures, table types etc,. Is there any provision in SAP like fuction modules to do this functionality?  As of now I am coding everything manually where so many possibilities are there for all kinds of objects. Provide your answers and suggestions...
    Thanks,
    Nastera

    Hi,
    The best way to do this is environment analysis. Follow the steps:
    1. Open se38, type in the program name (don't click on on display/change or create button, stay on first screen only)
    2. Click on environment analysis button (hot key SHIFT+F4)
    3. It will throw a pop-up, which will ask for type of object you want to see, which are linked /used by this program. select all (or may be if you are only interested in Tables, then select table only)
    4. Hit 'Enter'
    You will get the full list of all objects used in this report program. Just note down the one which starts with Z or Y and that's it.
    Cheers,
    Anid

  • Find dictionary object used in ABAP program

    Dear All,
    Pl help me find out all the dictionary objects used in report program and dialog program.
    Input will be program name(report or module pool). output will give name of the database tables used in that program.
    thanks.

    Hi,
    Use the FM RS_PROGRAM_TABLES
    pass the object type as PROG for report and the program name for object name
    Vikranth

  • Displaying Complex Java Objects using netui

    I have a java object with the following structure.
    obj1
    int name;
    String ID;
    ArrayList obj2;//coniatns multiple obj2 objects
    obj2
    int name;
    String ID;
    ArrayList obj3; //coniatns multiple obj3 objects
    obj3
    int name;
    String ID;
    How and what netui tags can I use to display this kind of structure for obj1?
    I tried repeaters and it is not working for me.
    Also if I have a structure like this
    ArrayList obj4; //contains arrays's of multiple items.
    obj4
    String[] eventTime;
    String[] eventDate;
    How can I display this in a grid fashion using netui? The netui:gid tag only
    wirks with RowSet and I have an ArrayList?
    If I want to use simple jsp and not use netui tags what is the context for accessing
    my form that I have in my page flow from the jsp? e.g. if I have a form in my
    page flow called listForm which has gets and sets for
    String[] eventTime;
    String[] eventDate;
    what is the context I use in my jsp to print values of eventTime and eventDate
    in a grid like fashion without using nteui? I tried 'request' context but it
    does not work. In netui we can use actionForm or pageFlow etc but what about
    simple jsp context?
    Please reply soon. Thanks

    Try the <netui-data:getData> tag in the workshop documentation, It gives an example
    "Kush" <[email protected]> wrote:
    >
    I have a java object with the following structure.
    obj1
    int name;
    String ID;
    ArrayList obj2;//coniatns multiple obj2 objects
    obj2
    int name;
    String ID;
    ArrayList obj3; //coniatns multiple obj3 objects
    obj3
    int name;
    String ID;
    How and what netui tags can I use to display this kind of structure for
    obj1?
    I tried repeaters and it is not working for me.
    Also if I have a structure like this
    ArrayList obj4; //contains arrays's of multiple items.
    obj4
    String[] eventTime;
    String[] eventDate;
    How can I display this in a grid fashion using netui? The netui:gid
    tag only
    wirks with RowSet and I have an ArrayList?
    If I want to use simple jsp and not use netui tags what is the context
    for accessing
    my form that I have in my page flow from the jsp? e.g. if I have a form
    in my
    page flow called listForm which has gets and sets for
    String[] eventTime;
    String[] eventDate;
    what is the context I use in my jsp to print values of eventTime and
    eventDate
    in a grid like fashion without using nteui? I tried 'request' context
    but it
    does not work. In netui we can use actionForm or pageFlow etc but what
    about
    simple jsp context?
    Please reply soon. Thanks

  • Commenting a Line in ABAP Editor when using SAP GUI for java

    Hi,
    In ABAP editor we can highlight the line which are to be comment and use cmd+< sign to comment those lines. What will be the command to be used to achieve the same functionality when using SAP GUI for JAVA on an iMac.

    Hello Kedar,
    please check with SAP GUI for Java 7.20 rev 5 before submitting a bug report.
    Also please verify, that cmd-< and cmd-> are not assigned as "Keyboard Shortcuts" in the "Keyboard" control panel of "System Preferences".
    Bug reports can be submitted with the [SAP Message Wizard|http://service.sap.com/message], for SAP GUI for Java please use component BC-FES-JAV.
    Best regards
    Rolf-Martin

  • How to get the context data using java script in interactive forms

    Hi All,
    How to get the context data using java script in interactive forms by adobe,  am using web dynpro java
    thanks.

    Hi venkat,
    Please Refer this link.
      Populating one Drop-Down list from the selection of another Drop-down list
    Thanks,
    Raju.

  • Container operation step in BPM using context object

    Hi all,
    in my BPM I have a send step using the file adapter. The file adapter builds a dynamic filename.
    Now I want to have the filename back into an acknowledgement. First, I need it in the container, right?
    So after the send step, I have a container operation step as follows:
    target: simple string
    mode: assign or append, doesn't matter
    expression: In expression editor, I select Interface variable 'message', then context object 'FileName' from namespace http://sap.com/xi/XISystem/File
    This should be the filename from the fileadapter, right?
    In SXI_Cache, I get return code 99:
    The Value of Expression '&MESSAGE.FILENAME&' Cannot Serve As the Source of an Assignment
    Why is there a context object, if you can' t use it??

    As far as I know, the filename in the Dynamic Header will be lost in when the message enters the BPM.
    As a work around, make a mapping at the Interface Determination level that reads the filename from the SOAP header and sets it into the payload which can be accessed inside the BPM.
    Reason the way I see this that the BPM does not store the filename is ,
    1. What if you have multiple receive steps in the BPM with a fork.
    2. How would the context object know which filename you want to read?
    The reason you see this in the context object is because all Context Objects are the info you get from the Adapter metadata.
    Regards
    Bhavesh

  • Regd using of lock object in an abap program

    Hi all,
         i have created an lock object but doesnot know how to use that lock object in an abap program. can anyone guide me how to use lock object in an abap program.

    check this sample for Production Order.
    <b>* Lock request for order
    call function 'ENQUEUE_ESORDER'
    exporting
       aufnr                = p_aufnr
    exceptions
       foreign_lock         = 1
       system_failure       = 2
       others               = 3
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.</b>
    Regards
    Prabhu

  • What is context objects and how we can use it Receiver Determination

    hi,
    i have situation here a idoc is triggered into the xi and i need to use the conditions in the receiverdetermination in that condition i need to use  context object how i can use it? and what is the difference it makes and why i need to use it?
    thanks in advance
    Amaresh

    HI,
    Context objects are alternative to XPATH expressions. It is like macros in other programming langugage. If you define this , you can use this object in the receiver determination while doing conditional receiver determination
    For more-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
    /people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
    Regards,
    Moorthy

  • Reusable objects using web dynpro java...any suggestions ?

    Hello All,
    I want to create few Reusable objects using web dynpro java. Please suggest some scenarios.
    regards
    Mrinalini.

    Hi,
    I can suggest especially this one:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30d56578-f7e5-2a10-5ab5-8afc55d2e0e8
    Some other hits you may find useful:
    This guide mentions some tutorials about reusability:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ba2db0e5-0601-0010-9790-e271902f2c38?quicklink=index&overridelayout=true
    Here
    Web Dynpro Java [original link is broken]
    and here
    SAP NetWeaver Composition Environment Samples Center [original link is broken]
    you'll find other tutorials as well.
    Best Regards,
    Ervin

  • Persistenance for Java Objects Using Toplink

    Hi All Happy New Year
    I am trying the a tutorial in Jdeveloper 10.1.3.0.4 called
    Provide Persistenance for Java Objects Using Toplink.
    I have followed the instructions and get the following error.
    com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
         at __Proxy1.persistEntity(Unknown Source)
         at acme.ejb.session.EmpSessionClient.main(EmpSessionClient.java:29)
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: java.lang.NoSuchMethodException: acme.ejb.session.EmpSession.persistEntity(java.lang.Object)
    The release notes mention TopLink POJO's Must Implement java.io.Serializable When Returned From a Session Bean's Remote Interface (4902787) When creating a session bean facade for TopLink POJO objects, you must implement java.io.Serializable for each of the TopLink POJO objects returned from the SessionBean facade through a remote interface. This is typically required when using ADF Swing, a EJB Sample Client, or when your EJB Session Bean resides on a separate application server from the client. You can also tell you you need to implement java.io.Serializable when you get the following exception:
    com.evermind.reflect.UndeclaredExceptionTypeException:
    /oracle.oc4j.rmi.OracleRemoteException/
    at __Proxy1.[Your Class Name Here] (Unknown Source)
    The workaround is to manually edit each POJO object to implement java.io.Serializable.
    I have only one POJO which is declared as follows:
    public class EmpInfo implements Serializable {
    Can anybody help me understand what I need to do to get it to work?
    Many Thanks in Advance

    Hi,
    can you send me your test scenario/project at anuj dot k dot jain at oracle dot com. I tried reproducing this but was unable to do so.
    Thanks,
    anuj dot k dot jain at oracle dot com

  • Intersecting Objects using Java

    Hullo everyone,
    I've got a problem at the moment so I've decided to turn to these forums once again for some helpful insight as 2 + hours of Googling hasn't helped me in the slightest. I'm trying to create a mini-scale Katamari game (hopefully you're familiar with it, basically it's one ball rolling over other balls to grow in size) on Java and I've finally got all my graphics and move directions in place. Now though I can't seem to get the collision to work...
    I'm trying to make the Katamari circle intersect with the little circle items on the playing field but currently the ball circle just ghosts over them. So basically I'm trying to get a circle to collide with other circles but I have no idea where to start. :S
    My circle items contain int x, y and radius fields and have been automatically set to their respective sizes by the game.
    I was thinking of working something out like:
    boolean testIntersection(Item item)
    if (distance between katamari ball and item <= radius of ball + radius of item)
    return true;
    else return false;
    But whenever I put something like that in, it still doesn't detect collision. Any thoughts or help on this would be very much appreciated. :)

    If you use object that implement Shape, then there is a contains and a collision implemented in the Shape interface.
    Aside from that, you need to calculate from the center point of both your objects to get a true distance:
    if your objects use an upper left corner for the drawing location and that is what your x and y represent, then you need to translate that to the center of your object. The distance between you objects can be given by:
    sqrt((X2-X1)^2 + (Y2-Y1)^2)
    Where X1, X2, Y1, and Y2 are center coordinates of your object.
    Note this well always be a positive value.
    The tolerance of your distances for an intersection would be R1+R2 so you will get the resulting conditional:
    if((R1+R2)<sqrt((X2-X1)^2 + (Y2-Y1)^2) {
      //what ever collision code you want
    }Please note, that you may want to include equality into your conditional and use the "<=" comparator, to include the condition that they "kiss".
    Also please note that these values need to be implemented in double, rather than int to do away with errors introduced by integer math and when you do implement using double, then double introduces it's own set of errors due to incapability to absolutely represent values not inherently reproducible by the double type. To over come that you may want to implement using a delta value or "close enough:
    {code}
    if(delta < abs(((R1+R2)-sqrt((X2-X1)^2 + (Y2-Y1)^2)) {
    //what ever collision code you want
    {code}

  • If we want to transfer data to multiple receiver using context object, how

    If we want to transfer data to multiple receiver using context object, how many receiver determinations we need to create?

    Hi Chiru,
    Just go thro' the below links for sending data to multiple receivers:
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    Conditions in Receiver Determination
    I hope this helps.
    Regards.
    Praveen

  • Guide procedures (callable objects ) using ABAP API.

    Hi,
    Is it possible to develop callable objects using ABAP APIs?
    IF yes how ?
    Regards
    Nisha

    hello Nisha,
    Plz see the basic information link on GP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831

  • How can i return object from oracle in my java code using pl/sql procedure?

    How can i return object from oracle in my java code using pl/sql procedure?
    And How can i returned varios rows fron a pl/sql store procedure
    please send me a example....
    Thank you
    null

    yes, i do
    But i can't run this examples...
    my problem is that i want recive a object from a PL/SQL
    //procedure callObject(miObj out MyObject)
    in my java code
    public static EmployeeObj callObject(Connection lv_con,
    String pv_idEmp)
    EmployeeObj ret = new EmployeeObj();
    try
    CallableStatement cstmt =
    lv_con.prepareCall("{call admin.callObject(?)}");
    cstmt.registerOutParameter(1, OracleTypes.STRUCT); // line ocurr wrong
    //registerOutParameter(int parameterIndex, int sqlType,String sql_name)
    cstmt.execute();
    ret = (EmployeeObj) cstmt.getObject(1);
    }//try
    catch (SQLException ex)
    System.out.println("error SQL");
    System.out.println ("\n*** SQLException caught ***\n");
    while (ex != null)
    System.out.println ("SQLState: " + ex.getSQLState ());
    System.out.println ("Message: " + ex.getMessage ());
    System.out.println ("Vendor: " + ex.getErrorCode ());
    ex = ex.getNextException ();
    System.out.println ("");
    catch (java.lang.Exception ex)
    System.out.println("error Lenguaje");
    return ret;
    Do you have any idea?

Maybe you are looking for

  • How to populate address details in IDOC

    HI, I am creating customer master using OILDEB06 IDOC. However I dont see the fields like SMTP_ADDR, SORT1, Street 5 etc in the idoc segments. How do I pass all the address details along with my IDOC. Do I need to use some BAPI or am I missing someth

  • Possible to choose where windows open?

    On my system documents open in the top left corner of my screen, and since I keep panels open on the left the documents are obscured and need centering. Is it possible to have windows open centered to the monitor or work area?

  • WRT58GS not finding internet

    My riouter worked great for about 2 months. Now can not find internet.  Setup runs all way to finding internet.  have connected cable from modem to router.  Setup can not find internet.  I can plug cable from modem to pc and internet connects find. 

  • HT4623 What is a pairing record ?

    I am unable to download apps or music to my i-phone as the pc tells me that there is no pairing record. I have changed my pc since last downloading or syncing but I did transfer all the data from my old pc to my new one. I have tried all the possibil

  • Premiere CS6 Sequence AVCHD Scrubbing is not Smooth

    Does anyone know if Premiere Pro CS6 fixed the AVCHD file scrubbing issues?