ABAP Class for BOR IMAGE

Is there an ABAP Object class which wraps or implements the BOR IMAGE?
( In particiluar, I wan't to be able to use the display method. )
Thanks...
,..Mike

closed

Similar Messages

  • BOR or ABAP Class for MM41

    Hi all.
    I am wondering whether anyone ever use workflow in transaction MM41.
    Does SAP provide standard BOR or ABAP Class for transaction MM41.
    I  know there is BUS1001006 but this only get triggers from MM01.
    Does user exit or BADI is the only way to trigger workflow from MM41?
    Thanks

    Hello,
    It might help if you said what MM41 was.
    As usual, turn on the event trace (SWELS), create and save something in your chosen transaction and then check the event trace (SWEL) for any events.
    regards
    Rick Bakker
    hanabi technology

  • Include in ABAP class for Workflow

    Hi,
    In order to use BOR macros inside ABAP class, (From SAP help) came to know that we need to use include <cntn02> .
    How to add this include to ABAP class for workflow?
    Regds,
    Akshay

    Hi Akshay,
    Slight difference, I said "keeping the class clean of BOR <i>code</i>". By all means use BO's in the class: basically create a ZCL_MATERIAL, and use BUS1001 as an attribute (I use a naming convention BO_* for these). As long as it's the right type (SIBFLPORB I think - no system handy right now), and the key values are populated correctly the system will instantiate it as necessary. So in WF I can refer to ZCL_MATERIAL.BO_MATERIAL whenever I need any of the BO's functionality.
    You are correct though, creating a proper business class which you can instantiate such as material does involve a fair bit of effort and coding to set up. e.g. my last project I ended up creating one ZBOR subtype because all I needed was one new attribute - definitely not worthwhile creating a new class for. (USR01.zEmailAddress for what it's worth).
    I've said before somewhere, it's not without pain, so if you're under time pressure etc, then it may be better to do whatever's quickest. There's nothing wrong with using BOR macros, it will still work for quite a few versions. I just meant to say that pure class(y) code is a preferred way to go if it makes sense to do so. This is not always the case.
    Hope that helps,
    Mike

  • Error handling in Abap Class for SAP Workflow

    Hi Experts,
    I would like to know if we have an option in abap classes used in workflows to send errors to the workflow log. We can achieve this in BOR Object methods by using the EXIT_RETURN <CODE> var 1 var 2 to send the errors back to the workflow, but how is this achieved through methods from classes  used in workflows.
    Appreciate your quick responses,
    Chaitanya

    Just raise exceptions in the normal OO way. Any exception that is a subclass of CX_BO_ERROR should be automatically available in workflow. Use subclasses of CX_BO_TEMPORARY for temporary errors.

  • Abap Class for Enterprise Service

    Hi guys.
    I've published as webservice in SAP ECC as enterprise service get it in Enterprise Service Workplace.
    I have two questions:
    1- How can I know the abap class associated to this enterprise service.
    2- Could I extend the functionality of this enterprise service? For instance I'd like to response with one more field. Is that possible or I have to create a new one?
    Thaks a lot.
    Regards.
    Edited by: Christian  Abad Chico on Feb 20, 2012 4:03 PM

    Hi
    May be the below link helps you,
    [http://wiki.sdn.sap.com/wiki/display/EmTech/PublishWeberviceinABAP,ConsumeWebserviceinABAPandAdobeFlex.]
    Regards,
    Vijay V

  • Class for moving images (ImageView)

    Hi! I'm trying to create a class for move an image (using ImageView class). For first, I create a simple testing class:
    package javafxapplication2;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.animation.KeyFrame;
    import javafx.animation.Timeline;
    import javafx.scene.input.MouseEvent;
    var image: ImageView;
    var timeline = Timeline {
        def im = image;
        keyFrames: [
            KeyFrame {
                time: 0s,
                values: [
                    im.x => 20.0,
                    im.y => 20.0
            KeyFrame {
                time: 1s,
                values: [
                    im.x => 150.0,
                    im.y => 150.0
    Stage {
        title: "Test"
        scene: Scene {
            width: 550, height: 350
            content: [
                image = ImageView {
                    x: 20.0, y: 20.0
                    image: Image {
                        url: "http://www.google.it/logos/2010/joseffrank-hp.gif";
                    onMousePressed: function(e: MouseEvent) {
                        timeline.play();
    }But it does not works! And I can't use the "bind" variables, because in an extern class like this:
    package javafxapplication2;
    import javafx.animation.Timeline;
    import javafx.animation.KeyFrame;
    var element: Element;
    var fromBoxX : Number;
    var fromBoxY: Number;
    var toBoxX: Number;
    var toBoxY: Number;
    var timeline = Timeline {
        def e = element;
        keyFrames: [
            KeyFrame {
                time: 0s,
                values: [
                    e.x => fromBoxX,
                    e.y => fromBoxY
            KeyFrame {
                time: 1s,
                values: [
                    e.x => toBoxX,
                    e.y => toBoxY
    public function move (el: Element, fBox: Box, tBox: Box): Void {
        element = el;
        fromBoxX = el.matrix.getMatrixIndexes(fBox.location).getY() * el.board.squareSize;
        fromBoxY = el.matrix.getMatrixIndexes(fBox.location).getX() * el.board.squareSize;
        toBoxX = el.matrix.getMatrixIndexes(tBox.location).getY() * el.board.squareSize;
        toBoxY = el.matrix.getMatrixIndexes(tBox.location).getX() * el.board.squareSize;
        timeline.playFromStart();
    public class Elements {}I can't use it!
    Is here anybody that can help me? (Sorry for my bad english)

    It is because the image variable is null when the timiline is createed.
    Try this:
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.animation.KeyFrame;
    import javafx.animation.Timeline;
    import javafx.scene.input.MouseEvent;
    var image: ImageView;
    Stage {
        title: "Test"
        scene: Scene {
            width: 550, height: 350
            content: [
                image = ImageView {
                    x: 20.0, y: 20.0
                    image: Image {
                        url: "http://www.google.it/logos/2010/joseffrank-hp.gif";
                    onMousePressed: function(e: MouseEvent) {
                        timeline.play();
    var timeline = Timeline {
        def im = image;
        keyFrames: [
            KeyFrame {
                time: 0s,
                values: [
                    im.x => 20.0,
                    im.y => 20.0
            KeyFrame {
                time: 1s,
                values: [
                    im.x => 150.0,
                    im.y => 150.0
    }

  • ABAP classes for WebTemplate development

    Hi experts,
    I am manipulating a report via ABAP classes.  I need to hide an entire column including the header.  Currently I have done this under the DATA_CELL method and have only been able to hide the KF area.  If I need to hide the Header in the column (built under a structure) as well must I move all my code under the CAPTION_CELL method instead?
    Secondly, I also need to search for a row by the text "Overall Results."  Is there a quick way to search the Y axis for this particular row using the text "Overall Results?
    mark

    hi Mark,
    you can try in
    method CAPTION_CELL
    if i_iobjnm_row = 'your charateristic to be hidden'.
    C_CELL_TD_EXTEND = 'style="display:none;"'.
    endif.
    and ...
    method CHARACTERISTIC_CELL
    if I_IOBJNM = 'your charateristic to be hidden'.
      C_CELL_TD_EXTEND = 'style="display:none;"'.
    endif.
    and I_IS_SUM <> 'X' if result not hide       
    to search 'Overall Result' (if you didnt get yet), can try
    method CHARACTERISTIC_CELL
    I_TEXT
    not sure what's your requirement, to hide a characteristic you can set it bex query designer, characteristic's property 'display' = no display.
    hope this helps.

  • ABAP Classes for date & day computation

    <<Date questions have been asked so many times that they are not permitted in the ABAP forums>>
    Hello, I have a requirement to get the date of last 2 thursdays. Can somebody please help with the class I should use for the purpose?
    Thanks!
    Edited by: Matt on Aug 16, 2011 11:50 AM

    Hey,
    DATE_COMPUTE_DAY will give you DAY number for any date, with day number 1 as Monday .....4 as Thursday....and 7 as Sunday.
    SO, you can use ..
    data: lv_day type SCAL-INDICATOR,
          lv_diff type i,
          lv_thurs1 type sy-datum,
          lv_thurs2 type sy-datum.
    PARAMETERS: p_date type datum DEFAULT sy-datum.
    CALL FUNCTION 'DATE_COMPUTE_DAY'
      EXPORTING
        date          = p_date
      IMPORTING
        DAY           = lv_day
    lv_diff = lv_day - 4.         "since Thursday is 4
    if lv_diff GT 0.
      lv_thurs1 = p_date - lv_diff.
    else.
      lv_thurs1 = p_date - 7 - lv_diff.
    endif.
      lv_thurs2 = lv_thurs1 - 7.
      write:/ lv_thurs1, lv_thurs2.
    I have not included today's date if it is Thursday, if you want to include it, change 'GT' to 'GE'.
    BR,
    Diwakar
    Edited by: Diwakar Aggarwal on Aug 16, 2011 10:49 AM

  • File to Proxy Scenario using ABAP Class and DB Multi Connect

    Hello Friends,
    I have a scenario below and a proposed solution. I would like some input as to whether i am headed the right way.
    Scenario: Thousands of records come in from the legacy accounting system. The fields of these records need to be mapped to SAP fields using cross-reference tables stored in DB2. Finally, summarize the records by deleting a few fields and feed to R/3.
    Solution i proposed:
    (1) File Adapter is used to send the file
    (2) Although JDBC adapter comes first to mind but since i need to access the DB2 tables multiple times for each record i propose to use an ABAP class for the mapping. Within the ABAP class the intent is to open an database connection to DB2, read the relevant cross tables using native SQL and finally generate the output XML.
    (3) Reciever is Proxy which feeds this generated XML to SAP for creating posting via BAPI_ACC_DOCUMENT_POST
    Question: Is the above solution correct or is there a better method to implement this scenario?
    Please let me know.
    Thanks,
    Minhaj.

    Looks fine. Few observations -
    1. Whether it is ABAP class or Mapping in RFC lookup, you are making multiple trips to the database.
    2. It looks like PI is being used only for reading the file and converting it to XML.
    3. If using PI is not mandatory, then a complete ABAP class on ECC it self would be faster than swtching between PI Java, PI ABAP then round trips to DB2 finally data push to ECC.
    If you could look at something like fetching all the required RFC look up data in one go and then map the fields according, might save u on processor and network resources.
    VJ

  • Disable link for a Image in Content editor web part

    Hi
    i want to disable hyperlink for a banner added using content editor web part. Instead of hiding using Target Audience, i want to disable the link.
    Please help me how can i achieve this?
    regards,
    Vinay
    Thanks and Regards, vinnu

    Hi Vinay,
    I recommend to disable the link for an image using Jquery in Content Editor web part.
    First, you need to use F12 tool in Internet Explorer(IE) to get the html tag for the image, and you’d better find the class or id value for the tag of the image.
    For example, if the class for the image is test, then the code should be:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
    <script type="text/javascript">
    $('.test').click(function(e) {
    e.preventDefault();
    </script>
    You can also paste the code of the image here for further research.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Hide a specific cell using ABAP classes

    Hi Experts,
    Is there a way to hide a specific cell using ABAP classes for reports?
    Marcelo

    Hello Thomas Daly
        I never saw a way to grant permission to a List, the only way I ever saw a list get its permissions is thru
    the group site it resides in, the Discussion Board is the problem in this case (it has preconfigure permissions but they seem more like properties that you select the value from RadioButtons).  However, ms-addnew gets rid of the Add new link but it
    gets rid of the one in the Discusson Board too because Discussion Board falls in the category of List.
        In other words ms-addnew in the master got rid of all of the Add new items, link etc as hoped but now
    I can't add to the Discussion Board.
        I am alright with a hack (I am open to any suggestions) that would work if it works but, the List's I am referring to are all "Links" in the Quick Launch so I dont know how you would be able to apply the jquery, how would you apply the
    jquery to a Links in a Quick Launch?
        Thank you
        Shabeaut

  • BOR Object and ABAP Class

    Hi,
        Can anybody say when to use BOR object and Abap class in the task with an example.
    Thanks,
    Mugundhan

    There is no any specific condition or rule that for this purpose you need to use BOR and Class , it depends on your requirement. not only the requirement but also the new techniques to make classes not just as simple way to create objects but when you use classes in the Workflows they are not simple classes but they are BUSINESS CLASSES which makes a lot of difference.
    Check the blogs of [Jocelyn Dart|https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action%3fpageid=55566]

  • BOR Object or ABAP Class

    Hi Experts,
    We are implementing the Leave Request WF using WS12300111. The user raises a leave request from the portal.
    As per the functional point of contact, they have said that this WF can be set up in the configuration in SPRO to be triggered when a leave request is raised.
    When we saw the standard SAP provided WF, the steps in it are based on ABAP class. I just want to know if the approach has to be only using ABAP classes or can BOR objects be used.
    We require some customizations in the sense, we need to add some custom logic to retrieve some data from some custom tables and also display the same.
    Kindly let me know if we need to use ABAP classes or we can use a BOR Object.
    Cheers,
    Belinda Clarke

    Hi Karri,
    Thanks a lot for your response.
    I was actually evaluating the possibilities of the same as our WF consultant is currently on leave. I was just seeing a scenario where they have used BOR Object for Travel and Expenses module. When i saw the standard WF for Leave Request WS12300111, I was seeing mainly ABAP Objects and there was no BOR objects used.
    I just wanted to confirm whether we could create a BOR Object or go on with the ABAP Classes. Does the ABAP Classes involve a lot of effort? We need to actually send email notifications and add some new steps etc...so was just thinking as to which would involve more effort.
    We need to actually retrieve data from table PTREQ_ATTABS and send the email notification to the concerned user whenever the leave request is approved/rejected/cancelled as shown below :
    Your leave request has been approved/rejected
    Name : abcde
    Emp No : 123456
    Type of Leave : Annual Leave
    Date : 7th July to 11th July
    No. of Days : 3 days
    So do u imply that all of this can be done with an ABAP Class
    Could you kindly guide us.

  • BOR reference in ABAP Class

    Hello,
    I am writing method in ABAP class which I will link to the Workflow Step. I want  to access values of one of the Workflow Element which is Multiline and refering to BOR Object Type. My queries are as below:
    1. How should I define Importing Parameter of Method which will import values from the Workflow Element which is Multiline and refering to BOR object type.
    2. If I change value of that Workflow Element (Multipline refering to BOR object type)  in ABAP class method, will it be automatically reflected in Workflow Container due to binding?
    Edited by: Ashwin Sonkusare on Apr 1, 2011 3:35 PM

    Hi,
    1. How should I define Importing Parameter of Method which will import values from the Workflow Element which is Multiline and refering to BOR object type.
    Please create a table type same as workflow multiline element type. ( You can also use standard table if present ).
    Then use this table type as the type of the import parameter of the class.
    Then u can pass the multiline element of workflow to  abab calss
    2. If I change value of that Workflow Element (Multipline refering to BOR object type) in ABAP class method, will it be automatically reflected in Workflow Container due to binding?
    If u change the Workflow Element (Multipline refering to BOR object type) in ABAP class method, then  u need to update the values of the workflow multiline element through reverse binging ( binding abap class to WF ).
    Thanks and regards,
    SNJY

  • I need a driver for canon image Class LBP6000 for Mac Mini Yosemite

    I need a driver for canon image Class LBP6000 for Mac Mini Yosemite

    Go to: > http://www.usa.canon.com/cusa/consumer/products/printers_multifunction/laser_pri nters/imageclass_lbp6000#DriversAndSoftware
    It does not look like the Canon driver has change from Mavericks to Yosemite.
    If you just updated from Mavercks to Yosemite, see > OS X Mavericks: Reset the printing system
    If you have a new or clean install of Yosemite, see  > OS X Mavericks: Set up a printer

Maybe you are looking for

  • Sun ONE Studio 4 CE (Can't seem to edit)

    I can't seem to edit a certain segment of code. More specifically, the initComponents method. Please refer to the picture. http://www.sugarworldinc/JavaOne_question.gif I also right clicked the node, and there doesn't seem to be any option to make it

  • Examples of Output Files in Adobe CS5.5 - Todd Kopriva Disk Optimization Question

    Hello Todd Kopriva Your video on Disk Drive Optimization is excellent. I went out to purchase (2) Raid-5 (8 TB) units. I had a question regarding Read Files going to one Disk and Output Files going to another. Can you give some examples of what type

  • Flex/Air Developers Wanted -- Hot Mobile Analytics Startup (santa clara)

    We are an emerging mobile analytics company that have been fortunate to have alot of execution, pr, buzz and all round excitement. We are looking to further build out our Flex Team and are looking for experienced Flex developers REQUIREMENTS: • Bache

  • Install Solaris on External Firewire Disk

    Hello All, I have a laptop running windows 2000 and I have a External Firewire Hard Disk of 60 GB. Now my question is, " Is it possible to install Solaris 8 on this external Firewire Hard Disk". When I tried installing, It did not find the external F

  • Do I need to install graphmatica with wine?

    I'm looking for 2d plotting utility I tried gnuplot, but it's not what I'm looking for, I found kmplot which is pretty much what I want but I'm not willing to install kde for a single (openbox user) Also I looked into geogebra but I use x64 and java