2007 Mar 30 9:25 AM
hi all
ive a requirment dat my after filling out enteries on screen my repot get generated only if user hits enter.
if user doesnt hit enter, he should b prompted to press enter by appropriare message and then after he presses enter only then report gets generated.
how to achieve dis.
rgds
points 'll b rewarded.
Message was edited by:
abapuser
2007 Mar 30 9:30 AM
Hi,
Y dont u use a pushbutton on application toolbar or after the fields ( Generate Report ), this name itself will prompt user to press it!!!
Regds
Seema
Hi,
Y dont u use a pushbutton on application toolbar or after the fields ( Generate Report ), this name itself will prompt user to press it!!!
Regds
Seema
2007 Mar 30 9:30 AM
Hi,
Y dont u use a pushbutton on application toolbar or after the fields ( Generate Report ), this name itself will prompt user to press it!!!
Regds
Seema
2007 Mar 30 9:30 AM
One thing you can do is after user clicks the save button you can give one information message to hit enter
WHEN 'SAVE'.
message i001(zz) with 'XXXXX XXXXXX'.
Generally users will be trained on how to use the reports , you can train them or prepare a End User Test documentation
2007 Mar 30 9:36 AM
Hi
Or u can do one more thing give function code ENTER to ur last internal field which is mandatory by doing so report will be automatically generated.
Regds
Seema
2007 Mar 30 9:40 AM
actually da screen is a standard sap screen...
so can ny1 of u tell how dis can b done.since line items are read only at 'enter' and if the user doesnt press enter report gets generated with blank values....
2007 Mar 30 9:45 AM
Hi..
you can not get that...without user interaction..
atleast...you can do like this...
PARAMETERS:
P_NUM(4) TYPE C.
PARAMETERS:
P_R1 RADIOBUTTON GROUP RAD USER-COMMAND RAM,
P_R2 RADIOBUTTON GROUP RAD DEFAULT 'X'.
AT SELECTION-SCREEN.
IF P_R1 EQ 'X'.
MESSAGE 'Pleas Press Enter...' TYPE 'I'.
ENDIF.
or..
select a value from list box./ or check box....then we can trigger an event...
PARAMETERS show_all AS CHECKBOX USER-COMMAND flag.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS: p1(10) TYPE c,
p2(10) TYPE c,
p3(10) TYPE c.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
PARAMETERS: p4(10) TYPE c MODIF ID bl2,
p5(10) TYPE c MODIF ID bl2,
p6(10) TYPE c MODIF ID bl2.
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF show_all <> 'X' AND
screen-group1 = 'BL2'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
2007 Mar 30 9:57 AM
write a module to check every field is filled in and this module should be specified in a CHECK....ENDCHECK in the flow logic
2007 May 04 7:30 AM
HI
disable all keys in the toolbar
add a menu item to generate report or
add a push button on the screen for user interaction .
(the condition, if the user wants to generate report the only option is to press the button )
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |