2007 Dec 20 4:31 PM
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
2007 Dec 20 4:35 PM
"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
2007 Dec 20 7:59 PM
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.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |