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: 

Added a Z replica of standard CVIC_BUPA_PAI_CVIC10, but final table is not getting updated

0 Kudos

Hello Experts,

I added a code via a Z replica of the standard CVIC_BUPA_PAI_CVIC10, BDT related function module.

I maintained the configurations for this as well that is going to BUS3,For view CVIC10 as per the following steps

BDT customizing as follows:

1. Start transaction BUS3

2. Mark view CVIC10 and double-click on "Further checks" on the left side

3. Press button "new entries"

4. Maintain application CVIC10 and the new function module ZCVIC_BUPA_PAI_CVIC10

5. Save the new entry.

After performing all this, It seems that the KNA1 table which needs to be updated with some data for a newly appended field(Custom field) is not getting updated.This new custom field is not added in the screen yet, but is present in the table.

The method used to update the data is lr_mo_kna1->set_data_new( lt_kna1_new ), LR_MO_KNA1 is referenced to fsbp_memory_object and on debugging I see that inside there is a statement with reference to Interface IF_XO_MEMORY_OBJECT~SET_DATA_NEW where the data is to be updated.

The above check fails and further steps performed later, do not update the field

Is there a step in configuration that I am missing or is there anything else technically that I can do?

Thanks in advance for your points on this

Bharat

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos

Just one question: are you sure you have to duplicate the program? (as this is not recommended by SAP when it's about complex code; you should duplicate only when it's for creating your own custom-owned code, not related to standard tables/standard processes)

Can't you just implement some of the numerous user exits offered? (that's a second question ;-))