Regarding the AT END

hi,
i had written the following code as below
LOOP AT IT_WEMNG INTO WA_WEMNG WHERE EBELN = WA_EKPO-EBELN
                                        AND  EBELP = WA_EKPO-EBELP.
          IF SY-TABIX = 1.
            MOVE WA_WEMNG-EINDT TO WA_EKPO-EINDT.
          ENDIF.
          W_WEMNG = W_WEMNG + WA_WEMNG-WEMNG.
          AT LAST.
            MOVE W_WEMNG TO WA_EKPO-WEMNG.
          ENDAT.
        ENDLOOP.
but in the extended  code check it is giving an error.
Please correct me.
Thanks in advance

see this sample program
Using AT FIRST , AT NEW, AT THE END OF , AT LAST.
DATA: BEGIN OF ITAB OCCURS 0,
      F1 TYPE I,
      F2(6) TYPE C,
      F3(10) TYPE N,
      F4(16) TYPE P DECIMALS  2,
      END OF ITAB.
DATA: SUB_TOT(10) TYPE P DECIMALS 3.
**--1
ITAB-F1 = 1.
ITAB-F2 = 'ONE'.
ITAB-F3 = 10.
ITAB-F4 = '1000.00'.
APPEND ITAB.
CLEAR ITAB.
ITAB-F1 = 1.
ITAB-F2 = 'ONE'.
ITAB-F3 = 20.
ITAB-F4 = '2000.00'.
APPEND ITAB.
CLEAR ITAB.
ITAB-F1 = 1.
ITAB-F2 = 'ONE'.
ITAB-F3 = 30.
ITAB-F4 = '3000.00'.
APPEND ITAB.
CLEAR ITAB.
*--2
ITAB-F1 = 2.
ITAB-F2 = 'TWO'.
ITAB-F3 = 10.
ITAB-F4 = '1000.00'.
APPEND ITAB.
CLEAR ITAB.
ITAB-F1 = 2.
ITAB-F2 = 'TWO'.
ITAB-F3 = 20.
ITAB-F4 = '2000.00'.
APPEND ITAB.
CLEAR ITAB.
*-- 3
ITAB-F1 = 3.
ITAB-F2 = 'THREE'.
ITAB-F3 = 10.
ITAB-F4 = '1000.00'.
APPEND ITAB.
CLEAR ITAB.
ITAB-F1 = 3.
ITAB-F2 = 'THREE'.
ITAB-F3 = 20.
ITAB-F4 = '2000.00'.
APPEND ITAB.
CLEAR ITAB.
SORT ITAB BY F1.
LOOP AT ITAB.
AT FIRST.
WRITE: /35 ' MATERIAL DETAILS:'.
ULINE.
ENDAT.
AT NEW F1.
WRITE: / 'DETAILS OF MATERIAL:' COLOR 7  , ITAB-F1.
ULINE.
ENDAT.
WRITE: / ITAB-F1, ITAB-F2, ITAB-F3, ITAB-F4.
SUB_TOT = SUB_TOT + ITAB-F4.
AT END OF F1.
ULINE.
WRITE: / 'SUB TOTAL :'  COLOR 3 INVERSE ON, SUB_TOT COLOR 3 INVERSE ON.
CLEAR SUB_TOT.
ENDAT.
AT LAST.
SUM.
ULINE.
WRITE: 'SUM:', ITAB-F4.
ULINE.
ENDAT.
ENDLOOP.

Similar Messages

  • Regarding the front end uix forms customization

    Hi,
    I am trying to customise the uix pages for the b2b reports.May I know where the servlets paths are mapped which are mentioned in the uix files.The instace classes used by the uix file is given below.
    <event name="search">
    <instance class="oracle.tip.tools.integration.buslogic.reports.RptBusinessMessageSearchHandler" />
    </event>
    but the mentioned path does not exist.Where the actual mapping is done?

    Hi Soumyoshis
    There is a post called B2B InstanceMessage Sample
    B2B InstanceMessage Sample
    You can use the InstanceMessage and InstanceMessageUtil classes to generate your own reports. There is a sample code snippet also given in that post which could be a helpful start for you.
    Hope this helps.
    --Arun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Hi, i am having an issue with a basic motion scroll effect.  I already watched and read every tutorial out there regarding this topic and even tried the adobe chat support, but the guy on the other end of the line disconnected me-, probably he didn't unde

    Hi, i am having an issue with a basic motion scroll effect.
    I already watched and read every tutorial out there regarding this topic and even tried the adobe chat support, but the guy on the other end of the line disconnected me…, probably he didn't understand what i wanted from him because english is not my native language, so a will try to be very, very clear about this one..
    please note, that i am new to muse, this is my first project ever.
    my idea is as following:
    when the customer comes to our companies site, he just sees our logo on a white Background. the logo consists of, say, four elements. when the customer scrolls down, the logo starts to disassamble: first the first part of the logo flies out the left side of the site, then the second part of the logo vanishes down, then the third part of the logo flies to the right, then the fourth part of the logo flies to the top and out of the customers view. given what i have seen, it is possible to do that….
    so…..
    now i have the four parts of my logo imported as png files into muse and assembled them in design view to build our companies logo. I select every one of the four parts and go into the scroll effects tab left beside the layers tab. first i enter the same values for every one of the four parts: initial motion: 0x and 0x again for the left and right motion; key position ( t-handle) : 0px; final motion: 0x and 0x again for the left and right value.
    now i hit "preview".: the logo is "pinned" at the correct position, i can scroll but the logo stays where it is. so far so good….
    now i select all the four elements again and go to the scroll effecs tab. at "final motion", i click the down arrows and enter 1x. I hit Preview…
    when i am scrolling down the WHOLE logo goes down…. so far so good.
    NOW i want the first part of the logo to go down, THEN the second part to go left, THEN the third part to go up, THEN the fourth part to go right.
    so i select ONLY the first part, go to the scroll motion tab, at "final motion" i click the left arrows, then i enter 1x.( the up-down value, i set to 0 again).. i hit Preview…
    the first part of the logo goes left as soon as i start scrolling, the other three parts still go down at the same time…
    NOW i want the second part of the logo to start moving, when the first part has left the scene, not at the same time as the first part.
    SO I SELECT THE SECOND PART AND DRAG ITS T-HANDLE (KEY POSITION) DOWN TO, LETS SAY, 200PX. SO IT STARTS MOVING ONLY AFTER THE CUSTOMER HAS REACHED THAT POINT, RIGHT?
    BUT WHEN I PREVIEW THAT ****, THE LOGO IS NOT TOGETHER ANYMORE, THE SECOND PART IS FLOATING ANYWHERE ELSE BUT WHERE IT SHOULD BE…..WTFF????
    short: when i move the t handle, the initial position of the object changes. thats what i said to the adobe employee, but he said, that thats the expected behavior….
    but if thats so, how can i have my four parts correctly together, so they form my logo, but with different t handles, so that they all start to move at different times??
    Pleeease help me, i am dying of frustration here…..:( that behavior cant be right, right?
    Thanks so much to everyone who actually reads this post and tries to help…….
    All the best,
    Niki Lapan

    Thank you so much for helping,
    But i really wonder how you did that. did you always switch between design view and preview view, then change the key position for 2px then switch back, to align the four letters? because i imagine that can get really frustrating, if you have a logo consisting of 58 parts instead of 4!:)
    Anyway thank you very much for your time and effort!!!!

  • To avoid writing database code in the front end

    Hello,
    I am working on a database application using 10g database as backend and dotnet as front end. I wish to execute only oracle stored procedure for all the select (to avoid hard parse and use of bind variable), DDL and DML operations; just to avoid writing database code in the front end. Can anyone please give me a little examples of :
    1.Select query's output to be return as resultset by stored procedure.
    2.DML example by stored procedure.
    3.Any DDL example by stored procedure.
    using scott.emp, so that i would just call the stored procedure, rather than giving select,DML and/or DDL commands in the front end. Even though i have read in the documentation, but a clear cut examples will help me to get into clear concept as well.
    Thanks & Regards
    Girish Sharma

    Hi...
    -->Select example
    create or replace procedure get_emp(rc out sys_refcursor)
    is
    begin
    open rc for select * from emp;
    end;
    -->DML example
    create or replace procedure do_dml_emp(pempid in number,
    pempname varchar2,
    result out number)
    is
    begin
    insert into emp(empid,empname) values(pempid,pempname) returning empid into result;
    exception
    when others then
    result:=-1;
    end;
    -->DDL example
    create or replace procedure ddl_emp(colname varchar2,
    coltype varchar2,
    result out number)
    is
    begin
    result:=-1;
    execute immediate 'alter table emp add column ' || colname || ' ' || coltype ;
    result:=1;
    end;

  • How can I select a radio button in a table regarding the data in the cells?

    Hi everyone
    This is the issue: I need to select the RadioButton which is in a table with data related to transfers in the cells next to it, so I need to select the correct radio regarding the data next to it.
    This is the whole process: First I go to the Add Recurring Transfer section and select the parameters of the transfer (Accounts, date, amount, months etc), then with VB code I capture those parameters from the page and store them into Global variables for further usage on my E-tester script.
    Right after that I need to select the radiobutton regarding the data of the transfer that I already created in order to delete it or modify it (Please see Attachment selectradio1.jpg)
    So How can I move along the table and compare each cell with the variables that I created with the transfer information, so when I finish comparing a row cell by cell and if all the comparison match well in that row, I could select the radiobutton of the row.
    Note: Second Attachment selectradio2.jpg shows the source code of the table...If you need more info please let me know
    Could you please help me with this problem?? I'm Kind of frustrated with this issue jejeje

    Here is an example. I uploaded mock html so that you can actually try this code. I think this does exactly what you are asking.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    Dim rButton As HTMLInputElement
    ' ******** This would be your global variable. I put this so that values are seperated by a semicolin you can use what ever format works for you.
    strValue = "03/22/2008;03/22/2008;*************1977;*************1977;$25.25;Jan, Jun, Jul, Dec"
    ' Strip out the ; for inner text comparison
    strValue = Replace(strValue, ";", "")
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    ' then clicks the radio button. Findelements allows you to specify a root element
    ' once the correct root row is found, FindElemets can get the correct radio button
    For Each tblRow In tbl.rows
      If tblRow.innerText = strValue Then
        Set rButton = RSWApp.om.FindElement("account", "INPUT", "NAME", , , tblRow)
         rButton.click
       End If
    Next
    End Sub
    I also uploaded the script I created. You should be able to run it and see how it works.
    This should get you going.

  • Diagram Not getting displayed on the Front End UI in SSM 7.5

    Hello ,
    We are running SSM 7.5 SP 04. We uploaded a custom image using diagram manager for the required context in the administration UI. The image is uploaded successfully. But , when I open the strategy tab for my context in the front end UI , I am getting a "HTTP 500 Page cannot be displayed error".
    I restarted the listeners and the JPIP sessions as well. But still the error persists. Please advise.
    Thanks and Regards
    Vijay

    Vijay,
    It is possible to successfully upload a strategy map into Diagram Manager and still not see it in the User Interface. After loading the goal diagram has to be Published To Server. You do that in Diagram Manager.
    You can upload a strategy map and Save that in Strategy Default in Administrator Interface, but unless you Publish it, it will not be exposed to the end users.
    In the Set Strategy Defaults area of the Administrator Interface, in the Create or Edit Goal Diagrams section. The Goal Diagram you loaded should have a Publish Date next to it. If it says Not Published, you need to Edit that Goal Diagram in Diagram Manager,
    In Diagram Manager under FILE at the top, choose Publish to Server.
    You now should see a Publish Date in the Administrator interface and Saving it will now make it available on the user side.
    Regards,
    Bob

  • Lync 2013 Enterprise load balancing on the front end and edge pool

    Hi,
    I am setting up a Lync 2013 Enterprise deployment consisting of a Front End pool (x2 FE servers) and an Edge pool (x2 Edge servers).  I'm seeing some conflicting advice regarding load balancing using hardware or DNS for the front end and the edge.
    On the front end I have 2 internal DNS records 'lyncfepool1.contoso.local' each of which map to one of the IPs of the FE servers.  I've used my details to populate the Detailed Design Planner excel spreadsheet and am told that I require a HLB to load
    balance my front end pool.  I'm aware of the need to load balance HTTPS traffic internally (which will be done by TMG) however other traffic to the front end (SIP, etc) can be balanced by DNS only, and not require a HLB?
    Can someone clarify the front end requirement?
    Also - looking now at the edge pool - this site again have two edge servers in a pool.  We are using a total of six private IP addresses, two per edge service (2 x av.contoso.com, 2 x sip.contoso.com and 2 x webcon.contoso.com).  These will be
    NAT'ed by the external firewall and directed to the respective external (DMZ) IP addresses on the Edge servers on port 443.  I know this isn't true roundrobin due to the intelligence of the Lync client when connecting (in that the Lync client will connect
    to one of the public IPs and if it can't connect, it will know to connect to the other service IP), however I want to clarify this set up, particularly the need to direct the external public IP traffic at the DMZ Edge IP specified in the topology builder.
    I've attached a basic diagram of the external/DMZ/Edge side which hopefully helps with this question
    Persevere, Persevere, Per..

    That is because you will always need HLB for a front-end server since it hosts the Lync webservices which use HTTP/HTTPS traffic.
    The description on the calculation tool also describes this correctly:
    Supports Standard and Enterprise pools (up to 12 nodes), with pure device-based load balancing or a combination of DNS load balancing and device-based load balancing (for
    Lync web services)
    You can use either Hardware or DNS loadbalancing for SIP traffic only, but you will always need a HLB for the webservices.  Both are applicable for the Front-End so you have either
    full HLB for both SIP and HTTP(S) traffic
    DNS LB for SIP traffic and HLB for HTTP(S) traffic
    Hope this is more clear :-)
    Lync Server MVP | MCITP Lync Server 2010 | If you think my post is the answer to your question, please mark it as answer so future visitors can easily find it.

  • GR/IR at the month end

    Hello,
    What we have to do with GR IR account for clearing at the month end.
    Regards
    Ravi

    Hi Ravi,
    GR/IR clearing is the month end activity. To do this first you should maintain gl accounts under open item managment.
    the GR/IR Clearing account is used to account for Goods Receipt and Invoice entry for the vendor invoices. The GR/IR clearing account program reclassifies the entries in GR/IR account as either assets or liabilities for reporting purpose. At the period end which goods receipt has been done and for which Invoice has not been recd or goods for which invoice has been done and GR has not been done. During the time between invoice being created and delivered the goods. To accommodate this timing difference a gr/ir clearing account is maintain temporarily to record the flow
    hope it will useful and pl assign points
    thanks
    venkat

  • Error in decimal places while using the currency ends with 4 e.g. CNY4,USD4

    Dear all,
    I need ye help, the problem that a report having a field KONP-KBETR .......the report moves the decimal 2 places to the right.  And so, 412.3846 becomes 41238.46.  ..occurs only when the currency ends in 4 (CNY4, USD4, EUR4..) 
          Can you please guide.
    Thanks in advance .
    Rgds,
    Pem

    Hi,
    I think you are misinterpretting the things.
    1.CNY4, USD4, EUR4 are Currency keys and they does not end with 4 they are CNY, USD, EUR.
    2.and KBETR is CURR(11,2) so it will always display TWO places of decimals.
    Regards,
    Neha

  • How to fing out the details of PO item befor replicating to the back end.

    Hi SRM Guru
    We are working on the SRM 4.0 and extended classic scenario.
    I want to see all the details which are send to the back end for creation of the purchase Order.
    I will specify the steps I follow.
    Create the SC( waiting for approval ) , Approver approves the SC then SC will be created in SRM and the replicated in the Back end .
         I have tried to find out this through the external debugging
    I have set the break points @ BBP_DOC_SAVE_BADI and BBP_DOC_CHANGE_BADI, CL_HANDLER ( Methods ), but I am not able to reach the point to the PO creation in SRM and its replication in the back end.
    1     Does any one tell me the sequence of the badiu2019s coming?
    2     How the PO gets replicated in the back end ?
         which bapi(BAPI CREATEPO) is called ?
         After which event this bapi  called ?
         Which data is passed for the creation of PO ?
    3     where I will get the information on the structures/internal tables which are getting      populated during the debugging.
    With Regards
    DSS

    U mean u want to know at runtime?
    Get the output from ur proxy as a string, count the number of "<" characters and divide it by 2. :-P
    Of course, you'll have to treat the header fields separately.
    Regards,
    Henrique.

  • Urgent!!Error in the front end when trying to view a report

    Hi All,
    I am getting this error when I am trying to view a report in the front-end.
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    Please let me know if you have any ideas.
    Thanks.
    Vinay Sai Konduru

    Have a look at your login crenditals in the Connection Pool.
    Regards
    John
    http://obiee101.blogspot.com/

  • Hide "ORACLE FUSION MIDDLEWARE"  message in the front-end

    Hi ,
    I want to hide the "ORACLE FUSION MIDDLEWARE" message in the front-end forms layout.
    Please let me know which file I need to make change in the back-end and do I need to do any-thing from oracle admin also (any deployment or any check).
    Thanks & Regards,
    Harish

    After making some changes in my HTML page the layout is coming properly

  • To change the layout of the front end

    I am working in c projects it is a web enabled server at the front end and at the back end it is sap
    I have to make changes in front end to add two i/p fields and backend it should update the sap table
    Please help
    Regards
    Abhijit Chitre

    Hi,
    Welcome to SDN.
    Could you give us information about the web application on the front end, is it using BSP ?
    It sounds like you want to modify the standard, is that OK for you ?
    Have you already located the BSP application (if any) in charge of the processing ?
    Best regards,
    Guillaume

  • "No administrator found for the task" in the front end

    Hi all,
    My issue is, whenever approval request is raised from the front end ( JAVA WEB-DYNPRO), it triggers the workflow through the "<b>sap_wapi_start_workflow</b>" and when the workflow proceeds to the first level of approval, the front end application provides the approver with <b>Approve</b> and <b>Reject</b> options.
    On click of approve, from the java webdynpro, the approve status is written in the container using "<b>sap_wapi_write_container</b>" and then a call is made to "<b>sap_wapi_workitem_complete</b>". Upon excution, the message line is "<b>No administrator found for the task</b>" and the return code is "<b>1</b>".
    But if we do the same steps from the backend (R/3), the workitem is getting completed without any such error.
    Please advice.
    Thanks.

    Hi Balaji,
    I think I have an answer for you.  This has happened with us when approving a WD java task using UWL (in our case for travel).  The key is the return code of 1.
    What has happened is this.  The return code actually comes from the function SWW_WI_STATUS_CHANGE_NEW which is called deep in the WAPI wrapper.  It means "infeasible_state_transition = 1".
    This is due to the fact that after updating the container, your wapi call from web dynpro tries to change the workitem from status of "Ready" to status "Completed".  This will not work.
    What you will have to do is call "SWW_WI_STATUS_CHANGE_NEW" to set the status to 'SELECTED' beofre setting the item to complete.
    The reason for this is that when you are executing from R3, the status change is done for you.  When calling from the WD, no reservation of the workitem occurs.
    Sorry about last night, I live well outside of town and the phone reception at my place is poor.
    Regards
    Gareth

  • Data not reflecting in the front end after hiring from PA48

    Hi,
    I am doing the data transfer process from the webdynpro application. The candidate to be hired is getting reflected in PA48,and once the hiring is done and I run HRALXSYNC, the status is still red. Can anybody suggest what else needs to be done, so that the employee details are reflected in the front end.
    Regards,
    Afra

    Hi,
    Check this
    Switch PBPHR: ON 
    Switch HRAC: X
    in  77S0 table.
    Regards,
    Sai

Maybe you are looking for