‎2014 May 20 5:14 PM
Hello,
I have 6 input fields in one of my module pool tab-strip. I can able to populate default values in 4 fields, but 2 fields are not showing default value on the screen. I am passing these default value for all 6 fields in PBO module of that screen. My question is, why only these 2 fields are not showing default values on the screen?
Thanks,
Shree
‎2014 May 20 5:37 PM
Because you have an error in your code, Shree.
Maybe it's the name of the screen fields, maybe the name of the variables, maybe something else in your code. You'd have to provide more info but I'm sure if you look into your code with "second eyes" you'll find it.
regards,
Edgar
‎2014 May 20 5:37 PM
Because you have an error in your code, Shree.
Maybe it's the name of the screen fields, maybe the name of the variables, maybe something else in your code. You'd have to provide more info but I'm sure if you look into your code with "second eyes" you'll find it.
regards,
Edgar
‎2014 May 20 5:57 PM
Edgar,
Thanks for the reply, I checked again, the screen fields and variables name is exactly same.
Here is the sample code:
MODULE status_2050 OUTPUT.
gv_id_no_2050 = '200'.
gv_matnr_2050 = '232020191'.
gv_ebeln_2050 = '20019100'.
gv_qty_2050 = 3.
gv_bukrs_2050 = 'JP01'.
gv_comments_2050 = 'my comments here'.
ENDMODULE.
‎2014 May 20 6:01 PM
Which of those fields do not appear? What type are they on screen? Do they have appropriate length?
‎2014 May 20 6:05 PM
Hey Edgar,
I found the issue, the fields with data type 'NUMC' and 'QUAN' were not showing the default values on the screen, I changed it to CHAR. Now I can able to see those 2 field values.
This is good learning for me.
Thanks,
Shree