cancel
Showing results for 
Search instead for 
Did you mean: 

Binding Problem for BT121H_SLSC with GSText/notes

Former Member
0 Kudos

Hi ,

We have a notes window (GSTEXT/Notes )in Contract Component BT121H_SLSC

When ever we try to enter any notes in  GSTEXT/Notes field and save the text , the text entered is cleared.

The SET_LINES method in Lines attribute under context node TEXT is not able to hold the collection reference.

When debugged for other Order types the problem dosen't persist.

The same window is being used for BT115QH_SLSQ , BT115H_SLSO and others where we dont have a problem. For contracts the text entered just dosen't hold.

Is there something im overlooking or any important step that Im missing in this ..No idea .

Need your help to resolve the issue  in this regard.

Thanks for your time.

Br,

Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

praveen_kumar194
Active Contributor
0 Kudos

go to GUI , crmd_order transaction and any sales contract maintain any text in the gui save it and open same contract in web ui, are you able to see the text that you saved in the gui.

if not, then there might be a binding problem between the components. try to see is there any binding exits in the wd usage initialize method in the contract component.

Former Member
0 Kudos

Hi Praveen ,

I did that already in GUI and it is working fine.

Yes there is a binding problem and I'm keen to look for some inputs here.

Br,

Vijay

praveen_kumar194
Active Contributor
0 Kudos

did you check in the WD USAGE INITIALIZE method. something look like below.

WHEN 'CUGSText'.
       CALL METHOD iv_usage->bind_context_node
         EXPORTING
           iv_controller_type  = cl_bsp_wd_controller=>co_type_custom
           iv_node_2_bind      = 'TEXT'
           iv_name             = 'BT121H_SLSC/GSTextCuCo'
           iv_target_node_name = 'BTTEXT'.

       CALL METHOD iv_usage->bind_context_node
         EXPORTING
           iv_controller_type  = cl_bsp_wd_controller=>co_type_custom
           iv_node_2_bind      = 'ATTR'
           iv_name             = 'BT121H_SLSC/GSTextCuCo'
           iv_target_node_name = 'TEXTATTR'.

praveen_kumar194
Active Contributor
0 Kudos

did you check in the WD USAGE INITIALIZE method. something look like below.

WHEN 'CUGSText'.
       CALL METHOD iv_usage->bind_context_node
         EXPORTING
           iv_controller_type  = cl_bsp_wd_controller=>co_type_custom
           iv_node_2_bind      = 'TEXT'
           iv_name             = 'BT121H_SLSC/GSTextCuCo'
           iv_target_node_name = 'BTTEXT'.

       CALL METHOD iv_usage->bind_context_node
         EXPORTING
           iv_controller_type  = cl_bsp_wd_controller=>co_type_custom
           iv_node_2_bind      = 'ATTR'
           iv_name             = 'BT121H_SLSC/GSTextCuCo'
           iv_target_node_name = 'TEXTATTR'.

Former Member
0 Kudos

Hi Praveen ,

Yes its the same code .

Br,

Vijay

praveen_kumar194
Active Contributor
0 Kudos

this is so strange. try to check it once if any text type is acting as a log for other text types in the text determination procedure for that process type.