Skip to Content
avatar image
Former Member

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.

pradeep.phogat@gmail.com

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 20, 2007 at 12:22 PM

    Hi

    See the program DEMO_DYNPRO_ON_CONDITION

    Max

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 20, 2007 at 12:16 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 20, 2007 at 12:21 PM

    Hi,

    what do you mean by:

    come on abapers.....n have ur points

    Is this your question?

    Regards, Dieter

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 20, 2007 at 12:21 PM

    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>

    Add comment
    10|10000 characters needed characters exceeded