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

AT selection screen output

Former Member
0 Likes
466

Hi,

I am giving following fields in selection screen.

Sales order number

Quantity

Unit

Material

And after all the above input fields I am giving one pushbutton

If I press pushbutton or if I press enter button

I need to write the logic for following

If I enter sales order number and I am not enter quantity

1) First system needs to check whether sales order number is there or not if sales order number is present then system needs to check whether quantity value is entered in the selection or not if the quantity value is not entered then system needs to pick quantity value automatically based on sales order and need to disable the material number field on the selection.

2) Suppose if the sales order number is not present in the system then system should display one information message and the material number is in enable mode and no quantity calculations.

3) Suppose if I enter material number

1)then sales order number is in disable mode.

2) quantity field as mandatory field

3) and based on material number I need to display unit also in the selection screen if unit is not entered.

For all the above cases if possible please send me the sample code with events exactly how I can use?

I will give the points.

Thanks a lot in advance

Hi,

I am giving following fields in selection screen.

Sales order number

Quantity

Unit

Material

And after all the above input fields I am giving one pushbutton

If I press pushbutton or if I press enter button

I need to write the logic for following

If I enter sales order number and I am not enter quantity

1) First system needs to check whether sales order number is there or not if sales order number is present then system needs to check whether quantity value is entered in the selection or not if the quantity value is not entered then system needs to pick quantity value automatically based on sales order and need to disable the material number field on the selection.

2) Suppose if the sales order number is not present in the system then system should display one information message and the material number is in enable mode and no quantity calculations.

3) Suppose if I enter material number

1)then sales order number is in disable mode.

2) quantity field as mandatory field

3) and based on material number I need to display unit also in the selection screen if unit is not entered.

For all the above cases if possible please send me the sample code with events exactly how I can use?

I will give the points.

Thanks a lot in advance

2 REPLIES 2
Read only

JozsefSzikszai
Active Contributor
0 Likes
434

"I will give the points."

I am afrad in this case not points are necessary, but a purchase order from your company, that you surely cover the costs of the development

ec

Read only

Former Member
0 Likes
434

Do all your validations in AT SELECTION-SCREEN event and set some flag. Depending on the flag, enable/disable the screen elements in your AT SELECTION-SCREEN OUTPUT event. Try it out and then see if you are still encountering any specific issues.