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

screen resolutions

0 Likes
239

Could any one provide the code how to handle screen resolutions while uploading the data .

1 REPLY 1
Read only

Former Member
0 Likes
214

Hi,

You need to use the CTU_PARAM structure alon with the call transaction statment.

-


**<b>Sturcture of CTU_PARAM</b>

**DISMODE : Display mode (like the MODE addition 'A' , 'E', 'N')

**UPDMODE: Update mode (like the UPDATE addition 'S', 'A')

**DEFSIZE : Use default window size (Here we are handling those transaction by giving default window size)

**RACOMMIT: Do not end transaction at COMMIT WORK

**NOBINPT : No batch input mode (that is, SY-BINPT = SPACE)

**NOBIEND : No batch input mode after the end of BDC data.

*The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values:

'X' Yes

-



DATA : L_OPTION TYPE CTU_PARAMS, "Parameter string for runtime of CALL TRANSACTION
L_SUBRC TYPE SYSUBRC.


L_OPTION-DEFSIZE = 'X'.
L_OPTION-DISMODE = P_MODE.
L_OPTION-UPDMODE = 'S'.

CALL TRANSACTION 'FK01' "FK01-Vendor master creation
USING IT_BDCDATA
MESSAGES INTO IT_MESSTAB
OPTIONS FROM L_OPTION.

Regards

Sudheer