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

BDC Screen Resolution

Former Member
0 Likes
533

Hi all,

I have one Question

i am doing a data transfer in one laptop which has less resolution

i am recording a table control and i got only 5 table lines to record

but i need to test in PC which has more resolution than Lap top

here i am getting 10 lines

it is showing error like : NO Batch Input for screen available

can any one please help me

Thanks & regards,

Sri

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
321

Hi,

See below code :

data: f_option type ctu_params,

f_option-updmode = 'S'.

f_option-defsize = 'X'.

f_option-dismode = 'N'.

call transaction 'VA01' using bdcdata options from f_option messages into bdcerror.

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
321

Hi,

For Screen Resolution we use the CTU_PARAMS,

look at the below for an example program

http://www.sap-img.com/ab001.htm

Here is the Example Program for Table Control

http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm


data: i_ctu type ctu_params,

initialization.
i_ctu-dismode = 'A'.
i_ctu-updmode = 'S'.
i_ctu-cattmode = ' '.
i_ctu-defsize = 'X'.   " Screen Resolution Option
i_ctu-nobinpt = 'X'.



CALL TRANSACTION 'KE21N' 
         USING IT_BDCDATA 
          MODE 'A' 
          UPDATE 'S' 
         MESSAGES INTO I_BDCMSGCOLL 
         OPTIONS FROM I_CTU.   " Here you need to give the Screen Resolution

Regards

Sudheer

Read only

Former Member
0 Likes
322

Hi,

See below code :

data: f_option type ctu_params,

f_option-updmode = 'S'.

f_option-defsize = 'X'.

f_option-dismode = 'N'.

call transaction 'VA01' using bdcdata options from f_option messages into bdcerror.

Regards