Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8543

Custom fields not getting saved in KNA1 on click "Save" from XD01

$
0
0

Hi Experts,

 

Let me explain my approach first. I used Customer_add_data and Customer_add_data_cs to add new subscreen on XD01, XD02 and XD03.

I created append structure in KNA1 and added 6 custom fields there.

 

I followed SAP links and written code at below calls:

 

IF_EX_CUSTOMER_ADD_DATA_CS~GET_TAXI_SCREEN

IF_EX_CUSTOMER_ADD_DATA_CS~GET_DATA

IF_EX_CUSTOMER_ADD_DATA_CS~SET_DATA

 

IF_EX_CUSTOMER_ADD_DATA~CHECK_DATA_CHANGED

 

Later I created my function group and under this FG I created one subscreen containing fields of Z Append structure of KNA1. Written code in PBO and PAI of the same. Fetching field data from memory and setting to fields.

 

I am successfully able to view data in custom fields of custom tab when I click on this custom tab. I am able to save values in KNA1 table as well after viewing. In XD02 and XD03 I am able to view all custom values under custom tab.

 

But unfortunately I am unable to save these custom values in KNA1 when I don't click on custom tab and save customer directly from main screen (XD01).

 

I put debugger in all implemented code areas and found that nothing is getting called when I don't click on custom tab and directly click on save.

 

As per requirement these values should get saved even though we don't click on custom tab. I read many SDN and outside SDN posts but unable to find solution of this issue.

 

Please help me sharing your expertise..

 

Thanks!

 

-Akanksha 


Viewing all articles
Browse latest Browse all 8543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>