cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CL_SCMG_CASE_API->BOR_OBJECT_INSERT

Former Member
0 Likes
483

Hi,

I´m trying to use the method CL_SCMG_CASE_API->BOR_OBJECT_INSERT in order to add a related object to a case, but i can do it successfully.

By the other side, i coldn´t find documentation about it use.

Would it be posible somebody help me???

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hello Rigoberto,

Could you please elaborate what you mean by not being able to do it successfully ? Are you getting some error ? Or a short dump ?

Have you looked at any OSS notes for your problem ? For example : 648562 , 739491 , 621841 , 683817 , 587640 etc.,

Regards,

Anand Mandalika.

Former Member
0 Likes

Thanks Anand for assisting me,

Yes I have looked for OSS notes but I couldn't find information about how to use this method. This is my problem.

The concrete problem I have is that I don't know what values or where I can find the values required for the IM_ANCHOR And IM_SPS_ID parameters.

I´m trying to attacth an IC to a case, but I don´t have any idea of where i can get this values.

Can you help me?

CALL METHOD CASENUMBER->BOR_OBJECT_INSERT

EXPORTING

IM_ANCHOR = ??????

IM_BOR_KEY = '0000000016'

IM_BOR_TYPE = 'BUS1006'

  • IM_DESCRIPTION =

IM_SPS_ID = ??????

  • IM_RELATIONS =

  • IM_PROPERTIES =

EXCEPTIONS

FAILED = 1

NOT_ENQUEUED = 2

others = 3

.

Could you please elaborate what you mean by not being able to do it successfully ? Are you getting some error ? Or a short dump ?

Have you looked at any OSS notes for your problem ? For example : 648562 , 739491 , 621841 , 683817 , 587640 etc.,

Former Member
0 Likes

Hello Rigoberto,

I have tried to dig out some information on this from the documentation. Just see if these points provide you any help.

1. Please take a look at the CRM_CMG* function modules. Especially the FM CRM_CMG_GET_CASES_FOR_BOR_OBJ.

2. The Function Module CRM_CMG_GET_SPSID_FOR_RELATION gives you the SPS_ID values for the Business Objects. Just check this out.

3. I will have to ask you a question here, as I'm not too familiar with the functionality in question. You are saying that you want to attach an IC to a Case.

a). What is this IC ?

b). Why is the BOR Type BUS1006 (Business Partner) ?

4. Regarding an Anchor, I could just manage to find the following from the documentation.

<i>"Records Management supports two sorts of attributes: Element attributes, which apply to concrete elements, and node attributes, which only apply to the node. Here you are maintaining the node attributes. These can be displayed in all records that use this record model.

Example of a node attribute:

You can set the attribute Anchor and assign it values. This sets a marker for the node in the record model. The system uses the marker, for example, when automatically inserting elements into the record, to ensure that the elements are inserted at the correct position. Enter a name of your choice as the attribute value. This name must be entered in the calling program before the program runs."</i>

I know that your problem may not be solved with this information, but I'm just trying to do what I can :-).

Regards,

Anand Mandalika.

Ask a Question