08-16-2011 12:05 PM
Hi experts,
I would like to add a new field (project group) to selection screen in CN41, anyone has an idea how to do it? Thanks in advance.
Regards,
Paul Smuda
08-19-2011 10:32 AM
Thank you Roy for very helpful answer, additional field is added. I try to find where selection in program RPSINFO from logical database is made but I can't find it. This additional field project group is a Z field in table proj. I would like to make it as another condition during reading from logical database. Could you help me with this issue? Is it possible to use Z field with a logical database?
Best regards,
Paul
08-16-2011 12:36 PM
Hi,
you can add an implicit enhancement at the bottom of include RCNDATSL, containing your new PARAMETER.
You can now use your new parameter at your leisure throughout the programme.
Roy
P.S. The include is being used in multiple programmes, so make sure that you hide it for other programmes (sy-tcde NE 'CN41'). Do this in include FCNPSFZP, form AT_SELECTION_SCREEN_OUTPUT. Create an implicit enhancement there as well.
08-19-2011 10:32 AM
Thank you Roy for very helpful answer, additional field is added. I try to find where selection in program RPSINFO from logical database is made but I can't find it. This additional field project group is a Z field in table proj. I would like to make it as another condition during reading from logical database. Could you help me with this issue? Is it possible to use Z field with a logical database?
Best regards,
Paul
08-19-2011 4:30 PM
Hi Paul,
you would need to adjust the programme behind the logical database. I would advise against that, as it is tricky business. It would be better if you could find a suitable point in the transaction and loop the results and populate the Z* field there. That way you won't have to mess with the logical database.
Roy