2008 Feb 09 12:33 AM
Hi Experts,
Can anybody tell me how to make a selection field of a _REPORT WRITER_ as obligatory(mandatory).
<REMOVED BY MODERATOR>
Thanks in advance.
Edited by: babloo on Feb 9, 2008 1:33 AM
Edited by: babloo on Feb 11, 2008 10:25 PM
Edited by: babloo on Feb 11, 2008 10:26 PM
Edited by: Alvaro Tejada Galindo on Feb 11, 2008 5:48 PM
2008 Feb 11 10:38 PM
parameters : eid(10) modif id A.
at selection-screen output.
loop at screen.
if screen-group1 = 'A'.
screen-required = '1'.
endif.
modify screen.
endloop.
Hi Experts,
Can anybody tell me how to make a selection field of a _REPORT WRITER_ as obligatory(mandatory).
<REMOVED BY MODERATOR>
Thanks in advance.
Edited by: babloo on Feb 9, 2008 1:33 AM
Edited by: babloo on Feb 11, 2008 10:25 PM
Edited by: babloo on Feb 11, 2008 10:26 PM
Edited by: Alvaro Tejada Galindo on Feb 11, 2008 5:48 PM
2008 Feb 09 6:45 AM
PARAMETERS: LIFNR LIKE LFA1-LIFNR OBLIGATORY.
SELECT-OPTIONS:LIFNR FOR LFA1-LIFNR OBLIGATORY.
2008 Feb 13 1:38 AM
2008 Feb 09 6:57 AM
Hi,
tables: kna1.
parameters:
p_kunnr type kunnr obligatory.
select-options:
s_kunnr for kna1-kunnr obligatory.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 11, 2008 4:52 PM
2008 Feb 13 1:38 AM
2008 Feb 11 10:38 PM
parameters : eid(10) modif id A.
at selection-screen output.
loop at screen.
if screen-group1 = 'A'.
screen-required = '1'.
endif.
modify screen.
endloop.
2008 Feb 13 1:39 AM
2008 Mar 17 5:39 AM
You are correct. There is absolutely no coding in a report writer report.
For your concern regarding making a field in a selection screen mandatory, one solution I can provide is that -
In selection screen , click on SAVE.
There is a column Required Field. Check the box corresponding to the field that you want to make mandatory.
SAVE the variant with a name.
Your fields will be made mandatory.
Users have to use this variant. And the fields will be mandatory.
Hope this may satisfy for the time being.
2008 Mar 17 6:38 PM
Hi Subin,
Thank you very much for the solution.
I tried the procedure as you explained. It works!
Your solution partially solved my issue.
Now the issue is creating that 'Variant' as default.
How can I tell the report to execute only with variant and specify that variant as default, in which I enforced 'Required field'.
I hope you understood my issue.
Please reply ASAP.
Regards,
Babloo
2008 Mar 18 7:00 AM
Well, even I am researching or trying to find out what exactly you have asked - To make any report group execute with a default variant.
I am yet to find a solution. Will inform you once I get it. Expecting vice versa from you.
Thank you for awarding my first points.
Regards,
Subin.
Edited by: subin john on Mar 18, 2008 12:31 PM
2008 Mar 18 10:27 AM
Hi
I found out the solution to execute the report group with a default variant.
For this you need to create a Transaction code for the report group and the trick lies while creating the Transaction code.
Step:
1. Go to Transaction SE93.
2. Put a Transaction Code ( Eg: Z_CF01 )
3. Click on Create.
4. Under "Default values for" tab
a. Transaction START_REPORT
b. Check "Skip Initial Screen"
c. Screen 0
5. Under "Classification tab" Check "Inherit GUI attributes"
6. Under "Default Values"
Name of Screen field Value
a. D_SREPOVARI-REPORTTYPE RW
b. D_SREPOVARI-REPORT CF01
c. D_SREPOVARI-VARIANT TESTMANDATORY
7. Save.
8. Execute the T-code and the Report group will execute with the variant TESTMANDATORY.
Try
Regards,
Subin.
2008 Mar 19 12:32 AM
Great crooked idea!
It works!
seedhe ungli se jab ghee nahi nikaltha..
tho ungli ko theda karna padtha hai..
Thanks,
Subin
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |