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 transaction problem

Former Member
0 Likes
501

Hi,

In my BDC program, I have used the folowing code, for

data t_options type ctu_params occurs 0 with header line.

t_options-defsize = 'X'.

t_options-dismode = 'N'.

t_options-updmode = 'S'.

append t_options to t_options.

clear t_options.

<Code>

<Code>

<Code>

<Code>

<Code>

<Code>

<Code>

<Code>

call transaction 'VI02' using t_bdcdata

options from t_options

messages into t_messages.

<code>

<code>

For the first time i run this program, I've set a break-point at the

Call transaction statement and changed the

t_otions-dismode value as 'A' (All screen)..

when I tried to run it again(After deleting the breakpoint), It is still

executing in the All screen mode only(Whereas it should run in no screen mode)

I've logged out of the system and tried again, but the same problem recurred.

Can anybody tell me whats the problem is?

Thanks in advance,

Ravi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
478

hi,

define t_options as structure

try with this

data t_options type ctu_params

clear t_options.

t_options-defsize = 'X'.

t_options-dismode = 'N'.

t_options-updmode = 'S'.

cheers,

sasi

3 REPLIES 3
Read only

Former Member
0 Likes
478

Hi Ravi,

Are you sure that your program doesn't stop for example if some field value is missing or the screens doesn't have some fields you try to pass to them? Hmm.. What I'm basicly trying to say is that are you sure your t_bdcdata has all the correct values?

I had similar kind of problem few weeks ago and the problem was that I was trying to pass one field to the transaction which didn't exist at the screen.

Regards,

Ville

Read only

Former Member
0 Likes
479

hi,

define t_options as structure

try with this

data t_options type ctu_params

clear t_options.

t_options-defsize = 'X'.

t_options-dismode = 'N'.

t_options-updmode = 'S'.

cheers,

sasi

Read only

Former Member
0 Likes
478

Hi Ravi,

Its better if try with only with the CTU_PARAMS structure. I hope you are using an internal table for the same. So either refresh that internal table or use the structure instead.

Hope this solves your problem...

Regards,

Sampath.