‎2008 Jun 19 12:22 PM
Hi frenz,
I have a requirement like in module pool i am supposed to bring 4 fields from ddic,in which the first two fields should have a default value i.e when the pbo is processed itself the input values should be displayed in first two fields.....can some one help me out to solve the issue.
thanks
prem
Edited by: prem kumar on Jun 19, 2008 1:30 PM
‎2008 Jun 19 12:31 PM
HI
PBO .fill the required fields with default values ...it will work.........
PBO.
module default_values.
module default_values.
p_datum = sy-taum.
endmodule
‎2008 Jun 19 12:31 PM
HI
PBO .fill the required fields with default values ...it will work.........
PBO.
module default_values.
module default_values.
p_datum = sy-taum.
endmodule
‎2008 Jun 19 12:32 PM
write one module in pbo in that fill fields which need to be displayed
field1 = value.
‎2008 Jun 19 12:34 PM
Hi Prem,
Try populating the fields in LOAD-OF-PROGRAM event.
regards,
S. Chandramouli.
‎2008 Jun 19 12:36 PM
suppose u are using field1 field2 on screen...
then in PBO create a module
module def_val.
inside it write.
field1 = '100'.
field2 = '101'.
here 100 and 101 are the default values that u r going to assign....
that will solve ur issue..
rewrd points if the ans is helpful...
‎2008 Jun 19 12:53 PM
Hi,
When you create the screen...jus double click on the field.There One option will be there : TEXT.
There you can give your default value.
Regards
Sandeep Reddy
‎2022 Jun 28 5:59 AM
Hi,
I also faced this kind of issues like in my case i want to create a new field in the screen 9000 and by default a calculated date needs to be shown to the customer. but when i execute this its not showing the date(its blank). Then what i did is i created a new field in the custom table(eg: zcustomer-zz_validto) and i dragged the field in the screen 9000 and then in module program of PBO i used my logic to pass the date value to the created field zcustomer-zz_validto. Now its working well i hope you also try this for your case.
Thanks & Regards,
Srinivasan Perumal