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

Completing a BADI Implementation - screen appears but no fields.

Former Member
0 Likes
520

for Tcode VD02, I have been able to successfully implement CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS so that when called, a new button appears on the standard SAP screen.

When I click the button, I am taken to a new custom screen, BUT the field I have defined in Screen Painter does not appear.

My implementations are active? why would my field not show up?

thanks,

rp.

3 REPLIES 3
Read only

Former Member
0 Likes
484

Hi Robert check ur implementation is active or not.

also check the sub screen is active or not.

&**********Reward points if helpful*************&

Read only

0 Likes
484

chinand,

i just found my issue though & will post it here in case it helps someone in the future.

in my CUSTOMER_ADD_DATA_CS implementation method GET_TAXI_SCREEN, I had the wrong value - I was using my Field Group Value (ZC). Instead, it needed to be the Function Code value assigned to that Field Group in SPRO - mine was 'ZCR_ALLOC'.

This was something simple I should have caught while debugging.


IF i_taxi_fcode = 'ZCR_ALLOC'.

    e_screen = '1050'.
    e_program = c_repid.
    e_headerscreen_layout = ' '.

  ELSE.

  ENDIF.

EDIT: I put the wrong method in my explanation above - fixed it to GET_TAXI_SCREEN

Edited by: robert phelan on Jun 26, 2008 6:07 PM

Read only

Former Member
0 Likes
484

Have you implemented the method

GET_TAXI_SCREEN

need to pass the info to these fields inside the method.

E_SCREEN = '100'. "add the fields to this screen...

E_PROGRAM = 'SAPLZTEST'. "Function group.

and then you have to impement the methods set and get methods.

are you doing the same steps or not...