Skip to Content
0

Enhance Billing documents Search in CRM Web-UI

Sep 22, 2017 at 05:24 AM

69

avatar image

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

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

2 Answers

Varun Agarwal
Sep 26, 2017 at 05:41 AM
0

Hi,

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

BR,

Varun Agarwal

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 03, 2017 at 02:42 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0