Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

doutes in reports bdc scripts

Former Member
0 Likes
423

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?

2 REPLIES 2
Read only

Former Member
0 Likes
374

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

Read only

Former Member
0 Likes
374

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