Application Development 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: 

Need Urgent help for Selection screen creation

Former Member
0 Kudos

Hi,

I want create selection screen for the below mentioned fields:

1. No activity in the last 2 years

- no new orders

- no quotes

- no shipments

- no invoices

- no credit memos

- no returns

2. No open Invoice

3. No open AR

4. No open Returns

5. No consignment inventory

6. No loan tools

7. No one time customer

8. No open sales orders

9. No open credit memos/quotes

All these options i want provide as a selection screen instead of hard coding any thing in the program.

Any one can help me out how to create this one.

Thanks in advance.

Regards,

Narayana

2 REPLIES 2

matt
Active Contributor
0 Kudos

Looks like you need 15 check-box parameters.

matt

Former Member
0 Kudos

Here's one solution


DEFINE aline.

  selection-screen begin of line.
  selection-screen comment 1(24)  text-&1.
  selection-screen comment 27(3)  text-991.
  selection-screen position 31.
  parameters: &2 radiobutton group &5.
  selection-screen comment 35(02) text-992.
  selection-screen position 38.
  parameters: &3 radiobutton group &5.
  selection-screen comment 42(03) text-993.
  selection-screen position 46.
  parameters: &4 radiobutton group &5 default 'X'.
  selection-screen end of line.
END-OF-DEFINITION.


SELECTION-SCREEN: BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
aline 900 p1yes p1no p1any grpa.
aline 901 p2yes p2no p2any grpb.
aline 902 p3yes p3no p3any grpc.
aline 903 p4yes p4no p4any grpd.
aline 904 p5yes p5no p5any grpe.
aline 905 p6yes p6no p6any grpf.
aline 906 p7yes p7no p7any grpg.
SELECTION-SCREEN: END OF BLOCK blk1.
SELECTION-SCREEN: BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
aline 907 p8yes p8no p8any grph.
aline 908 p9yes p9no p9any grpi.
aline 909 p10yes p10no p10any grpj.
aline 910 p11yes p11no p11any grpk.
aline 911 p12yes p12no p12any grpl.
aline 912 p13yes p13no p13any grpm.
aline 913 p14yes p14no p14any grpn.
SELECTION-SCREEN: END OF BLOCK blk2.

Text Symbol values:

001 No activity in the last 2 years

002 Other

900 New Orders

901 Quotes

902 Shipments

903 Invoice

904 Credit Memos

905 Returns

906 Open Invoice

907 Open A/R

908 Open Returns

909 Consignment Inventory

910 Loan Tools

911 One Time Customer

912 Open Sales Orders

913 Open Credit Memos/Quotes

991 Yes

992 No

993 Any