Popup box in Start routine

Hi,
I need a popup box appearing in the start routine into an ODS.
Data has to be entered in that box and being processed into the ODS.
Is their any SAP Function module I could use? Or any abap example based on your experience?
Regards,
Hans

My idea is the following:
create a little pgm (to run on line) in which you call a selection screen and your users can insert what you need...then, your pgm will insert these parameters in a dedicated table (and before you can delete its previous content...); finally your program can raise an event that you can link to start a process chain that execute the dataload...
in the start routine, write the code that select the parameters from the table above-mentioned and... voilà !
No table maintenance is required and you can obtain what you want !
Hope it helps!
Bye,
Roberto
please don't forget to reward the answers...it's THE way to say thanks here...

Similar Messages

  • Start Routine (ABAP) in Transformations

    Hi Experts,
    As i am new to BW please update me with the required ABAP Code or atlease with the skeleton  Code
    Source & target fields
    Emp_ID       ZEMP_ID  (CHAR)
    Start Date:  ZESTA_DT (DATS)
    End Date  :  ZEEND_DT (DATS)
    My requirment is to write a start routine that split the record in to 2
    Emp_ID-Start_Date-Termination Date
    0001----01/01/2005---01/01/2008
    0002----01/01/2007---
    (Termination date will be blank if emp is still working)
    As per my requirment i would like to see data in DSO as
    Emp_ID-Start_Date-Termination Date
    0001----01/01/2005---
    0001----01/01/2005---01/01/2008
    0002----01/01/2007---
    I want to split the records of an employee
    Please let me know if u need any information
    Thanks

    Hi bw learner,
    In Update rules, at any keyfigure, you write a routine with return table check box selected.
    Write the below code.
    first of all you need to declare a internal table of type data target
    (Example: DATA: ITAB LIKE /BIC/FZ_CUBE). here i consider Z_CUBE as data target.
    then loop the DATA_PACKAGE.
    loop at DATA_PACKAGE.
    transfer corresponding values from DATA_PACKAGE to itab.
    then assign itab-Termination Date = ZEEND_DT.
    append ITAB to RESULT_TABLE.=
    endloop.
    By this, whatever the records that are present in the RESULT_TABLE will be added into the Data target.
    I hope you can handle now.
    Regards,
    S P.

  • Process for Debugging BW Start Routines

    I need a detailed process for how to debug the ABAP code of a start routine, particuarly when one ODS is being loaded into another.  I know that there is a way to do this with the ABAP debugger but cannot figure it out.
    Are there any documents out there that can assist me?  I did a search, but all of the examples were too specific to be useful for just general debugging.
    Thanks!

    Hi,
    It is not possible to debug in start routine through conventional way upto 3.5 version.
    You need to put an endless loop in the start routine.
    The program will keep running in the endless loop.
    It can achieved by the following code.
      data: true,
            false.
      true = 'X'.
      do.
        if true = false.
          exit.
        endif.
      enddo.
    And in transaction SM50, the endless loop program will visible.
    select the program by clicking the check box on the left hand side,
    then on the menu,
    Program/Mode -> Program -> Debugging.
    I hope this helps.
    Thanks.

  • Display popup box to enter the name for batch input

    Hi Experts,
    I am working on the ALV display.'
    I am giving two push buttons on the ALV Screen in the application toolbar.(Ex: 1.Online 2.Batch Job).
    If the user will select the ONLINE the process is going good.
    If the user will select the BATCH JOB it has to display popup box to enter the BATCH name and with that batch name i have to create the batch for the program in SM35.
    Can any one please help me in doing so.
    (to display popup box to enter the BATCH name and with that batch name i have to create the batch for the program in SM35).
    Thanks in Advance,
    Kruthik

    Hi,
    You can display a popup box by creating the screen and screen elements in the screen painter and use
    CALL SCREEN scr STARTING AT x1 y1 ENDING AT x2 y2.
    X and Y are the coordinates of the screen you want to display as a pop up.(used to manipulate the size of the pop up screen/window)
    Hope it helps.

  • Every time I open Firefox 4 I get a popup box saying: "OPENING FIREFOX SETUP 4.0.1.exe, Binary File from..." with different download link addresses

    Every time I open Firefox 4 a popup box keeps trying to get me to run setup again. The box always reads: "Opening Firefox Setup 4.0.1.exe, Binary File from...." followed by a link address, which is different every time. Recent addresses: http://mirror.umoss.org.......also http://mozilla.mirrors.tds.net....also http://mozilla.ussg.indiana.edu
    and so on.
    Help! Thanks!

    I am having the same problem and it seems to have just started (6/15/11). I have tried reloading the program several times and even the first release of the 4.o with no success. The same scenario also occurs when I click to open a new "tab" after the browser is already launched.

  • How do I remove, get rid of, take away "Updates Available" popup box?

    I have wanted to get rid of this popup box that opens on my screen everyday even though I am not updating my software for many months and I have not seen a solution. The only way I have seen to get rid of it is to every single day press "later" then "remind me tomorrow," which is the last thing I want it to do. What happened to the days when Apple users had some say in what they see on the screen? I am a 20 year Mac user and many things are not as user friendly as they used to be 10 years ago, including iTunes and managing this popup, choosing colors for folders and icons in itunes and finder windows, navigating iTunes  and so on. Wondering if others have these questions, concerns. Thank you. I have 10.9.5 OS and don't want to upgrade for a while.

    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_safe-mode-window_2 Troubleshoot Firefox issues using Firefox SafeMode]
    When in Safe Mode... <br />
    * The status of plug-ins is not affected.
    * Custom preferences are not affected.
    * All extensions are disabled.
    * The default theme is used, without a persona.
    * userChrome.css and userContent.css are ignored.
    * The default toolbar layout is used.
    * The JIT Javascript compiler is disabled.
    * Hardware acceleration is disabled.
    * You can open the Firefox 15.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    Or it might be caused by Hardware Acceleration.
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Start Routine in Transformations

    Hi,
    For my reporting purpose i need to Transfer data from Cube to DSO
    I need a start routine for the following requirment when transfering data from Cube to DSO
    The Key fields in DSO are Location & Emp_ID and Date fields are ZAP_DTE (DATS)
    CUBE-->DSO
    While doing the transfer...i need to compare Emp and his ZAP_DTE AND need to transfer only if AP_DTE for that EMP is greater than the exisisting one else ignore the record
    As i new to BW please update with the routine
    Thanks

    Hi Shambhu
    We usually write out code in the section:
    $$ begin of routine - insert your code only below this line        -
    What is the difference between writing the code in
    $$ begin of 2nd part global - insert your code only below this line  *
    and
    $$ begin of routine - insert your code only below this line        - ?
    Kind regards
    Erik

  • How can you watch itunes purchased movies on apple tv. A click on to movies then into purchase thn a click on a movie i want to watch then my apple tv box light starts going on and off plus the screen is blank

    How can you watch itunes purchased movies on apple tv. A click on to movies then into purchase thn a click on a movie i want to watch then my apple tv box light starts going on and off plus the screen is blank

    JasonFromSK wrote:
    With the newest Airport firmware (7.6.1), it seems I should be able to do this.
    Really? I need to check that out!
    You should certainly be able to add content by reference to itunes from such a disk (even before the update) - so long as itunes knows the location of the file (set Preferences not to copy to local library when adding the media) it will stream it to AppleTV if the disk is available.
    I hope you're right, but I'd be surprised if current Extremes can be upgarded to provide a full Home Sharing service - marvellous if they can but I'd be surprised as i've long said we need an Apple media server either based on TC or AE to do this kind of thing.
    AC

  • How do you identify the Logical system in start routine of a transformation

    My scenario is this.  I have five r3 systems that I am extracting from.   In the start routine of the transformation from the r3 data source to my data store I  am going to delete data and I need to know the source system id.    How do I identify the logical system or source system id in the transformation.  Is there a system field that contains this information.    I do not want to hard code the source system id in the routine.

    hi
    have a lool at tables rsreqdone and rsbkrequest with a join you should be able to determine the source.
    regards
    Boujema
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).
    Edited by: Boujema Bouhazama on May 9, 2008 12:04 AM

  • Can we use Perform statement in start routine ,Form and endform.

    Hi,
    Can we use Perform statement in start routine ? Then write the ABAP code between Form and Endform.
    Example : Can I use Perform ABC in start routine. Then define ABC at the end of start routine.
          Form ABC,
          ......<ABAP> code .....
          Endform.

    Hi,
    In BI 7.0 we have start routines defined using Class where you might be able to create your own performs, but in case of BW3.5 Start routines are defined using Form so there I don't think it will allow you to create one more form.
    But you can surely try both the approaches.
    Reards,
    Durgesh.

  • Start routine in transformation

    Hi,
        I need to read master data in a start routine only once.If I write a select statement in the start routine , the select is executed for every data package.I want the select to be executed only once and data can be used by all data packages.I tried keeping the code in the global section of the start routine class and that didn't help either.
       Any ideas.
    Thanks in advance

    Hi Siva,
    Then..Use Static Internal table...
    Structured Static Internal Table Definition
    - STATICS itab TYPE tabtype [WITH HEADER LINE].
    - STATICS itab TYPE tabkind OF linetype
    [WITH [UNIQUE|NON-UNIQUE] keydef]
    [INITIAL SIZE n] [WITH HEADER LINE]. 
    - STATICS itab LIKE tabkind OF lineobj
    [WITH [UNIQUE|NON-UNIQUE] keydef]
    [INITIAL SIZE n] [WITH HEADER LINE].
    - STATICS itab TYPE linetype OCCURS n [WITH HEADER LINE].
    - STATICS itab LIKE lineobj OCCURS n [WITH HEADER LINE].
    - STATICS: BEGIN OF itab OCCURS n,
    END OF itab [VALID BETWEEN f1 AND f2].
    STATICS itab TYPE RANGE OF type.
    STATICS itab LIKE RANGE OF f
    @@@@@@@@@@@@@22
    Logic: make flag variable as static variable in global area.
    First data package...
    IF flag EQ ' '.
    Read Master data table and put in STATIC internal TABLE.
    So the next time(next data package)..not read from master data table
    flag = 'X'.
    ENDif.
    LOOP DATA_PACKAGE.
    ENDLOOP.
    @@@@@@@@@@@@2
    Regards,
    San!
    Message was edited by:
            Sandeep Khatri(San!)

  • Start Routine in Update Rule

    I want to replace all '# ' values showing up in a report with  space. For this I plan to write a Start Routine in the Update Rules which should scan all the data coming in into the cube and replace all  null or '' with space.
    What is the best way to write this routine. It should check all data in all the fields of the data load coming in.
    Thanks

    Hi,
         The space is shown as # in the BW Reports, to confirm check the value in the cube for this field, so
          you need to change that to some other character like X or Y or explain your end users that SAP
          designates a space as # and it will be displayed that way in the reports.
    Regards,
    Raj

  • How to add new records in Start routine or end routine.

    Hi All,
            My requirement is to transfer data from one DSO to anothe DSO. But while transfering a single record frorm DSO1 i want to add 7 records to DSO2 for each record in DSO1 with slight change in data( with a different key). I want to do it in start routine or end routine. How can i do it. If you have any ABAP code for this then please send.
    Regards
    Amlan

    you can use this code, replace the fields where i have marked with <>.
    DATA : WA_RESULT_PACKAGE TYPE DSO2,
           WA_RESULT_PACKAGE1 LIKE WA_RESULT_PACKAGE.
    DATA : IT_RESULT_PACKAGE LIKE TABLE OF WA_RESULT_PACKAGE.
    DATA : DATE1 TYPE SY-DATUM.
    DATA : DAYDIFF TYPE i.
    DATA : RECORD_NO type rsarecord.
    SORT RESULT_PACKAGE BY <KEY FIELDS> "specify the key fields here
    RECORD_NO = 1.
    LOOP AT RESULT_PACKAGE INTO WA_RESULT_PACKAGE.
         IF WA_RESULT_PACKAGE_1-<KEYFIELDS> NE WA_RESULT_PACKAGE-<KEYFIELDS>.
              WA_RESULT_PACKAGE_1 = WA_RESULT_PACKAGE.
              DAYDIFF = WA_RESULT_PACKAGE-ENDDATE - WA_RESULT_PACKAGE-STARTDATE.
                   WHILE DAYDIFF NE 0.
                        DATE1 = WA_RESULT_PACKAGE-STARTDATE + DAYDIFF.
                        MOVE DATE1 TO WA_RESULT_PACKAGE-<KEYFIELDDATE>.
                        MOVE RECORD_NO TO WA_RESULT_PACKAGE-RECORD.
                        APPEND WA_RESULT_PACKAGE INTO IT_RESULT_PACKAGE.
                        DAYDIFF = DAYDIFF - 1.
                        RECORD_NO = RECORD_NO + 1.
                        CLEAR DATE1.
                   ENDWHILE.
              CLEAR DAYDIFF.
         ENDIF.
    ENDLOOP.
    DELETE RESULT_PACKAGE[].
    RESULT_PACKAGE[] = IT_RESULT_PACKAGE[].
    Reg Point 3.
    The Key figures will then show up in the report aggregated.Hope that is fine with you.
    Note:
    Before loading data, in DTP set the semantic key with the key field of the DSO1.This brings all the similar data w.r.t the key fields from the PSA together in a single package.
    rgds, Ghuru

  • Transformation Start Routine

    Hi,
         I have installed the infocubes (0PS_C08, 0PS_C081) from the Business content but I can't activate any of the transformations because of a problem in the start routine.
    the message of the error:
         ----> E:A line of "GT_SOURCE" and "<SOURCE_FIELDS>" are not mutually
         convertible. In a Unicode program, "GT_SOURCE" must have the same
         structure layout as "<SOURCE_FIELDS>", irrespective of the length of a.
    Does anyone have any idea how to solve the problem?
    Best Regards,

    Hi,
           In fact generally this error should occur when you migrate a flow from 3.x to 7.x, but in my case this problem showed just after the business content installation ( I didn't migrate the flow it is a 7.X standard flow).
         I have checked the start routine, and no field is missing. <Source_Fields> and GT_SOURCE did have the same structure but their fields weren't put in the same order, so when I used the APPEND command it generated this error.
    I've put the fields in the same order and the transformation could be activated which resolved the problem.
    Thank you.

  • ABAP code for BI 7.0 transformations start routine

    Hi all,
    I am trying to update data from DSO1 (Source1: transaction data) to Infocube(TARGET)
    In the transformations Start routine, I have to read DSO2(Source2: Master data) for some fields.
    DSO1 has CUSTOMER as part of key
    DSO2 has CUSTOMER (key) and other fields....FIELD1, FILED2, FIELD3
    Infocube to be updated with FIELDS1,2 & 3 WHILE READING DSO2.
    WHERE DSO1 CUSTOMER matches with DSO2 CUSTOMER.
    Also, data NOT TO BE UPLOADED into Infocube if FIELD1 in DSO2= NULL
    Please give me the abap code for the above logic.
    Appreciate any help in this regard.
    Thanks.

    This is a doc from this site:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6090a621-c170-2910-c1ab-d9203321ee19
    Ravi Thothadri

Maybe you are looking for