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

CRM, CL_CRM_DOCUMENTS=>CREATE_FOLDER is not working

Hi everyone!

Has anyone succeeded to create a folder to documention tab in CRM and the transaction BP? The idea is to create a folder and add a document to business partner in batch job.

I have used method CL_CRM_DOCUMENTS=>CREATE_FOLDER. It inserts the record to the table CRMFOLDER, but the folder does not exist in correct place in the documentation tab at all.

Example from my program:

GV_BUSINESS_OBJECT-INSTID = p_cust. "parameter in the selection screen

GV_BUSINESS_OBJECT-TYPEID = 'BUS1006'.

GV_BUSINESS_OBJECT-CATID = 'BO'.

CALL METHOD CL_CRM_DOCUMENTS=>CREATE_FOLDER

EXPORTING

IS_BO = GV_BUSINESS_OBJECT

IV_NAME = p_folder "parameter in the selection screen

IV_DESCRIPTION = 'Tiinas test'

IMPORTING

ES_ERROR = p_error.

Something is missing here, but I do not what it is. Or is it so that it is not possible to create these kind of things in batch job.

With best regards Tiina

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2008 at 09:11 PM

    This is not a problem anymore. I have solved this one.

    - Tiina -

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Tiina,

      Could You (or anyone else) provide the information on how to sove this issue? Just like You, I ould like to create a subfolder using CL_CRM_DOCUMENTS=>CREATE_FOLDER. However this method does not have an "Parent Folder" (or sth like this) input parameter.

      I would be grateful if You answered.

      BR,

      Maro

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.