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

Error coming as transaction code not defined for 'KSB1' when using submit

Former Member
0 Likes
1,023

dear all,

my requirement is i have to use standardlayout of KSB1 tcode and i want to calculate total value for Rs in currency field.

my code is

submit RKAEP000 and return.

and i also tried with

call transaction 'KSB1' skip first screen.

for the above two queries iam getting error as 'Transaction code Not defined'.

one more problem is i dont have data in dev client.

thanks in advance.

regards.

raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
600

hi,

Are you using export to memory id before this statement .

e,g export s_kostl to MEMORY ID 'KOS'.

regards

2 REPLIES 2
Read only

Former Member
0 Likes
601

hi,

Are you using export to memory id before this statement .

e,g export s_kostl to MEMORY ID 'KOS'.

regards

Read only

Former Member
0 Likes
600

Hi,

Use below code.


data : lw_kostl type kostl.
lw_kostl = '0000001001'. <--Pass cost center which is mandatory field
SET PARAMETER ID 'KOS' FIELD lw_kostl.    <---set cost center
call transaction 'KSB1' AND SKIP FIRST SCREEN.

Hope this will solve your purpose.

Thanks,

Vijay