Hi Anish,
Please check these FMs in the systems:
- For sales order create: BAPI_BUSPROCESSND_CREATEMULTI.
- After the BAPI call you will have to call BAPI_BUSPROCESSND_SAVE for saving the sales order
- Call BAPI_TRANSACTION_COMMIT to update DB.
You can do the same thing by following mentioned FMs:
- CRM_ORDER_MAINTAIN doe creation.
- CRM_ORDER_SAVE for saving.
- 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 BAPI to create CRM Sales Order
All the best
Regards,
Bhushan