Skip to Content
author's profile photo Former Member
Former Member

regarding creating task using BAPI_ACTIVITYCRM_CREATEMULTI

*w_partner-REF_GUID = g_guid.

*w_partner-REF_HANDLE = c_ref_handle. "reference handle '0000000001'

w_partner-REF_KIND = c_ref_kind. " object type A(admin header),B,C,D,E

w_partner-REF_PARTNER_HANDLE = '0001'. " count parmameter

w_partner-REF_PARTNER_FCT = '00000009'. " partner function for activity partner

w_partner-REF_PARTNER_NO = '0000000742'. " sales prospect /activity partner bp no

w_partner-REF_NO_TYPE = c_type. " ref no type BP , EX ,O .........

w_partner-REF_DISPLAY_TYPE = c_type. " display type BP.......

w_partner-KIND_OF_ENTRY = c_kind_entry. " kind of entry a,b,c......

w_partner-MAINPARTNER = c_update.

APPEND w_partner to t_partner.

CLEAR w_partner.

*w_partner-REF_GUID = g_guid.

*w_partner-REF_HANDLE = c_ref_handle.

w_partner-REF_KIND = c_ref_kind.

w_partner-REF_PARTNER_HANDLE = '0002'. " count parmameter +1

w_partner-REF_PARTNER_FCT = '00000015'. " partner function for contact person

w_partner-REF_PARTNER_NO = '0000000743'. " contact person bp no

w_partner-REF_NO_TYPE = c_type. " ref no type BP , EX ,O .........

w_partner-REF_DISPLAY_TYPE = c_type. " display type BP.......

w_partner-KIND_OF_ENTRY = c_kind_entry. " kind of entry a,b,c......

w_partner-MAINPARTNER = c_update.

APPEND w_partner to t_partner.

CLEAR w_partner.

*w_partner-REF_GUID = g_guid.

*w_partner-REF_HANDLE = c_ref_handle.

w_partner-REF_KIND = c_ref_kind.

w_partner-REF_PARTNER_HANDLE = '0003'. " count parmameter +1

w_partner-REF_PARTNER_FCT = '00000014'. " partner function for employee responsible

w_partner-REF_PARTNER_NO = '0000000746'. " employee responsible bp no

w_partner-REF_NO_TYPE = c_type. " ref no type BP , EX ,O .........

w_partner-REF_DISPLAY_TYPE = c_type. " display type BP.......

w_partner-KIND_OF_ENTRY = c_kind_entry. " kind of entry a,b,c......

w_partner-MAINPARTNER = c_update.

APPEND w_partner to t_partner.

*w_PARTNERX-REF_GUID = c_update.

*w_PARTNERX-REF_HANDLE = c_update.

w_PARTNERX-REF_KIND = c_update.

w_PARTNERX-REF_PARTNER_HANDLE = c_update.

w_PARTNERX-REF_PARTNER_FCT = c_update.

w_PARTNERX-REF_PARTNER_NO = c_update.

w_PARTNERX-REF_NO_TYPE = c_update.

w_PARTNERX-REF_DISPLAY_TYPE = c_update.

w_PARTNERX-KIND_OF_ENTRY = c_update.

w_partner-MAINPARTNER = c_update.

APPEND w_PARTNERX to t_partnerx.

CLEAR w_PARTNERX.

*w_PARTNERX-REF_GUID = c_update.

*w_PARTNERX-REF_HANDLE = c_update.

w_PARTNERX-REF_KIND = c_update.

w_PARTNERX-REF_PARTNER_HANDLE = c_update.

w_PARTNERX-REF_PARTNER_FCT = c_update.

w_PARTNERX-REF_PARTNER_NO = c_update.

w_PARTNERX-REF_NO_TYPE = c_update.

w_PARTNERX-REF_DISPLAY_TYPE = c_update.

w_PARTNERX-KIND_OF_ENTRY = c_update.

w_partner-MAINPARTNER = c_update.

APPEND w_PARTNERX to t_partnerx.

CLEAR w_PARTNERX.

*w_PARTNERX-REF_GUID = c_update.

*w_PARTNERX-REF_HANDLE = c_update.

w_PARTNERX-REF_KIND = c_update.

w_PARTNERX-REF_PARTNER_HANDLE = c_update.

w_PARTNERX-REF_PARTNER_FCT = c_update.

w_PARTNERX-REF_PARTNER_NO = c_update.

w_PARTNERX-REF_NO_TYPE = c_update.

w_PARTNERX-REF_DISPLAY_TYPE = c_update.

w_PARTNERX-KIND_OF_ENTRY = c_update.

w_partner-MAINPARTNER = c_update.

APPEND w_PARTNERX to t_partnerx.

getting errors 151 Enter mandatory partner

119 Enter Employee Responsible

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2011 at 01:34 PM

    Hi,

    Could you please check whether the Partner you are passing is having a role of Employee responsible, also check the Access Sequence for this partner function for your transaction type.

    Hope this helps..

    Thanks

    Arun Kumar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.