Quantcast
Channel: SCN : Discussion List - Supplier Relationship Management (SAP SRM)
Viewing all articles
Browse latest Browse all 3184

new column required in SOCO result list

$
0
0

There is requirement to add new column in the result table of the SOCO search list

This new column is not any custom field

It is standard field at item level of shopping cart (BBP_PDBEI-BE_DOC_TYP)

when I add new column in this table, the data in this column is blank in the initial page of the table.

upon scrolling down, the data is correctly seen. 

If the table is sorted, then again for records displayed in first page fo the table  do not show any value in the additional column.

It is observed in webdynpro debugging mode after clicking on Search button, correct data is seen in the context node attribute.

technical details:

webdynpro component    /SAPSRM/WDC_DO_SOCO_GAF_1

view                                          V_AO_SOCO_GAF_1

context                                    SEARCH-RESULT_FIELDS

context structure /SAPSRM/S_CLL_WD_SOCO_WORKAREA

global class                              /SAPSRM/CL_CH_WD_DOM_SOCO_GAF1

 

following steps are taken to meet this requirement

(1)    Enhance structure

structure /SAPSRM/S_CLL_WD_SOCO_WORKAREA

enhancement       ZIMP_DOCTYPE

change: added field zzdoctype

(2)    Enhance context

context SEARCH-RESULT_FIELDS

enhancement  ZIMP_SOCO_RESULT_LIST_FIELD

change: update mapping, field added zzdoctype

(3)    Enhance view

view V_AO_SOCO_GAF_1 component  /SAPSRM/WDC_DO_SOCO_GAF_1

enhancement ZIMP_SOCO_RESULT_LIST_FIELD

change:  added column in TABLE UI element using Create Binding, include zzdoctype column

(4)    Enhance global class

class /SAPSRM/CL_CH_WD_DOM_SOCO_GAF1  method SEARCH 

enhancment ZIMP_SOCO_RESULT_LIST_FIELD2

change: Populate zzdoctype with required value in the internal table mt_displayed_list

 

 

Additionally following tests are done-

·          the custom value is populated in the standard field MANU_PROD, in the global class , temporarily for testing, this field correctly shows values for all rows.

·          another standard field of the structure , which is not added in the standard table, is added , shows empty value on the first page.  It means that whenever new column is added in the TABLE ui element, either it is custom field of the structure or standard field, it shows blank values in first page.

·          new ui table was created for same context, same problem was seen

·          new ui table was created for new zcontext, with same data, there was no problem seen here, all data is seen

 

bel below images show first page of the result table and next page

soco field.png

soco field 2.png

 

 

any comments or inputs would be appreciated

 

thanks

bhakti


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>