‎2005 Oct 20 10:31 AM
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
‎2005 Oct 20 10:44 AM
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
‎2005 Oct 20 10:38 AM
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
‎2005 Oct 20 10:44 AM
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
‎2005 Oct 21 1:46 PM
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.