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: 

CN41 new selection field

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member

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

3 REPLIES 3

Former Member
0 Kudos

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.

Former Member

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

0 Kudos

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