Application Development and Automation 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: 
Read only

call transcation

Former Member
0 Likes
996

Hi abapers i have an small query try to resolve the solution to me ....

if i click certain button it has to generate particuler transcation .

in my pai module :- case ok_code

when ' submit'

call transcation 'se38'

when 'next'

call transcation 'se11' --> its not working wat should i do /modify to do so for my requirement.

Hi abapers i have an small query try to resolve the solution to me ....

if i click certain button it has to generate particuler transcation .

in my pai module :- case ok_code

when ' submit'

call transcation 'se38'

when 'next'

call transcation 'se11' --> its not working wat should i do /modify to do so for my requirement.

8 REPLIES 8
Read only

Former Member
0 Likes
979

hi,

can u paste ur code...

Read only

0 Likes
979

Thanku for ur patience . right now iam not having code but sure to say

PAI MODULE

CASE 0K_CODE ( OK_CODE HAS BEEN DEFINED AS SY-UCOMM)

WHEN ' EDITOR'.

CALL TRANSACTION 'SE38'.

WHEN 'DICT'.

CALL TRANSACTION 'SE11'.

ENDCASE.

ENDMODULE . IAM SURE BUT ITS NOT WORKING YARR GUIDE ME PLZ .

Read only

0 Likes
979

hi,

hav u assigned OK_CODE...

ie. OK_CODE = SY-UCOMM???

Read only

0 Likes
979

Thanku for ur patience . right now iam not having code but sure to say

PAI MODULE

CASE 0K_CODE ( OK_CODE HAS BEEN DEFINED AS SY-UCOMM)

WHEN ' EDITOR'.

CALL TRANSACTION 'SE38'.

WHEN 'DICT'.

CALL TRANSACTION 'SE11'.

ENDCASE.

ENDMODULE . IAM SURE BUT ITS NOT WORKING YARR GUIDE ME PLZ .

Read only

0 Likes
979

Do you want to exit to the new transaction or just perform certain logic and return to your program for further processing?

Read only

0 Likes
979

You need to define function code either in menu painter(if you use button in application tool bar) or layout.

declare ok_code as below like

data ok_code(4) type c.

use ok_code in attributes column,then it should trigger,use upper case in case you use ' '.

Thanks

Seshu

Read only

Pawan_Kesari
Active Contributor
0 Likes
979

Have you written exactly like this..

CALL TRANSACTION 'SE38' .

check UPPER case..

Read only

0 Likes
979

EVERY THING R RIGHT ITS NOT WHAT MIGHT ME MISTAKE ???