cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance Billing documents Search in CRM Web-UI

Former Member
0 Kudos

Hi Guys,

I need to add few fields including 'partner function' in Billing document (dynamic) search criteria drop-down in web-ui. Partner function is not saved in billing document but it is available in reference document under parties involved.

For this purpose I've tried the following options so far: enhanced the bsp component "beabds_billingdoc" and -

1. Added a custom model attribute in component view BEABDS_BILLDOC/BillDocSQ' for context node entity 'UBDDynamicSearch'. For model attribute I took bol entityBDHPartner (since this had the field partner_function)

The attribute got successfully added. But when i opened the Configuration tab, i could not see the newly created attribute in the available fields.

2. Then I tried option 2 i.e. extending the structure '/1BEA/CRMB_BDH' but could not do so since the structure enhancement category is 'Cannot be enhanced'.

Since I only want to add the new field in input criteria and then show it in result I don't want to use AET to create a new field in system. What am I doing wrong or what other ways are there to achieved this?

Also could anyone tell me where I should write the code to check the value input by the user in this field.

Mike

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,


checked the component, and saw that the structure behind the query BOL entity is BEAQS_CRMI_UBD, all that you need to do is create an append to this structure with the fields you want to use as search criteria.Of course, if the field is to be populated in the result set, you need to perform something similar on the result structure.


For how to actually do the search and populate the fields, see my answer here

Link

Regards,
Andrei

Former Member
0 Kudos

Hello Andrei,

I tried checking what you suggested by debugging method BUILD_DYN_SQL and DATABASE_ACCESS from class CL_CRM_REPORT_ACC_DYNAMIC but unfortunately for Billing Document search system is not stopping at any break-point/method.

Is there a possibility to create another context node and add to existing one, can we achieve this by this way?

Mike

Varun_Agarwal
Advisor
Advisor
0 Kudos

Hi,

This queries requires log in to system and answer can not be provided without that.

BR,

Varun Agarwal