Skip to Content
0
Former Member
Oct 29, 2009 at 06:16 AM

uploading account name using CRM_ORDER_MAINTAIN

19 Views

Hi,

I cant seem to upload the data that i populate in IT_PARTNER using the FM CRM_ORDER_MAINTAIN. So when checking the Opportunity number in the Web UI, Account name is not uploaded. These are the parameters that i pass in said FM maybe i just missed a few field/s. Help pls. Thanks.

wa_partner-ref_kind = 'A'.

wa_partner-kind_of_entry = 'C'.

wa_partner-partner_fct = '00000021'.

wa_partner-partner_no = '1000000518'.

wa_partner-display_type = 'BP'.

wa_partner-no_type = 'BP'.

APPEND wa_partner TO it_partner.

CLEAR: wa_field_names.

REFRESH: it_field_names.

wa_field_names-fieldname = 'DISPLAY_TYPE'.

APPEND wa_field_names TO it_field_names.

wa_field_names-fieldname = 'KIND_OF_ENTRY'.

APPEND wa_field_names TO it_field_names.

wa_field_names-fieldname = 'NO_TYPE'.

APPEND wa_field_names TO it_field_names.

wa_field_names-fieldname = 'PARTNER_FCT'.

APPEND wa_field_names TO it_field_names.

wa_field_names-fieldname = 'PARTNER_NO'.

APPEND wa_field_names TO it_field_names.

*----input objectname and append fieldname table to lt_ct_input_fields

wa_ct_input_fields-ref_kind = 'A'.

wa_ct_input_fields-objectname = 'PARTNER'.

wa_ct_input_fields-logical_key = '0000'.

wa_ct_input_fields-field_names = it_field_names.

APPEND wa_ct_input_fields TO it_ct_input_fields.