Application Development 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: 

data to be populated in customized field

Former Member
0 Kudos
122

Hi ,

I have to populate the customized fields (allready present) in the infotype IT23.

There are two customized field in IT23. These store the duration in year and month respectively.

The requirement is like this:

Whenever the user enters the start date (begda) and end date (endda) in IT23 in PA30 screen and presses enter, the difference of these start and end date should be populated in the two customized fields and should be seen in PA30 screen.

First customized field should store the year part and other customized field should store the month part.

Plz let me know how to proceed about this, in details.

Regards,

2 REPLIES 2

Former Member
0 Kudos
80

Hi,

You may find the available screen exits for your transaction. Then use necessary select statements to fill the field during PBO processing.

Regards,

Renjith Michael.

former_member31961
Contributor
0 Kudos
80

Hi Ramesh,

Since you mentioned 2 customized filed are already present in P0023 structure, i assume the infotype is generated again. i.e 2 fields are visible through PA30/PA20.

When we generate the infotype again with custom fields, one z program will automatically generated with sub screen (This screen is dynamically called from MP002300), get that Z program, write your own code there to populate the custom field values.

TO get the Z program, go to PA30 and infotype 0023 and press f1(help) on the custom field and get the technical information (i.e. Z program and screen number). Then you can modify your code in that program.

Also you can get the Z program from table t582c, give your module pool program name (MP002300) and get the Z program

Regards,

Shrinivas

Edited by: Shrinivas Shenoy on Jan 18, 2008 12:17 PM

Edited by: Shrinivas Shenoy on Jan 18, 2008 12:19 PM