AT NEW and AT END OF

Hey gurus
sorted ITAB according to D and E
A     B     C     D     E 
1     10    A     123  10
1     20    A     123  20
1     30    A     456  10
1     40    A     456  20
LOOP AT ITAB
  AT NEW D.
......processing
  ENDAT.
  FILL XYZ table.
  AT END OF D
   CALL FUNCTION.
  ENDAT.
ENDLOOP
I want to fill the XYZ table for same value of D. But as soon as it arrives at ENDAT, it moves to next statement. And process all the four readings separately.
please help me out with this. its urgent
points will be rewarded.

Hi Rohit,
this is because the value of the B field is changing for every record.
A B C D E
1 10 A 123 10
1 20 A 123 20
1 30 A 456 10
1 40 A 456 20
the control break statements check the values from the left most field onwards.
even though a single value differs from the above record the AT NEW triggers
If u  want to fill the XYZ table for same value of D. then remove the field B from the second place and keep it on fifth palce . Now try writing AT NEW on Field D. it works
A  C D E B
1  A 123 10 10
1  A 123 20 20
1  A 456 10 30
1  A 456 20 40
Now write AT NEW D.
ENDAT.
reward if helpful
raam

Similar Messages

  • COLLECT with AT NEW and AT END OF....?

    Hi Experts,
    I'm trying to use the collect statement withiin a at new and at end of loop as follows.
    DATA: BEGIN OF gt_item OCCURS 0,
          order TYPE order,
          quantity TYPE quantity,
          line_no TYPE line_no,
          END OF gt_item.
      DATA: BEGIN OF lt_picks OCCURS 0,
            pick(2) TYPE c,
            count TYPE i,
            END OF lt_picks.
    SORT gt_item BY suborder_no.
      LOOP AT gt_item.
        AT NEW suborder_no.
          CLEAR lt_picks.
          CLEAR lv_count.
        ENDAT.
    **EACH ITEM
        ADD 1 TO lv_count.
        AT END OF suborder_no.
          lt_picks-pick = lv_count.
          lt_picks-count = 1.
          COLLECT lt_picks.
        ENDAT.
      ENDLOOP.
    I have essetially 23 entries in gt_item where some ordr numbers are the same - the quantity for 20 entries is 1 and for 3 entries is 3.
    Therefore i should get back lt_picks as
    Pick     |      Count
    1                  20
    3                   3
    But what im getting back is
    Pick     |      Count
    1                  7
    3                  2
    2                  3
    4                   1
    Any ideas anyone - Thanks in advance

    Hi Henri,
    Contents are as follows :
    0806107835168-1                  |1            |000001                 
    2938277835168-1                  |1            |000003                 
    2938277835168-1                  |1            |000002                 
    2938277835168-1                  |1            |000001                 
    2938277835168-2                  |1            |000001                 
    080605-122378-2                  |1            |000002                 
    080605-122378-2                  |1            |000001                 
    080605-502378-1                  |1            |000003                 
    080605-502378-1                  |1            |000002                
    080605-502378-1                  |1            |000001                 
    080605-502378-2                  |1            |000002                 
    080605-502378-2                  |1            |000001                 
    080605-502379-1                  |3            |000001                 
    080605-502379-2                  |3            |000001                 
    080605-502379-3                  |3            |000001                 
    080605-502379-4                  |1            |000001                 
    080605-502380-1                  |1            |000001                 
    080605-502381-1                  |1            |000001                 
    080605-502381-1                  |1            |000002                 
    V80905-502374-1                  |1            |000005                 
    V80905-502374-1                  |1            |000003                 
    V80905-502374-1                  |1            |000002                 
    V80905-502374-1                  |1            |000001     
    Thanks

  • At new and at end of statement

    how to use AT NEW and AT END OF
    efficiently,kindly give some solid examples.
    thanks!!

    Now say, u have internal table with mateirals....there are 100 records with 10 mterials...
    loop at it_matnr.
      at new matnr.
        <b>write code</b>
      endat.
      <b>write code.</b>
      at end of matnr.
         <b>write code</b>
      endat.
    endloop.
    Check this which is explained...
    Control Level Processing
    When you perform a sort using the SORTstatement, control levels are defined in the extract dataset. For general information about control levels, refer to Processing Internal Tables in Loops The control level hierarchy of an extract dataset corresponds to the sequence of the fields in the header field group. After sorting, you can use the ATstatement within a LOOP loop to program statement blocks that the system processes only when the control level changes.
    AT NEW f | AT END OF f.
    ENDAT.
    A control break occurs when the value of the field f or a superior field in the current record has a different value from the previous record (AT NEW) or the subsequent record (AT END). Field f must be part of the header field group.
    If the extract dataset is not sorted, the AT - ENDAT block is never executed. Furthermore, all extract records with the value HEX null in the field f are ignored when the control breaks are determined.
    The AT... ENDAT blocks in a loop are processed in the order in which they occur. This sequence should be the same as the sort sequence. This sequence must not necessarily be the sequence of the fields in the header field group, but can also be the one determined in the SORT statement.
    If you have sorted an extract dataset by the fields f1, f2, …, the processing of the control levels should be written between the other control statements in the LOOP loop as follows:
    LOOP.
      AT FIRST.... ENDAT.
        AT NEW f1....... ENDAT.
          AT NEW f2....... ENDAT.
              AT fgi..... ENDAT.
              Single record processing without control statement
          AT END OF f2.... ENDAT.
        AT END OF f1.... ENDAT.
      AT LAST..... ENDAT.
    ENDLOOP.
    You do not have to use all of the statement blocks listed here, but only the ones you require.
    REPORT demo_extract_at_new.
    DATA: t1(4) TYPE c, t2 TYPE i.
    FIELD-GROUPS: header.
    INSERT t2 t1 INTO header.
    t1 ='AABB'. t2 = 1. EXTRACT header.
    t1 ='BBCC'. t2 = 2. EXTRACT header.
    t1 ='AAAA'. t2 = 2. EXTRACT header.
    t1 ='AABB'. t2 = 1. EXTRACT header.
    t1 ='BBBB'. t2 = 2. EXTRACT header.
    t1 ='BBCC'. t2 = 2. EXTRACT header.
    t1 ='AAAA'. t2 = 1. EXTRACT header.
    t1 ='BBBB'. t2 = 1. EXTRACT header.
    t1 ='AAAA'. t2 = 3. EXTRACT header.
    t1 ='AABB'. t2 = 1. EXTRACT header.
    SORT BY t1 t2.
    LOOP.
      AT FIRST.
        WRITE 'Start of LOOP'.
        ULINE.
      ENDAT.
      AT NEW t1.
        WRITE / '   New T1:'.
      ENDAT.
      AT NEW t2.
        WRITE / '   New T2:'.
      ENDAT.
      WRITE: /14 t1, t2.
      AT END OF t2.
        WRITE / 'End of T2'.
      ENDAT.
      AT END OF t1.
        WRITE / 'End of T1'.
      ENDAT.
      AT LAST.
        ULINE.
      ENDAT.
    ENDLOOP.
    This program creates a sample extract, containing the fields of the header field group only. After the sorting process, the extract dataset has several control breaks for the control levels T1 and T2, which are indicated in the following figure:
    In the LOOP loop, the system displays the contents of the dataset and the control breaks it recognized as follows:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9f1f35c111d1829f0000e829fbfe/frameset.htm

  • Difference b/w  AT  NEW and AT END OF

    Hi all,
    Can any body exactly explain me the difference between  AT  NEW and AT END  OF with example
    Regards,
    N Manjrekar

    Hi Nikhil,
    at new - > means inside the loop, the new value.
    eg :
    1
    1
    2
    3
    4
    5
    5
    loop at itab
    at new matnr
    write matnr.
    end at.
    end loop.
    1
    2
    3
    4
    5
    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,
    Priyanka.

  • Problem with AT NEW and AT END Statements

    Hi all,
    I am facing a problem in a report with i have to change ,
    currently report is for single plant input but now multiple option is to be given , so now the material quantity and value should come along with material and plant.
    But in report lot's of AT NEW matnr and AT END of matnr has been use but now i have to add plant in it , but these statements take only one parameter.
    I tried using ON CHANGE Statement but in that SUM Can't be use.
    So please help me in sorting out this problem.
    Thanks and Regards,
    Vivek

    Hi,
      Already you are using material in AT NEW statements and you want to include Plant. by changing the structure you can continue with the same statement i.e., AT NEW matnr.
    Structure:
    Data: begin of itab  occurs 0,
               werks  type werks,
               matnr   type  matnr,
               qyt     type  matqty,
             end of itab.
    SORT itab BY  werks, matnr.
    If you use AT NEW matnr. this will be triggered  when plant value changes and also when matnr changes.
    Hope it is clear.

  • Issue when "AT NEW " or "AT END OF " is executed

    Hi,
    I face an issue, when "AT NEW <>" or "AT END OF <>" line gets executed: the loop structure which fetches record from internal table, gets reset every time when either of above two statements are executed. But, whenever loop is called and the structure gets assigned with value, it seems to be fine. Only when above two statements are executed, the problem is introduced. I checked it in debug mode. Not sure on how to solve it. please help.
    Thanks,
    Gaurav.

    Hi,
    When the AT NEW or AT END command get executed in that time the structure which toy are using will make all the fields * other except the field on which you do the AT NEW or AT END.
    Hence you need to pass that structure values to the another structure before the AT NEW and AT END and use that structure in the AT NEW and AT END so ypu will get all the values inside these functions.
    loop at t_temp to lw_temp.
    lw_temp1 = lw_temp.
    AT NEW field name
    Lw_temp =lw_temp1.
    ENDAT.
    ENDLOOP

  • AT NEW and AT CHANGE

    Hi,
    what is use of AT NEW and AT CHANGE.
    When we will use it?
    Akash

    Hi Akash,,
    Using the at new and at end of Statements
    Use the at new and at end of statements to detect a change in a column from one loop pass to the next. These statements enable you to execute code at the beginning and end of a group of records.
    sort by c.
    loop at it.
    at new c.
    endat.
    at end of c.
    endat.
    endloop.
    where:
    These statements can only be used within loop at; they cannot be used within select.
    at new does not have to come before at end of. These statements can appear in any order.
    These statements can appear multiple times within the same loop. For example, you could have two at new and three at end of statements within one loop and they can appear in any order.
    These statements should not be nested inside of one another (that is, at end of should not be placed inside of at new / endat).
    There are no additions to these statements.
    Using at new
    Each time the value of c changes, the lines of code between at new and endat are executed. This block is also executed during the first loop pass or if any fields to the left of c change. Between at and endat, the numeric fields to the right of c are set to zero. The non-numeric fields are filled with asterisks (*). If there are multiple occurrences of at new, they are all executed. at end of behaves in a similar fashion.
    A control level is the component named on a control break statement; it regulates the control break. For example, in the following code snippet, f2 is a control level because it appears on the at new statement.
    loop at it.
    at new f2.
    "(some code here)
    endat.
    endloop.
    It is said that a control break is triggered if the control level changes. This means that when the contents of the control level change, the code between the at and endat is executed.
    A control break is also triggered if any of the fields prior to the control level in the structure change. Therefore, you should define the internal table structure to begin with the fields that form your control levels. You must also sort by all fields prior to and including c.
    Between at and endat, numeric fields to the right of the control level will be zero and non-numeric fields will be filled with asterisks.
    The lines of code between at end of and endat are executed:
    If the control level changes.
    If any field prior to the control level changes.
    If this is the last row of the table.
    report Ztemp.
      data: begin of it occurs 4,
                f1,
                f2,
                end of it.
      it = '1A'. append it. "Fill it with data
      it = '3A'. append it.
      it = '1B'. append it.
    it = '2B'. append it.
    sort it by f1.       
    loop at it.
         at new f1.
             write: / it-f1, it-f2.
             endat.
         endloop.
    skip.
    sort it by f2.       
    loop at it.
         at new f2.
             write: / it-f1, it-f2.
             endat.
         endloop.
    skip.
    sort it by f1 f2.    
    loop at it.
         at new f1.
             write: / it-f1.
             endat.
         at new f2.
             write: /4 it-f2.
             endat.
         endloop.
    free it.
    If Found Help Full Do Reward.
    Regards.
    Eshwar.

  • ON CHANGE and AT END

    Is there a substitute for AT END.
    See in a loop if our control level is not at the begining we can use ON CHANGE instead of AT NEW.
    Like that is there a substitue for AT END

    Hi,
    just a note:
    ON CHANGE OF is not a control-break-statement. It is uses to check the change of any variables content. It will create invisible overhead, not work in OO constructions and slow down performance. Just do not use!
    AT NEW and AT END OF rely on the table structure and need a sorted table. It is not recomenend if you do not fully understand the logic behind it.
    AT FIRST and AT LAST (same applies to AT NEW and AT END OF) will not work correctly if a WHERE clause is used . If the records to be processed by the above statements are not included in the WHERE condition, nothing is triggered.
    The best thing you can do is use the F1 help on the above statements or - even better - tell us what you want to achieve in business terms.
    Regards,
    Clemens

  • When using firefox and each time I open a new tab I end up with a split screen and it is annoying. How so I fix it.

    I open firefox. Go to website then where there is a + sign I open a new tab. A new tab comes up but then splits the screen into two with a new tab in the middle and I end up with 3 small split screens in the one instead of 3 separate tabs.because it is doing that i cannot then get a full screen and go about my usual business. Lately there seems to be numerous problems with fire fox loading also. it continues to come up with page not found and try again. I hit try again and then it may find the page. these are on sites that I access daily and have done so for several years now. Never before have I had so much trouble with fire fox. Not only I but we have four computers accessing the internet ...have done for some time and never had this problem but everyone is suddenly experiencing the same problem. The only thing new that has been put on the main computer is a K9 protection thing recently and I am wondering could that have anything to do with these issues and if not is fire fox having tech issues . How can these problems??

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • DIFFERENCE BETWEEN "AT NEW " AND "AT FIRST" , "AT END OF" AND "AT LAST" ?

    WHAT IS THE DIFFERENCE BETWEEN "AT NEW " AND "AT FIRST" , "AT END OF" AND "AT LAST" WITH REFERENCE TO CONTROL BREAK STATEMENTS ? PLEASE EXPLAIN IN DETAIL.
    BEST REGARDS
    RYAN.

    Hi
    i am sending you a simple program in which i had write program on that events
    you can understand very easily
    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.
    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.
    <b>Reward if usefull</b>

  • I want to reinstall CS4 as it has been doing some strange things regarding printing, etc. However, when I did this before, it created a major problem and I ended up buying a new computer because no one could figure out why it kept hanging up during the in

    I want to reinstall CS4 as it has been doing some strange things regarding printing, etc. However, when I did this before, it created a major problem and I ended up buying a new computer because no one could figure out why it kept hanging up during the installation. Hours on the phone, no results. I'm scared to do it on this computer. Should I try? Not even the Adobe support could get it resolved. I believe it was somehow reading a product number that could not be deleted or something, and nothing worked.
    Message was edited by: Doug Doug

    Hello, as an addition:
    In your case I would download a really new trial version of your program(s) in question and change it/them into a "real" version later, BUT because you said, that you "re-installed" already, so it will become a little bit more complicated. It would be necessary that you have to use "Adobe Creative Suite Cleaner Tool" as Keith wrote.
    Here an advice for that (The order varies depending on your individual needs. Please read all my proposals first, so you can better choose the first step:)
    1. Maybe you have to activate/deactivate, so please have a look there:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    2. Sometimes, we know in the meantime, the "opm.db file" is the culprit. In this case you should delete it.
    3. Be careful with (de)installing aso. by (de)installing by your own resources. As much as I regret it and as strange as it may seem I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool. Sometimes - for whatever reasons - CC doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: Adobe Creative Suite Cleaner Tool helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html   and follow the prescribed sequence of operations
    4. If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use the chat, I for may part - as it seems unlike you - had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
    Hans-Günter

  • I just got a new iPhone 4S for my mum . I set it up on my iTunes and I install all her numbers in . Then I plug my phone in all my hints to got erased and I ended up getting all her contacts in my phone . Help I need my contacts back

    I just got a new iPhone 4S for my mum . I set it up on my iTunes and I install all her numbers in . Then I plug my phone in all my hints to got erased and I ended up getting all her contacts in my phone . Help I need my contacts back

    Read this link
    HT1495

  • Role mapping between Portal and Back end systems

    I am new to SAP EP.
    I just want to know how the mapping between portal and back end system happens.
    Scenario : There is a role in ECC system...say FI India. Now there is a request by the FI team that they want to access this role from Portal. In this case, please tell me how the security team will do it. Because I guess, it has to be done by the security team.

    Hi,
    Usually the role from backend is uploaded to portal then it will be seen as Group and we need to assign our portal roles to this group. Please refer [this|http://help.sap.com/saphelp_nw73/helpdata/en/d6/7859ec80df46738e23ccb4f4c8c502/content.htm].
    Regards,
    Samir

  • The report l runs very night and gets ended with error

    Dear all,
    I am facing a problem in solution manger. There is an report (Program/Command  RDSMOPSOL_MONIREFRESH ) will runs very night and get ended with error and there is Run-time error "MESSAGE_TYPE_X".
    Please suggest how to solve the problem.
    Is this report is necessary   for the system because it is not mention in the sap stand jobs.
    SM37 log
    Job started
    Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
    Opening and closing session started. Session SM2000000000065
    Opening and closing the session was successful. Session: SM2000000000065
    Opening and closing session started. Session SM2000000000005
    ABAP/4 processor: MESSAGE_TYPE_X
    Job cancelled
    SM:CSA SESSION REFRESH
    No. Program/Command       Prog. type Spool list Parameter      User  Lang.
    1  RDSMOPSOL_MONIREFRESH ABAP                  &0000000000876 BASIS EN
    Sm21 log
    00:00:50 DIA 00 000 SAPSYS            EEA OPERATION MODES: Switch to operation mode Normal triggered
    00:30:57 BTC 08 200 BASIS             R68 Perform rollback
    00:30:57 BTC 08 200 BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    00:30:57 BTC 08 200 BASIS             AB1 > Short dump "081112 003057 sapsm BASIS " generated
    00:30:57 BTC 08 200 BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
    00:30:57 BTC 08 200 BASIS             R68 Perform rollback
    00:30:57 BTC 08 200 BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    Details
    Recording at local and central time........................ 12.11.2008 00:30:57
    Task................ 05312 . 08 B8 BTC background processor No. 08
    User................ BASIS
    Client.............. 200
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... T    Transaction Problem
    Development class... SABP
    Further details for this message type
    Module name......... abdynpro
    Line................ 1133
    Error text.......... ab_jmess
    Documentation for system log message AB 0 :
    The specified runtime error has occurred in the system.
    Parameter
      a.. MESSAGE_TYPE_X
    Technical details
    File................ 000048
    Position............ 0000253620
    Entry type.......... l      ( Error (Module, Row)            )
    Message ID.......... AB 0
    Variable parts...... ab_jmess                                            abdynpro1133
    Time     Ty. Nr Cl. User         Tcod MNo Text                                                                    Date : 12.11.08
    00:30:57 BTC 08 200 BASIS             AB1 > Short dump "081112 003057 sapsm BASIS " generated
    etails
    ecording at local and central time........................ 12.11.2008 00:30:57
    ask................ 05312 . 08 B8 BTC background processor No. 08
    ser................ BASIS
    lient.............. 200
    erminal............
    ession............. 1
    ransaction code....
    rogram name........
    roblem class....... K    SAP Web AS Problem
    evelopment class... SABP
    BAP Mini dump
    ate................ 20081112
    ime................ 003057
    ost................ sapsm
    ser................ BASIS
    ocumentation for system log message AB 1 :
    A short dump was generated for the specified program termination.
    You can analyze this short dump in the system log evaluation by
    selecting this line or evaluating Table SNAP (Transaction ST22).
    echnical details
    ile................ 000048
    osition............ 0000253800
    ntry type.......... s      ( ABAP Runtime Error             )
    essage ID.......... AB 1
    ariable parts...... 081112003057sapsm   BASIS
    Time     Ty. Nr Cl. User         Tcod MNo Text                                                                    Date : 12.11.08
    00:30:57 BTC 08 200 BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
    Details
    Recording at local and central time........................ 12.11.2008 00:30:57
    Task................ 05312 . 08 B8 BTC background processor No. 08
    User................ BASIS
    Client.............. 200
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... K    SAP Web AS Problem
    Development class... SDYN
    Module name.........
    Location............
    T100................ 00                  671
    Parameters..........
    Documentation for system log message D0 1 :
    The transaction has been terminated.  This may be caused by a
    termination message from the application (MESSAGE Axxx) or by an
    error detected by the SAP System due to which it makes no sense to
    proceed with the transaction.  The actual reason for the termination
    is indicated by the T100 message and the parameters.
    Additional documentation for message 00                  671
    ABAP/4 processor: &
    No documentation exists for message 00671
    Parameter
      a.. MESSAGE_TYPE_X
    00:30:57 BTC 08 200 BASIS             R68 Perform rollback
    Details
    Recording at local and central time........................ 12.11.2008 00:30:57
    Task................ 05312 . 08 B8 BTC background processor No. 08
    User................ BASIS
    Client.............. 200
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... W    Warning
    Development class... STSK
    Further details for this message type
    Module name......... thxxhead
    Line................ 1240
    Error text..........
    Caller.............. ThIRoll
    Reason/called....... roll ba
    Documentation for system log message R6 8 :
    An error has causes an SAP rollback.  All database updates are reset.
    Technical details
    File................ 000048
    Position............ 0000254520
    Entry type.......... m      ( Error (Function,Module,Row)    )
    Message ID.......... R6 8
    Variable parts......                                       ThIRollroll bathxxhead1240
    Regards,
    Shiva

    Hi karteek,
    I have check there is Switch of operation mode but when I have checked the t-code sm63 there is no new mode are in normal mode.
    There is  one thing I want to ask dose this report (Program/Command RDSMOPSOL_MONIREFRESH )  run   in your system or any one server because I have think there is some problem in job shued
    and is also not mention in the sap stand jobs.
    there is an error in sm21 in job.
    BASIS        SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:
    BASIS        SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was specified
    Is this SM37 log
    Job started
    Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
    Opening and closing session started. Session SM2000000000065
    Opening and closing the session was successful. Session: SM2000000000065
    Opening and closing session started. Session SM2000000000005
    ABAP/4 processor: MESSAGE_TYPE_X
    Job cancelled
    Sm21 log
    SAPSYS            EEA OPERATION MODES: Switch to operation mode Normal triggered
    BASIS             R68 Perform rollback
    BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    BASIS             AB1 > Short dump "081111 003056 sapsm BASIS " generated
    BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111003056sapsm BASIS 2001 )
    BASIS             R68 Perform rollback
    BASIS             R49 Communication error, CPIC return code 017, SAP return code 223
    BASIS             R64 > CPI-C function: CMINIT(SAP)
    *BASIS        SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:*
    *BASIS        SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was*
    specified
    BASIS             R68 Perform rollback
    BASIS             AB0 Run-time error "MESSAGE_TYPE_X" occurred
    BASIS             AB1 > Short dump "081111 220948 sapsm BASIS " generated
    BASIS             D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111220948sapsm BASIS 2001 )
    Details Page 2 Line 6 System Log: Local Analysis of sapsm                     1
    Time     Ty. Nr Cl. User         Tcod MNo Text
    00:00:51 DIA 00 000 SAPSYS            EEA OPERATION MODES: Switch to operation mode Normal triggered
    Details
    Recording at local and central time........................ 13.11.2008 00:00:51
    Task................ 04100 . 00 D0 Dialog work process No. 00
    User................ SAPSYS
    Client.............. 000
    Terminal............
    Session............. 1
    Transaction code....
    Program name........
    Problem class....... S    Operation Trace
    Development class... SBTC
    Sm63
      Start/end time   Name of the active operation mode
       00.00 - 01.00    Normal
       01.00 - 02.00    Normal
       02.00 - 03.00    Normal
       03.00 - 04.00    Normal
       04.00 - 05.00    Normal
       05.00 - 06.00    Normal
       06.00 - 07.00    Normal
       07.00 - 08.00    Normal
       08.00 - 09.00    Normal
       09.00 - 10.00    Normal
       10.00 - 11.00    Normal
       11.00 - 12.00    Normal
       12.00 - 13.00    Normal
       13.00 - 14.00    Normal
       14.00 - 15.00    Normal
       15.00 - 16.00    Normal
       16.00 - 17.00    Normal
       17.00 - 18.00    Normal
       18.00 - 19.00    Normal
       19.00 - 20.00    Normal
       20.00 - 21.00    Normal
       21.00 - 22.00    Normal
       22.00 - 23.00    Normal
       23.00 - 00.00    Normal
    Regards,

  • So, my upgrade date and contract end dates are the same?

    What exactly does this mean? This was my first contract phone and it ends on 9/11/14. My upgrade date is also 9/11/14. Does this mean I HAVE to go pick out new phones and sign a new contract on that exact date? It seems they'd give you a range of dates so you could do it a little early, before your contract really ends. What happens if I don't make it there on 9/11? My service will be turned off?

    lreed89
    The upgrade date isn't for one specific date, but for that date onward. You're not required to upgrade. If you choose not to, your account will remain active on a month-to-month basis.

Maybe you are looking for

  • Flash no longer working on Firefox after update

    Moments ago I installed the Flash update after it came up on my screen asking to update, after doing so Flash is no longer working on Firefox, it works fine on other browsers. I cant view videos, look at flash objects etc. It was working perfectly fi

  • Text boxes are not interactive until the PDf is downloaded

    So, what I am trying to do is send PDF files to clients and have them type there name in a text box, but when I send the email and they view the PDF file the text box is non interactive, the text box only becomes interactive after they download the P

  • Java calling Crystal Report API [Error_NotEnoughRight ]

    Hi All, I am trying to call Crystal report's Java API in my JSP and Servlet.....The viewer as such is working fine.....But when I add a grouop to a Report it gives the Following Error... This is an example code copied from this forum....u can find th

  • 802.1x/EAP-TTLS and EAP Certificate Policies

    Hello, I am having a hard time with 802.1x authentication against a radius server I manage. Every time I try to connect, I get a pop up about certificate verification - the certificate cannot be verified because there are no explicit trust settings.

  • Decisioned based processflow

    Hi All, I have a process flow in the 4 mapping are joined in sequence. i want to devise the processflow such a way that if i want to bypass map1 the next mapiing map2 get executed based on the value i have stored in the database. let say i have mappi