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: 

how to create a Dynpro Exit in my own report? (in 46c)

Former Member
0 Kudos

Hi all,

i have written an report. the selection screen contains a tab strip for the parameters and select optios these are the standard parameters for the program. one of the tabstrips contains only a subscreen where customer specific parameters and select options should appear. i have done this in 47 with the screen BADI but in 46 they are not available. so how could i do that in 46?

there is the statement:

CALL CUSTOMER-SUBSCREEN b INCLUDING 'SAPLX...' dynnr.

has anyone some example coding?

Message was edited by: Steffen Engert

2 REPLIES 2

Former Member
0 Kudos

Hi Steffen,

If it is a Z Report, then I don't see any need for an user exit or BADI for this. In the screen PBO module and PAI module u can write codes that dynamically filters the search help values based on the screen values. For this do as follows.

1) Use FM dynpro_values_read to read the field value in the subscreen based on which the other fields must show the search values(customer specific parameters).

2) Then code for the other fields ON VALUE REQUEST filled up with internal tables containing the appropriate search values.

3) You can use the FM F4_int_value_request for the same.

Thus, when the user selects a particular customer in the subscreen, other fields can show search helps based on this.

Bingo!!! This will work. Don't confuse yourself with BADIs and other exits.

Cheers,

Sam

Is it like you want to make the

0 Kudos

hi sam,

no its not an Z Report. it is in a namespace of our company. the progam i write will later be bundelt in an AAK package and the custumers install it as an own component. i need the user exits to manipulate the programm to the customers needs in some parts.

one of the parts should be the slection screen. i have some standard values on my screen, and if the customer needs other values , too , i show them on a "dynpro" exit....