Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

call transaction

Former Member
0 Kudos
76

hi guru,

i need to do follwing [please help me as soon as possible

Insert a double click function in table control and call after

double click the transaction SM37 and show the selected job.

Use ABAP command

CALL TRANSACTION 'SM37' USING bdcdata

MODE ‘E’

Use the following values for transaction SM37:

Job name = value of column job name

User name = ‘*’

All checkboxes = ‘X’

Job start condition: from date = value of column “letzter Joblauf”

To date = system date (sy-datum)

thank in advance

points will be awwarded

anuj

3 REPLIES 3

Former Member
0 Kudos
48

HI,

You can use the GET CURSOR statment to get the data of the double click function., Then call the function CALL TRNASACTION using those values based on the values which we get from the GET CURSOR.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabf135c111d1829f0000e829fbfe/content.htm

Regards

Sudheer

0 Kudos
48

Hi.. Try this

GET CURSOR FIELD gf_field LINE gf_line.

sy-index = tc_subscription-top_line + gf_line - 1.

READ TABLE gt_subscription INTO gr_subscription INDEX sy-index.

with this u get the field value on which it is double clicked and then u can use call transaction.

0 Kudos
48

hi fayaz,

i need this rest are done

Job start condition: from date = value of column “letzter Joblauf”

To date = system date (sy-datum)

help me with the same

as soon as possible

regrds

anuj