2008 Jul 15 12:44 PM
Hi All,
Here i am executing F110 with rundate and Identification and i am giveing my Report in EDIT >PAYMENTS>PAYMENTLISTS---->MY PROGRAM NAME.
my program not having any selection screen.my will display payment list data based on rundate and Identification
how can i get rundate and identification into my program entered by the user in initial F110 screen.please suggest me
Thanks in advance,
Regards,
Venkat
Hi All,
Here i am executing F110 with rundate and Identification and i am giveing my Report in EDIT >PAYMENTS>PAYMENTLISTS---->MY PROGRAM NAME.
my program not having any selection screen.my will display payment list data based on rundate and Identification
how can i get rundate and identification into my program entered by the user in initial F110 screen.please suggest me
Thanks in advance,
Regards,
Venkat
2008 Jul 15 12:54 PM
In F110 various BTEs are available choose a suitable one and write code in the BTE fm to export rundate and indentification no to databse cluster like:
An internal table itab is exported under the name tab and the identification "TABLE" to the area"XY" of the data base table INDX (delivered by SAP). The selectable components are provided by the structure wa_indx.
TYPES:
BEGIN OF tab_type,
col1 TYPE i,
col2 TYPE i,
END OF tab_type.
DATA:
wa_indx TYPE indx,
wa_itab TYPE tab_type,
cl TYPE mandt VALUE '100',
itab TYPE STANDARD TABLE OF tab_type.
WHILE sy-index < 100.
wa_itab-col1 = sy-index.
wa_itab-col2 = sy-index ** 2.
APPEND wa_itab TO itab.
ENDWHILE.
wa_indx-aedat = sy-datum.
wa_indx-usera = sy-uname.
wa_indx-pgmid = sy-repid.
EXPORT tab = itab
TO DATABASE indx(XY)
FROM wa_indx
CLIENT cl
ID 'TABLE'.
Then form ur program read the values from the database cluster using import statement.
Regards,
Joy.
2008 Jul 15 1:04 PM
Hi Joy,
Thanks for ur quick response . Could you please explain clearly...
Thanks in advance
Regards,
Venkat
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |