‎2009 May 27 11:55 AM
Hi all ,
where BDC_OK fields will store in which table .
and also how to reslove the screen resolution in bdc session method .
Regards ,
Kiran .
‎2009 May 28 6:23 AM
hi
to maintain Screen Resolution just try this
in the BDC Program source code u will find
include BDCRECX1 just double click on it,u can see the selection screen of BDC
and form definitions for Open_Group ,BdcTransaction & CloseGroup,since it is a std include program
u cannot change it so copy this to a Z include and use that Z include instead of BDCRECX1
Then go to form BDCTRANSACTION using TCODE
in that form Declare a workarea(eg: opt) of structure type CTU_PARAMS
data: messtab like bdcmsgcoll occurs 0 with header line.
data : opt type ctu_params.
pass the values to it
dismode-> Processing mode (A,E,N,P)
updmode-> Update mode (L,S,A)
defsize-> Default Screen Size (X) to maintain Screen Resolution
opt-dismode = ctumode.
opt-updmode = cupdate.
opt-defsize = 'X'.
if session = 'X'.
call function 'BDC_INSERT'
exporting
tcode = tcode
ctuparams = 'OPT'
tables
dynprotab = bdcdata.
else.
refresh messtab.
call transaction tcode using bdcdata options from opt messages into messtab.
endif.
Regards
‎2009 May 27 11:59 AM
Hi,
While doing the recording from the SHDB..you need to check the Default Size check box in the Popup window. This will take care of the screen Resoluiton.
‎2009 May 27 12:18 PM
The database table for BDC_OKCODE is WDKSCRIPTBDC under the field name FVALBDC.
Check it out.
‎2009 May 27 12:18 PM
hi,
There is a parameter called CTUPARAMS in BDC_INSERT function module. so u need to populate
CTUPARAMS-DEFSIZE = 'X'. then it will take the default size for table control for all the systems with different resolutions.
Regards,
Vineel.
‎2009 May 28 6:23 AM
hi
to maintain Screen Resolution just try this
in the BDC Program source code u will find
include BDCRECX1 just double click on it,u can see the selection screen of BDC
and form definitions for Open_Group ,BdcTransaction & CloseGroup,since it is a std include program
u cannot change it so copy this to a Z include and use that Z include instead of BDCRECX1
Then go to form BDCTRANSACTION using TCODE
in that form Declare a workarea(eg: opt) of structure type CTU_PARAMS
data: messtab like bdcmsgcoll occurs 0 with header line.
data : opt type ctu_params.
pass the values to it
dismode-> Processing mode (A,E,N,P)
updmode-> Update mode (L,S,A)
defsize-> Default Screen Size (X) to maintain Screen Resolution
opt-dismode = ctumode.
opt-updmode = cupdate.
opt-defsize = 'X'.
if session = 'X'.
call function 'BDC_INSERT'
exporting
tcode = tcode
ctuparams = 'OPT'
tables
dynprotab = bdcdata.
else.
refresh messtab.
call transaction tcode using bdcdata options from opt messages into messtab.
endif.
Regards