Skip to Content
0
Former Member
Dec 20, 2007 at 04:31 PM

AT selection screen output

32 Views

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