‎2008 Nov 24 8:33 AM
Hi all,
I am developing one module pool program.There are 2 screens in this object.In the first screen there are four fields.One of the field is order type.In this order type field i one to set FD as default value,so that when this screen comes up then FD will be in order type field.How I can do that?
Waiting for your response.
Thanks in advance.
Raj
‎2008 Nov 24 8:43 AM
Hi,
Try it:
parameters: p_ordertype type ordertype default 'FD'.
Regards,
Chris Gu
‎2008 Nov 24 8:35 AM
Hi,
In the PBO assign the default value to the screen field declared in the program.
Regards,
Midhun Abraham
‎2008 Nov 24 8:37 AM
you can set this in the PBO module.
check if the field is initial and set the values based on it.
Eg:-
if ordertype is initial. "Initially if there is no value in the field 'Ordertype'
ordertype = 'FD'.
endif.
‎2008 Nov 24 8:38 AM
Hi,default the value in the PBO of that screen,like :
Module PBO_OUT.
w_order = 'FD'. " Order type
endmodule.
Thanks & regards,
Rock.
‎2008 Nov 24 8:40 AM
Hi
You can asiign the defualt value in the PBO of your module pool.
Regards
Neha
‎2008 Nov 24 8:43 AM
Hi,
Try it:
parameters: p_ordertype type ordertype default 'FD'.
Regards,
Chris Gu