Skip to Content
0
Former Member
Aug 09, 2006 at 12:06 PM

BAPI_ACTIVITYCRM_CREATEMULTI

18 Views

Hi All,

I am using Bapi ‘’ to create activity in CRM. The organization data are assigned correctly as follows.

----


  • Set Organisation

----


it_organisation-ref_guid = it_header-guid.

it_organisation-ref_kind = 'A'.

it_organisation-mode = 'A'.

it_organisation-sales_org = it_data-sales_org.

it_organisation-sales_org_resp = it_data-sales_org.

it_organisation-dis_channel = it_data-dis_channel.

it_organisation-sales_office = it_data-sales_office.

it_organisationx-ref_guid = true.

it_organisationx-ref_kind = true.

it_organisationx-mode = true.

it_organisationx-sales_org = true.

it_organisationx-sales_org_resp = true.

it_organisationx-dis_channel = true.

it_organisationx-sales_office = true.

append it_organisation.

append it_organisationx.

At run time values are also populating correctly. But still it’s giving me problem. I am getting following errors.

Organizational unit (Sales) is not available

Sales organization does not exist

Sales office is not available

Org unit (sales) does not have these attributes

Organizational unit (Sales) is not available

Sales organization does not exist

Sales office is not available

Org unit (sales) does not have these attributes

I checked the master data also and Sales Organization and sales office do exist in system.

Text is also populated as follows,

it_text-ref_kind = 'CSLA'.

it_text-ref_guid = it_header-guid.

it_text-mode = 'A'.

it_text-ref_kind = 'A'.

it_text-tdid = it_data-tdid.

it_text-tdspras = it_data-tdspras.

it_text-tdline = it_data-tdline.

it_text-ref_kind = true.

it_textx-ref_guid = true.

it_textx-mode = true.

it_text-ref_kind = true.

it_textx-tdid = true.

it_textx-tdspras = true.

it_textx-tdline = true.

append it_text.

append it_text.

But it is not appearing in the activity.

Can anybody know why this is happing?

FYI: IT_DATA is the internal table getting filled up from input file.