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: 

Custom field not updating in BP

gchavala
Explorer
0 Kudos

We have added five fields in BP screen through BDT. We have done all the required customizing and coding based on BDT framework in the relevant function modules. All five fields are from single append structure in KNB1. Two custom field values are getting updated in table KNB1 but three custom field values are not getting updated in KNB1 table. We have DSAVB event to save the data in KNB1 table.

Please let us know whether we have missed something. Relevant pointers will be welcome.

Please reply asap.

Thanks,

GDR

5 REPLIES 5

colby_hemond
Participant
0 Kudos

It looks like the DSAVB event is there to collect the data from your extension fields. Try maintaining the DSAVE event. The description for it seems to be more aligned with what your issue is... 'Save Data in Database (from Local Memory)'.

Hope this helps!

0 Kudos

In DSAVB event below is code we used to save the Data

CONSTANTS: lc_subname TYPE dd02d-tabname VALUE 'ZMD_APP_KNB1'.

DATA : lt_knb1 TYPE STANDARD TABLE OF knb1.

APPEND knb1 TO lt_knb1.

*------ Data return to possessing Application----------------------

CALL FUNCTION 'CVIC_BUPA_KNB1_COLLECT'

EXPORTING i_subname = lc_subname

TABLES t_knb1 = lt_knb1.

from the above code, Complete data that need to be updated is available in the table 'lt_knb1'.

But only few fields data is getting updated in knb1 table(out of 5 fields, 2 fields data is getting updated which was previously added,

and next 3 fields data is not getting updated which was later added to the same screen.

For your ref: below screen shot is 5 fields added in KNB1

knb1.png

As per your suggestion we added the same code in DSAVE event and checked, still it is not working fine

Waiting for your valuable response.Thank you very much for your help, it is really appreciable

0 Kudos

Thank you for your support.i have resolved the issue.

I Have updated the custom structure fields,Then it is working fine.

Jelena
Active Contributor
0 Kudos

This question still shows as unanswered. Kindly close it, see this blog.

0 Kudos

Hi

Can you please tell me the exact answer as we are also getting the same issue i am able to save when create bot not when changing the custom fields.