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

SELECT-OPTION initialization

marcela_martinez
Participant
0 Likes
1,242

Hi everybody,

I have an ABAP program which has 3 SELECT-OPTIONS parameters. When the user fills one of them, inside the program there is a FORM that fills the other 2 becuase they are needed in the SELECT clause.

The point is that when the user finishes looking ALV result and press BACK button to the parameters screen, the SELECT-OPTIONS that was not filled by him/her are also with data. The user wants to see parameters as he/she fills: if she fills 1 the other 2 must be empty.

I try with INITIALIZATION event bus it doesn't work. Any other idea?

Thanks & many kind regards.

13 REPLIES 13
Read only

Former Member
0 Likes
1,201

Use the clear statement in event AT SELECTION-SCREEN OUTPUT. That will work.

Read only

Former Member
0 Likes
1,201

You can, as last instruction of your program, clear/refresh your select options.

Regards

Andrea

Read only

Former Member
0 Likes
1,201

Hi,

Use AT SELECTION-SCREEN OUTPUT.

This will helps you to retain the values you entered before.

Thanks and Regards,

Manjunath M

Read only

0 Likes
1,201

TRhanks Manjunath for the answer!! I know it is somethig simple but it doesn't became into my mind.

Regards.

Read only

0 Likes
1,201

MMP,

I hope i had thrown a different suggestion as to Manjunath's answer?

Read only

0 Likes
1,201

How jealous yoy are!!! I saw the other one first...

Read only

0 Likes
1,201

Hi MMP,

Did u reverted poins given?

Read only

0 Likes
1,201

What did I say??

Rob

Read only

Former Member
0 Likes
1,201

This shows a couple of the problems with the points system:

Points are assigned more or less randomly.

Points are assigned for very simple answers to even simpler problems.

People compete for points.

All points were unassigned, but I am leaving this here and unlocked in case anyone wants to comment.

Rob

Read only

0 Likes
1,201

Rob,

I remember the comment by JB

The ponits system creates rivalry in the forums and people in competition against each other. They also attack each other publicly, or irritate each other intentionally. They report each other in the Abuse Reports asking moderators to remove ponits from each other

In suggestion & comments forum this thread will have more importance.

I get satisfied if the OP's question was answered , never mind WHO solved it. I look for HOW it was solved.

Personally i say the competitive attitude is not good

Read only

0 Likes
1,201

>

> I get satisfied if the OP's question was answered , never mind WHO solved it. I look for HOW it was solved.

The point is that the OP should have taken the time to solve this, not ask the forum.

Rob

Read only

0 Likes
1,201

Hello

Rob, I observed this post.

Chronology:

1. First answer was from K.Manas. But it was wrong answer.

2. manjunath4sap gave its answer.

3. K.Manas have corrected own answer.

4. OP gave 10 ponits to manjunath4sap.

5. K.Manas was resented and write message with red font.

6. OP gave 6 ponits to K.Manas.

7. Moderator came...

Read only

0 Likes
1,201

Points unassigned (again).

Rob