Application Development and Automation 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: 
Read only

CUSTOMER_ADD_DATA and _CS issue

Former Member
0 Likes
786

I created a screen group 'ZE' in SPRO.

I implemented the BADI CUSTOMER_ADD_DATA_CS andused that in my Screen Filter Group.

In the method GET_TAXI_SCREEN, i have the following code


  DATA: c_repid TYPE repid VALUE 'SAPMZPROGRAM_NAME'.

  IF sy-tcode = 'XD01' OR
     sy-tcode = 'XD02' OR
     sy-tcode = 'XD03'.

    IF i_taxi_fcode = 'ZE'.
      e_screen = '9010'.
      e_program = c_repid.
      e_headerscreen_layout = 'V'.
    ENDIF.
  ENDIF.

I see my new button on the customer master screen, but when I click it, I see a blank tab - I checked and my Zprogram is defined as a Subscreen.

However, if I comment out the check on i_taxi_fode like this:


  DATA: c_repid TYPE repid VALUE 'SAPMZPROGRAM_NAME'.

  IF sy-tcode = 'XD01' OR
     sy-tcode = 'XD02' OR
     sy-tcode = 'XD03'.

*    IF i_taxi_fcode = 'ZE'.
      e_screen = '9010'.
      e_program = c_repid.
      e_headerscreen_layout = 'V'.
*    ENDIF.
  ENDIF.

I see my fields and everything is working properly. Any ideas why the filter isn't working properly?

thanks in advance,

robert

1 ACCEPTED SOLUTION
Read only

asik_shameem
Active Contributor
0 Likes
634

Hello Robert,

I don't think I_TAXI_FCODE is the right parameter for screen group.

Use FLT_VAL instead.

Hello Robert,

I don't think I_TAXI_FCODE is the right parameter for screen group.

Use FLT_VAL instead.

2 REPLIES 2
Read only

asik_shameem
Active Contributor
0 Likes
635

Hello Robert,

I don't think I_TAXI_FCODE is the right parameter for screen group.

Use FLT_VAL instead.

Read only

0 Likes
634

thanks alot. that had the value.