Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Default values in module pool screen issue

Former Member
0 Likes
1,590

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,006

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,007

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

Read only

0 Likes
1,006

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.

Read only

0 Likes
1,006

Which of those fields do not appear? What type are they on screen? Do they have appropriate length?

Read only

0 Likes
1,006

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