It allows consolidating, managing, and processing information about a complex problem or issue in a central collection point, the case. You can group diverse information within a case such as business partners, transactions, products, and documents.
I have stuck in a SAP CRM Case Management Project, Using a function Module or a Method of a class where I have to create a Case?
Solution: To precede you should try the following BAPI - BAPI_CRMCASE_CREATE from the Function Group - CRM_CMG_BAPI.
You can also look at the Function Module documentation which will give you an idea of the sample code.
Read more about CRM