Any hints on how to go from Requirement to Transformation Code?

Hi Experts,
I am trying to upgrade my skills in Transformation and reading some books on Transformations logic and I am getting lost. But when you bring in your practical guide it helps make it clear and I will appreciate some hints based your experience.
1. Do you have any specific transformation requirement (from source to target) to share with me? And I will appreciate an explanation of the transformation requirement and transformation logic
2. Is there a specific approach to converting the requirement to code? can you use a real-life case to explain it?
3. Are there any best practices in converting requirements into codes?
4. Is there a best practice for testing and validation of the transformation code?
5. Any Dos and Don'ts in converting requirements into transformation logic?
Thanks
Edited by: AmandaBaah on Nov 9, 2011 8:55 PM

Hi Amanda,
I think you should start with the type of routines you can write
start routine
Field level Routine
End Routine .
Expert Routine
There are lots of SDN articles available for the same .In forum you will find various scenarios and requirements comes in projects.
1.Start and End Routine works on package so you need knowledge of  tables ,loops ,structures etc to write the code .
They are good when you want to update multiple fields and want to implement complex logic.
2.Field level routine works as one record at a time so its good when you want to do lookup etc for one field only .
3.There are specific scenario when you can use a specific routine and it also depend greatly on your business requirement ,efficiency and performance of code  ,your comfort level .
ex: Write start routine if
you want processing of multiple fields at source data without filtering .
You want to implement some logic based on which you need to update some more records at field level or at end routine .    *  You want to delete unwanted records.
You  are doing master data lookup at field level routine so selecting master data in an internal table should be done at start routine.
Write field routine if
Only one field need to be update  and logic is simple .
You want to change record by record.
You have lookup .
You want to further implement some logic at  end routine based on changes done at field level routine   
Write End routine if
It is final logic that you want to implement .
You have multiple fields to update
start routine and end routine can be used vice verse .Use them based on your requirement and efficiency of code.
4.These threads will be helpful for you :
Scenario examples for Lookup
Re: What is the use of Look Ups?
Sample Routine Code
Re: Start routine - how to....?
Re: Routine
ABAP in BW
Re: Abap for BW
Hope this will be helpful .
Regards,
Jaya Tiwari

Similar Messages

  • Any hints of how to exclude these lines from the following BEx output?

    Hi,
    I have a BEx report which outputs the following shipment activities, showing Doc and Items numbers, Requested and Received dates, actual and PO quantities.
    DocNoItmNoReqDate-RcvdDate-PO_Qty-Act_Qty---TB%
    1101-----5--12/10/05-12/5/05020--
    80
    1101-----5--12/10/05#00--80
    1101-----5--12/10/05#200--
    80
    1101-----7--12/10/05-12/5/05030--
    50
    1101-----7--12/10/05-12/8/0505--
    50
    1101-----7--12/10/05#00--50
    1101-----7--12/10/05#350--
    50
    Somehow, I am getting some activity lines which I do not understand but do not want in the output. Those are the lines which show u201CPO_Qty = 0 AND Act_Qty = 0 at the same time.u201D i.e. the highlighted lines.
    Any hint on how to eliminate the highlighted lines from the output?
    I played with calculated key figures but could not reason it out.
    Thanks

    DocNoItmNoReqDate-RcvdDate-PO_Qty-Act_Qty---  Formula                        TB%                                                                               
    PO QTY + ACT QTY
    1101-----5--12/10/05-12/5/05020-----               20                        -
    80
    1101-----5--12/10/05#00--                 0                         -80
    1101-----5--12/10/05#200-----                  20                     -
    80
    1101-----7--12/10/05-12/5/05030-----                30                      -
    50
    1101-----7--12/10/05-12/8/0505--
                    5                         -
    50
    1101-----7--12/10/05#00-----                  0                         -50
    1101-----7--12/10/05#350-----                 35                        -
    50
    Create Conditions over the Formula. Since the sum would be always 0 only when both the KF's are zero I think you can create condition over this formula.
    Would this help?
    Regards
    VJ

  • II just uploaded Leopard on my G4 but CD Drive error 80020022 cant connect came up. any hints on how fix?

    I just uploaded Leopard on my G4 but CD Drive error 80020022 came up and I cant Burn a DVD data disk any hints on how fix It ?  The other error that came up first before that was Burn Disk failed error code 0X8002006E.
    Please help, I have been out of work and need this back up quickly.
    Thanks

    I assume by uploaded, you mean installed!??
    First, Safe Boot , (holding Shift key down at bootup), use Disk Utility from there to Repair Permissions, test if things work OK in Safe Mode.
    Then move these files to the Desktop...
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist
    /Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
    /Users/YourUserName/Library/Preferences/com.apple.sidebarlists.plist
    /Users/YourUserName/Library/Preferences/com.apple.desktop.plist
    /Users/YourUserName/Library/Preferences/com.apple.recentitems.plist
    Reboot & test.
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.

  • Any one tell how business planning and requirement specifications would be

    any one tell how business planning and requirement specifications would be in the real time scenarios
    how work would be assigned to development and production
    how would one approach to work
    regards
    bhanu

    Hi
    Check these SDN Links
    You can find a lot of good info here:
    http://help.sap.com/saphelp_nw04/helpdata/en/05/242537cedf2056e10000009b38f936/content.htm
    https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/6e01a04e-0a01-0010-dfbe-951c2c39d169 [original link is broken] [original link is broken]
    And of course the Business Planning forum
    You can see related info here:
    https://websmp105.sap-ag.de/~sapidp/011000358700007394712005E
    and
    https://websmp105.sap-ag.de/~sapidp/011000358700003595342004E
    https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/6e01a04e-0a01-0010-dfbe-951c2c39d169 [original link is broken] [original link is broken]
    This is interesting:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce03c6bb-0601-0010-e69d-fb47733fe3b7
    http://help.sap.com/saphelp_erp2005/helpdata/en/53/155c3ce7055a37e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_sem40bw/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/584041b02e4c0de10000000a1550b0/content.htm
    http://72.14.205.104/search?q=cache:6gBgWDd3W3AJ:https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a1c91b57-0601-0010-dba2-ac4d24641f9fbwbps(SAP)&hl=en&gl=in&ct=clnk&cd=2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/a-c/bw-bps%20further%20information.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/16/1e0541a407f06fe10000000a1550b0/content.htm
    ***Assign Points If Helpful***
    Regards,
    Ravikanth

  • How to How to download from without getting error code 1009?

    How to How to download from without getting error code 1009?

    I get the same error message on my Mac Book Air 13" Mac OS X and iphone 4 accessing internet via 3.5G modem and Edge / GPRS esprectively.  I'm in Sudan now, wasn't getting this message in Ethiopia.  Using Itunes store location for UK.  Could it be an IP blocking issue and if so any ideas of a work around?
    Thanks

  • Any HINTS on how to get questions answered faster?

    Based on http://forum.java.sun.com/thread.jsp?forum=10&thread=423278&tstart=0&trange=100
    "GCD: Well duh..It was OT. It didn't ask any Java related questions!"
    I have a question about Java questions:
    Does anybody have any suggestions or guidelines for posting Java questions in order to help get quick, helpful answers?
    Will it help if I use all caps, and a bunch of exclamation points, like "URGENT!!!!!!" in my Java question?
    Will it help if I make both the subject and the Java question itself very vague? Maybe a subject of "Why doesn't this work?" and a body consisting of 1000 lines of unformatted code?
    Speaking of which, why isn't there a link anywhere that tells me how to format the code that I include in my Java question?
    Will it help to crosspost my Java question?
    Should I just post my Java homework and ask you guys to do it for me?
    Should I ignore common courtesy, and scream when my question isn't answered in 5 minutes, and not say thank you when it's answered in 10?

    Does anybody have any suggestions or guidelines for posting Java >questions in order to help get quick, helpful answers?Yes. If you don't want that people suspect that you're trying to get your homework done for you, follow these guidelines :
    -Ask questions with a strong academic flavor, that sound like an invitation to parrot some textbook.
    -Avoid anything like personal tone, specific angle, real-world application possibilities.
    -Don't provide any background about how you came to be interested in that question.
    -Don't show any commitment in getting it answered that could betray your utter cluelessness about the whole issue.
    -Don't show any involvement in the forum beyond the immediate benefit you expect from it. Just post and run away.
    If you follow these principles, you will see your thread sparkle passionate discussions and sticking on the frontpage for the weeks to come.

  • To access my login page, firefox changes the address and shortens "pms2" to just "pms" and it screws up my login procedure. Any hints on how to stop it from changing the address?

    To pull up my login page for my reservation software, I have an icon on my desktop. https://apps.gracesoft.com/pms2/login.asp. However it keeps shortening the "pms2" to "pms" and that makes the login info invalid. The page pulls up just fine, but that one space saver invalidates the security

    It appears that the URL is being redirected by the website, and not being changed by Firefox. I think you'll find that the URL will be changed if you try to visit the website in another web browser, too.

  • I am trying to update my phone 4 with my ipad3 any hints on how to solve?

    I am trying to update the os on my iphone 4, i have the ipad3 but can't seem to find how to update my phone with it.  Any suggestions?

    You can't update the iPhone's OS on the iPad. ON THE iPHONE, check Settings > General > Software Update. If you don't see that, you need to connect to a computer with iTunes on it.

  • Any hint on how to create a query faster?

    Hi Guru:
    I use query designer for many years, but actually I feel this tool is not really easy to use. For example, I need to right click on a line in a structure, get the popup and then use drag and drop to define a selection for a row.
    Is there any easier way like to input the selection directly or in the future release we will have it? Compare to crystal report, the query designer is really hard to use.
    Eric

    Eric,
    It is what it is and you cannot simplify the development of query further using BEx Query designer. I heard some newa that the reporting is altogether taking a different direction once the Business Object front is combined with SAP BI Backend. Until then you have to use what is there. You could write an ABAP (ofcourse extremly complex) and create MDX files (how query is stored inside SAP). But it is like re-inventing what SAP is doing, and level of success is extremly limitted.
    I feel the pain. But unfortunately there are no other way to achive.
    Goodluck,
    Alex.

  • Does any one no how do download from App Store without security questions??? Pleaseeee

    My ipod won't let me download from App Store without security quistions any other way to download?

    Reset your security questions/answers:
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Using this form
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    3. Contact Apple by:          
    Apple ID: Contacting Apple for help with Apple ID account security
    For general  information see:
    Apple ID: All about Apple ID security questions

  • I do have some problem with downloading an app from the store, when i try to add, a box appears and says  safari can not open the page because the address is invalid, i have no idea why this occurs, and any tip on how to get rid off the restriction code m

    i need some one to help me because i cant get ana app to download it says it will be downloaded when u login to your account but in already loged on

    You don't download apps from the iTunes app store with Safari.

  • Frozen screen, itunes logo and usb cable-end, have deleted and reinstalled to no avail...happened when attemtping to update itunes software...any hints on how to 'unfreeze'?  THX!

    help!

    If you did all the below action then it appears y have a hardware problem as they say is possible. In that case
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar
    Error 20, 21, 23, 26, 28, 29, 34, 36, 37, 40
    These errors typically occur when security software interferes with the restore and update process. Use the steps to troubleshoot security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See the steps under the heading "Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store." If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.
    Error 1611
    This error typically occurs when security software interferes with the restore and update process. Follow the steps to troubleshoot security software to resolve this issue. In rare cases, this error may be a hardware issue. If the errors persist on another computer, the device may need service.

  • HT1212 My daughter's ipod touch is disabled for the next 43 years. Any hints on what she may have done to cuase this and how to fix it?

    My daughter's ipod touch is disabled for the next 43 years. Any hints on how to fix this? I have followed the steps listed on the apple website to p lace it into recovery mode, but the ipod is now "stuck" on the connect to itunes part. Thanks!

    Sounds like a case of entering an incorrect passcode over and over.  Only fix is to follow the instructions in that article you reference, HT1212, and it may take a couple tries to get it to work right.

  • How to Navigate from af:internalFrame to another page in the parent frame?

    Hi!
    I'm using an ADF IFrame Component <af:internalFrame>..
    we have a requirement where we needed to navigate from a page in the Internal frame to another page in the browser, i.e., on clicking a ceratain button in IFrame , the browser window should load an another page in the main window/frame(not in IFrame). I know this can be done with javascript by setting the
    window.location='newurl'
    But that would take me away from the normal JSF lifecycle, that is I have to perform certain processing of the inputs from the Iframe, and then navigate in the normal JSF way to another page in the main browser window,according to the navigation configured in the faces-config.xml; or if possible, programmatically ,in the backing bean.
    Can someone give me any hint of how to do this?
    Thanking you in advance,
    Samba

    Correct. To achieve this functionality JavaScript is required.
    --Ric                                                                                                                                                                                           

  • How to convert from Grayscale to single color channel

    I hope that someone here might be able to help. I am writing an application which loads in color channels separately, to be merged by the application The images are multi-page TIFF files. The trouble that I am running into is that the application loads the images into grayscale, so when I merge the channels, they are merged as grayscale, not as the correct colors.
    I use the following on each color channel to load them in:
    public static BufferedImage[] loadTiff(File multiPageFile, int colour) {
        BufferedImage[] img = null;
        ArrayList<BufferedImage> tmp = new ArrayList<BufferedImage>();
        try {
            SeekableStream stream = new FileSeekableStream(multiPageFile);
            String[] names = ImageCodec.getDecoderNames(stream);
            ImageDecoder dec = ImageCodec.createImageDecoder(names[0], stream, null);
            int numPages = dec.getNumPages();
            for (int i=0; i<numPages; i++) {
             try {
                    RenderedImage im = dec.decodeAsRenderedImage(i);
                    BufferedImage bi = PlanarImage.wrapRenderedImage(im).getAsBufferedImage();
              //In case not all pages are valid images, we use ArrayList as it is dynamic
              tmp.add(bi);
                }catch (RuntimeException re) {
              //Once the exception is caught, we can decode the layer here for whatever means.   
        }catch (FileNotFoundException fnfe) {
            System.err.println("File not found.");
            fnfe.printStackTrace();
        }catch (Exception e) {
            System.err.println("General Exception caught");
            e.printStackTrace();
        //Convert to an array to be returned.
        img = new BufferedImage[tmp.size()];
        for (int i=0; i<img.length; i++) {
            img[i] = tmp.get(i);
        return img;
    }So a BufferedImage array is returned (one element in the array for each page in the multi-page file). Before I return the BufferedImage array, though, it would be good to convert it to the correct color. I know which channel is currently being loaded. Does anyone have any tips on how to shift from a grayscale intensity to a single color intensity? I have tried a number of things regarding byte shifting, but I am really none the wiser.
    I have tried, for example, reading the int color value:
    int color = bi.getRGB(w,h);The trouble is that this number is not in the region 0..255, so I don't know how I can use it. If I shift the number:
    color = color>>16I get a number smaller than 255 (although it seems to be negative), but I don't know whether I can use this value for a single color channel, i.e. if the current color is red, saying:
    Color redC = new Color(color, 0, 0);
    bi.setRGB(w,h,redC); //Slow and inefficient. There must be a better way.When I try doing that, I end up with nothing drawn or visible.
    Does anyone have any ideas? Thanks in advance.
    Edited by: doughnuts64 on Jun 12, 2008 6:27 AM

    Thanks for the response. It has been helpful in getting my problem sorted. I was not creating a new BufferedImage - I was just using the one that had been loaded in, and as such had not realised that the type was not TYPE_INT_RGB. As soon as I instantiated a new BufferedImage of the same dimensions and colour TYPE_INT_RGB as you suggested, it worked! So thanks for that.
    Whilst that does work, it does slow the application incredibly as it has so much data to cycle through. Ideally, I would be able to load the image in directly as the colour channel in question, rather than loading in as grayscale. This way, the application would only require the amount of time needed to load in the images, not to process them on a pixel-by-pixel basis (typical images are made up of over 16,000,000 pixels for each colour channel, and we typically load two files in at once - both for separate colour channels, so over 32,000,000 pixels to process).
    As I am loading in multi-page tiff files, I am having to use the JAI (Java Advanced Imaging) toolkit. I use the following code to load in my multi-page tiff into a BufferedImage array, where each element of the array represents one of the 'pages' in the multi-page tiff file:
    SeekableStream stream = new FileSeekableStream(multiPageFile);
    String[] names = ImageCodec.getDecoderNames(stream);
    ImageDecoder dec = ImageCodec.createImageDecoder(names[0], stream, null);
    int numPages = dec.getNumPages();
    BufferedImage[] finalImage = new BufferedImage[numPages];
    for (int i=0; i<numPages; i++) {
         RenderedImage im = dec.decodeAsRenderedImage(i);
         finalImage[i] = PlanarImage.wrapRenderedImage(im).getAsBufferedImage();
         //...colour changing code currently here - loops through finalImage array, and on every pixel of every layer
    ...To be able to automatically convert the colour channel without having to loop on every pixel (and thus save an incredible amount of loading time) would be helpful.
    Thanks.

Maybe you are looking for

  • Driver for Nomad Jukebox Zen Xtra 40GB

    Before going too far, I have read the FAQ. I did try to go to Support / Downloads to try to find a driver update for my player, but got error 403, Forbidden. How do I get into this download area? Is the Creative Media Player interface also in this do

  • Creating a query from a DSO to group into categories

    I have a DSO with data like this: Transaction No /    Customer 1 /                        1 2 /                        1 3 /                        1 4 /                        2 5 /                        2 6 /                        3 (i.e. a list

  • Acrobat 3D versus Toolkit

    Hi, First, I should explain that I have no experience with Adobe Acrobat (except for the Reader, that is). I create the instructions for the assembly and testing of my company's products. In addition, I create various instructional manuals for our cu

  • What is the best high res image file format to use for print

    Dear All, I'm working on a 300 + page catalog, and I was wondering what would be the best image format to use on the catalog. I thought png was the best since it supports background transparency and all, but for some reason I'm not able to export it

  • Opening a saved domain file

    Hello, I have a saved iWeb domain file that I want to re-open in iWeb so I can try to use that application to transfer the webpage to another hosting service before Mobile Me goes belly-up. The website in question is still up and running on the web h