I am first time interacting with BAPi so please help me out urgent.
I am using BAPI_BUS2001_CREATE for creating project, I have created structure and now I have pass the data from internal table to this BAPI for project creation
My structure is:
types:begin of t_header,
PSPID TYPE PROJ-PSPID, "Project Definition
POST1 TYPE PROJ-POST1, " Description .
PROFL TYPE PROJ-PROFL, " Project Profile.
VKOKR type PROJ-VKOKR, "Controlling Area
VBUKR TYPE PROJ-VBUKR, " Company Code.
VERNR TYPE PROJ-VERNR, " Responsible Person.
PLFAZ TYPE PROJ-PLFAZ, " Start Date.
PLSEZ TYPE PROJ-PLSEZ, " Finish date.
TXJCD TYPE PROJ-TXJCD, " Tax Jurisdiction.
END OF t_header.
Please elaborate it well and how to check:
Before the project definition is created, the following is checked:
Is another project already being processed in the LUW (Logical Unit of Work)?
Does another project with the same project definition already exist?
Is the transferred data consistent (do the company code and the controlling area match)?
If all checks are successful, then the project definition is created in the document tables.
Please help me out. Thanks in advance.
Regards,
Vikash