Skip to Content
avatar image
Former Member

Mass creation of funds CRM_FM_FND_MASSCREATE_FND

Hello Everyone,

I'm having a problem with Mass creation of funds Function Module CRM_FM_FND_MASSCREATE_FND

I've followed the steps shown in RCRM_FM_FND_MASSCREATE_FND Example Report to create only Funds, Fund Plan's been already created.

CALL FUNCTION 'CRM_FM_FND_MASS_CREATE_FND'

EXPORTING

iv_mode = 'FND'

iv_no_fnd_creation = lv_create_fnd "blank

it_fund_mass_create_api = it_fund_mass_create_api

iv_batch_job_id = iv_batch_job_id

iv_batch_job_key = 'BUS2000105'

iv_item_per_pkg = 100

iv_fnd_desired_status = 'I7404'

IMPORTING

et_fund_created = et_fund_created

et_fund_rejected = et_fund_rejected

et_message = et_message.

it_fund_mass_create_api-FUND_ITEM structure:

FUND_GUID = 0050569A70101EE5BEEA67C8AF1F5E5C (New GUID)

FUNDPLAN_GUID = 0050569A70101ED598C55F7C0CB85961 (Existing Plan Fund)

DESCRIPTION = 'Fund 1'

DESCR_LANGUAGE = S

PROCESS_TYPE = ZFND

FUNDPLAN_TYPE = ZAR1

FUND_TYPE = ZPAR

BP_GUID = 4C065046FFFA4CC2E10000000A6CDA75

PARTNER_FCT = 00000014

PARTNER_NO = 51AC4528D700397BE10000000AF5C34E

Organizational Data is determined by Employee Responsible.

In 'ET_MESSAGE' these errors are returned:

E CRM_ORDER 000 Document/business transaction not found E CRM_ORDER 000 Document/business transaction not found

By debug I found out that the validation is made on:

FUND_GUID = 0050569A70101EE5BEEA67C8AF1F5E5C (New GUID)


Does anyone knows how to solve the problem?


Thanks in advance!!

Mariela

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 06, 2016 at 04:43 AM

    Just had a look at the example program, it says

    " If you do not want to create funds plan everytime for new funds, "
    " get guid of existing funds plan and set to the new funds

    I think it means,

    ls_fund_to_create-fund_guid = ls_fund_to_create-fundplan_guid = 'existing guid'.


    Give it a try.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you Mohammad, but actually fund and fund plan are different objects, the guid could never be the same, and what we need is to create funds and relate them to antes existing fund plan, the same fund plan for every fund.

      Regards,

      Mariela