CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_partner = i_partner
IMPORTING
et_exception = i_exception
CHANGING
ct_input_fields = i_input_fields
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.
IF sy-subrc <> 0. .....................
giving data->
HEADER GUID|Contract|Line Item|Partner Function|T2 Channel Partner
4E3D424E67F40F20E1008000093F880B|7000001218|10|ZTC|S0030V08U9
4E3D424E67F40F20E1008000093F880B|7000001218|20|ZTC|11
for line item 20 both 11 and S0030V08U9 is updated but it should be only 11...
when i am inserting in i_input_fields and i_partner by default it is automatically sorting both such a way the data for both are not matching according to index.. may be for this the above problem is generating... what should i do now?