cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP CRM beginner

Former Member
0 Kudos

Hello,

I'm new in developing in the CRM environment, does anyone know where to find documentation about fm:s CRM_ORDER_MAINTAIN, CRM_ORDER_SAVE etc (want to create/copy/change service contracts).

Thanks in advance,

Henrik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Henrik

Have a look at program CRM_TEST_SER_ORDER_MAINTAIN.

This is a variant of the old favorite reference CRM_TEST_ORDER_MAINTAIN.

Cheers

Dom

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello guys,

thanks for your info, I've checked it and this seems like a good start!'

Henrik

Former Member
0 Kudos

Hi Henrik

Maybe you should look at function CRM_ORDER_INITIALIZE too.

When you call CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE multiple times in a session, you can use lots of memory and create lots of IPC sessions.

It's good practice to clean them up. Might save you a few headaches later on.

Cheers

Dom

Former Member
0 Kudos

Hi Dom (& others),

OK I'll keep it in mind!

I've started to develop now, and my task is to be able to copy multiple service contracts into one (products etc, should also be shown in document flow). And I have problems with it so far...to copy from one to another is no problem, but from multiple...

I'm developing a BADI action (the normal way through activity transactions etc in SPRO) to call a screen where the user can select multiple service contracts which contents should be copied into one new.

In the BADI, I'm using functions CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE right now as in the program you mention above. How should they be called? Or maybe there is another solution to it?

Any help appreciated!

Henrik

stephenjohannes
Active Contributor
0 Kudos

Henrik,

You might want to try using instead CRMXIF_ORDER_SAVE instead. This function module has documentation that will get you started in using it. It can be used to update any business transaction.

Good luck,

Stephen