Showing results for 
Search instead for 
Did you mean: 

What is the best way to create business documents in CRM

Former Member
0 Kudos

Hi All,

What is the best way to create business documents like contract, sales order, debit memo etc in CRM ? Unlike R3 we can't use our good old BDC with recording. Moreover for most of them although there are Business Object but no BAPI to creation so what is the way ? I found in SDN there are two MAGIC Function module CRMXIF_ORDER_SAVE. Do I need to that alawys ?

Is it nees to via IDoc and cannot be done just by calling from ABAP program ? The input parameter of the FM is a complex deep structure.

Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

Hi Ashim,

If you are other system (non-crm) try CRMXIF_ORDER_SAVE, if you are in the crm system and you need create 1O documents, then use CRM_ORDER_MAINTAIN.



Former Member
0 Kudos

Hi Manuel,

Do yiu have any sample code on using CRM_ORDER_MAINTAIN.

I have tried to use BAPI_SLSTRANSACT_CREATEMULTI for creating Debit Memo in CRM itself. I am able to create the Debit Memeo with Header fields only and still not able to insert the Item, business partner etc.

Active Contributor
0 Kudos


Try looking at the program:


I think that should help you figure out the parameters.

Good luck,