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

problem using badi CUSTOMER_ADD_DATA_CS

Former Member
0 Likes
651

Hi,

I am using badi techno to extend customer screen with badi customer_add_data & customer_add_data_cs.

i add subscreen to handle new fields that been append to kna1.

in PBO subscreen i can't get data content of kna1 when using method set_data / get_data.

has someone got the same problem and how to solve it ?

i guess something wrong with object context ...

regards.

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
487

Hello,

If you want to use, first make sure about following things,

o In Customizing for the customer master, under Transfer Customer Master Data Fields, you have prepared the modification-free enhancement of the customer record so that you have defined a screen group with name and have labeled the tab pages

o You have activated the processing of your own data with the method CHECK_ADD_ON_ACTIVE of the Business Add-In CUSTOMER_ADD_DATA in the standard dialog.

Hope this will help you..!

Regards,

Naimesh

Read only

0 Likes
487

Hi Naimesh,

thanks for answering but this has been done !

i am wondering how to handle data in my subscreen that is how to use set_data / get_data method ?

i use first call method cl_exithandler=>get_instance changing instance = ir_cust_cs.

and call method ir_cust_cs->set_data exporting flt_val = 'Z1' i_activity = '' s_kna1 = kna1.

but this is not working ....

can you help ?

regards.

Dami Daniel