Can I add my own methods to a transformation?

I need to fill an internal table with content from a DSO before the transformation starts. Since data is loaded in parallell in several packages I have declared the table as a static (class-data). The loading and sorting of the itab takes some minutes and needs to be finnished before the transformations can begin. I thought to do the loading into a separate method setting a flag with itab is ready.
I could make a global class and call that from the start_routine method, but is it allowed/any reason not to make own methods inside lcl_transform?
Also related - Can 2nd part global be used for own local classes?

Hi
In this kind of scenario you can create an instance for the class and ;ake the values to be populated in the constructor of the class
While instantiating the object just ue the following code.This can be done in the class implementation part.
If <obj name> is initial.
  create object <obj name>.
ENDIF.
Prathish

Similar Messages

  • How can I add my own dynamic flash to Apex Applcation?

    Hi all,
    Can I add my own flash to Apex applcation and enable the flash to communicate with my applcation using XML?
    I want to customise the action of my flash. The flash will get a xml from a PL/SQL procedure just as flash charts get xml from apex_util_flash.
    Is it possible to call a PL/SQL procedure or an apex application process from a flash?
    Is there another way of doing this?
    thanks

    I haven't tried any coding experience in flash , so my answer would be a bit vague.
    But I am basing my logic on this thread Calling PHP function from Flash (it says PHP but the code example involves a server request from flash)
    Set up an Application process that returns your XML (as the server response using ht.p)
    // object which sends to php
    var send_lv:LoadVars = new LoadVars();
    // object that receives
    var load_lv:LoadVars = new LoadVars();
    // the load_lv accepting variables
    load_lv.onLoad = function(success:Boolean)
        if(success)
                 //Do your thing here
                 //Parse the XML in flash using this valiable as the source
            else
                trace("load error goes here")
      $.ajax({
      type: "POST",
      url: "wwv_flow.show",
      data: {
      p_flow_id : $v('pFlowId'),
      p_instance : $v('pInstance'),
      p_flow_step_id : 1,
      p_request : ""
    //This section is based on the documented server request format using jQuery (given in comments above)
    // send_lv sending out variables and instructing the returned variables to go to load_lv
    send_lv.p_flow_id = <fetch page element value of pFlowId>  //corresponding to $v('pFlowId')
    send_lv.p_instance = <fetch page element value of pInstance>  //corresponding to $v('pInstance')
    send_lv.p_flow_step_id = <page number>
    send_lv.p_request  = 'ON Demand Application Process Name'
    send_lv.sendAndLoad("wwv_flow.show",load_lv,"POST");-------------------------------------------
    You might also be interested in this flash library named SWFHttpRequest Flash/Ajax Utility
    Apparently, it adds a JavaScript object for performing XMLHttpRequest-like requests fro flash.
    Hence you should be able to use you standard javascript like Ajax request using that.
    Else check for similar libraries for flash/give the server request section of your flash documentation a good read.
    You might have to play around a bit with the code and your flash documentation to get it working , but I hope this would have given you some pointers.

  • Can we add our own menu in sap easy access screen

    can we add our own menu in sap easy access screen
    along with the existing menu items...
    ex : can i add the new menu item as help1 on that screen
    regards
       raghu

    go  to transection se43 ...ther e  u can create   ur  own menu list.. and  ur  cusomize transection to that perticular menu list.....
    You can enter the area menu in the command field like any other transaction code, also in menu exits can be filled with a area menu.
    You might play a little with S000 and S001 - when you enter them, the menu tree of easy access changes.
    Do you search for the menu exits to append your area menu into the standard menu tree?
    Message was edited by: kishan negi

  • How can i add my own number in imesseges

    Hi my name is kawaljit kaur.suddenly my phm's imesseges stop working...its just using my apple id which i dnt want...plz tell me how can i add my own cell number in imesseges.thnx

    Hi, Kawaljit kaur.
    Thank you for visiting Apple Support Communities. 
    Here are a couple troubleshooting resources I would recommend when experiencing this issue. 
    Phone number missing on iPad or iPod touch
    If your phone number is not listed on an iPod touch or iPad, follow these steps:
    Update to the latest version of iOS.
    Verify that you're using the same Apple ID that you are using on your iPhone.
    On your iPad or iPod touch, sign out of your Apple ID in the following locations:
    Settings > Messages > Send & Receive. Tap your Apple ID, then tap Sign Out.
    Settings > FaceTime. Tap your Apple ID, then tap Sign Out.
    Sign in to your Apple ID with FaceTime and iMessage.
    If your phone number is still not listed, follow these steps:
    Sign out of your Apple ID on all iOS devices, including your iPhone, in the following locations:
    Settings > Messages > Send & Receive. Tap your Apple ID, then tap Sign Out.
    Settings > FaceTime. Tap your Apple ID, then tap Sign Out.
    Sign in to your Apple ID on your iPhone.
    When activation is complete, your Apple ID and all verified email addresses should be visible in Settings > Messages > Receive At and also in Settings > FaceTime.
    Now sign in to your Apple ID on your other iOS devices.
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    If you experience any issues with activation, see the article below. 
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    Cheers,
    Jason H. 

  • With Adobe Premier Elements 13 can I add my own audio tracks by pulling music from my files and by using my UBS microphone?

    With Adobe Premier Elements 13 can I add my own audio tracks by pulling music from my files and by using my USB microphone?

    larryh
    Please remind us on what computer operating system your Premiere Elements 13 is running
    Using your own music.....
    Yes, with important but.....
    Details
    If your music is from iTunes, more than likely you will get some sort of error message from the program when you try to import the iTunes music into Premiere Elements (most versions including 13). In that case, please convert the iTunes music to the wav version in iTunes using the following iTunes instructions.
    iTunes: How to convert a song to a different file format - Apple Support
    If you are getting program error message using Premiere Elements 13 Add Media/Files and Folder with other than iTunes music, please give the source and properties of that music.
    Using USB Microphone....Not recommended by Adobe....See Adobe ReMe
    Details
    As for Premiere Elements narration clips using the its Narration Tool
    1. Adobe documentation indicates the USB microphone do not work in Premiere Elements and suggest the use of microphones that connect to the computer via computer jack.
    But, there are some scattered cases where the user has found a USB microphone that has worked for him or her.
    2. Be sure to check Edit Menu/Preferences/Audio Hardware ASIO settings to assure that Input and Output are enabled.
    3. There have been reports (Premiere Elements several versions) where addition of narration using the Narration Tool results in loss of pre-existing
    sound on numbered audio track clips and soundtrack.
    ATR Premiere Elements Troubleshooting: PE12: Audio Losses After Narration Addition
    4. In my particular Premiere Elements 13 on Windows 8.1 64 bit, I have found that I need to set the Mic Sensitivity all the way to the left to avoid
    serious audio distortion.
    I have tried to give you an overview to avoid surprises if you have not used the features that you pointed to in your thread question. Please let me know if you need further information.
    Thank you.
    ATR

  • Can I add my own art work to my albums in iTunes and/or share them with the Apple Store for downloading?

    Can I add my own art work to my albums in iTunes and/or share them with the Apple Store for others to download?

    Thanks Brij011
    I thought that there was a way to do this. However, it would be neat to be able to upload correct Art Work for album covers so that other could share instead of having to scan / take picture and then import. I guess Apple would be inodated with incorrect pictures if we could upload to them.
    Oh well... thanks again !

  • How can I add my own files to the TV Shows Library instead of the Movie Library?

    I have my own TV Shows in m4v format.  I can drag and drop the TV Shows into the iTunes Movie Library.  How can I add my files to the TV Shows Library?  Can I group them by show in the TV Shows Library?

    Select the files in iTunes.
    Right click - get info.
    Select the Options tab and set Media kind to TV Show.
    Better yet, use something like MetaZ to tag the files before adding them to iTunes.
    -> http://www.macupdate.com/app/mac/36029/metaz

  • Can't add my own artwork

    OK, I am trying to add my own custom artwork for albums done by my son. I select all the songs on the album, Select get info, then double-click on the blank artwork square --- which does bring up My Pictures on my computer. I then select the picture I want and it does open up the the previously blank artwork square. I hit OK and ------ nothing happens. My son's album still does not have any artwork. Can someone help me?
    Thanks,
    Bill

    How I usually do it is drag it from wherever I found it into the little box in the corner that says "drag album artwork here". then it automatically attaches the artwork. i usually have 500x500 sized images, or at the very least 300x300.
    hope that helps.

  • I can't add my own firefox extension.

    I'm trying to add my own FF-extension, but each time after step 2 (where u need to add extesnion.xpi) i'm getting error page. After that, if i will try to add same extension i'm getting error with UUID.
    Tried to do this several times. Help me pls.

    hi KOCMOHABT, if this is about an addon that you've developed yourself, tehn it will probably be better to ask this in the mozilla addons forum: https://forums.mozilla.org/addons/index.php

  • How can you add your own print and export buttons to the CR viewer toolbar?

    I posted a previous question that was asking how to get around the Information Bar in IE7 when you export and print.  Unfortunately the CR viewer file download code gets blocked by IE7 because the buttons don't directly download the file.  However, I have been able to get a regular button that calls the following code and streams the file to the client and IE7 does not block it. 
    Sub PrintPDF(sender As Object, e As System.EventArgs)
         Dim crReportDocument as ReportDocument
         Dim crExportOptions as ExportOptions
         Dim crDiskFileDestinationOptions as DiskFileDestinationOptions
         Dim Fname as string
         CrReportDocument = New ReportDocument()
         CrReportDocument.Load(Server.MapPath("estactionlist.rpt"))
         Fname = Server.MapPath("./") & Session.SessionID.ToString & ".pdf"
         CrDiskFileDestinationOptions = New DiskFileDestinationOptions()
         CrDiskFileDestinationOptions.DiskFileName = FName
         CrExportOptions = crReportDocument.ExportOptions
         With crExportOptions
              .DestinationOptions = CrDiskFileDestinationOptions
              .ExportDestinationType = ExportDestinationType.DiskFile
              .ExportFormatType = ExportFormatType.PortableDocFormat
         End With
         CrReportDocument.Export()
         Response.ClearContent()
         Response.ClearHeaders()
                    Response.AddHeader("content-disposition", "attachment;filename=test.pdf")
                    Response.ContentType = "application/pdf"
                    Response.Charset = ""
                    Response.WriteFile(Fname)
                    Response.Flush()
         Response.Close()
         System.IO.File.Delete(Fname)
    End Sub
    So here are my questions?
    1. Is it possible to add a custom print control/icon to the CR viewer toolbar?
    2. If one is not possible, then is it possible to override the CR viewer print and export buttons with your own subroutines like the one above?
    I just want my page to look nice and hate to have print and export buttons outside of my CR viewer. 
    Thanks,
    Kevin

    It might be possible to replace the buttons in a windows app since you can retrieve the toolbar as a toolbar object in the winform viewer  ( ToolStrip toolBar = (ToolStrip) crystalReportViewer1.Controls[3]; )  however with a web app, it's a lot more difficult.
    The problem is that that you need to parse the Request string to try and figure out if the print / export button was clicked.  The code below makes the print button disappear if you click it, so you should be able to modify it to call your custom printing / exporting code instead  (You have to do this check in a postback)
            Dim I As Integer = 0
            If Request.Form.AllKeys.Length > 0 Then
                For I = 0 To Request.Form.AllKeys.Length - 1
                    Response.Write(Request.Form.Keys(I).ToString & "<BR>")
                    If Request.Form.Keys(I).ToString = "CrystalReportViewer2:_ctl2:_ctl2.x" Then
                        CrystalReportViewer2.HasPrintButton = False
                    End If
                Next
           End If
    Shawn

  • Can i add my own bgp attribute as transistive and optinal

    Hi
    i need requirement to carry own bgp attribute in bgp update message , is it possible to add own bgp attributed using extended community 
    to carry one ipv4 address per vrf using bgp .
    PE1----------PE2
    vrf1             vrf2
    1.1.1.1       2.2.2.2
    i want to carry 1.1.1.1 in bgp update message to PE2 and carry 2.2.2.2 to PE1 using bgp update message per vrf .
    Thanks
    Duraipandi

    Hi, Sergio gave the answer.
    Here is a usefull link to go a step forward with JavaScript :
    http://blogs.msdn.com/b/sharepointdev/archive/2011/04/14/using-the-javascript-object-model-in-a-content-editor-web-part.aspx
    Fabrice DG, Technical Solutions Professional, EMEA at
    AvePoint
    Follow my technical blog (french).
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

  • Can you add your own designed frames, a psd file, to images in Aperture 3 and save this action to repeat?

    Hi, i'm an event photoger and trying to figure out the least expensive way to process numerous 5x7 images with a predesigned psd template/frame for print. All the images will have the same frame on it as well be the same size. Current process is too put each individual image into the psd template and print. Trying to find a way to automate/batch this action.

    Check out the Border FX plug-in for Aperture.  It's free.  If it can do what you want, then you can just select the border preset on export and go have an espresso. 

  • How can I add my own calendars in iCal?

    I have recently added new calendars to iCal (File>New Calendar Group) in preparation to import my google calendars (previously exported).  However when I am prompted to choose the calendar in which to import the data, the options I have created are 'greyed' out.  How do I activate these calendars so I can choose them?

    Hi
    You need to create a calendar (File -> New Calendar). With calendar groups you can group several calendars but you need calendars, as only calendars can contain events.
    Regards, Michael

  • How can I add my own screensaver? Macbook pro 10.8.2

    once upon a time i found a screen saver and i downloaded it, it was cool, i just recently upgraded to mountain lion and for some reason it is way out of alignment and all pushed up to the top of the screen. So I went to the website to see if I could get a newer more up to date copy, I downloaded one but now i have no idea how to add it into the list of them to choose from. Any help would be apreciated, Thanks, Ben D.

    It isnt an image, this is where i got it from; http://thecolourclock.co.uk. and there is no folders button in that screen on mountain lion.

  • [acpid] I can't add my own rule

    I want to add rule for few of my laptop's hotkeys.
    acpi_listen said:
    hotkey ATKD 0000001a
    It is one of them.
    So i've touched 2 files:
    /etc/acpi/events/hotkeys
    /etc/acpi/actions/hotkeys.sh
    event=hotkey.*
    action=/etc/acpi/actions/hotkeys.sh %e
    #!/bin/bash
    SILVER1=0000001a
    case "$3" in
    "$SILVER1") xset -display :0.0 dpms force off;;
    *) logger "error for: $3 ;;
    esac
    i've added +x for them.
    Restarted system, and it doesn't work.
    Any ideas?
    Last edited by matiit (2009-06-27 19:29:25)

    hi KOCMOHABT, if this is about an addon that you've developed yourself, tehn it will probably be better to ask this in the mozilla addons forum: https://forums.mozilla.org/addons/index.php

Maybe you are looking for