Skip to Content
0
Former Member
Jul 21, 2008 at 12:16 PM

Problem testing Standard BOR object : CATS

93 Views

Hey SAPians,

I have issue with one of the standard BOR objects in SAP.

BOR Object: CATS

1. When i try to test the object, it gives a program dump, both in Development and Production environment.

2. The dump contains the following text: "ASSIGN_LENGTH_0"

This occurs in program SWO_DIALOG_OBJECT_KEY_EDIT". A sample screenshot of the dump location is given below:

The Error occurs at LINE NO 68

    65   SORT info BY editorder.                                   
    66   LOOP AT info.                                             
    67     MOVE-CORRESPONDING info TO objid.                    
    68     ASSIGN old_id+objid-offset(objid-ddlength) TO <obj_id>.
    69     IF objid-outlength > width.                             
    70       width = objid-outlength.                              
    71     ENDIF.                                                  
    72     IF objid-memoryid NE space AND                          
    73        <obj_id> = space AND                                 
    74        objid_control-display = false.                       
    75       GET PARAMETER ID objid-memoryid FIELD <obj_id>.       
    76     ENDIF.                                                  
    77     objid-value = <obj_id>.                                 
    78     APPEND objid.                                           
    79     ADD 1 TO height.                                        
    80   ENDLOOP.

The problem according to me is in the field "DDLENGTH" which holds value '000000'. If this field value is changed at runtime, then everything works perfect.

Now, the question is from where his value gets populated ??

Further debugging led me to a Function module : "SWO_QUERY_VERBS"

which exports a internal table with values that match exactly to the values in internal table "INFO" in the above code on whom the loop is executed.

Ppl, please guide me on this function module or the source of the function module contents...

Is it any config issue ?? If yes, what needs to be done ??

If not, then how it needs to be resolved ???

Thanks in advance.

Shashank Shirali