01-30-2008 3:12 PM
How to Handle the Screen Resolution while doing BDC ?
Very Urgent
01-30-2008 3:17 PM
Hi,
You need to use the CTU_PARAM structure alon with the call transaction statment.
--------------------------------------------------------------------------------
**Sturcture of CTU_PARAM
**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
Vasanth
01-30-2008 3:17 PM
Hi,
You need to use the CTU_PARAM structure alon with the call transaction statment.
--------------------------------------------------------------------------------
**Sturcture of CTU_PARAM
**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
Vasanth
01-30-2008 3:26 PM
Hi,
Use this Code.
DATA : opt TYPE ctu_params.
opt-dismode = 'N'.
opt-defsize = 'X'.
CALL TRANSACTION tcode USING bdcdata OPTIONS FROM opt MESSAGES INTO messtab.
Reward points if useful.
bye