cancel
Showing results for 
Search instead for 
Did you mean: 

Report program to create sales order

Former Member
0 Kudos

Hi Experts,

Iam new to SAP crm. I wanted to create report program for salesorder.

Can anybody help in this.

Thanks in advance.

Anish

Moderation: Kindly search and try to find the answer before posting your query here.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188346
Active Participant
0 Kudos

Hi Anish,

Please check these FMs in the systems:

  1. For sales order create: BAPI_BUSPROCESSND_CREATEMULTI.
  2. After the BAPI call you will have to call BAPI_BUSPROCESSND_SAVE for saving the sales order
  3. Call BAPI_TRANSACTION_COMMIT to update DB.

You can do the same thing by following mentioned FMs:

  1. CRM_ORDER_MAINTAIN doe creation.
  2. CRM_ORDER_SAVE for saving.
  3. COMMIT WORK doe updating DB

What I would suggest is to put break point in FM CRM_ORDER_MAINTAIN_OW and create a sales order through transaction crmd_order and see how the internal tables of this FM get filled.

OR

Follow this link

All the best

Regards,

Bhushan