‎2006 Jul 19 8:17 AM
1. I want to display multiple slection screens is it possible how?
2. I want to display my own data in parameters r in selct-option by using f4 with out refering to data disnary with using at seletion screen on value request what is coding we must write give a exmaple coding?
2. In interactive reports i want to select the list all records means not only the one record by using hide key r cursor .
3. In bdc if the table control rezluation is change to small what is the procedure and what changes must do in coding?
4. In bdc session method is there any process specifing sychrones and asychrones in coding r any option in sm 35?
like in call transtion method if any process chaning synch to asynch?
5. In bdc session method with out going to sm35 is it possible to execute how?
6. In script if we want to enter a new font in sap what is the process is there any t.code?
7. In lsmw it is possible to validation the data?
‎2006 Jul 19 12:00 PM
HI Sunil,
1) u can have multiple selection screens for a report.
however only one is displayed.
u can declare the selection screens
by using begin-of-screen 100 and end-of-screen.
u can display the relevant sub-screen by using call selection-screen 100.
2) u can use the FM F4_INiT_TABLE_DISPLAY in the AT SELECTION SCREEN ON VALUE REQUEST event. pass an internal table to the FM which contains the desired values to be displayed.
3)use a check box. have a 1 char field in the internal table and display it using <b>write <fieldname> as checkbox</b>. u can select all the rows where the user has checked
4)set the CTU_params so that all the machines will have acceptable rows.
5)yes. set the session to execute immediately
THanks,
Santosh
‎2006 Jul 19 12:10 PM
Hai Sunil
Ans 2Q)
Go through the following Code
TABLES : MARD.
DATA: BEGIN OF IT_MARD OCCURS 0,
WERKS LIKE MARD-WERKS,
END OF IT_MARD.
DATA : T_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE.
parameters : P_WERKS LIKE MARD-WERKS.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_WERKS.
SELECT WERKS FROM MARD UP TO 10 ROWS INTO table IT_MARD.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'WERKS'
DYNPPROG = SY-REPID
DYNPNR = '1000'
DYNPROFIELD = 'P_WERKS'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = IT_MARD
RETURN_TAB = T_RETURN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
Thanks & regards
Sreenivasulu P