AT END

Hi
i have to use  command : AT END OF DATE MATDEPTH
                                       ENDAT
DATE IS OF DATA TYPE : DATS
MATDEPTH IS OF TYPE  : CHAR
all data is collected in internal table.
at the moment i am just using AT END OF MATDEPTH.
can i use both date and matdepth to display the requirment.???
able to display data for a date and matdepth using AT end of command..
pls give sample code
Thxs,
Vind

control breaks with two fields is not possible .
like AT END OF F1 F2.
You can treat the same independently like AT END OF F1. and AT END OF F2 in the same loop .
Alternate to this is <i>On change of F1 or F2.</i>  " you can try this.
Demo code will be ..
data : begin of itab occurs 0,
       f1(4) type c,
       f2(4) type c,
       end of itab.
data : begin of Jtab occurs 0,
       f1(4) type c,
       f2(4) type c,
       f3(4) type c,
       end of Jtab.
DATA : CNT TYPE I.
DATA: GV_FLAG TYPE C.
       itab-f1 = 'A'.
       itab-f2 = '10'.
       APPEND ITAB.
       itab-f1 = 'A'.
       itab-f2 = '10'.
       APPEND ITAB.
       itab-f1 = 'A'.
       itab-f2 = '10'.
       APPEND ITAB.
       itab-f1 = 'B'.
       itab-f2 = '8'.
       APPEND ITAB.
       itab-f1 = 'B'.
       itab-f2 = '8'.
       APPEND ITAB.
       itab-f1 = 'B'.
       itab-f2 = '8'.
       APPEND ITAB.
      SORT ITAB BY F1 F2.  "use this
       LOOP AT ITAB.
        CNT = CNT + 1.
        AT END OF F1.      "apply here
        GV_FLAG = 'X'.
        ENDAT.
        IF GV_FLAG = 'X'.
        JTAB-F1 = ITAB-F1.
        JTAB-F2 = ITAB-F2.
        JTAB-F3 = CNT.
        APPEND JTAB.
        CLEAR JTAB.
        CLEAR: CNT , GV_FLAG.
        ENDIF.
       ENDLOOP.
       LOOP AT JTAB.
       WRITE:/ JTAB-F1 , JTAB-F2, JTAB-F3.
       ENDLOOP.
regards,
vijay

Similar Messages

  • How can I see Calendar event END times at a glance?

    How can I display my Calendar event titles exactly as I type them? I do not want Calendar to remove duration from the titles of my events. Otherwise I can't see event END times at a glance in month view; only start times. How can I "trick" Calendar to just show my titles as I type them - as I always could before I upgraded. I used to be able to enter "Seminar 9am-5:45" and it would appear that way regardless of how or what I chose to enter (or not enter) for duration.
    I am running OSX 10.9.3.

    It's a bit weird, but if you type in the time info TWICE into the event title then Calendar uses/deletes one of them to populate the event details and leaves the other.
    Apple - Mac OS X - Feedback

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • Fields for creation of BP in cProjects front-end are read-only

    Hi everyone,
    I'm a beginner in SAP-Development/Customizing so I hope this question isn't too easy
    I can't create a Business Partner using the cProjects front-end (Ressources > Staffing) because the necessary fields and buttons are read-only... (> web-Dynpro Component: DPR_ROL_STAFF; View-Info: VI_SEARCH_CREATE)
    I'm using CPRXRPM 450_700 patch 0006
    The field-control is standard-SAP (0SAP).
    My user-account has all cProject-roles + SAP-ALL
    I assume i can change the behaviour of these fields in the Field Control but I can't identify which is the corresponding Object Category to apply the changes.
    - Is there a documentation which field belongs to which Object Category in Field Control?
    - Or can somebody tell me a procedure to find it out on my own?
    Thanks in advance

    Hi,
    generally it is recommended to use transaction BP or ALE distribution to get the business partner be created.
    If you would like to create the BP in web UI directly, the user must have the Structural Authorization, see customizing path:
    Collaboration Projects -> Resource Management -> Organizational Management.
    It is very HR related topic, you may contact a HR consultant to know more details about it.
    Kind regard,
    Zhenbo

  • End routine to populate Info-cube.

    Hi ,
    Is it possible to load fileds of a Info-cube using End routines in the following scenairos.
    1.Loading fields of info-cube by referencing/using a master data table in End routine.
    2.Loading fields of info-cube by referencing/using a DSO fields  in End routine.
    3.Loading fields of info-cube by referencing/using a fields of another info-cube in End routine.
    Please advise.

    Hi Stalin,
    Before answering your question you need to understand something about "End routine" and "Expert routine".
    End Routine:
    - Result_fields and Result_package are available
    - End routine contains only those fields available in Data target.
    Start Routine:
    - Source_fields and Source_package are available
    - Start routine contains only those fields coming from source.
    Expert Routine:
    -  Source_fields, Source_package, Result_fields and Result_package are available
    So Now if you want write code to look up into some other cube, in look up you may need to test condition using source fields, in that case " Expert Routine" is only the option.
    For Ex
    my data target contains : x,y and z fields (it becomes result_field)
    source contains : a field ( it becomes source_field)
    now if i want to write look up code like this " select x,y and z fields from other cube where my a field value = other cube a field value. here u r accessing both S_F as well as R_F. So only the option is "EXPERT ROUTINE"
    or else u want to write code only with R_F then "End routine " is enough.
    Thanks,
    Gowd

  • Inconsistency between Bex and Back end

    Hello, I have a query about bex issue. I have few fields in my DSO/Cube which has data showing correctly in the back end but in Bex it shows partial of those values. like if i have something like this:
    ZField
    000000000000000000008
    It shows correct in DSO table but in Bex it only shows the zeros. do you know why and how to get this to show the whole field value?
    Thanks.
    By the way this is a characteristic and not keyfigure.

    Hi Vekant,
    If you have not did any speecific thing at query level then value should be shown correctly.
    Please try this once and check.
    Create new test query on your data target drag and droup your charecteristic.please execute your test query and see if you are able to see the correct value.
    try this.
    Regards,
    Ganesh Bothe

  • SharePoint Foundation 2013 - Search Configuration Issue - 2 App Servers and 2 Front-End Servers

    Hi, 
    We have a SharePoint Foundation 2013 with SP1 Environment. 
    In that, we have 2 Front-End Servers and 2 App Servers. In the Front-End Servers, the Search Service is stopped and is in Disabled state and in the 2 App Servers in One App Server, Search is Online and in another Search is Starting but goes to Stopped sooon
    after.
    Originally, we had only 1 App Server and we were running our Search Service and Search Service Application in that. Now since the index location became full and we were unable to increase the drive there, we added one more App Server and now the issue is
    Search is not properly getting configured in either of these App servers. What we want to do is run Search only in the new App Server, because we have a lot of storage space for Index locations here, but in the older App Server, not run Search at all.  We
    tried keeping the Search Service disabled and ran the below PowerShell Scripts, but none of the ones are working. These scripts are creating the Search Service Application, but the error of "Admin Component is not Online", "Could not connect
    to the machine hosting SharePoint 2013 admin component" is coming up. 
    http://www.funwithsharepoint.com/provision-search-for-sharepoint-foundation-2013-using-powershell-with-clean-db-names/
    http://blog.falchionconsulting.com/index.php/2013/02/provisioning-search-on-sharepoint-2013-foundation-using-powershell/
    http://blog.ciaops.com/2012/12/search-service-on-foundation-2013.html
    Can I get some help please?
    Karthick S

    Hi Karthick,
    For your issue, could you provide the
    detail error message of ULS log  to determine the exact cause of the error?
    For SharePoint 2013, by default, ULS log is at      
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    For troubleshooting your issue,  you can try to run the SharePoint Products Configuration Wizard on your WFE servers and run the script for configuring the search service on SharePoint
    Foundation:
    [string]$farmAcct = "DOMAIN\service_Account"
    [string]$serviceAppName = "Search Service Application"
    Function WriteLine
    Write-Host -ForegroundColor White "--------------------------------------------------------------"
    Function ActivateAndConfigureSearchService
    Try
    # Based on this script : http://blog.falchionconsulting.com/index.php/2013/02/provisioning-search-on-sharepoint-2013-foundation-using-powershell/
    Write-Host -ForegroundColor White " --> Configure the SharePoint Foundation Search Service -", $env:computername
    Start-SPEnterpriseSearchServiceInstance $env:computername
    Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance $env:computername
    $appPool = Get-SPManagedAccount -Identity $farmAcct
    New-SPServiceApplicationPool -Name SeachApplication_AppPool -Account $appPool -Verbose
    $saAppPool = Get-SPServiceApplicationPool -Identity SeachApplication_AppPool
    $svcPool = $saAppPool
    $adminPool = $saAppPool
    $searchServiceInstance = Get-SPEnterpriseSearchServiceInstance $env:computername
    $searchService = $searchServiceInstance.Service
    $bindings = @("InvokeMethod", "NonPublic", "Instance")
    $types = @([string],
    [Type],
    [Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool],
    [Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool])
    $values = @($serviceAppName,
    [Microsoft.Office.Server.Search.Administration.SearchServiceApplication],
    [Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool]$svcPool,
    [Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool]$adminPool)
    $methodInfo = $searchService.GetType().GetMethod("CreateApplicationWithDefaultTopology", $bindings, $null, $types, $null)
    $searchServiceApp = $methodInfo.Invoke($searchService, $values)
    $searchProxy = New-SPEnterpriseSearchServiceApplicationProxy -Name "$serviceAppName - Proxy" -SearchApplication $searchServiceApp
    $searchServiceApp.Provision()
    catch [system.exception]
    Write-Host -ForegroundColor Yellow " ->> Activate And Configure Search Service caught a system exception"
    Write-Host -ForegroundColor Red "Exception Message:", $_.Exception.ToString()
    finally
    WriteLine
    ActivateAndConfigureSearchService
    Reference:
    https://sharepointpsscripts.codeplex.com/releases/view/112556
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected].
    Eric Tao
    TechNet Community Support

  • I cannot receive email properly now. When I open mail, it says that is downloading about 1,700 emails. At the very end, it gives me my newest ones. But this takes a long time. I've contacted the Internet service provider and verified all the right setting

    I cannot receive email properly on either my IPad or my IPhone. I have had them for over a year and they have always worked fine. Until three days ago, when they both started acting up. On the IPad, when I open mail, it says it is downloading about 1,700 emails. At the very end, which takes quite a while to get to, I finally get the most recent ones. The IPad is sending emails just fine.
    On my IPhone, when I open mail, it says it is downloading 100 emails, but it doesn't do that. And it gives me no new emails at all. The IPhone is sending email just fine.
    I have already deleted the email accounts on both devices and reinstalled them. I've contacted the Internet service provider and verified all the right settings. The Outlook email on my desktop is working perfectly.

    WMV is a heavily-compressed format/CODEC, and the processing time will depend on several factors:
    Your CPU, which is not that powerful in your case
    Your I/O sub-system, which is likely a single HDD on your laptop
    The source footage. What is your source footage?
    Any Effects added to that footage. Do you have any Effects?
    Each of those will have an impact on the time required.
    The trial has only one main limitation - the watermark. Now, there are some components, that have to be activated, but are not with the trial, but they would be evident with Import of your source footage, if it's an issue.
    Good luck,
    Hunt

  • Cannot End Call on Q10 after upgrading to OS 10.2

    I cannot End Call (mostly Outgoing) after upgrading to OS 10.2. The receivers phone keeps ringing even after i try to disconnect the call. The "END CALL" option is grayed out and the red led on the top left keeps blinking. This happens very frequently (mostly Outgoing calls). Any thoughts or solutions Thx

    marootz wrote:
    I cannot End Call (mostly Outgoing) after upgrading to OS 10.2. The receivers phone keeps ringing even after i try to disconnect the call. The "END CALL" option is grayed out and the red led on the top left keeps blinking. This happens very frequently (mostly Outgoing calls). Any thoughts or solutions Thx
    From the main screen, swipe down from the top black bezel to Settings > About... what is the OS Version listed there?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • HT204053 Dear Support Team, every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud???

    Dear Support Team,
    Every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud?
    Thanks

    It is not possible to create a new iCloud account using a Windows machine. You must create the account using a Mac (10.7.5 or more) or an IOS device (iPhone etc). Once that is done you can sign into and use the account on your Windows machine.

  • My Outlook/iCloud calendar invites to others appear to work on my end and sync with my PC and mobile, but when other people "accept" the invite, it will not populate/add in to their calendar. How can i fix this without turning off iCloud?

    My Outlook/iCloud calendar invites to others appear to work on my end and sync with my PC and mobile, but when other people "accept" the invite, it will not populate/add in to their calendar. How can I fix this without turning off iCloud?
    I am at a new office that uses Outlook (not Outlook Exchange) which does not sync with my mobile... I just got iCloud set up on my PC to sync my contacts, calendar, reminders, etc... The sync worked (not without flaws, but the other issues seem solvable... I think), so that i can now see all my appointments on both my phone and on my PC. The problem I am having is that iCloud moved all of my calendar items from Outlook into iCloud calendar and now when I send out meeting/calendar invites the recipients may accept them, but the meeting does not get added to their calendar. This is a huge problem and may mean that i need to turn off iCloud.
    Does anyone know how to fix this?
    Thanks!

    I am replying to my own post here as I seem to have fixed the problem.
    I do have some calendars that are shared. Some of those are shared with users who have time zone support turned on. So i activated time zone support on my iphone, then deleted my icloud subscription. I then signed in to icloud again and voila... problem solved.
    It is a weird one as the other calendar views were always fine and when you opened an event that appeared in the wrong day (on list view), the correct date of the event was shown in the information...
    one more bug in a complicated system I guess

  • At the end of my IMovie I want to write some text: as in" Happy Birthday Mandy we had a great time with you. etc..  How do I go about this? Which icon in IMovie lets me have a place to write text?? help please

    Please see my ? above: Im making an IMovie and need the last frame to just be text (can be on a color). I don't know how to go about doing this.  Ive already done all my photos and captions. Need to have it ready for TOMORROW: Friday May 23rd. Help please!
    Thanks

    You can choose a background for the text from Maps and Backgrounds.  Just drag a background to the end of the timeline, adjust to desired duration then drag title above it.
    Geoff.

  • How do I add a widget to give a review or star rating for a book at the end of a book in iBooks Author?

    How do I add a widget to give a review or star rating for a book at the end of a book in iBooks Author? You know, how you buy books on iBooks and when you're finished reading it, there's a place where you can give a rating or review right there on the very last page?

    Just supply a link that says 'Review This Book' - use http://itunes.apple.com/linkmaker/ to generate one.

  • How to add a sub report at the end of the main report whilst grouped

    Hi!
    I have a main report that is grouped by the Customers name and then details of transactions they did with the company.
    I need to add a letter at the end of each group for each customer (With their name displayed in the letter). I tried adding a sub report in the report footer, but it only appears once at the end of the report, rather than at the end of each group for each customer.
    How can I achieve the desired result?
    Regards
    Vik

    Vik,
    You are on the right track with the sub-report.
    1. Create your letter in a separate report.
    2. Add the Letter Report to your original report as a sub report in the group footer.
    3. Set the report links on the "Group By" field.
    This will give you a letter record for each report record with the same grouping as the main report.
    Hope this helps,
    Jason

  • Is there a way for an end user to see who has membership in a security group

    Windows Server 2008 R2
    Active Directory Domain
    Windows 7 workstations
    I am looking for a way that my end users can look at a folder security tab and then discover who has membership in the security groups listed.
    Is that possible? Any drawbacks or concerns?

    Hi Tod,
    Based on my research, other than viewing group membership in ADUC, we can use this PowerShell cmdlet
    Get-ADGroupMember GroupName and Net Group GroupName to view members in a group:
    However, these commands can only be used on Domain Controllers or when connecting to DCs remotely. That’s because accounts and account membership are stored on Domain Controllers, therefore we can only view group membership on DCs.
    More information for you:
    Viewing the Direct Members of a Group
    http://technet.microsoft.com/en-us/library/dd391915(v=WS.10).aspx
    Net group
    http://technet.microsoft.com/en-us/library/cc754051.aspx
    Best Regards,
    Amy

  • Is it possible to export to PDF without a Return character at the end of every line?

    I am the author of a book whose first edition has been typeset and extensively amended in InDesign.  I now need to rewrite the first edition to produce a second edition.
    When I copy-and-paste from the PDF with which the publisher has supplied me into MS Word, I get a Return character at the end of every line, which means that text doesn’t automatically wrap and sentences are fragmented so that I get spurious grammar errors.
    I know that not all PDF files have a Return at the end of every line.  Is it possible to restrict Returns to the end of paragraphs when exporting from InDesign to PDF?  If so, what should the publisher be asking the typesetter to do?

    Thanks for your lightning-swift and helpful replies, Mike & Ellis.
    I don't have InDesign myself, so I know hardly anything about how it's used.  I'm just trying to research what an internationally-known publisher should already know how to do, but apparently doesn't!
    Following your suggestion, Mike, I have downloaded the trial version of Acrobat and exported the PDF to a Word file.  This has been moderately successful as there are far fewer spurious Return characters, just a few that I suspect may be hangovers from the typesetter having introduced soft returns in ID.
    As you've suggested Peter and Ellis, I'll suggest that the publisher asks the typesettter to export from ID to RTF and Text to see if that's even better.
    Message was edited 15:24 GMT by: AlanS5100

Maybe you are looking for

  • Vendor Payment TDS Issue

    Dear Expert By making payment to Vendor through Petty Cash transaction FBCJ we deduct TDS amount, so that final payment amount column shows amount which doesn't include TDS amount. Now we have created Two Cash journals 1110 and 1410 but in 1410 cash

  • Remote infrared codes for the Sony STR-DE675 receiver

    Where can I find the remote infrared codes for the Sony STR-DE675 receiver? They are not in the Owner's Manual, nor on the Sony.com website. Thanks.GBP

  • Gentoo scared me back to Arch...

    For the past few days I've been trying to get Gentoo working on my desktop computer. It was a nightmare. Firstly, the module for my network card was not loaded, and X failed to start on the live cd. When I did get the live cd working, the installer d

  • Is it necessary to keep Premiere Pro CC on my hard drive after installing the newer "2014" version?

    After installing the latest version, I discovered that the old Pro CC wasn't replaced by the new "2014." So I'm wondering if it's necessary for any reason to keep the old one, or can I go through the "Uninstall" routine without doing any harm to the

  • HT5278 update will download but will not process

    I am trying to update my iPhone and the software will update, but when it goes to process, it tells me to check my settings and that the system timed out.  Any ideas how to problem solve?