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 : Problem with line item

Former Member
0 Likes
463

Hi ,

I am writing BDC for transaction MFBF .

We have to upload line items .

<b>Recording is done in 15 Inch monitor.</b>

When we use 15 Inch monitor , Recording is proper.

When i press page down all line item appear in

order and regording is proper. (Say 15 line item )

When we use 17 Inch monitor , the line items that

come after 15th inch is not recorded ( Total there

is 17 line items , Only upto 15 is , when i press

page down 2 line item is discarded , the next page

starts from 19th line item.

<b>If i use 17 inch monitor this problem comes .</b>

How to code for this .

Regards

Shiba

Hi ,

I am writing BDC for transaction MFBF .

We have to upload line items .

<b>Recording is done in 15 Inch monitor.</b>

When we use 15 Inch monitor , Recording is proper.

When i press page down all line item appear in

order and regording is proper. (Say 15 line item )

When we use 17 Inch monitor , the line items that

come after 15th inch is not recorded ( Total there

is 17 line items , Only upto 15 is , when i press

page down 2 line item is discarded , the next page

starts from 19th line item.

<b>If i use 17 inch monitor this problem comes .</b>

How to code for this .

Regards

Shiba

2 REPLIES 2
Read only

Former Member
0 Likes
398

Hi shiba,

1. Such problem usually occur.

2. Further, we cannot detect the screen resolution,

thru abap code.

3. For such things, its better to provide

some sort of selection / radio button

in the selection screen itself.

4. However, if such bdc is supposed to be done in background,

then screen resolution won't interfere.

regards,

amit m.

Read only

Former Member
0 Likes
398

Hi Prasad,

You can use ctu_params.

This is for Default screen size for CALL TRANSACTION. It signifies the screen size will be constant irrespective of the screen resolution(which can vary for different user). The importance of this lies in programs(module pool) that contain table controls. With default screen size we can control the no of rows in the table control which otherwise may vary depending on the screen resolution.

DEFSIZE is the Selection as to whether the screens of the called transaction are displayed in the standard screen size. Values "X" (standard size), " " (current size).

sample.

data : x_ctu_params type ctu_params.

  • To have default screen size, mode and update

x_ctu_params-defsize = 'X'.

x_ctu_params-dismode = 'X'.

x_ctu_params-updmode = 'X'.

call transaction tscode using bdcdata

options from x_ctu_params

Regards,

Uday

Please reward points if helpful