Skip to Content
0

Custom field not updating in BP

Sep 26, 2017 at 11:12 AM

193

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Colby Hemond Sep 26, 2017 at 01:50 PM
0

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!

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

knb1.png (6.3 kB)
0
Former Member

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

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

0

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

0
Former Member
Former Member

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.

0