Start,end and expert routine in Bi7.0

Hi,
Can anyone give real time examples or what you have done in your projects examples to start routine,end routine and expert routine.If possible give example with ABAP code.
Sridhar

Hi Sridhar,
The basic difference between these routines is.
Start routine: Here you will access to the source package, but not to the target package. Here you will have the code to filter unwanted records to the target.
End routine: Here you will not have access to source package but you will have access to the target package. Here you can do the lookups based on the values you receive from the transformations.
Expert routine: Here you will have access to both Source and Target. Here you can combine the advantages of both.
The below code is for Start Routine. To send only the record satisfying the below criteria.
u2022     For Currency Type = u2018B0u2019 and Transaction Type = u2018Bu2019 or u2018Cu2019 or u2018Fu2019
This is a scenario where data is going from one info provider to another info provider.
    DATA:  wa_srcpkg TYPE tys_sc_1..
    DATA: i_t_srcpkg TYPE STANDARD TABLE OF tys_sc_1.
    LOOP AT SOURCE_PACKAGE INTO wa_srcpkg.
      IF wa_srcpkg-curtype = 'B0' AND ( wa_srcpkg-rec_type = 'B' OR
              wa_srcpkg-rec_type = 'C' OR wa_srcpkg-rec_type = 'F').
        INSERT wa_srcpkg INTO TABLE i_t_srcpkg.
      ENDIF.
    ENDLOOP.
    SOURCE_PACKAGE []  = 
                                         I_T_SRCPKG[] .
Hope this is of some help...
Regards,
CK
Edited by: Krishna on Jul 15, 2008 3:06 AM
Edited by: Krishna on Jul 15, 2008 3:07 AM
Edited by: Krishna on Jul 15, 2008 3:07 AM
Edited by: Krishna on Jul 15, 2008 3:08 AM
Edited by: Krishna on Jul 15, 2008 3:09 AM

Similar Messages

  • Batch Capture Changes Media Start, End, and Duration

    Hello all... For some reason, when I batch capture from an imported batch list in FCP 4.5, the program changes the media start, end, and duration just slightly once the capture has completed. Does anyone know why this might be occurring?

    OK... I don't believe it has to do with drop frame or non-drop frame issues, and here's why... I ran a series of tests.
    The footage was originally shot with two cameras, an A Cam and a B Cam, which were Jam Synced together. The original A Cam tapes were log and captured normally. But for the B Cam tapes, we exported a batch list to excel, performed a rename function where _B was added to all file names and reel names, and brought the data back into FCP by importing a Batch List at 29.97.
    For the tests, I experimented with only one clip. First, I noted the timecode for the media start and media end when the file was uncaptured. Next, I placed the A Cam Tape in the deck and did a batch capture on the one clip. The program changed the media start and end times upon hitting ok. Here were the results of the first test:
    LOGGED: MS (05:50:39:26) ME (05:51:41:01)
    CAPTURED A CAM: MS (05:50:39:17) ME (05:51:41:07)
    Then, I undid the capture so that the timecode would revert back to the precaptured state. I placed the B Cam tape in the deck and ran the capture again, on the same clip, in Batch Capture mode. The program changes the media start and end yet again, but this time, changed it in a different way:
    LOGGED: MS (05:50:39:26) ME (05:51:41:01)
    CAPTURED B CAM 1st Attempt: MS (05:50:39:16) ME (05:51:41:06)
    So then I undid the capture again to revert back to the logged settings, and put the EXACT same tape in the deck, and ran the batch capture in exactly the same way. This time however, FCP didn't change anything. It logged the clip correctly. I tried it yet again, in the same way, and it did it perfectly again:
    LOGGED: MS (05:50:39:26) ME (05:51:41:01)
    CAPTURED B CAM 2nd Attempt: MS (05:50:39:26) ME (05:51:41:01)
    CAPTURED B CAM 3rd Attempt: MS (05:50:39:26) ME (05:51:41:01)
    So I ask again... what is up with FCP 4.5?

  • Confirmation - start, end and post date

    Hi,
    In the transaction IW41 I need a start,end and post (ISDD, IEDD and BUDAT) of the confirmation order remains the same. Any suggestions?

    I guess, we can achieve by User Exits only.
    CONF0001 Enhancements in order confirmation
    CONFPM03 PM/SM order conf.: Cust. spec. check after op. selection
    Also validate in following user exit.
    CONFPM05 PM/SM order conf.: Cust. specific enhancements when saving
    Regards,

  • Start, end and duration box in timeline

    I use CS4 and wonder why each time I pass the cursor over the CTI,a yellow dialog box indicating start, end and duration of the project, stays visible in the timeline?  The more I pass the CTI with the cursor, the more boxes appear....and stay.  The boxes are in random order but contain only info for the start, end and duration of the project.  I am sure there is a simple answer to this annoying issue.  Thanks.

    The Problem persists.  I downloaded the latest update from nVIDIA but that did not seem to work.  See picture of some of the boxes that stay when I pass the cursor over the CTI.  I can clear them by deleting tracks, but they reappear when I work with the CTI.  They apprear not only in the blank area. but on the timline as well

  • Primitive APAB editor in start/end routines in transformations

    When editing or viewing ABAP code in BI transformations, for example in a start routine, the editor that opens is very primitive compared to the normal SE38 editor. Some of the limitations include:
    The editor window doesn't cover the whole screen with seemingly no way to increase its size.
    The syntax check doesn't show on which line syntax errors are located.
    There is no option to perform a extended program check.
    There is no way to insert break-points (other than with the ABAP keyword of course)
    These limitations are present regardless of whether i choose the new front-end editor, the old front-end editor or the back-end editor. We're running SAP Netweaver 2004s.
    It is of course possible to create a program in SE38 and copy-paste your start routine code to see the code using the "real" editor, but this is very tiresome and time consuming. Is there a way to make this editor look and behave like the normal editor? I have looked through the setting options an searched SDN without finding a way.

    Hi,
    This is just the settings you need to change to open the start,end, and characteristics routine using the old editor you are comfortable with. No need to go to se38 and check copy the program.
    Go to se38->Utilities->settings->abap editor->editor tab->select the old abap editor.
    To specifically put break point in transformations (start routine..end routine..)..goto transformation (RSA1) and then display the transformation.
    Then goto extra (menu)->generated program. search for start_routine (method now) and put break point in the desired place.
    Then from the DTP enable all 4 break points..in tranformation (this will come when u cange it to debug mode simulation). And u can debug the transformation.
    The new editor is a good handy one. But take some time to get acquented to it. After you may start liking it :).
    Cheers,
    -J

  • Start/end/expert routines

    Hi,
    please can any boby one Explain start/end/expert routines with examples?
    Thanks,

    Hi,
    This has alredy been discussed a lot of time and u can search the forum for your answer.
    A brief desc abt them.
    1. start routine :-  Mainly used to reduce the hits on database tables and for pre processing the data.
    2. End routine :-  Used for post processing of Data.
                               For eg after all the transformations are over, you need to delete certain requests.
    3. Expert Routine ;- Used inspecial scenarios where start and end routine might not suffice the need.
                                For Eg:- Transposing rown into coloumns
    Regards,
    Rahul

  • Create Start routine when there is already an Expert routine

    Hi Experts,
    I am using BI 7. If there is an existing Expert routine, can I still create the Start routine?
    Also, what would be the impact? would existing transformations be affected?
    I am trying to create a start routine between 2 DSOs.
    regards
    John

    Hi,
    All can you help this task,
    we extract from data _package of ZJPROVA DSO start routine  all data of ZAMBITOS column
    into an internal table it_tablazambito5.
    Loop this internal table replacing last character by 0. sort and delete duplicatees from this internal table:
    Ej:
    11101--11100
    11102--11100
    we do a selection from ZJPAOCON DSO to get the description in ZDESCRIPC field and we storaage it in an internal
    table it _descripciones
    SELECT ZCODAMBIT ZDESCRIPC FROM ZJPAOCON
    FROM ZJPAOCON
    FOR ALL ENTRIES IN It_tablaZAMBITOS5
    WHERE ZCODAMBIT= it_tablaZambito5- ZAMBITO5
    2) field routine programe
    once we have have the decription , we complet the routine to populate ZDESAMBIT in ZJPROVCA DSO
    if ZAMBITO5 ENDS IN 0
    Read table it_descripciones where ZCODAMBIT= ZAMBITO5
    then ZDESAMBIT =  it_descripciones-ZDESCRIPC
    ELSE
    NEW  ZAMBITO5 = ZAMBITO5 changing last character by 0
    read table it_descripciones where ZCODAMBIT = NEW ZAMBITO5
    if zambito5 ends in 1
    then ZDESAMBIT=it_deScripciones-ZDESCRIPC + "OM"
    ELSE IF ZAMBITO5 ends in 2)
    then Zdesabit = it_descripciones = ZDESCRIPC + "MAT"
    END IF
    END IF
    EXAMPLE
    ZCODAMBIT = 11100
    ZDESCRIPC = BIZKAIA Este
    si   ZAMBITO5 = 11100  Entonces ZDESAMBIT = Bizkaia Este
    si   ZAMBITO5 = 11101  Entonces ZDESAMBIT = Bizkaia Este OM
    si   ZAMBITO5 = 11102  Entonces ZDESAMBIT = Bizkaia Este MAT

  • Difference between "Binding Period" and "Validity Start/End" in Bid

    SRM Experts,
    1. We see 2 different things, "Binding Period" and "Validity Start/End" while preparing the bid. What is the differece between these?
    2. These fileds are non-editable for the bidder, while preparing the bid response. How bidder can give validity period for his quote (at header level)?
    3. We see that, the bidder can specify validity start/end date at condition level. Is it not possible to specifiy a validity of the quote at header level?
    GH

    case1: After expiration of  - binding period in RFx header:
    case2: After expiration of  - validity end period in RFx header:
    case3: After expiration of  - validity end period of RFx Response:
    I created seprate documents for each cases.
    I tried accepting the RFx response in all above 3 cases system did not give any error.
    I tried creating the PO against the RFx response in all above 3 cases system did not give any error.
    Is it correct behavior or is there any problem?
    GH

  • Hide the start time and end time in ESS portal

    Experts,
    We have a requirement to hide the Start time and End time on the header section of the travel request / expense sheet in the ESS portal.  I have searched through the configuration and found several place to hide the start time and end time of segment yet these have no impact on the porta start and end time fields.
    Please Advise.
    Best Regards,
    Martin Weakley

    Hi Martin,
    you can achieve this with administrative personalisation. In portal content navigate to the role where you deltalinked your iView, click "preview". When a new Window for the preview is opened, notice the URL contains "&sap-config-mode=true". Now right click on the fields you want to hide and choose "enter configuration" (or the like, wording is not exact) from the context menue. The WD-UI-Element tree opens where you can directly hide/customize properties of the WD. When clicking save+exist you can also transport the alterations you did.
    maybe this helps or gives you a helpful alternative to the already stated measures in this thread
    regards, Lukas

  • Org.Assignment Infotype start date and End date is getting wrong.

    Hi, When i create a new employee in PA40, in Org. Assignment infotype start date and end date is getting wrong. for eg. When i create an employee on 01.04.2014.    In org. assignment infotype its getting like this. 01.01.2014  to  31.03.9999  and 01.04.9999 to 31.12.9999  Two date entries are creating by default.

    Hi
    Check in the Table - T588Z : Dynamic Actions ,is there any custom routines causing the defaulting dates functionality.
    Thanks,
    Sreeram

  • Calculate end date from inputs : start date and number of months

    Hello Experts,
    I have a start date and number of months from which i need to calculate the end date.
    For Eg: start date = 03-12-2008
                no. of months = 48
          Ans: end date = 03-12-2012
    Please help me.

    requirement is no different from what is stated in the previous thread.
    To elaborate further, I'm looking for some Function Module or some relevant alternative to calculate the future date.
    Future date is calculated using a start date input and No. of months.
    As stated in the example in my previous thread.
    For eg:
    Inputs to FM    : Start date        : 03-12-2008
                                    No. Of months : 48  months
    Output from FM: Future Date     : 03-12-2012
    Looking forward for your reply.

  • BIAPPS how can we manually set both ETL start date and end date?

    Dears experts,
    how can we manually set both ETL start date and end date while conducting incremental load IN DAC?
    Please advise me.
    thanks,
    Joe.

    You can set those dates in the DAC system parameters tab. You should see lots of $$xxxxxx parameters.
    If I may, I'd suggest you use the OBI Applications forum for questions on DAC.
    Antonio
    BExpert, Brazil

  • How to know the process chain start time and end time

    Hi Experts,
                   How to know the process chain start time  and end time .
    Thanks in advance
    Regards
    Gutti
    Edited by: guttireddy on Feb 23, 2012 11:30 PM

    Hi Reddy,
    You may find the run time of a PC using below steps.
    1. Call SE38 > /SSA/BWT > Execute  > Enter your PC , choose the date and time > Execute. Here Run-time of a PC is displayed. (or)
    2. Call RSPC1 > Enter your PC > Execute > Goto Log view > Right click on the start Variant > Displaying Messages > Note down the start time in Chain Tab. Now Right click on the last Process type of the PC > Displaying Messages > Note down the End time in Chain Tab. The Difference b/w start time and end time gives the Run-time of your PC.
    Hope this helps.
    Regards
    Sai

  • Finding the simulation mode in start/end routine

    Hi ,
    I am also updating some other tables in my transformation apart from the actual target infoprovider data.
    But I would like to update those other tables only when the DTP is actually run and don't want to update when DTP is run in simulation mode.
    Is there any way in the start/end routine to find whether the DTP execution is simulation or Real?
    Regards,
    Ramesh

    Hi,
    This is not possible in the start routine as this check is done even before reaching the start routine by using the method :
    if_rsbk_dtp_maintain~set_simulation
    -Vikram

  • HT2955 The problem with the above is this: If a chapter end is reached at the same time as the CD space is filled, iTunes goes to EOJ, ejects that CD and pretends it's done. Other than entering start:end manually you are screwed. iTUnes just ***** for bur

    If you use iTunes to burn Audible CDs you better hope the book is only one CD long. Otherwise iTunes craps-out without warning and cannot be easily restarted. It just goes to EOJ and pretends it's all done with the entire burn. Often this can cause (will cause) the user to waste many many CDs trying to get a burn completed. If a CD-end is reached at a chapter-end point, iTunes assumes the burn is done and ends. The user must manually enter start:stop for each CD, pay constant attention to what's going on, and hope everything goes right. And even if you do all that you WILL find a chaper point at CD end and will have to go manually adjust the start-stop of the next CD and HOPE... that's their strategy: Hope.  iTunes was never designed for books, for audio content that is multi-volume, and it really ***** at it. And if you are unlucky enough to want to burn long books (Truman -48 CDs, or Atlas Shrugged - even more), be prepared to throw away many tens of CDs as you try to get it done; pretty soon it's just cheaper to go buy the book in audio form and dump Audible entirely. (Maybe this is why Amazon made the switch from working Roxio to non-working iTunes... nahhh.. you'd have to be too cynical to believe that...)  If, that is, you don't just give up in frustration and terminate your Audible subscirption as I did a couple of years ago. Audible keeps your paid-for library, but downloading a long book again just brings you to the same point: trying to burn multi-volume CDs on a tool not designed to do so. Maybe amazon bought lots of Apple stock at the same time and just wants you to be walled-in to your iPod and never again use a CD.. maybe they bought the car companies, too, so you can't have an old car and must buy a new one with an ipod attachment in order to listen to your books..... The worst part is that Audible used to use Roxio, which handled all of this with no problem at all. When it was tasked with a multiple-CD burn, it told you how many you'd need, began recording, when it reach end-of-CD, it told you to put in the next one - regardless of whether there was a coincident end of chapter, and kept burning until the book was completed. For unknown - and seriously stupid - reasons, audible decided to use iTunes, and the problem continues. My research across the web indicates I am not the only FORMER customer of Audible that feels this way, or who cancelled their subscription because of this stupefyingly dumb decision - to make the primary customer interface tool WORSE that it had been.

    AC, Thank you for you reply.
    Even though it is supposed to be a 'simple' home video system it has so much potential!
    And i mean i know there is an solution since i know the Caribbean cruises are using apple as media centers onboard their ships. have to admit that i do not know if they are using frontrow or some other application created buy some other company.. i just know that some one must know how to get around it all and make it work..
    Just wish i had someone to get in contact with that is working hands on every day with this product, and get strait, good, final answers.. no "pro support" since im not happy with their answers anymore..
    I know i start to sound desperate.. but thats because i am..

Maybe you are looking for

  • Can you set up multiple phones on 1 account

    trying to add 4 iphones to 1 apple account.  Is it possible?

  • Very Slow Disk Access

    Recently I've had to restart my PB multiple times in order for it to start up because it just sits with the Apple logo and the circle going. I booted from a backup drive, no problem, but when I attempted to reformat the drive via Disk Utilities, it w

  • [SOLVED] iso verification

    So, I downloaded the latest iso and the pgp signature but 'pacman-key -v archlinux-2012.08.04-dual.iso.sig' failed with this output: gpg: Signature made Sat 04 Aug 2012 03:25:33 AM EEST using RSA key ID 9741E8AC gpg: NOTE: trustdb not writable gpg: c

  • Is a 13" macbook pro i7 Quad-Core available?

    Was looking on the apple site and didnt see an option to get a Quad Core 13" Macbook Pro. You can upgrade to an i7 but it says it's still a dual core, is that right? Thanks

  • HT4946 itunes 10 or 11? Back up restore?

    I backed up my iphone 4 yesterday ready to restore backup to my new iphone 5.  I lost my whats app chat history today so want to use yesterdays back up.  But I have realised it is itunes 10 not the latest 11.  Does this matter?  Or do I need to upgra