ABAP Objects - getting a value of 'h'!!?! - what's going on!!??!?!?

Howdy,
I've got an objects question and its driving me crazy.
Basically I have two methods in a class.
Method 1 passes values to method 2.
Method 2 does some calculations and then passes the values to method 1.
Well, that's how things are supposed to work. instead the exporting value in method 2 gets populated witha 'h', which is then not passed to method 1 ?
Anyone got any idea what is going on????

Hi Steve,
are we using same language? I'm using little bit different syntax:
  CALL METHOD assign_object->method_2
    EXPORTING
      imp_http = imp_http
    IMPORTING
      edurl    = l_var_edurl.
Look's pretty much like function module calls. 'assign_object' would have been created in beforehand by CREATE OBJECT, inside same class you can use
  CALL METHOD me->method_2...
Regards,
Christian

Similar Messages

  • In attempt to burn blu-ray, I get QuickTime error 0.  Takes hours to export a 7 minute movie from timeline, then get notice it fails.  What's going on here?

    New problem just started 24 hours ago.  When I try to export from the time line to create a QuickTime file, a 7 minute movie on time line takes 3 hours to export and then the export fails, where as a few days ago, that export would take about 10 minutes at most.  I get the same failure notice when I try to share to blu-ray, DVD, or Vimeo.  Tried to use compressor, no such luck as compressor failed to make a .mov file.  I get QuickTime error 0 message about 5 minutes into trying to share to Blu-Ray now.   Does anyone know what is going on here?  I'm running latest update of Snow Leopard on an intel Mac Pro and the latest update to Final Cut Pro X.  I've also installed QT 7.6.6 to use in creating time lapse movie files.

    Same problem here, too. Final Cut Pro X 10.0.3 on OS 10.6.8. However, it is only doing it on ONE of my projects. A 4-second test project burned successfully.
    I'm  actually going to use iDVD to burn copies for a few people, so I only need the movie file from FCPX.
    Would someone please post best export settings for use on a DVD? In FCPX, the project is  in HD (1080p) with all media optimized to ProRes 442. I know it will have to be down-sampled to DVD resolution, but I've always been curious to know what settings will result produce the best possible quality in DVD resolution.
    Thank you!
    Bart

  • Cannot play video and cannot get flash player to install what is going on..

    I can no longer play video. no matter what i do. I have followed in detail the instructions for flash player and cannot get it to install, what is going on.........

    I can no longer play video. no matter what i do. I have followed in detail the instructions for flash player and cannot get it to install, what is going on.........

  • I updated the software which was supposed to allow deleting photos from photos and it worked for a time and now only let's me delete a few of them.  Also I found that the photo section tripled some of the photos and I can't get rid of them.  What is going

    I updated the software as required for the iPad and now I can no longer delete photos from the app in the photo section.  I had been able to do it but now there are multiple photos of the same pic and I can't remove any of them.  What is wrong?

    Photos in the Camera Roll or in the Imported Images album can be deleted within the album. One the album and select the icon with the curved arrow. Then tap on the photo or photos you want to delete to select them. Finally tap delete.
    For photos in other albums you delete them by moving them out of the albums they were in on your computer. If you're using a Mac open iTunes on your Mac and move the photos out of the album then go through the sync process with your iPad.
    If you're using a pc then move the photos out of the folders they are in and go through the sync process.

  • Everyday I load firefox in morning & at the top next to the firefox icon it is written in english. But after a little while it all turns to asian (chinese/japanese) characters. I have to restart my computer to get the english back. What is going on?

    Has firefox been hacked? It is freakin me out & I am going to switch browsers if this cant be corrected.

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • What is the first step of an abaper after getting the FDS

    what is the first step of an abaper after getting the Functional Document ?what we have to do? how to analyze it , and how to face such interview questions on FDS TDS . any resource available.

    Hi,
    After getting the FDS , first understand the functionality of the requirment or take the help of the functional consultant and then start preparing TS ( TEchnical Specification) and do coding  and get your doe reveirewed and prepare test cases and do testign in sand box and quality environment and after having got the confrimation that the requirment is met then port it to production.
    Regards,
    Irfan
    Note: Please award helpful answers.

  • ABAP objects - what a headache!!!

    Howdy,
    Objects is really getting me down.
    I had a program that worked really nicely when I'd created the classes locally within the program.
    Now I've created the class globally via SE24 and whenever I try to run the program I get a dump beacuse of a null value (?).
    Anyway I think this is occuring because I have this code:
    DATA: r_html TYPE REF TO zzcl_http_assign.
    and then when I try to create the object via:
      CREATE object r_html.
    I get an error saying that:
    "You cannot create an instance of the class "ZZCL_HTTP_ASSIGN" outside the class. -"
    Anyone have any idea what is going on????

    Also, I know that it is a little confusing now(ABAP objects),  but keep working with it, eventually it will just click.  Good Luck.
    Regards,
    Rich Heilman

  • How to get a value from an object

    Here is the concept of something I want to do in PowerShell:
    $exp = get-process explorer | select *
    $pms64 = get_value( $exp, PagedMemorySize64 )
    As I see it, the value would be available to use.  Using that technique I could get other values then order them to write to a log file. 
    How should I do this? 
    Please make the answer as simple as possible.  What search term can I use to find a tutorial on this topic?
    ~jag77 We need to know what a dragon is before we study its anatomy. (Bryan Kelly, 2010)

    Hi,
    Here's a simple way to get at a single property:
    $pms64 = (Get-Process explorer).PagedMemorySize64
    $pms64
    For the purpose of writing to a log file, you'd be better off piping the object through Select-Object to get the properties you're interested in and then into Export-Csv or Out-File to create the output.
    Get-Process explorer |
    Select-Object -Property Name,Id,PagedMemorySize64 |
    Export-Csv .\explorerStats.csv -NoTypeInformation
    Some reading material:
    http://windowsitpro.com/powershell/powershell-objects
    EDIT: Also, I do highly recommend that you look through the link jrv has posted. There's good information there.
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • How to get the values from object ?

    hi everybody,
    i am experimenting with oops concept. first have a look at these coding and then tell me this.
    what do i have to do to get the value of an object created. i want to use the get method to get the name, food and quantity, without the use of the created object. i mean i want to make the process independent of how many objects i make so that i can find a value given the name of a person in the object.
    when this is done, i want to use this to create filed of a specific doc format for each object created. now when we are using the get method i want to read whats on the object value .
    Am i being clear or are thing very confusing, please let me know wht u think so i can clarify myself more.
    public class obj {
         String name;
         String food;
         int quantity;
         public void set(String ndata, String fdata,int qdata )
              this.name=ndata;
              this.food=fdata;
              this.quantity=qdata;
         public  void get()
              System.out.println( this.name+"  "+this.food+"  "+this.quantity);
         public static void main(String[] args) {
              obj obj1= new obj();
              obj1.set("varun", "burger", 2);
              obj obj2= new obj();
              obj1.set("roshan", "diet pepsi", 1);
              obj obj3= new obj();
              obj1.set("aman", "biryani", 2);
              obj2.get();
    }

    cyberpanther wrote:
    hi everybody,
    i am experimenting with oops concept. first have a look at these coding and then tell me this.
    what do i have to do to get the value of an object created. i want to use the get method to get the name, food and quantity, without the use of the created object. no. wrong.
    i mean i want to make the process independent of how many objects i make so that i can find a value given the name of a person in the object.no. sounds more like you're experimenting with drugs.
    when this is done, i want to use this to create filed of a specific doc format for each object created. now when we are using the get method i want to read whats on the object value .
    Am i being clear or are thing very confusing, please let me know wht u think so i can clarify myself more.you're clearly confused.
    public class obj {
         String name;
         String food;
         int quantity;
         public void set(String ndata, String fdata,int qdata )
              this.name=ndata;
              this.food=fdata;
              this.quantity=qdata;
         public  void get()
              System.out.println( this.name+"  "+this.food+"  "+this.quantity);
         public static void main(String[] args) {
              obj obj1= new obj();
              obj1.set("varun", "burger", 2);
              obj obj2= new obj();
              obj1.set("roshan", "diet pepsi", 1);
              obj obj3= new obj();
              obj1.set("aman", "biryani", 2);
              obj2.get();
    }utterly awful code. this is how it should not be done.
    %

  • How to get Multiple Values for a key from a session object?

    Hi,
    It might seem dumb but I am facing a problem here with the session object. I'll paste the session object's content from the netbeans "Local Variables" window for clarity -
    Name Type Value
    hsession StandardSessionFacade #66
    session LWSFSession #69
    inherited
    attributes Hashtable #80
    [0] Hashtable$Entry "cart"=>#115
    key String "cart"
    value DummyCart #115
    item null
    submit null
    v Vector
    [0] String Full Metal Jacket
    [1] String As Good As It Gets
    [2] String Tim
    What I want is to get the values "Full Metal Jacket", "As Good As It Gets" and "Tim" from the session obejct?
    The problem I am facing is that if I do a session.getAttribute("cart"), I'll get a single value in return. What will that value be? Will it be "item", "submit" or "v"? And if I want all the values in v above, how can I get them?
    Thanks.

    None of the above.
    HttpSession.getAttribute() will return what you put into it using HttpSession.setAttribute(). In your case, it'll return an Object which you need to cast to DummyCart. Then you can access the data in DummyCart using the API of the DummyCart class.
    hth

  • How to get the values of the objects inside an object??

    Hi,
    I am trying to write code to display name and memory usage of all session attributes, in a recursive way.
    I suppose reflection is needed here, but I can’t figure out how to get the values of the objects inside an object...
    private void handleIt(String attributeName, Object attributeValue) {
         boolean isPrimitiveOrNull = ((null == attributeValue) ||
              (attributeValue.getClass().isPrimitive()));                                         
         if (isPrimitiveOrNull) {
              sb.append("{" + attributeName + ":" + sizeOf(attributeValue) + "}");
         } else {
              sb.append("{" + attributeName + ":" + sizeOf(attributeValue) + "{");               
              Field[] fields = attributeValue.getClass().getDeclaredFields();
              int lim = fields.length;
              String name;
              Object value = null;
              for (int i = 0; i < lim; i++) {
                   name = fields.getName();
                   //LOOK AT THIS LINE: !!!!!!!!!!!!!!!!!!!!!!!!!!!
                   value = fields[i].get(obj); //I don´t know what 'obj' should be??
                   handleIt(name, value);
              sb.append("}");               
    Any suggestions will be greatly appreciated...

    I realized that massive int objects called MAX_VALUE, MIN_VALUE and SIZE where causing the StackOverflow, so I removed them from the analysis.
    This is the resultant code. But I think it isn’t accurate in calculating the real size of objects being got using reflexion.
    Do you or somebody have any more suggestions?
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.ObjectOutputStream;
    import java.lang.reflect.Field;
    import java.util.Enumeration;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    public class SessionMeasurer extends HttpServlet {
         private static final long serialVersionUID = 1470488362727841992L;
         private StringBuilder sb = new StringBuilder();
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              performTask(request, response);
         public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              performTask(request, response);
         public void performTask(HttpServletRequest request, HttpServletResponse response) {
              HttpSession     session = request.getSession(false);     
              String attributeName = "";
              Object attributeValue = null;
              for (Enumeration<?> attributeNames = session.getAttributeNames(); attributeNames.hasMoreElements();) {
                   attributeName = (String)attributeNames.nextElement();
                   attributeValue = session.getAttribute(attributeName);
                   handleIt(attributeName, attributeValue);               
              System.out.println(sb.toString());
         private void handleIt(String attributeName, Object attributeValue) {           
              if (attributeValue != null) {          
                   boolean isPrimitive = attributeValue.getClass().isPrimitive();
                   if (isPrimitive) {
                        sb.append("{" + attributeName + ":" + sizeOf(attributeValue) + "}");
                   } else {
                        sb.append("{" + attributeName + ":" + sizeOf(attributeValue) + "{");               
                        Field[] fields = attributeValue.getClass().getDeclaredFields();
                        String name;
                        Object value = null;
                        int lim = fields.length;
                        for (int i = 0; i < lim; i++) {
                             name = fields.getName();                                                                                                         
                             if (!name.endsWith("_VALUE") && !name.equals("SIZE") && !name.equals("serialVersionUID")) {
                                  try {
                                       value = fields[i].get(attributeValue);
                                  } catch(Exception e) {
                                       //PENDIENTE: Tratamiento excepción
                                  handleIt(name, value);
                        sb.append("}");               
         private int sizeOf(Object obj) {
              //Valid only for Serializables
              ByteArrayOutputStream baos = new ByteArrayOutputStream();
              ObjectOutputStream oos = null;     
              byte[] bytes = null;               
              try {          
                   oos = new ObjectOutputStream(baos);
                   oos.writeObject(obj);
                   bytes = baos.toByteArray();
              } catch(Exception e) {               
                   //PENDIENTE: Tratamiento excepción
              } finally {
                   if (oos != null) {
                        try {
                             oos.close();
                        } catch(Exception e) {
                             //PENDIENTE: Tratamiento excepción                         
                   if (baos != null) {
                        try {
                             baos.close();
                        } catch(Exception e) {
                             //PENDIENTE: Tratamiento excepción                         
              int size = -1;
              if (bytes != null) {
                   size = bytes.length;
              return size;          

  • How to add get Day value in a Date object?

    Hi,
    I am writing a sql statement that has two date values. One I am getting it from the database. The format in the database is MM/DD/YYYY. My first question is how do I convert the format into the java date format, YYYY-MM-DD. The second question is I need to find out what the day is and add 1 to it. How do I get Day value in a Date object?
    Thanks.

    Look at "SimpleDateFormat" and "parse" in the archives.

  • What is the equivalent for 'On Change of' Event in ABAP OBJECTS?

    What is the equivalent for 'On Change of' Event in ABAP OBJECTS?  and how to use it in LOOP control?

    hi,
    There is no such Equivalent in OO ABAP.
    You have to Raise your own Event within tha class checking the value of the field whose value is changing.
    Regards
    Sumit Agarwal

  • How can i get the value stored in the session object using its sessionid

    how can i get the value stored in the session object using its sessionid by running stand alone java application

    myforum wrote:
    how can i get the value stored in the session object using its sessionid by running stand alone java applicationThis does not seem to make sense! You need at least to give a lot more detail of what you are doing.

  • Object - MLST_NETW container not getting the values?

    Hi,
    I created a custom FM for the object -  MLST_NETW and event STARTED 
    and in the workflow container  I created Element for this object - by selecting Obect type  - MLST_NETW
    Now the problem is - When we do status change in tcode - CJ20N it is triggering the custom worklfow but in the worklfow container it is not getting any values.  Container fields are empty.  I need to get the project defination field value to the workflow.
    Can any one tell me what could be wrong?
    Thanks in advance.
    M.

    Hi Murali,
    Yes. Binding for event to workflow not defined.
    For that, press Ctrl + F8 in the workflow template then it will take you to verision dependent tab. There you can find the start events tab.
    Here only you entered the Business object and event. Right? So there one button is there for binding. CLick on it and check whether event to workflow binding has done or not.
    Event container EVT_OBJTYPE should binded with your workflow business object.
    Thanks.

Maybe you are looking for

  • "�" instead of Emoji icon on iCloud calendar

    Dear Apple Community, my first question is: Apple, are you kiding me (us)?! The problem is, after 2 weeks, still there! Just swich that Emoji option "on" again. That's what you have switched "off" the last iCloud Server Problem, isn't it? Well, since

  • How can I watch tv showers in my ipad purchased from apple tv

    Hi? I purchased tv showers using my apple tv but I wanna watch it from my iPad ? How

  • Code signing and Timestamp Server Error

    Warning: I've got exactly 2 days experience with AIR but a client wants to add file IO capabilites to a touchscreen/Flash application we developed and AIR seems to be our only choice. From CS4 I can publish an AIR 1.5 application with a self signed c

  • Removing myself as administrator

    I am donating my old iMac PowerPC G4 to charity. I have already securely wiped the hard drive and removed all applications that did not ship with the operating system. How do I remove myself as sole administrator and remove my password? I want to eli

  • 60 minutes from office 365

    i activated the 60 minutes for skype and can see them on the skype acount on the computer but they are not appearing on my cellphone which i use for skype, how can i solve this problem?