cancel
Showing results for 
Search instead for 
Did you mean: 

Code regeneration due to duplicate in FDT_CC_0000

0 Kudos

Issue statement:

A BRFplus program in system1 is working with very low performance. Our suspect is that one of the BRFplus function is operating abnormally.

Please note that this BRFplus program has been tested in another system2 and has been working with good performance.

Please refer to the below analysis done in affected system1.

Analysis:

The program which is facing the performance issue is  ZTXXR_PCORE. In this program we have used six BRF+ functions. Those are,

         BRFplus Function Name                          Object ID

  1. 1. ZBFM_PVD                                (B4B52F5A0ACA1EE4B0B1166620A87CD8)
  2. 2. ZBFM_PSPK_DERIVATION (6C3BE5A99C721ED59F928587D34523B7)
  3. 3. ZBFM_PVC                                 (B4B52F5A0ACA1EE4B0B1166620AE1CD8)
  4. 4. ZBFM_PWAREHOUSE           (B4B52F5A0ACA1ED4B0E1C6B67F97BFDB)
  5. 5. ZBFM_PSTORAGE                   (B4B52F5A0ACA1ED4B0FA047C52EC554D)
  6. 6. ZBFM_PSALESORG (B4B52F5A0ACA1ED4B2F589289B3A1F65)

All BRF+ functions are working fine with good performance except one i.e. ZBFM_PVC (B4B52F5A0ACA1EE4B0B1166620AE1CD8).

We have done some analysis. Please find the below analysis.

We have debugged the standard class CL_FDT_FUNCTION_PROCESS and the method PROCESS.

Went further debugging the same class CL_FDT_FUNCTION_PROCESS and the method GET_GENERATED_CLASS_NAME and observed inconsistent behavior for affected object when compared to other object ID’s. 

After completion of this process we observed the inconsistency in the standard table FDT_CC_0000 table. In this table there are two entries with the same affected BRFplus object ID, and the object names are being changed in every run of the same program (ZTXXR_PCORE).


Whereas the other object ID’s which are working fine are having only one entry with their corresponding object names being constant at every run of the program.

We believe this inconsistency with the affected function ID is the reason for slow performance of the BRFplus function.

Actions taken

Ran the FDT Generation i.e. FDT_GENERATION_TOOL. But this is also resulted in creating a duplicate entry in FDT_CC_0000 table. And it also showed and error text "  Generation for function ZBFM_PVC failed: Field "_V_COND" is unknown. It is neither in one o".

Expected support

Please support us on resolving this performance issue. Let us know if you would need any more information.

Accepted Solutions (0)

Answers (1)

Answers (1)

anindyaSAP
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pradeep,

Could you please mention which release and SP level you are in? Have you tried searching OSS notes? Many code generation issues are fixed in last 1 year.

Also, you may debug and try to figure out exactly for which expression/rule it is failing.

Thanks,

Anindya

0 Kudos

Hi Anindya,

Below snap should provide you the requested information. We tried to debug but couldn't figure our the location nor the condition where the execution fails. 

anindyaSAP
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pradeep,

Sorry for replying late.

SP05 is very old now and there are several bug fixes and improvements in later SPs. Hence, it will be better to upgrade to latest SP.

If that is not an option right now, please check the below notes:

2185426

1995043

2001162

1963150

2038450

All these notes deal with similar issues, Hope this will help.

Thanks,

Anindya