Come on abapers.....n have ur points

Hi all,
I m trying to use at cursor-selection in module pool. Some buddy suggested me to use, function code "CS" and function type "S" for fields..
but how can we define function codes for fields... it's strange...
Ples let me know in simple ur written language, demo of at cursor-selection pleas.
<b>have ur points.</b>
cheers.
[email protected]

hI....
Calling Modules after Cursor Selection
You can specify that a module should only be called if the cursor is positioned on a particular screen element. To do this, use the statement
<b>MODULE <mod> AT CURSOR-SELECTION.</b>
The module <mod> is called whenever the function code of the user action is CS with function type S. If you use this statement,<b> it is best to assign the function code CS to function key F2. This also assigns it to the mouse double-click.</b>
The module is called in the sequence in which it occurs in the flow logic. It does not bypass the automatic input checks. Data is transported from screen fields in the order in which it is defined by the FIELD statements. The function code is empty, and neither SY-UCOMM nor the OK_CODE field is affected. You can also combine this MODULE statement with the FIELD statement:
<b>FIELD <f> MODULE <mod> AT CURSOR-SELECTION.</b>
<b>Reward if Helpful</b>

Similar Messages

  • Help abapers common, do help me n have ur point.s.

    Hi all,
    We say LSMW is for standard screens and BDC is for customized screen. Could any body tell me, wht is the meaning of this, as LSMW use session inside....
    Pleas clarify & have ur point.s
    Regards,
    [email protected]

    Hi,
    Check these related threads.
    Diff. between LSMW & BDC
    Re: Diff. between LSMW and BDC???
    Regards,
    Sesh

  • Reg. cursor-selection in module pool....have ur points.

    Hi all,
    Pleas. help me with  a simple example of at cursor-selection in module pool programming.
    with simple code & steps
    <b>Have ur points.</b>
    Regards,
    [email protected]

    Hi Pradeep,
    The Best explanation with example comes from our help.sap.com....
    <i><b>http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm</b></i>
    Also this might help...
    <b>MODULE mod [ AT {EXIT-COMMAND|CURSOR-SELECTION} ]
    [ ON {CHAIN-INPUT|CHAIN-REQUEST} ]
    [ SWITCH switch ].
    ... AT CURSOR-SELECTION</b>
    The AT CURSOR-SELECTION addition at the event PAI causes the module mod to be called only if
    The function used to trigger event PAI has function code "CS" and function type "S"
    The cursor is placed on a single input or output field of the screen at the moment of the user action
    The call occurs within the usual PAI processing, meaning that the automatic input checks defined in the system or in the ABAP Dictionary are executed and the MODULE statement is called according to its position in the event block. You can use the addition in connection with the FIELD statement.
    If the PAI event is triggered under the above circumstances, the function code is not passed to sy-ucomm and the OK field. They keep their previous values.
    <b>Note</b>
    The function type and function code of a function are determined in the Screen Painter or in the Menu Painter. We recommend to assign function code "CS" in the Menu Painter to function key F2 in order to simultaneously assign the double-click function of the mouse to it. This allows you to assign dialog modules to the selection of input or output fields.
    <b><u>Refer thread:</u></b> <i><b>Re: MODULE REQUEST
    Hope that helps!!
    <i><b>*Reward useful answers*</b></i>
    Regards,
    Naveenan.

  • Reg. call screen stmt.......Have ur points.

    Hi all,
    I have 2 screens 1000 & 2000 in module pool. In PAI of 1000, i am using CAll screen 2000. 
    As we know in case of <b>call screen</b> we can come back to the previous screen.
    Now when i write leave screen in PAI of 2000. Control is not going to 1000 screen.
    Pleas assist me.
    <b>Have ur points.</b>
    Regards,

    Hello Pradeep..
    There is also one more point..
    You can see in the attributes tab of any screen created in the "Other Attributes"
    the following details
    Next Screen              
    Cursor position
    Screen group
    Lines/Columns   Occupied 26    141
                    Mainten. 28    141
    Context menu FORM ON CTMENU
    The next screen always refer the next screen being/to be called..so in screen 2000 pls try putting the next screen as '1000'
    Reward if helpful and pls revert if the solution is feasible for the situation
    Regards
    Byju

  • Reg. QS17 & ST05----Have ur points

    Hi all,
    in tcode- qs17, i want to see table where 'specification data is going on'. for that i used ST05, I got lot of tables here....now wht is the way for finding my specification fields.
    Pleas help me out...
    Have ur points...
    Regards,
    pradeep phogat

    Hi,
    SQL Trace
    SQL trace(ST05) provides the developer with the ability to analyse database select statements. Simply execute ST05
    to turn on SQL trace, then execute the statement/program you want to analyse. Now turn off SQL trace using ST05
    and click on list trace to view the details.
    You can also perform traces on other items such as authorisation objects.
    Authorisation trace analysis 1. Open two sessions
    2. Execute transaction ST01 in one of the sessions
    3. Select the authorisation checkbox, note the other traces
    you can perform (SQL, RFC, Table Buffer etc)
    4. Click the 'Trace On' button
    5. Within your other session execte the transaction/report
    you want to trace or get the user in question to do it
    6. Return to the session where you turned the trace on and
    click on 'Trace Off' otherwise it will continue to record
    all athorisation checks
    7. Click on the 'Analysis' button
    8. Enter appropriate data into selection screen such as
    Username, type of trace records (i.e. Authorization check)
    9. Click on the Execute button.
    10. Report displaying trace results will now be displayed
    http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm
    Some useful transaction related to this are ..
    ST01 SAP system trace
    ST02 Buffer statistics.
    ST03 Workload analysis.
    ST04 Database performance analysis.
    ST05 SQL trace .
    ST06 Operating system monitor ...
    From the recorded SQL trace you can deduce:
    · Which SQL statements your application carries out
    · Which values the system uses for specific database accesses and changes
    · How the system translates ABAP OPEN SQL commands (such as
    SELECT) into standard SQL commands
    · Where your application positions COMMIT statements
    · Where your application makes repeated database accesses
    · What database accesses or changes occur in the update section of your
    application
    Look at the below links, you will get the idea
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm
    http://www.sapbrain.com/TOOLS/SQLTRACE/SQL_TRACE.html
    Check the following links:
    http://www.sapbrainsonline.com/TOOLS/RUNTIMEanalysis/SAP_runtime_analysis.html
    http://www.sapbrainsonline.com/TOOLS/SQLTRACE/SQL_TRACE.html

  • HT201272 Ipod nano won't sync and I have ! points next to my 600 songs that I can't play.

    My brand new lap top will not sync with my iPod.  I've tried everything- uninstalling iTunes, reinstall, erase my iPod and have in sync with my new computer, only 3 song's out of 600 will come across.  My entire libraray shows up however all my songs have ! points in front of them.  I've constantly have had to go to my OLD PC and download my songs again from the erase.  I can play it from my OLD PC however my new laptop still wont reconize my library.

    I just figured it out you have to plug in your iPod and when the little icon appears in the toolbar on the left click it now you should see the screen with a pic of your iPod and the thing that says check for updates and restore.....now look above the pic of your iPod up where the tabs are and click the one that says games then click the box that says sync games then click the box that says selected games now chose the games you want to sync and click the apply button in the bottom right corner and it will sync your games... Ur Welcome

  • Transaction name from exit name....urgernt!!!..have ur point.s

    Hi all,
    I 've a exit name say MBCF0002, with this i want to find the transaction for which the exit is made...how can i know...
    pleas let me know.
    <b>Have ur points.</b>
    Regards,
    pradeep phogat

    You can go to SMOD and give the enhancement name MBCF0002 and press F8 . Now dbl click on the function module and then double click on the include. It will go to the ABAP editor. I think there should be coding like this
    SY-TCODE = 'MB1A' (or any tcode ) for the restriction.
    or another way(probably not the correct way). Generally the exit fn module names are like EXIT_<prog name_someno. so you can take the program name from here in your case prog name is SAPMM07M. Now come to se38 and give the program name . Now press where used list . In the popup just check Transaction and uncheck all others. It will show you the transaction codes.
    Regards
    shiba dutta

  • I bougnt my S5 a month ago and I am having two major issues.  The screen is very slow to respond.  When the screen is dark and I press the home button, it doesn't come on.  I have to press the button anywhere from 4-10 times and then it usually flashes on

    I bougnt my S5 a month ago and I am having two major issues.  The screen is very slow to respond.  When the screen is dark and I press the home button, it doesn't come on.  I have to press the button anywhere from 4-10 times and then it usually flashes on and back off.  It is very, very frustrating.  The other issue is that the battery drains very quickly.  I have called Verizon numerous times regarding these issues.  They tell me to do different things that never help.  We eventually did a factory reset and it still has the same issues.  Help!  It is a brand new phone and unfortunately I am in a new two year contract.  Ugh. Is there anyone out there who can help me?

    I have done that several times.  In fact, every time I call Verizon with my phone problems, they have me do the same things repeatedly.  I keep telling them I have already done them but they insist they are SURE it will work this time.  It never does.  After doing the factory reset and it still not working correctly, they act like they are confused, almost like I am lying.  I did what you suggested above on the slim chance it would work this time but it did not.  I bought two S5's that day and the other one works perfectly fine.  I know I got a bad phone.  Verizon just does not listen.  It is a bad phone.  I just want a new phone that works properly.  Is that too much to ask?  I bought a new phone that has been bad from day one.  Why oh why do I have to spend hours of my time on the phone, in the store, on the computer, trying to rectify this?  It shouldn't be this difficult!  Help please!!!

  • I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    iPhoto is Apple's included program to manage your photo's and pictures.
    It receives updates over time with Software updates and new machine or iLife purchases.
    When iPhoto gets updated or a newer version is used, it may alter iPhoto support files, but newer iPhoto versions usually always compatible with older files which it then updates.
    If you used a newer iPhoto on your iPhoto support files, then they got altered to the newer format, older iPhoto versions can't read the older format.
    Somewhere along the line you somehow got a older version of iPhoto on your computer, you need to fine the newer version of iPhoto (not this photo manager, sounds like another program)
    Or somewhere along the line you used a newer iPhoto version (like on another Mac) and it altered the iPhoto support files on your older version of iPhoto.
    So the key here is to find the newest version of iPhoto and use that to access your iPhoto support files.
    If you didn't access your iPhoto support files from another Mac, then you should have the newer iPhoto version on your computer.
    Once you find it, and get it in the Dock, you should remove the older iPhoto version from your computer to prevent this from happening again.
    Lastly, if the newer version of iPhoto is somehow gone off your computer, you should be able to get a copy off the latest OS X install disk or iLife using a free program called Pacifist.
    http://www.charlessoft.com/
    Then you need to check for updates for iPhoto in the program itself, the current version is 9.1.2

  • I can't sync my iPod classic with iTunes 10 anymore. A notice comes "You don't have the adequate access rights to make modifications." What happend?

    I can't sync my iPod classic with iTunes 10 anymore. A notice comes "You don't have the adequate access rights to make modifications." What happend?

    bump

  • My iPhone keeps freezing when I am texting, the keyboard will not come up.  I have to turn it off or reset it to get keyboard to come up.  How can I fix this?

    In text or email, the keyboard will not come up.  I have to reset phone or turn it off to get started again.  How can i fix this issue?

    Hello Jennings Castle,
    It seems your iPhone is slowing down and not responding frequently. To rectify this issue you may want to consider performing a restore on the device, and then restoring your data from a backup via iCloud or iTunes. 
    If the issue persists after restoring your backup, you would then want to consider restoring the device and setting it up as new. Below I have linked to article which offers guidance on both of these restore methods:
    How to erase your iOS device and then set it up as a new device or restore it from backups - Apple Support
    Thank you for contributing to Apple Support Communities.
    Best,
    BobbyD

  • Most of my music won't play, and the songs have exclamation points.

    I upgraded my itunes, and now most of the music won't play, and they have exclamation points next to them. When I click on a song, it says "original file cannot be found" I clicked on locate, but I couldn't find it anywhere. Any suggestions?

    Hello, I too had this same problem. I was very lazy about going through EACH song trying to select & fish for it in a folder (I have a lot of folders total of 1,979 songs). I called Apple & they told me to go to my iTunes go to FILE scroll down then ADD FOLDER.. Since everything was just out of place & didn't know where to even begin I basically deleted ALL songs from my LIBRARY & then added each folder. It literally took me less than 20 minutes. Dont worry if you have your songs labeled a certain way (Artist, name of song, genre in iTunes) everything will go back to normal. Hope this helps as it helped me! I put it aside for 2-3 years! Good luck!

  • I have downloaded mountain lion from the app store on another computer.  I have then gone to find it in "purchases" in the app store on my own macbook pro and it just comes up as "you have not purchased any apps" how to I get my mountain lion?

    I have downloaded mountain lion from the app store on another computer.  I have then gone to find it in "purchases" in the app store on my own macbook pro and it just comes up as "you have not purchased any apps" how to I get my mountain lion?

    Mac App Store: Hiding and unhiding purchases
              http://support.apple.com/kb/HT4928

  • Field symbols in ...........in SE24....have ur points..pleas

    Hi all,
    I want to declare a field symbol <fs> in a class, & to use it in different methods of the same class.
    But in attributes of the class, how i declare field symbol in a class.
    I m not able to do this...
    <b>Pleas assist me..& have ur points.</b>
    Regards,
    pradeep phogat

    Pradeep,
    See this thread. It gives details about field symbol used in a standard class. This should give you some idea.
    Re: Field Symbol
    ashish

  • All I have on my I pod touch is a white screen with multicolored lines going across screen.  What do I need to do.  I can't use I tunes because it says I have to have passcode and can't get screen to come up.  I have already tried holding both keys down.

    All I have on my I pod touch is a white screen with multicolored lines going across screen.  What do I need to do.  I can't use I tunes because it says I have to have passcode and can't get screen to come up.  I have already tried holding both keys down.

    - See if placing the iPod in Recovery mode will allow a restore.. It bypasses the passcode (and erases the iPod)
    - Next try DFU mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

Maybe you are looking for

  • Firmware-upgrade failed router not accessible

    during firmware-upgrade the connection to E4200 got lost due to power-outage, now the E4200 router is not accessible, power-led flashes ... the factory-ip-address 192.168.1.1 responds on ping, but nothing else ... how to get a working environment bac

  • Duplicates in Materialized view

    Hi, I have created a materialized view in Database B from 5 tables in DATABASE A. Each table has millions of records. The query for materialized view joins all these 5 tables and gets the data. If I do complete refresh it takes upto 4 hours. I want t

  • Miro with quantity issue

    Dear Forum, I have below 4 scenario to seek advice. When there is quantity variance during miro, how does the system do 1) PO quantity 100 unit. GR 40 unit and IR time also 40 unit. This will post automatically during miro as GR/IR account value same

  • PDF created with InDesign CS6, Helvetica Neue font, causes lower-case "r's" to be bold

    The pdf was created from InDesign CS6 using Windows 7. I cannot recreate the problem on my machine, but it is happening on a coworker's machine. The only character affected is the lower-case r. It appears bold when viewing the pdf of his machine. I a

  • Able to post Invoice for Blocked stock from quality

    Hi I did GR for material against PO for 50 pcs, During QA32 stock posting i posted 30 pcs to Unres. stock(101) and 20 pieces to blocked stock(350) storage locations. Now when I am trying to  create  MIRO invoice verification, I am getting all the 50