Hai Techno Functionals......

Hai OOPS......
i have one ALV GRID report,i convert this list to ABAP list in other program .how can i do.
reply asap......

Hai Nithiyanandam
Try with the following code for ALV Grid
*& Report  ZALV_PRAKASH_SAMP                                           *
REPORT  ZALV_PRAKASH_SAMP .
TABLES: MARA.
TYPE-POOLS : SLIS.
Data declaration
DATA: BEGIN OF I_MARA OCCURS 0.
        INCLUDE STRUCTURE MARA.
DATA: END OF I_MARA.
DATA: V_REPID LIKE SY-REPID.
selection-screen
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
  SELECT-OPTIONS : S_MATNR FOR MARA-MATNR.
  PARAMETERS: P_MTART LIKE MARA-MTART DEFAULT 'ROH'.
SELECTION-SCREEN END OF BLOCK B1.
initialisation
INITIALIZATION.
S_MATNR-LOW = '1400'.
S_MATNR-HIGH = '1500'.
APPEND S_MATNR.
V_REPID = SY-REPID.
start-of-selection
START-OF-SELECTION.
SELECT * FROM MARA
    INTO TABLE I_MARA
    WHERE MATNR IN S_MATNR AND
          MTART = P_MTART.
  CHECK SY-SUBRC = 0.
end of selection
END-OF-SELECTION.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
  I_INTERFACE_CHECK              = ' '
  I_BYPASSING_BUFFER             =
  I_BUFFER_ACTIVE                = ' '
  I_CALLBACK_PROGRAM             = ' '
  I_CALLBACK_PF_STATUS_SET       = ' '
  I_CALLBACK_USER_COMMAND        = ' '
   I_STRUCTURE_NAME               = 'MARA'
  IS_LAYOUT                      =
  IT_FIELDCAT                    =
  IT_EXCLUDING                   =
  IT_SPECIAL_GROUPS              =
  IT_SORT                        =
  IT_FILTER                      =
  IS_SEL_HIDE                    =
  I_DEFAULT                      = 'X'
  I_SAVE                         = ' '
  IS_VARIANT                     =
  IT_EVENTS                      =
  IT_EVENT_EXIT                  =
  IS_PRINT                       =
  IS_REPREP_ID                   =
  I_SCREEN_START_COLUMN          = 0
  I_SCREEN_START_LINE            = 0
  I_SCREEN_END_COLUMN            = 0
  I_SCREEN_END_LINE              = 0
IMPORTING
  E_EXIT_CAUSED_BY_CALLER        =
  ES_EXIT_CAUSED_BY_USER         =
  TABLES
    T_OUTTAB                       = I_MARA
EXCEPTIONS
  PROGRAM_ERROR                  = 1
  OTHERS                         = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at i_mara.
write:/ i_mara.
endloop.
Thanks& regards
Sreenivasulu P

Similar Messages

  • Question about Relations ( attributes )

    hai technos,
    When i'm creating a relation between 2 dimension for creating hierarchies ( for example between year and month dimensions )
    i can display either year or month at a time.
    Here that drill down effect is not coming where we can display parent and child levels at a time drilled.
    is there any way to implement the same with relations?
    Any help,suggessions are welcome.
    Thanks in advance.
    santha

    Unfortunately I think the last post will just aid in confusing you, read this and see if it makes sense ....
    In Express, dimensions can have data types of day, week, month, quarter, year, etc..... and (most importantly!) text. These data types are classed as "time" types (date, week, month, quarter, year) and (what I would call) "normal" type of text ... the other poster called this "other".
    When you create any "time" dimensions, Express will implicitly create relations between them, so you don't have to do it, but it's NOT a hierarchy it's an attribute. These "time" dimensions can only store time periods that match their data type, and the periods MUST be consecutive.
    To create a time hierarchy (and the drill-down/up that you require), you have to create a "normal" dimension (data type = text). This dimension is usually called TIME (because it holds all the time values you want). This dimension contains all your days, wks, months, yrs, etc... that you need. You then create a relation of that dimension to itself (classic self-relation ie hierarchy). The relation stores the parent value in the hierarchy. That's the way you get the drill-down. If you have already created your "time" dimension values, you can copy them over to your hierarchy dimension if needed.
    To get the drilling to work, use your TIME (hierarchy) dimension when you are creating your variable (don't use any other time-related dimensions!!), then create a table with this dimension being the only one going down, choose dim val's whilst having the hierarchy chosen, and you've got it !!!!
    Special Note !!!: The method used to create the hierarchy differs between OSA, OFA, Administrator and plain Express. Each product has different structure that could help or hinder you. If you don't understand this, please reply here and let me know which product you are using & I'll help out more.

  • SHD0 - Developer or Analyst Role?

    Experts:  We all have worked in various companies throughout our careers.  We know that certain companies allow developers more access to certain SAP transactions while other companies limit what we can do.  The same holds true for functional analysts.
    I have an issue.  Functional Analysts are wanting access to transaction SHD0 (create transaction and screen variants).
    1.  Is this more of a Developer responsibility or a Functional Analyst responsibility?
    Currently, the functional analysts cannot perform this activitiy, but now they want it.
    2.  What are your thoughts about this?
    3.  Does it require a "Developer Key"?
    4.  Does it require S_Develop or can we just assign SHD0 to their role?
    Thanks Experts for your valuable input.

    Hi,
    Clearly it will depend upon your role as you have to work on SHD0. Mostly cross-skilled ( Techno functionals) do that.
    Well if you want to know more how its done then follow this wiki. And please check the related links in the wiki also. It may help.
    [http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation].
    Now regarding developer key, Its upto your BASIS team to maintain it.
    Regards,
    Ben

  • Mac Mini worked at first with Haier 42" plasma - now won't.  Please Help!

    I'd be interested in any resolution here. Here's my story:
    I have a Mac Mini model MA723LL/A and a Haier P42LV6-T1 42" HDTV plasma with VGA and HDMI inputs. I first attempted to hook the Mac to the plasma TV using the DVI->VGA adapter that came with the Mac. I got no image at all on the TV, and the TV claimed 'No Signal'.
    Then I used a DVI->HDMI adapter, and hooked the Mac to the TV thru the HDMI port. I got a picture and was happy. I setup iTunes, got the wireless working, surfed the web a bit and all was OK except the resolution seemed wonky. So I opened the Mac's settings panel to adjust the resolution, and as soon as I opened the settings panel, the screen went blank, with the TV claiming 'No Signal'. I shut off the Mac and rebooted, and from that point forward, what happens is this:
    press On Button->
    Apple Boot Screen->
    MacOS 10 loading->
    desktop For About 1 millisecond->
    screen goes blank with TV claiming 'No Signal'
    I hooked the Mac to my Dell 20" LCD monitor thru the monitor's DVI input and got a great picture. I tested all the resolution settings, and everything was fine. I have tested the Mac on the TV with all available resolution settings and it's always the same story (see above for sequence)
    I'm kinda at the end of my rope. The Mac seems to be changing something on its video output at the end of its bootup, but I have no clue what. Has anyone seen anything like this? Any advice at all?

    Try what Apple recommends and see if that helps:
    http://docs.info.apple.com/article.html?artnum=301345

  • Hai when my iphone 5 connet to my windows 7 error massege is blink on my system the error code is oxe8000084 how to solve my problem

    hai when my iphone 5 connet to my windows 7 error massege is blink on my system the error code is oxe8000084 how to solve my problem

    https://discussions.apple.com/message/22296149#22296149
    more from the google I did
    iphone error 21

  • HT201496 Hai there. I am facing trouble with my garageband apple loops.i don't see apple loops in my browser since quite some time i don't know what has happened to it and how it happened . i just wanted to learn some of basic things about music.can you h

    Hai there. i am having a trouble with the garage band apple loops to get into my macbook pro. . i had it some time back and i dont know where it has gone and how it get it back. is there anyone to help me to get the loops back into the browser . i will be grateful to you if some one can help me with it/ thanks.

    First check, if you do not accidentally have hidden or filtered your loops:
    Uncheck the "Filter for more relevant results" option in the Audio tab of the GarageBand Preferences.
    And the drop down menu on top of the Loop Browser should be set to "Loops", not to some Jam Pack or other collection.
    If you still don't see any loops, check if you have set your project to a special signature, like 9/8, for that no standard loops do exist.
    Then check, if any loops actually are installed in your system Library: Depending on your GarageBand version you should find the standard loops in the Audio folder of your system Library (Application Support > GarageBand):
        Your System Drive > Library > Audio > Apple Loops
    If the Loops are installed, but GarageBand does not show them, you need to rebuild your Apple Loops Index: See the FAQ for how to do it:
    Re-Index GarageBand's Loops
    This requires two steps:
    erase the old Apple Loops Index by deleting everything in
    Your System Drive > Library > Audio > Apple Loops Index
    and then rebuilding the Loops Index by dragging the folder containing all of your loops onto the Loop Browser in GarageBand.
    If no Loops are installed in your Library, you will have to restore them from your Backup.
    Regards
    Léonie

  • Hai friends one help .. I tried to install siebel 8.1 (sample) in windows 7

    Hai friends i tried to install siebel 8.1(sample) in windows 7 i tried and installed everything perfectly.. its not working fine..
    First i installed siebel client and next siebel sample dumb and next is siebel tools
    while i installing siebel tools it throwing an error like tat missing Microsoft sql Native client is missing .. and how can i overcomethis (MSNC)
    and client is also not opening fine. Can u elaborate the steps and how can i install successfully siebel 8.1 in windows 7 ?
    is it possible please explain me and help me to guide and suggest me
    Thanks & Regards
    Kiran

    Kiran,
    Please mention the exact error you are facing. Were the Siebel 8.1 image files created successfully ?
    Before we install the Siebel client software on our Microsoft Windows workstations or laptops, we should verify that the following
    prerequisites are met:
    1.) Database client software is installed (for Developer Web Client only) [Since you dont have the server env. ,  you dont need to install db client]
    2.) The user account for the installation has administrative rights. (user account must be a member of the local Administrators group)
    3.) Browser security settings are correct
    Once you have created the Image files for Tools,Client and Sample DB , just run the oui.exe for Tools/Client , and install.exe for Sample DB.
    During Client installation , one thing to note is , Internet Explorer is launched . Here , the browser loads the predeploy.htm file in the client's bin directory to load
    the preconfigured ActiveX controls. When the page displays The download is complete… we can close the browser window , and the installation continues.
    For Sample db installation , In the Destination Folder section, click Browse and navigate to the Siebel client installation directory.
    (i.e. Client need to be installed before the sample db)

  • HT1199 Hai, i tried to open itunes on my windows 8 laptop but it comes out with 'iTunes has stop working' notification and need to close the program everytime i try to load it. Please help! thanks.

    Hai, i tried to open itunes on my windows 8 laptop but it comes out with 'iTunes has stop working' notification and need to close the program everytime i try to load it. Please help! thanks.

    Hi ajay-9,
    Thanks for visiting Apple Support Communities.
    The steps in this article can help if iTunes is quitting unexpectedly on your PC:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Cheers,
    Jeremy

  • Hai , How to create 'Define New ' ?

    hai,
    How to create 'Define New ' in Combo box and then Enter the value in the user defined table how to get the value  from the database table and display combo box ?

    Hi.
    I used this example for the matrix column. It's work and open a form for defining new values.
    Your need to add an event to refresh values in combobox.
    Think I help you.
    Best regards
    Sierdna S.
    P.S. How to proceed.
    1) Fill the combobox with valid values:
    Try
      ' Add first value to combobox
      oCombo.ValidValues.Add("", "")
      Dim oRS As SAPbobsCOM.Recordset
      oRS = SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
      Dim sSql As String = "SELECT Code, Name FROM [@" & sLinkedTable & "]"
      oRS.DoQuery(sSql)
      oRS.MoveFirst()
      While oRS.EoF = False
          oCombo.ValidValues.Add(oRS.Fields.Item("Code").Value, oRS.Fields.Item("Name").Value)
          oRS.MoveNext()
      End While
      ' Last value
      oCombo.ValidValues.Add("Define","Define")
      If Not oRS Is Nothing Then
          System.Runtime.InteropServices.Marshal.ReleaseComObject(oRS)
          oRS = Nothing
      End If
      System.GC.Collect() 'Release the handle to the table
    Catch ex As Exception
      ' log exception
    Finally
      oCombo = Nothing
    End Try
    2) In Item event handler
    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT _
    And pVal.FormUID = sFormUID _
    And pVal.ItemUID = sMatrixUID _
    And pVal.ColUID = sColUID _
    And pVal.BeforeAction = False _
    And pVal.ItemChanged = True _
    Then
      Try
        Dim oMatrix As SAPbouiCOM.Matrix
        oMatrix = oForm.Items.Item(MatrixID).Specific
        If oMatrix Is Nothing Then Throw New Exception("ERROR: matrix object is nothing"))
        Try
          Dim oCombo As SAPbouiCOM.ComboBox
          Dim sValue As String = ""
          oCombo = oMatrix.Columns.Item(sColUID).Cells.Item(pVal.Row).Specific
          sValue = oCombo.Selected.Value
          If sValue.Equals("Define") Then
            Try
                oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
                oForm.Refresh()
            Catch ex As Exception
            ' log exception
            End Try
            SBO_Application.Menus.Item("<menu id to activate>").Activate()
          End If
          BubbleEvent = False
        Catch ex1 As Exception
          ' log exception
        End Try
      Catch ex As Exception
        ' log exception
      End Try
    End If

  • Hai ,problem with packages

    Hai all,
    i got a problem with user defined packages .i have one class under one package "sg.km" n the class name is kmc.class n i want to use that sg.km.kmc in some another class that is also a part of sg.km package .i hope i'll get reponses to my prob asap.
    thanks in advance
    yours
    srinu kumar reddy

    You should not need to import a class that is in the same package.
    You did not post enough information for me to give you a good answer. You should always post an error message along with any command you entered. All you said was, "i got a problem." We don't know if your problem is with compiling, running, jar file, applet, etc.
    You need to have a directory structure that matches your package. The kmc.class file a sg\km directory path. For example, c:\myjava\classes\sg\km\kmc.class. Then you need c:\myjava\classes directory in your Classpath both for compiling and running.

  • HT4994 HAI CAN YOU TELL ME WHICH SIM IS USED IN THIS IMEI **** AND WHICH COUNTRY

    HAI CAN YOU TELL ME WHICH SIM IS USED IN THIS IMEI **** AND WHICH COUNTRY
    <Edited By Host>

    No. Sorry, no one here can help you.
    The only reliable way to determine this info is to call AppleCare.

  • Hai i am using firefox 3.6.When right clicking on a link and a window opens up, i want it to ask me "Open Link in New tab" first, not second.

    hai i am using firefox 3.6.When right clicking on a link and a window opens up, i want it to ask me "Open Link in New tab" first, not second.

    First, you are using a version of Firefox that is very old and outdated. Please update to at least Firefox 3.6.27, or more preferably, update to Firefox 10.0.2. There are lots of bug fixes, security improvements, and much improved performance in Firefox 10.
    After you do that, try seeing if you are still having a problem. If you are, is this that when you try to select "Open in a new tab" it opens in a new window instead? Or something else?

  • I am trying to find an old mac font.  It's the techno (apple) font that was available with OS 9.  How can I get this font?

    I am trying to find an old mac font.  It's the techno (apple) font that was available with OS 9.  How can I get this font?

    I think that was Tecno. Techno appears to be a whole class of fonts.
    Is this the one? http://www.dafont.com/tecno.font
    That's a .ttf version which should work OK with current OS.
    As an aside, I was searching for Apple Textile for quite some time when it was pointed out to me that it was used by iDVD. Sure enough, opened up the installer package for iDVD with Pacifist and there it was. Now working fine on all my Macs!

  • Hai.. i want to know, why my debit card have be deducted?

    Hai.. i want to know, why payment with my debit card have be deducted?

    I'm not entirely sure what you are asking, but if it's a debit card then I don't think that they are still accepted as a valid payment method - they are not listed on this page and there have been a number of posts recently about them being declined. Do you have a credit card that you could use instead ?

  • Hai recently I updated to ios7 on my iPod ,I didn't like it how can I revert back to ios6. ?,with regards

    Hai recently I updated to ios7 on my iPod ,I didn't like it how can I revert back to ios6. ?,with regards

    All we can say in this Apple forum is that downgrading the iOS is not supported by Apple.

Maybe you are looking for

  • Can't open Pages after upgrading to snow leopard on 10.6.8

    Can't open Pages after upgrading to snow leopard on 10.6.8

  • Maps3.0 on 5800 won't go online

    I've installed maps 3.0 (3.0.1 really) on my 5800. Worked fine except it won't go online, and unlike some people it seems I definitely want it to go online! Basically when I tap on the "go online" entry, on the tools menu, nothing happens! If I selec

  • MTO & Production Order Cost estimate

    Hello We have MTO with Production Order cost estimate for valuating invendtory.But the value of GR is not matching with Production Order cost estmate though strategy is "2"-with which its valuated.The estimate does not have any majaor itemisation exc

  • Version..v4.0736.3.2.1 RM(133) (c)Nokia N73 (Z5.01...

    M frm INDIA. I have installed this version..v4.0736.3.2.1 RM(133) (c)Nokia N73(Z5.01)in my n73 Music Addition. I have facing Equaliser problem. Increased the equliser in edit option but its not increased. it's gone defualt..not only me but all the n7

  • I need HELP with exporting videos with PIP from Premiere Elements 11 to YouTube please?

    When I am editing and rendering videos that have picture-in-picture using Premiere Elements 11, the videos (once they've been uploaded to YouTube) have these thick black margins above and below the picture-in-picture images/videos. These margins are