cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fetching Tax Categories from Sales org in sap mdg BP

0 Likes
227

Hi Experts,

We are using the MDG for BP.

We use Class CL_MDG_BS_ECC_BP_CHECK_SERVICE of method DFLT_TAX_IND_READ_BY_VKORG to fetch the tax categories based on multiple Sales org.

Noticed that this method holds multiple nested loop with multiple select queries.

Is there any alternate SAP NOTE or a different class to achieve the same.

noticed that 2795026 note is already in place.

Regards,

Karthik S

Accepted Solutions (0)

Answers (1)

Answers (1)

HakanHaslaman
Product and Topic Expert
Product and Topic Expert
0 Likes

Since CL_MDG_BS_ECC_BP_CHECK_SERVICE -> DFLT_TAX_IND_READ_BY_VKORG has performance issues due to nested loops and multiple SELECTs, pleaase consider to try using CL_MDG_BS_BP_SERVICES for optimized data retrieval. If feasible, replace multiple SELECTs with a single CDS View or AMDP for better performance and implement parallelization if multiple sales orgs are involved.