Using control branchin

hi,
  can we put the functionality of "at new" in alvs?how

In the ALV display function when you use the parameter "IT_SORT" to fill the sort criteria,the alv internally implements the at new functionality only.
In the sort table use the attribute "SUBTOT" to specify the fields on which you want the subtotals and in the fieldcatalog put the attribute "do_sum" FOR THE TOTALLED FIELD AS "x'>
In this way you are implementing the at new functionality only.

Similar Messages

  • In alv report can i use control break events? if no .whay?

    Hi all,
    in alv report can i use control break events? if no .whay?

    hi,
    you can use control break statements in ALV report.
    for example: if one PO is having more than one line item, that time you need to display PO only once.

  • Can we use control events in smartforms

    Hi all,
    I am srinivas. can we use control events in smartforms, I mean at new, at end of ..... if these are not used can you suggest me any alternative....
    Actually my requirement is like a classical report, for which I need to display subtotal and grand totals based on two fields....
    Please help me out in this issue as it is very urgent.
    <b><REMOVED BY MODERATOR></b>
    Thanks in advance....
    Regards,
    Sri...
    Message was edited by:
            Alvaro Tejada Galindo

    Hi Nick,
            Thanks for the reply... it is really very useful for me.
    As I discussed in my earlier mail regarding the output sequence, which should be in the below format.
                                           number       quantity uom      unitprice        amount curr
    plant
           material
                   date
                                             x                 y                    z                      A           
                                             e                 f                     g                      h
                                             p                 q                     r                      s
                   subtotal date..... 1                   2                    3                       4
                   subtotal  material.5                  6                    7                       8
    As you said when I using <b>event of Begin</b> its working fine. but while using the <b>event of end</b>,  I am specifying date and then matnr (sort) its taking(nodes are created mean first matnr and then date) in the reverse order and when I am taking matnr and date it is placing the events(nodes) in the right order but the order date is not triggering.
    can please tell me how to proceed here..
    waiting for your reply..
    Regards,
    Srinivas

  • What happen if i use controll break statement in between select & endselect

    Hi all,
    what happen if i use controll break statement in between select & endselect ?
    Thanks in Advance
    KR

    Hi for reference u can go through this code example
    data:
      fs_tab like sflight.
      data:
       t_tab like standard table of fs_tab.
       select * from sflight into table t_tab.
       loop at t_tab into fs_tab.
         write: / fs_tab-carrid.
       endloop.
       refresh t_tab.
       clear fs_tab.
       select * from sflight into fs_tab.
         at new fs_tab-carrid.
           append fs_tab to t_tab.
         endat.
       endselect.

  • Smartforms, how to use control break events

    Please help with this requirement.
    Purchase Docu No.111
    Pur Item No       Mat no       Quantity 
    1                        2356      2000
    2                     1256      2000
    3                     8556      2000
    Purchase Docu No.112
    Pur Item No    Mat no    Quantity 
    1                      9656      2000
    2                      7356      2000
    3                      1356      2000
    Purchase Docu No.113
    Pur Item No    Mat no    Quantity 
    1                      5356      2000
    2                      8356      2000
    This i have to design for the smartform.
    1 header data then its item data.
    like is Script i can call the WIndow elements using control break events in the driver prog but how to get this kind of output in Smartforms.???????
    Thanks

    I dont want trigger new page.
    In the same page i want like this
    I have purchase docu data in only 1 internal table.
    So, for every new VBELN, under this i want its corresponding item details.
    I have created the command node for the main window with 2 rows, in the 1st row i am giving VBELN and in the 2nd row i am giving in item details like item no, matnr etc etc and in the condition its askng Field name and Comparison Value.
    How shold i give condition.??????
    Thanks
    Edited by: Jalaaluddin Syed on May 1, 2008 5:03 PM

  • Key code 24 using control down - no longer works in 10.6

    I have a script that should open a dialog box to make a picture using Copernicus. the command I try to invoke is 'Control ='.
    here is the script.
    tell application "Copernicus"
    activate
    delay 2
    tell application "System Events"
    key code 24 using control down
    end tell
    end tell
    or alternative I tried:
    tell application "Copernicus"
    activate
    delay 2
    tell application "System Events" to keystroke "=" using control down
    delay 5
    end tell
    However both do not work, it does do nothing on - key code 24 using control down -.
    If I do a manual 'Control =' it works regardless if the Application is active or in the background.
    Has anything changed in 10.6 that this sort of code no longer works? How do I set it up for this to work?
    Message was edited by: ChangeAgent

    Pierre L. wrote:
    I have downloaded Copernicus 1.5.2 (Build 15) just to better understand the issue.
    is what I use.
    However, I am unable to find any “Control =” keyboard shortcut in any menu of that application. Does that shortcut belong to Copernicus, or is it a shortcut that you have added yourself in the Keyboard pane of the System Preferences?
    I added it replacing 'F7' for various reasons. however “Control =” works if I do it via the keyboard.
    As for me, after assigning a “Control =” keyboard shortcut to a TextEdit menu command, I have no problem invoking it from the following script.
    *tell application "TextEdit" to activate*
    *tell application "System Events"*
    *key code 24 using control down*
    *end tell*
    OK. as said it works using the keyboard, but not via the script. could it have something to do with Copernicus? I simply do not understand as to why it does not work using a script.

  • I captured from mini-dv camcorder to FCP7 using control from my computer and firewire. I cannot find the file or clips I transferred anywhere except for in Finder. How do I get the clips from Finder to FCP7. Also I did not see audio on the computer meters

    I captured from mini-dv camcorder to FCP7 using control from my computer. I only find the capture clip in Finder. How do I get the clip in Finder to FCP7.
    Also my audio in the capture was not showing up on my audio meters on my computer-is this normal. Thanks

    you will not see the audio meters from within fcp move while capturing. 
    If you only see the captured clip in the finder, not within fcp, there's something wrong.  You might try deleting your fcp preferences
    https://discussions.apple.com/docs/DOC-2491

  • How can I use control break statement in my requirement

    Hi ABAPers,
    In my requirement, I have 4 fields in sorted internal table, (audat, prdha, ipnum, netwr). In that i need to do summation of netwr field falling under same prdha(BU) for the same month
    internal table fields :
    audat  prdha  ipnum  netwr
    02      abc     1      100
    02      abc     2      200
    02      xyz     3      300
    03      abc     4      100
    03      xyz     5      300
    03      xyz     6      200
    i need output like this:
    audat  prdha  ipnum  netwr
    02      abc     1,2      300
    02      xyz     3         300
    03      abc     4         100
    03      xyz     5,6      500
    Can anyone suggest me logic for this by using control break statements
    Thanks in advance,
    Ankita
    Moderator Message: Duplciate Post.
    Edited by: kishan P on Apr 14, 2011 3:03 PM

    Hi ABAPers,
    In my requirement, I have 4 fields in sorted internal table, (audat, prdha, ipnum, netwr). In that i need to do summation of netwr field falling under same prdha(BU) for the same month
    internal table fields :
    audat  prdha  ipnum  netwr
    02      abc     1      100
    02      abc     2      200
    02      xyz     3      300
    03      abc     4      100
    03      xyz     5      300
    03      xyz     6      200
    i need output like this:
    audat  prdha  ipnum  netwr
    02      abc     1,2      300
    02      xyz     3         300
    03      abc     4         100
    03      xyz     5,6      500
    Can anyone suggest me logic for this by using control break statements
    Thanks in advance,
    Ankita
    Moderator Message: Duplciate Post.
    Edited by: kishan P on Apr 14, 2011 3:03 PM

  • How to load data using Control File in BW 7

    Hi All,
    I have a requirement to load data in BW using control file. The development is done in in BW 7.0. In BW 3.5 in infopackage, there is an option of FILE IS ( Control File or Data File ). Please suggest how to simulate the same in BW 7.0
    Regards,
    Vikram

    Any suggestions?

  • Use Control File to load data in BW7.0

    Hi All,
    I have a requirement to load data in BW using control file. The development is done in in BW 7.0. In BW 3.5 there is an option of FILE IS ( Control File or Data File ). Please suggest how to simulate the same in BW 7.0
    Regards,
    Vikram

    Hi Vikram,
    Please have the contents of a sample control file. The file should be saved as ".TXT".
    FILENAME = C:\test.csv
    FILETYPE = CSV
    LOCATION = C
    FS = ,
    ESCAPE = "
    DECIMALPOINT = ,
    1000SEPARATOR = .
    RECCOUNT = 8
    RECSIZE = 53
    PACKETSIZE = 1000
    Filename should contain the path of the CSV file
    Filetype is CSV
    location is 'C' for Workstation and 'A' for Application Server
    FS contains field seperator ',' in our case
    RECCOUNT contain the Rec. Count
    RECSIZE is the Max DB size of the a single row ( this can be evaluated by the Total DB Size of a single Line of the Target BW Structure as well ).
    The content of my sample test.csv are
    1234567890,10,9999999999,,,15,01/01/2005
    1234567891,20,9999999999,,,30,01/01/2005
    1234567892,30,9999999999,,,0,01/01/2005
    1234567893,10,9999999999,,,5,01/01/2005
    1234567894,20,9999999999,,,6,01/01/2005
    1234567895,40,9999999999,,,10,01/01/2005
    1234567896,10,9999999999,,,5,02/01/2005
    1234567897,20,9999999999,,,6,02/01/2005
    Please let me know if there are any further concerns.
    Regards,
    Shrey
    Edited by: Shrey SAP BI on Mar 8, 2010 4:13 PM

  • HT5858 i have an iPhone 4s, when I tried to use control center to skip songs ( or signs) or when my phone is locked, i double press the home screen, i also can't skip songs. what's going on?

    i have an iPhone 4s, when I tried to use control center to skip songs (>> or << signs) or when my phone is locked, i double press the home screen, i also can't skip songs. what's going on? please help me. i know the skip is being pressed because the sign lit up, but the song didn't skip. please help. thank you.

    I am having the same problem with my Iphone 4. After update the phone will not control audio from the control center (Friend with Iphone 4S is having same issue). Tried to reset phone and it started working "once". Next time I tried to use the control center it didn't work again. Their needs to be some kind of a fix for this?

  • Performance issues using control references in Analog control loop?

    My main vi of a tensile tester control application calls a number of sub-vi's, including a analog control loop which controls the test. The control loop must update some boolean and digital indicators and respond to user input on the front panel of the main vi during a test.
    To simplify my main vi, I moved the control loop code into a sub-vi, and used control references to access the controls and indicators on the front panel. However, this has dramatically affected my loop performance, and the loop can no longer keep up with the acquisition speed.
    Do control references always cause such a slowdown? Is there anything that I can do besides moving the code back into the main vi?
    Thank You,
    David Creech

    I have had the same problem. I have discovered other funny things about references also; some kind of memory management (or mismamagement?) is taking place behind the scenes.
    Regardless, you can often do away with the references by passing the initial state of a control or indicator into the subvi, changing it inside, and passing the altered state back to the caller. Once back in the caller you update the front panel control or indicator by using a local variable.
    One thing to watch out for if using this scenario is the dreaded race condition; this can be avoided using a state machine. Check out
    http://www.advmeas.com/goodies/statemachine.html
    for a good example. It is a shame that references behave in this way; it limits thier usefulness.
    Perhaps someo
    ne else will point out a way to utilize them more sucessfully?

  • How can i use control panel in win vista

    Can i get an old version of icloud ( may be V.2 ) to install an use control panel in win Vista. The newest version (v. 3.1) only works in win 7 or win 8

    You can get ver. 2.1.2 here: http://support.apple.com/kb/DL1687.

  • How to use controls in silverlight direct3d interop program ?

    I'm working on convert my winrt program to silverlight program.
    And I'm using silverlight 8.1 now. The program has two part, SilverlightDirect3DInterop(C#) project and SilverlightDirect3DInteropComp(C++).
    The question is, I can't use control in SilverlightDirect3DInteropComp.
    In my program, all control are created and used by code.
    I want to use these control in SilverlightDirect3DInteropComp.
    How should I do?

    Hi Y.H.King,
    I may need to know what SilverlightDirect3DInteropComp used for, is it a runtime component in Windows Runtime, or its a simply a DLL project?
    And another question is how you create the controls in your C++ library? And how you use the control in your runtime app?
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SAP BW 7.0 - How to use control file?

    Hello experts,
    In my current project, I need to use a control file to load some flat files into BW.
    In version 3.5 we had a option in the infopackage where we could select if it was a csv or a control file.
    But in 7.0 version this option is not available anymore.
    I found this threat: Use Control File to load data in BW7.0
    But a .txt control file didn't work. Can somebody help me?
    Thanks!!!

    WS adapter can be used as Direct connection or Integrated Server Communication.  Basically this adapter will be used to make communication between two SAP System's Webservice runtime. WS adapter supports Webservice reliable messaging , SAML and more security features.  Using Direct connection you can communicate two SAP systems. In this case, you dont need any ESR objects and you just need to configure ID objects only.
    Have seen this [link|http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce28613a8e5430e10000000a42189b/content.htm]
    Hope that helps

Maybe you are looking for

  • [SOLVED] My iPhone 3GS does not appear in PCManFM file manager

    Hi My new desktop is under arch and uses PCManFM as filemanager, but when I plug my iPhone 3GS, it does not appear in the right panel I've experimented the same issue with the last version of pcmanfm (before 0.9.7) my usb sticks, and mp3 player are h

  • Problem of create inventory opening balance

    hi experts, i extract the inventory according the document "How to handle inventory management scenarios in BW", i activate the 0IC_C03, and want to load the opening stock balance, but in the infopackage, i cannot find the "create opening balance" op

  • Redline and Markups on Portal

    Hi All, I hit a road block on providing a solution where the outside vendors could carry out the redlining and markups on a PDF document published on the portal. DMS is used as the back end and I need to export back the markups files along with the o

  • How to load image in Long Raw column?

    Dear all, I need to upload a jpg image to a Long Raw column in one of our tables. Is there a way or utility so that I can do this thru a PL/SQL code? Please help. Regards, Amit

  • Blocked incoming calls

    Recently my wives incoming calls have come up as blocked calls. I can still answer the call no problem. No other phone numbers are coming up as blocked and her number doesn't come up as blocked to anyone else. Anyone know how to fix this?