2008 Jan 18 5:54 AM
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,
2008 Jan 18 6:05 AM
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.
2008 Jan 18 6:43 AM
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