‎2007 Feb 16 12:18 PM
Hello,
There is one problem I'm having. I have to implement a mass upload functionality to standard transaction, so that user can point to external document and data from it is transferred to screen. There can be hundreds of items in a document.
I managed to do it partly. Problem is that if document has more items than table control has visible lines, then those lines that don't fit on screen don't appear at all.
Is there a way to make it work? To trick table control into believing it has more lines than it actually does?
‎2007 Feb 16 12:27 PM
Hi
I believe you can only try to get them by field-symbols if you know which is the internal table for the table screen:
*--> wa_itab has to be like the internal table of the std program
DATA: BEGIN OF WA_ITAB,
END OF WA_ITAB.
FIELD-SYMBOLS <ITAB> TYPE TABLE.
DATA: FIELDNAME(30) VALUE '(<standard program>)ITAB[]'.
ASSIGN (FIELDNAME) TO <ITAB>.
LOOP AT <ITAB> INTO WA_ITAB.
ENDLOOP.
Max
‎2007 Feb 16 12:29 PM
Hi Jurijs,
The problem is not so complex as it appears to be.
Firstly, check if there is any option to entrer the data item wise(Without using the table control).
Secondly, if no such option exists, check if there is any button upon clicking which, you would get the record to the first visible line in the table control.
Or else, you can use the Page Down button to handle a table control.
Refer this example to do a BDC for a table control.
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Regards,
Ravi
‎2007 Feb 16 12:31 PM
Hi,
Look at the below DEMP Programs
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
Regards
Sudheer