We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

Re: [sap-abap] How to Make Select Options Required / Optional Dynamically in SAP abap?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from ajaykumar49 on Jan 9 at 12:06 PM
Hi Prasad,

Please find the below code it may be useful...

It's working...if you have any issues regarding this you may ask...

******************************************************************************
REPORT ZTEST.

TABLES: MARA.

SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS:S_MBRSH FOR MARA-MBRSH MODIF ID sc1,
S_MTART FOR MARA-MTART MODIF ID sc2,
S_MATKL FOR MARA-MATKL MODIF ID sc3.
SELECTION-SCREEN:END OF BLOCK B1.

AT SELECTION-SCREEN OUTPUT.

IF S_MTART[] IS NOT INITIAL OR
S_MATKL[] IS NOT INITIAL.
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
SCREEN-REQUIRED = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.

*****************************************************************************
Thanks & Regards,
Ajay...

---------------Original Message---------------
From: Kabil
Sent: Thursday, January 09, 2014 6:14 AM
Subject: How to Make Select Options Required / Optional Dynamically in SAP abap?

**--------------------------
AT SELECTION-SCREEN OUTPUT.
*

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
ajaykumar49  

achievement
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language