FM for Variable and there type used in program .

Hi Expart,
               Is there is any FM which return all the variable with there ref type (Data element ,C,id,t... like that ) when we pass the program name . i only know about RS_PROGRAM_INDEX which return all variable with in pgm .
and how to used FM " RS_PROGRAM_INDEX _SOURCE " It's may also return the variable and type .
Plz Plz help to get this
Thanks
Raju

Hi,
TYPES:
  BEGIN OF my_struct,
    comp_a type i,
    comp_b type f,
  END OF my_struct.
DATA:
  my_data   TYPE my_struct,
  descr_ref TYPE ref to cl_abap_structdescr.
FIELD-SYMBOLS:
  <comp_wa> TYPE abap_compdescr.
START-OF-SELECTION.
  descr_ref ?= cl_abap_typedescr=>describe_by_data( my_data ).
  WRITE: / 'Typename     :', descr_ref->absolute_name.
  WRITE: / 'Kind         :', descr_ref->type_kind.
  WRITE: / 'Length       :', descr_ref->length.
  WRITE: / 'Decimals     :', descr_ref->decimals.
  WRITE: / 'Struct Kind  :', descr_ref->struct_kind.
  WRITE: / 'Components'.
  WRITE: / 'Name              Kind   Length   Decimals'.
  LOOP AT descr_ref->components ASSIGNING <comp_wa>.
    WRITE: / <comp_wa>-name, <comp_wa>-type_kind,
             <comp_wa>-length, <comp_wa>-decimals.
  ENDLOOP.
Thanks &regards,
ShreeMohan

Similar Messages

  • Hello hi, i just won't to ask, if there has been any changes on how to find a stolen phone, did some one come up with a fare and good solution. as it is not fare at all when some one could use it for free and there is a lot of things could be done to this

    hello hi, i just won't to ask, if there has been any changes on how to find a stolen phone, did some one come up with a fare and good solution, new Apps. as it is not fare at all when some one could use it for free and there is a lot of things could be done to this condition, no one seem to care,
    i have a story about my sister, am talking on her behalf, she got stolen her phone at a caffee when she just come from a horeble exam, she was very mad and having haedace for not doing well at the exam, i ask her if we could have coffee before we go home, once she sate; while i was getting the coffee for her, some one snicked to her pocket and took the phone, immidatly she feelt it and went on to searching, but nathing was hopefull. what makes it more heart braking is that she worked day and night just to buy the phone and pay for her books and so on as a student. she use to work 16 houres a day before she had to start school. 8 houres in one place and then to the other place. and she was always demanding for more houres to work; one day her boss saw her on her other job and she was serprised to see her and saied OHhh my God Milly if you work like this, i wonder if you servive, how could you also ask for more houres, My sis had to do it she has no parents or any thing, well the phone was taken after only two months of having it. the sad thing is she stile dream having it even though she can't think of buying againe. well me i have tryed a lot of things but i know some were out there there is a solution for people like this, it is not always fare for some one who has payed up to 800 to just loose his ......  
    Thnks

    I'm sorry, but your sister, unless she had already turned on the "Find my iPhone" feature and the person who took the phone has not disabled it, is out of luck. She should report the theft to local police authorities, including the serial number of her iPhone. While her experience is unfortunate, there are good reasons why Apple cannot do anything else about it.
    I hope she gets her phone back.
    Best of luck.

  • What is the message type and basic type used for catsdb in idoc help me

    what is the message type and basic type used for catsdb in idoc help me
    ANY IDOC FOR CATSDB PLEASE TELL,
    Regards,
    Jagrut BharatKumar Shukla
    points will be awarded

    Hi,
    Check these message types.
    ATT_ABS_WITH_COST and WORKSCHED_WITH_COST.

  • When will you make an IPad YouTube app. There is one for iPhone and when you use it for the iPad the quality is bad since you have to zoom in. Please fix

    When will you make an IPad YouTube app. There is one for iPhone and when you use it for the iPad the quality is bad since you have to zoom in. Please fix

    If you lost sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the control center if you are running iOS 7. Swipe up from the bottom of the screen to get to control center . Tap on the bell icon and system sounds will return.
    If you are running iOS 5 or iOS 6, the system sound control is in the task bar at the bottom. Double tap the home button and swipe all the way to the right in the task bar to get to the speaker icon on the left side. Tap on that and the sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock can be accessed in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • Export - Import In ABAP ( for variables and internal table)

    how can we pass value for the variable and internal table using Export and Import?
    data: var type sy-uzeit.
    var = sy-uzeit.
    EXPORT var TO MEMORY ID 'TIME'.
    data: var type sy-uzeit.
    IMPORT var FROM MEMORY ID 'TIME'.
    write:/ var,sy-subrc,sy-uzeit.
    i found var value 0 while importing. 
    what is the right syntax for passing value of variable and internaltable.
    regards,
    dushyant.

    Hi,
    There are two possible solutions.
    Solution1:
    Program1.Should be run before atleast once so that TIME should be filled.
    data: var type sy-uzeit.
    var = sy-uzeit.
    EXPORT var TO MEMORY ID 'TIME'.
    Program2.IF the TIME is filled,then only it will produce the result.
    data: var type sy-uzeit.
    clear var.
    IMPORT var FROM MEMORY ID 'TIME'.
    write:/ var, sy-subrc, sy-uzeit.
    Solution2:
    Single program:
    data: var type sy-uzeit.
    var = sy-uzeit.
    EXPORT var TO MEMORY ID 'TIME'.
    clear var.
    IMPORT var FROM MEMORY ID 'TIME'.
    write:/ var, sy-subrc, sy-uzeit.
    Kindly reward points by clikcing the star on the left of reply,if it helps.

  • How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    Hello Arthur,
    Thank you for the reply.
    You were correct that deleting the app and reinstalling it was the only thing to make it work but unfortunately I lost all the documents I made, even though they were backed up to iCloud before i deleted the app. At the same time as deleting pages I had to delete keynote and numbers too, so I've lost all the documents in them too.
    The mb of data which was assigned to each programme in iCloud has reduced, so. I guess they are gone for good. Is there any other way to reaccess them?
    Not your fault but I am a bit fed up the the iPad. I have lost work that I've done and have no other copy apart from what was in iCloud, as I don't have a printer and couldn't email them too myself as I couldn't get into the programme and  i've also got episodes of tv series I purchased that I can't download and albums that are half downloaded with songs missing, so I feel a bit swindled out of time and money and am going back to DVD ,  pen and paper and CDs .
    Instead of using iCloud I guess the only way to make sure I don't loose any more documents it to email them to myself each time I save them on the iPad. Is there anything else you could suggest please?
    I don't have any other apple products apart from iPods, so I can't access the iCloud on anything else can I?
    Thanks
    Amanda

  • I just migrate settings and software from my PowerBook to a new Mac Pro. All the software download from CC is there and working, except for CC, and there is not way to install.

    I just migrate settings and software, include CC, from my PowerBook to a new Mac Pro. All the software download from CC is there and working, except for CC, and there is not way to install. I have try because every time I restar keep bothering asking for installation, (by the way, the link is not up to date). Will appreciate your help.

    never migrate adobe software.  it should be properly installed.
    uninstall all the cc programs you can, clean and then reinstall per, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • "No parameters defined for plant and order type "

    Hello Experts,
    While doing Process order confermation geting error as "No parameters defined for plant and order type "
    Pls guide me to resolve this issue...
    Regards
    Bhupen

    Hi,
    This error is due to the confirmation parameters not maintained with respect to the plant and order type you used in the process order.
    Go to OPK4 transaction or in the path-Production Planning for Process Industries-Process Order-Operations-Confirmation-Define Confirmation Parameters.
    Maintain with respect to plant and oreder type and again try to do teh confirmation.
    Hope it helps
    Thanks
    Girish

  • Switch Sign For Flow and Switch Type for Flow

    Hi Can any one Please make me clear at least with 3 examples how to understand Switch Sign for Flow and Switch Type for Flow
    and also the good example with Balance Recurring Account Types

    Hi Chennai,
    Consider an account "Fixed-Assets" supported by movement analysis in Custom1, as follows:
    ClosingBalance
    OpeningBalance
    Additions
    Disposals
    If you mark the Custom1 member Disposals as SwitchSignForFlow, you will enter positive values in Disposals but HFM will subtract from the other two members to calculate the Closing Balance. You may use this functionality if your client prefers to see all values as positive on the reports.
    Using the same example, you might recognize that while Closing and Opening balances are of balance type (they provide a snapshot of the account at a specific instant meaning that you see the same number whether you view the YTD or Periodic values of the account), Additions and Disposals are movements, which means that they accumulate during the same year starting from a zero balance on 1/1/201X and therefore you will see different numbers depending on viewing the YTD or Periodic values of the account. In order to provide with this behavior you have to mark both Additions and Disposals with SwitchTypeForFlow. If you don't they will behave as the underlying account (the Fixed-Assets account) and like the other two Custom1 members, Opening and Closing balance members.
    As for the BalanceReccuring, an account of this type behaves like a normal Balance account, but once you input a number in an intermediate period (say June), the same number will be copied to all following periods (July-December) until you override the numbers by explicitly inputting new values. With a normal balance account, all following periods will be empty.
    --Kostas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • HT1222 What if i should update to ios 7 coz i read on paper yesterday that you should wait coz you need to be in queue for download and there could be bug so that they can be resolved

    What if i should update to ios 7 coz i read on paper yesterday that you should wait coz you need to be in queue for download and there could be bug so that they can be resolved?

    do whatever you'd like to do.  No one's forcing you to update.

  • I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    You can either use Office for Mac 2011 or use Boot Camp to run Windows or use a VM, such as Parallels Desktop to run Windows. Running Windows, you'd be able to use MS Office for Windows.
    Clinton

  • Completion Confirmation Parametrs for Plant and Order Type

    hi Gurs,
    Pls let me know how to define Completion and Parameters for Plant and Order Type.
    Pls let me know the IMG path also.
    Points will be rewarded......
    Ranjit Kumar

    hello SAP Gurus....
    Pls let me know how to define Completion and Parameters for Plant and Order Type.
    Pls let me know the IMG path also.
    Points will be Assigned......
    Ranjit Kumar

  • I have downloaded MAMP for Mac and want to use it for working with Wordpress. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    I have downloaded MAMP for Mac and want to use it for working with Wordpress. I'm on an Imac with Maverick OS 10.9. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    It depends on how you installed it. You have to shutdown the MySQL service first. If you used the standard, but obsolete Startup Item, you can do that with the Startup Item. If you created a launchd script, you can do it with launchctl. Once MySQL is no longer running, you can delete the Startup Item or launchd script and the rest of MySQL.

  • I have a visa card for Zambia and there is no option in your countries that allow you to pay from Zambia. Please advise what I can do?

    I have a visa card for Zambia and there is no option in your countries that allow you to pay from Zambia. Please advise what I can do?

    TomWolves
    I would do another rename to disable or just delete all the OldFilm.AEX and OldFilm.AEXOLD in that NewBlue Folder.
    If you do, please let me know if that OldFilm.AEX regenerates itself the next time you open Premiere Elements 13.
    Here is the strange story...at least from my Premiere Elements 13 Windows perspective...never had the No Disc error issue
    Here are some details to sort through trying to figure out why you have 2 OldFilm.AEX file in the NewBlue Folder.
    1. The original OldFilm.AEX file of Premiere Elements 13 has the date of 9/4/2014 (just before the version was released on 9/24/2014).
    After the 13.1 update is done (whenever date), that OldFilm.AEX file has the date of 1/31/2015. I first saw notification of the 13.1 Update
    release early in February 2015.
    2. Now in Premiere Elements 13.1, if I take my OldFilm.AEX (date 1/31/2015) and disable it by renaming it to OldFilm.AEXOLD, close out of there, and reopen
    the program, the OldFilm.AEX is not seen to regenerate. The OldFilm.AEXOLD remains there as its lone self.
    3. So, I am thinking that your OldFilm.AEXOLD in the screenshoot is "original equipment" that you disabled to get rid of No disc error.
    Why the OldFilm.AEX is there also is not clear, but the dating on it suggests that it came along with the 13.1 Update.
    Bottom line: let us try the deletion or disabling one more time and see what happens.
    Looking forward to further reports on your findings, as your time permits.
    Thanks.
    ATR

  • Value "JCO CALLS" for variable "E2E Metric Type Variable(multiple values)"

    Hello Experts, 
    Workload analysis for java components doesnot show any data.
    more over get "JCO CALLS" for variable "E2E Metric Type Variable(multiple values)"  error.
    my setup wizard completed without any error.
    Any suggestions ?
    Thanks & Regards
    Sankar

    Hi Sankar,
    have a look at my post in no data for Jco in E2E thread.
    Hope this helps.
    Regards,
    Shyam

Maybe you are looking for

  • Can No Longer Access Router

    Yesterday i was playing online on my Xbox 360, and was disconnected from the internet. I came downstairs to reset router/modem, once doing so i went into the router settings for my LinksysWRT54G. My modem by default uses the 192.168.1.1, so my router

  • Where is the modern equivalent of E70!?

    So what if it was brick-sized and just as heavy! So what if it didn't sell that well then! So what if anything, I still f***ing love this phone! I love the style and I love the button arrangements, but most importantly, I LOVE the keyboard placement!

  • Leaving Disc in Drive

    Is it advisable / beneficial / or even possible to leave a disc in the drive at all times? I'd like to leave a CDRW in there for convenience sake.

  • OSX 10.4.11 doesn't recognize APC Back-UPS BE550G, no UPS tab appears in Energy Saver panel, how can I get safe shut down at power outage?

    Can't figure out how to solve this puzzle: the battery backup [APC Back-UPS BE550G] doesn't show up in the Energy Saver pane in a UPS tab nor beside the clock and Spotlight; will the (1 min. then shutdown) settings of the Saver be supported by the AP

  • Oracle Streams and CLOB column

    Hi there, We are using "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit". My question is "Does Oracle Streams captures, propagates (source capture method) and applies CLOB column changes?" If yes, is this default behavior? Can we te