Page down functionality in table control BDC-CJ02 tcode
Hi Friends,
I am doing a BDC with Table control for Tcode CJ02.
When I reach certain number of records, say 13, the page down functionality doesnt work.I tried different ways like using the BDC_OKCODE as "=P" and "=P+".Also, I tried doing a recording by pressing the down key in the table contral, in SHDB, but none of them worked.
Refered a post in SDN as well, but it doesnt hold any solution.
Do throw some light on the same to achieve page down functionality for the bdc tcode CJ02.
Thanks in advance.
Shri.
Hi,
I already posted an answer to that here Re: BDC scroll down with OK_CODE '=P+':
P+ (=P+ in the BDC) is not a universal function code, but only one which is defined in ABAP lists . So, 99% of time, it doesn't work for all others situations (like yours).
Scrolling a table control is not so easy to do. When you record a page down on a table control in SHDB, you'll get probably a /00 which corresponds to Enter. When you play the recording, it won't scroll. The issue is that "page down" is processed in 2 parts, it changes the "top line" of the table control, and executes Enter. But it's not possible to record/play the "top line" information.
The solution is that the program usually implements a function code:
either "add new line"
or "position at line"
Sometimes, the function code is hidden so you must look at inside the program (or search SAP notes, like here: [SAP note 187946 (No positioning on PRT overview in routing)|https://service.sap.com/sap/support/notes/187946 ])
And sometimes, there's no function code at all, and then you're stuck ! (or use SAP GUI scripting, but it may only work in dialog).
For CJ02, I can't tell how to scroll through BDC, but anyway, there is a BAPI (don't remember the name, search the forum, it will be easy to find it), so you should always prefer them over BDC.
Sandra
Similar Messages
-
Page Up and Page down functionality in table control
Hi,
I want to add two pushbuttons in the module pool screen which has a table control that fetches data from the transparent table. One pushbutton is for the page up and other is for page down. If my table control <say tab_ctrl1> has 75 records in total with shows 25 at time so with a single page down it should show next 25 rows of the data.
thanks
ektaHi,
Use the function module SCROLLING_IN_TABLE.
For ok_code pass P- for previous page and P+ for next page.
Example:
DATA L_TC_NEW_TOP_LINE TYPE I.
CALL FUNCTION 'SCROLLING_IN_TABLE'
EXPORTING
ENTRY_ACT = Table_Control-TOP_LINE
ENTRY_FROM = 1
ENTRY_TO = Table_Control-LINES
LAST_PAGE_FULL = 'X'
LOOPS = 25
OK_CODE = 'P+'
OVERLAPPING = 'X'
IMPORTING
ENTRY_NEW = L_TC_NEW_TOP_LINE
EXCEPTIONS
* NO_ENTRY_OR_PAGE_ACT = 01
* NO_ENTRY_TO = 02
* NO_OK_CODE_OR_PAGE_GO = 03
OTHERS = 0.
Table_Control-TOP_LINE = L_TC_NEW_TOP_LINE.
Regards,
Sesh -
Regarding page down in the table control veritcally
Hi all,
I have an issue regarding page down in the Table control in module pool , i.e when i m click the vertical scroll bar and going for page down then , the control is flowing to the next sceen which is not needed , and it shuld just scroll down and up vetically.
Can anyone help me how to handle the page down event ?
Thanks & regards,
satyaTable Controls: Examples with Scrolling
The following example processes a table control with LOOP without parallel loop using an internal table. In addition to the scroll bar, the user can also carry out program-controlled scrolling with function codes.
REPORT demo_dynpro_tabcont_loop.
CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
DATA: ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm.
DATA: itab TYPE TABLE OF demo_conn,
fill TYPE i.
TABLES demo_conn.
DATA: lines TYPE i,
limit TYPE i.
SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
CALL SCREEN 100.
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
DESCRIBE TABLE itab LINES fill.
flights-lines = fill.
ENDMODULE.
MODULE fill_table_control OUTPUT.
READ TABLE itab INTO demo_conn INDEX flights-current_line.
ENDMODULE.
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE read_table_control INPUT.
lines = sy-loopc.
MODIFY itab FROM demo_conn INDEX flights-current_line.
ENDMODULE.
MODULE user_command_0100 INPUT.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'NEXT_LINE'.
flights-top_line = flights-top_line + 1.
limit = fill - lines + 1.
IF flights-top_line > limit.
flights-top_line = limit.
ENDIF.
WHEN 'PREV_LINE'.
flights-top_line = flights-top_line - 1.
IF flights-top_line < 0.
flights-top_line = 0.
ENDIF.
WHEN 'NEXT_PAGE'.
flights-top_line = flights-top_line + lines.
limit = fill - lines + 1.
IF flights-top_line > limit.
flights-top_line = limit.
ENDIF.
WHEN 'PREV_PAGE'.
flights-top_line = flights-top_line - lines.
IF flights-top_line < 0.
flights-top_line = 0.
ENDIF.
WHEN 'LAST_PAGE'.
flights-top_line = fill - lines + 1.
WHEN 'FIRST_PAGE'.
flights-top_line = 0.
ENDCASE.
ENDMODULE.
The layout of screen 100 is:
A resizable table control called FLIGHTS is defined. The fields of the table control are transferred from the structure DEMO_CONN in the ABAP Dictionary. The first two columns are lead columns. The corresponding fields are output fields. A title bar, column headers, and a selection column are created. The component MARK of type character with length 1 from structure DEMO_CONN is assigned to the selection column. You can select one column and several lines.
It has the following flow logic:
PROCESS BEFORE OUTPUT.
MODULE status_0100.
LOOP WITH CONTROL flights.
MODULE fill_table_control.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
LOOP WITH CONTROL flights.
MODULE read_table_control.
ENDLOOP.
MODULE user_command_0100.
The system executes a loop at PBO and PAI using the table control FLIGHTS. During the PBO loop, a module is called to fill the table control from table ITAB of the ABAP program. During the PAI loop, a module is called to modify table ITAB.
Before the PBO loop, in the module STATUS_0100 the current number of lines of the internal table ITAB is placed in component LINES of control structure FLIGHTS. This helps the system to correctly install the scroll bar of the table control.
During the PBO loop, in the module FILL_TABLE_CONTROL the work area DEMO_CONN is filled with values from the internal table, where the row index corresponds to the current row of the table control.
During the PAI loop, in the module READ_TABLE_CONTROL the current number of the loop SY-LOOPC in the table control is placed an auxiliary variable. The number is dependent on the size of the screen. The rows of the internal table, whose row index corresponds to the current row of the table control, are overwritten with the contents of the work area DEMO_CONN. User input is transferred from the input fields of the control to the internal table. In particular, the internal table also contains a flag in the column MARK to indicate whether the row of the table control is selected or not.
After the PAI loop, user input is processed in the module USER_COMMAND. The GUI status SCREEN_100 provides the appropriate function codes. You can scroll line by line or page by page, or Goto the first or last page. You can implement scrolling by setting the component TOP_LINE of control structure FLIGHTS. For page-by-page scrolling the auxiliary variable that is filled in the PAI loop by SY-LOOPC is used as the step size. -
IB51, IB52 : Page up & Page Down option for table control disabled
Hi experts,
IB51, IB52 Page up & Page Down option for table control is disabled.
We want to use these options in the table control while recording .
Can any one tell us?
Regards,
LakshmiHi,
You can refer to Note 379208 .
The same is applicable in CRM too.
Thanks ,
Jomy -
Implement Entry up/down & Page up/down functions in table control
Hi,
I have to implement entry up/down and page up/down functions in my table control. The logic is :-
Suppose the entries in my table control currently are:-
Called "Initial Position" :-
a
b
c
d
e
My "Cursor Position" or say my selection column is at 'c' value currently.
If I press entry down, the result should be:-
a
b
d
c
e
i.e. c shifted one value down. If I press value up from "Initial Position", it should be :-
a
c
b
d
e
If I press page down from "initial position", the result should be
a
b
d
e
c
i.e. c has scrolled to the last entry. Similarly for page up, where the entry goes up to the first place and all entries move one position down.
The problem i am facing is:-
1) How to get index of entry selected?
2) How to change table control contents at runtime?
Thanks.
Edited by: dumbledorearmy on Nov 23, 2010 12:25 PMHi,
Please check the function module - 'SCROLLING_IN_TABLE'.
It give you some idea.
Thanks.
Anversha -
How to use Page down functionality in BDC Table control
Hi Guys,
I am facing problem with populating data in the table control at item level. I am able to poulate upto 6 records, i need to populate n number of records.
Pls help me with using P+ functionality for table control in BDC.
Thanks in advance
SatishHi!
Can you share how you got this solved?
Thanks! -
BDC PROGRAM WITH PAGE DOWN FUNCTIONALITY
Hi,
Can anyone provide me BDC program with page down functionality.
Regards,
SPHi ,
There is ok code i.e P+, which is the page down ,
For example if you have 5 slots in the screen and from the BDC u have to fill more than the 5 slots so we will send the FVAL to BDCDATA like 'P+' it will increse the one more page ssay like 5 more slots.
Regards,
Bharani -
Ok-code to scroll down in a table control on batch input
Hello,
I'm trying to create a batch input session for transaction VA02 (Change sales order) :
I need to go scroll down in the table control of the screen (item -> Conditions) 3 times to delete the a line; In the batch input (SHDB), i go scroll down by clicking on the scroll bar of the table control, mark the line of the page and delete it.
The recording show me the ok-code /00 to scroll down (with BDC_CURSOR in the second line), but in the program it don't work, the ok do nothing the 3 times and mark the incorrect line.
Can anyone tell an idea of what is the correct ok-code to scroll down?
Thanks in advance
Alvaro
PD: My SAP system is an ECC 6.0Hi Alvaro
One time i had to do similar work for Creation of General Task List in PM module and this is how i did it
'X' 'SAPLCMDI' '3500',
' ' 'BDC_CURSOR' 'RIHSTPX-DISP(01)',
' ' 'BDC_OKCODE' '=P+',
' ' 'RIHSTPX-IDNRK(01)' itab-idnrk,
' ' 'RIHSTPX-MENGE(01)' itab-menge,
' ' 'RIHSTPX-MEINS(01)' itab-meins,
' ' 'RIHSTPX-DISP(01)' itab-disp.
I had to select line 1 hence you can see the position number ( 01 ) in the field name. As you can see based on this positioning you can select the appropriate line and make modifications as you like and also use okcode of '=P+' to scroll done. Hope this helps. Reward if appropriate.
Best Regards
Sid Arora -
Hi All,
Can anyone tell me is table control BDC possible for MB1A tcode
Thanks in advance.well there may be 2 cases,
1. if ur batch manahement is active and the batch is determined internally,in that case it is not possible.
2.However if ur batch management is not active,then a bdc can be written.
But i would suggest u use an LSMW and record using the BAPI method,SAP provides good standard BAPI's. -
Hi Group,
When I am writting BDC for transaction in which table control occurs in the second screen,it is perfectly running when I am testing with the two records in the table control,when I increases the records (200) I am getting the error that <b>Screen is too large for Internal batch Input.</b>
Here I am attaching the part of code.
MOVE 1 TO IDX.
LOOP AT IT_DATATAB INTO WA_DATATAB.
CONCATENATE 'FKKCMP_DIA-CHCKN(' IDX ')'
INTO FNAM.
perform bdc_field using FNAM
wa_datatab-col5.
CONCATENATE 'FKKCMP_DIA-GPART(' IDX ')'
INTO FNAM.
perform bdc_field using fnam
wa_datatab-col1.
CONCATENATE 'FKKCMP_DIA-VKONT(' IDX ')'
INTO FNAM.
perform bdc_field using fnam
wa_datatab-col2 .
CONCATENATE 'FKKCMP_DIA-AUDAT(' IDX ')'
INTO FNAM.
perform bdc_field using fnam
wa_datatab-col3 .
v_betrw = wa_datatab-col4.
CONCATENATE 'FKKCMP_DIA-BETRW(' IDX ')'
INTO FNAM.
write v_betrw to fval.
perform bdc_field using fnam
fval.
IDX = IDX + 1.
ENDLOOP.
Please suggest<b>A table control can contain many records, but the no of records you see on the screen is limited. In this case, the table control can hold only 16 records at a time and then we need to enter the page down and fill in more records.</b>
here is the sample code.
*--For each record in table IT_ICE_CONFM
loop at it_ice_confm.
*--Get the correct line item from calling system.
* it_ice_confm-ebelp = it_ice_confm-ebelp / '00010'.
*-- Check for Purchasing document validity
read table lt_ekko with key ebeln = it_ice_confm-ebeln
binary search.
if sy-subrc <> 0.
"error
endif.
*-- Check for Purchasing document item validity
read table lt_ekpo with key ebeln = it_ice_confm-ebeln
ebelp = it_ice_confm-ebelp
binary search.
if sy-subrc <> 0.
"error
endif.
*--Clear local variables.
clear : lv_tabix,
lv_lfdat.
lv_tabix = sy-tabix.
lv_count1 = lv_count1 + 1.
* For every new Purchase Order, populate first screen
at new ebeln.
read table it_ice_confm index lv_tabix.
perform screen_insert tables it_bdc
using 'SAPMM06E' '0105' 'X'.
perform field_insert: tables it_bdc
using 'BDC_OKCODE' '/00',
tables it_bdc
using 'RM06E-BSTNR' it_ice_confm-ebeln.
endat.
* For every new Purchase Order line item, populate next screen
at new ebelp.
read table it_ice_confm index lv_tabix.
* if no Confirmation control key exist and no Goods receipt indicator
* occurs for the line item, set the Confirmation control key as 0001
if lt_ekpo-bstae = ' '.
if lt_ekpo-wepos = ' '.
perform screen_insert tables it_bdc
using 'SAPMM06E' '0120' 'X'.
perform field_insert: tables it_bdc
using 'RM06E-EBELP' it_ice_confm-ebelp,
tables it_bdc
using 'BDC_OKCODE' '/00'.
perform screen_insert tables it_bdc
using 'SAPMM06E' '0120' 'X'.
perform field_insert: tables it_bdc
using 'RM06E-TCSELFLAG(01)' 'X',
tables it_bdc
using 'BDC_OKCODE' '=DETA'.
perform screen_insert tables it_bdc
using 'SAPMM06E' '0111' 'X'.
perform field_insert: tables it_bdc
using 'EKPO-BSTAE' '0001',
tables it_bdc
using 'BDC_OKCODE' '=BACK'.
else.
* if no Confirmation control key exist and and if Goods receipt
* indicator occurs for this line item, mark PO and line item as error
concatenate 'Item no ' it_ice_confm-ebelp
' of Purchasing document ' it_ice_confm-ebeln
' is invalid'
into return-message.
move: 'E' to return-type,
'ZI' to return-id,
'999' to return-number.
append return.
clear return.
continue.
endif.
else.
endif.
perform screen_insert tables it_bdc
using 'SAPMM06E' '0120' 'X'.
perform field_insert: tables it_bdc
using 'RM06E-EBELP' it_ice_confm-ebelp,
tables it_bdc
using 'BDC_OKCODE' '/00'.
perform screen_insert tables it_bdc
using 'SAPMM06E' '0120' 'X'.
perform field_insert: tables it_bdc
using 'RM06E-TCSELFLAG(01)' 'X',
tables it_bdc
using 'BDC_OKCODE' '=BSTA'.
clear lv_tab_line.
perform select_line using it_ice_confm-ebeln
it_ice_confm-ebelp
changing lv_tab_line.
if not lv_tab_line is initial.
*--Position table control row for the first time
lv_count2 = '01'.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0200' 'X'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=UMOD'.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0100' 'X'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=NP'.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0100' 'X'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=UMOD'.
endif.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0200' 'X'.
endat.
lv_count2 = lv_count2 + 1.
* Handle page down
*-- if confirmations already exist.
if not lv_tab_line is initial.
*-- Check if it is 16th record, to position next record on page down
* table control has 16 rows when default screen size,
* mode and update are set
if lv_count1 = 16.
clear: lv_count1,
lv_count2.
*-- On page down, the next record comes to 2nd row
lv_count2 = '02'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=UMOD'.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0100' 'X'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=NP'.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0100' 'X'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=UMOD'.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0200' 'X'.
endif.
else.
*-- if confirmations does not exist, then check if it is 17th record.
* to position next record on page down
if lv_count1 = 17.
clear: lv_count1,
lv_count2.
lv_count2 = '02'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=UMOD'.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0100' 'X'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=NP'.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0100' 'X'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=UMOD'.
perform screen_insert tables it_bdc
using 'SAPLEINB' '0200' 'X'.
*-- Initialize the table line to 1.
lv_tab_line = 1.
endif.
endif.
concatenate 'EKES-EBTYP(' lv_count2 ')' into lv_field.
perform field_insert tables it_bdc
using lv_field 'Z1'.
if not it_ice_confm-eindt is initial.
clear: lv_field,
lv_date.
concatenate 'RM06E-EEIND(' lv_count2 ')' into lv_field.
move it_ice_confm-eindt to lv_lfdat.
write lv_lfdat to lv_date.
perform field_insert tables it_bdc
using lv_field lv_date.
endif.
if not it_ice_confm-uzeit is initial.
clear: lv_field,
lv_time.
concatenate 'EKES-UZEIT(' lv_count2 ')' into lv_field.
write it_ice_confm-uzeit to lv_time.
perform field_insert tables it_bdc
using lv_field lv_time.
endif.
clear lv_field.
concatenate 'EKES-XBLNR(' lv_count2 ')' into lv_field.
perform field_insert tables it_bdc
using lv_field it_ice_confm-scacd.
clear lv_field.
concatenate 'EKES-MENGE(' lv_count2 ')' into lv_field.
perform field_insert tables it_bdc
using lv_field it_ice_confm-quantity.
at end of ebelp.
clear: lv_tab_line,
lv_count1,
lv_count2.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=BACK'.
endat.
at end of ebeln.
clear: lv_lines,
lv_msg.
perform screen_insert tables it_bdc
using 'SAPMM06E' '0120' 'X'.
perform field_insert tables it_bdc
using 'BDC_OKCODE' '=BU'.
call transaction <b>tcode</b> using it_bdc
options from x_ctu_params
messages into lt_message.
clear w_success.
if sy-subrc <> 0.
w_success = 'N'.
endif.
refresh: it_bdc,
lt_message.
endat.
endloop.
Regards,
Richa -
Drop down list in Table Control - Value disappeared after pressing ENTER
Dear Gurus,
I have a problem in one of my development where I used a table control in which one field is a drop down list.
I used VRM_SET_VALUES and VRM_GET_VALUES for populating the values from the programand not use any domain level value table for that field.
My problem is when I select one value from this list , and pressing enter , the value get disappeared. But if I use a domain for this field with value table then everything working properly.
My doubt is am I doing some miss coding or using the VRM_ function modules improperly ?
I am sharing some code with you
in PAI :
CALL FUNCTION 'VRM_GET_VALUES'
EXPORTING
id = 'ITAB-FIELD3' "This is drop down list element on screen
IMPORTING
values = values[] " even it is not the expor parameter...it will work..
EXCEPTIONS
id_not_found = 1
OTHERS = 2.
IF sy-subrc NE 0.
No sy-subrc check required.
ENDIF.
IN PBO
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'IVBAP-ERNAM'
values = values[].
Can you please help me.
Thanks .HI,
The link contains the list box creation, just check if this might help.
Re: Getting values back from a listbox.
Regards and Best wishes. -
Update records in table control BDC
I am using BDC on table control in which I have to scroll the table. The table shows 4 rows by default. I want to enter values for the 1st and 6th row. I use =p+ OK code to scroll.
When enter value for 6th row the value in the first row vanishes.
Please suggestI have to perform f_bdc_dynpro for screen 'MP901200' '2000' repeatedly for scrolling
perform f_bdc_dynpro using 'MP901200' '2000'.
perform f_bdc_field using 'BDC_CURSOR'
'PT9012-SALARYSCHED'.
perform f_bdc_field using 'BDC_OKCODE'
'/00'.
perform f_bdc_field using 'P9012-BEGDA'
'19.01.2009'.
perform f_bdc_field using 'P9012-ENDDA'
'31.12.9999'.
perform f_bdc_field using 'PT9012-PLANN'
'1143'.
perform f_bdc_field using 'PT9012-SALARYSCHED'
'01'.
perform f_bdc_field using 'PPHDX-ENTRY_IDX'
'1'.
Here I enter value for individual fields other than the table control.
perform f_bdc_dynpro using 'MP901200' '2000'.
perform f_bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform f_bdc_field using 'P9012-BEGDA'
'19.01.2009'.
perform f_bdc_field using 'P9012-ENDDA'
'31.12.9999'.
perform f_bdc_field using 'PT9012-PLANN'
'1143'.
perform f_bdc_field using 'PT9012-SALARYSCHED'
'01'.
perform f_bdc_field using 'PPHDX-ENTRY_IDX'
'1'.
perform f_bdc_field using 'PT9012-DEGREE(01)'
'03'.
Here I enter value in the first row of table control.
perform f_bdc_dynpro using 'MP901200' '2000'.
perform f_bdc_field using 'BDC_OKCODE'
'=p+'.
perform f_bdc_field using 'P9012-BEGDA'
'19.01.2009'.
perform f_bdc_field using 'P9012-ENDDA'
'31.12.9999'.
perform f_bdc_field using 'PT9012-PLANN'
'1143'.
perform f_bdc_field using 'PT9012-SALARYSCHED'
'01'.
perform f_bdc_field using 'PPHDX-ENTRY_IDX'
'1'.
here i scroll down to come to the sixth row.
perform f_bdc_field using 'BDC_OKCODE'
'=/00'.
perform f_bdc_field using 'BDC_OKCODE'
'/00'.
perform f_bdc_field using 'P9012-BEGDA'
'19.01.2009'.
perform f_bdc_field using 'P9012-ENDDA'
'31.12.9999'.
perform f_bdc_field using 'PT9012-PLANN'
'1143'.
perform f_bdc_field using 'PT9012-SALARYSCHED'
'01'.
perform f_bdc_field using 'PPHDX-ENTRY_IDX'
'6'.
perform f_bdc_field using 'PT9012-DEGREE(02)'
'01'.
Here I enter the value at second row as the 6th row is now the 2nd row after scrolling.
but due to this the value in the first row vanishes. -
Screen Resolution in table control bdc
Hi ,
Im working on bdc table control using call transaction method for vk11 and mek1.While uploading data for vk11 for the first time it is taking all the records of the input file and if i do the same for the second time by changing the amount value it is taking only 24 records .(i.e if the input file contains only 24 records it wil update else if it has 25 records or more it not updating even single record and it is showing error " No batch input data for screen sapmv13A ..)...this issue is with the production server......................whereas in development and quality servers there is no problem....................
what migh be the problem and how to solve it?
can anyone plz help me on thisif its a problem in screen resolution then while recording through SHDB mark the check box default size
or
to make the bdc execute in standard screen size check the code below
data x_ctuparams type ctu_params.
x_ctuparams-defsize = 'X'. " This would freeze the resolution in any system
x_ctuparams-dismode = 'N'.
x_ctuparams-updmode = 'S'.
call transaction <TCODE> using it_bdcdata options from x_ctuparams.
So whatever is the screen size of the users front-end, the BDC will execute in standard screen size -
To know the functionality of table control in ABAP Objects
Hi,
Is there any technique to achieve the functionality of table conrol in ABAP Objects?
Thanks.Hello Raja
If you are using an editable ALV grid then you have the functionality of a table control and much much more.
ABAP-OO based ALV grids are much more powerful (and easier) than simple table controls.
Regards
Uwe -
Copy Functionality of Table Control like System's
Hi all,
I have a situation in table control...
The scenario is like this ... I have a table control in which i am able to display the data about the sales persons. Now whenever i select a row from that table control it should copy that row and show that row in another control table in the editable option so that the user can edit the data.. Then on clicking the save button it should be updated into the internal table ...
Waiting for response..
Thank YouHi friend,
I have visited the link u have given . But it is a report program .it is available in ABAPDOCU tcode.
ABAPDOCU----
>ABAP User Dialogs -
>Screens -
>Complex Screen Elements -
>Table Control with Scrolling .
It is a REPORT program. and not a module pool program. plz check this in ur link also.
REPORT demo_dynpro_tabcont_loop. &
*SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.* -
> this statement is used only in report program and system does not allow us to use in module pool program.
Second thing here data is retrived from spfli table where as my data will be whatever enduser enters it may be 15 lines , may be 50 lines or may be 200 lines and it shold be displayed on entry screen before clicking SAVE or any other user action.
My main problem is that I am unable to enter more than 11 entries in my entry screen. I want dynaamic table. Mean whichever enteries are entered they should be displayed on entry screen as well as can be scrolled up & down before saving and get saved after clicking SAVE button. here table control design is not imp because entry data depends on table control layout rows & which has limit. It can not be extended beyond certain level. i think max will be 20 Or 25 rows in layout. How to make it dynamic so that we can get any no. of entries in entry screen hiich canbe scrolled up & down.
Anyways thanks for ur reply And send some other soln.
Thanks & regards,
Ashish
Maybe you are looking for
-
R12:what is the function of on account receipts in bank remittance ?
there is a new function of on account receipts in bank remittance which it hasn't before R12. can can anybody explain what is used for ? Regards, Chelsea
-
Return from Vendor in Refurbishment Process
Hi Need help in understanding the below Steps Refurbishment Scenario u2013 We want to send the defective Material to a external Vendor for Repair, we can Issue the Material under valuation class u201CDEFECTu201D Thro MB1B Mvt Type 541 . However while
-
It's been about 8 years since I had any comparable problem(with a strawberry iMac), but I know this can't be good. I just came home from work to find the screen of my pre Intel mac mini with a black screen, but a still active cursor.I tried to restar
-
Where are the podcast found?
I just transferred all my iPad 1 things to my iPad Air 2 but can't figure out where the Podcasts are. Could some one please point me in the right direction? Thanks
-
Move custome shape to fireworks
Hi, Is there a way I can move a photoshop custome shape to fireworks and still be able to edit the shape in fireworks.