cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to update DPR_PROJECT

Former Member
0 Kudos

Hi All,

Could anyone please let me know if there is a BAPI to update DPR_PROJECT table ? I have searched through tcode BAPI and SE37 but not come across any.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dev,

Please check Functional Module DPR_GET_PROJECT_XML will cover all data of Project

Regards

Ravi

Former Member
0 Kudos

thanks , but this one is to retrieve data from dpr_project . i need one that will insert into it. i have come across BAPI_BUS2172_CREATE but im unsure how to use it. when i run it, i get GUID xxxxxxxxxxxxxxxxx created successfully , but when i check the dpr_project table there is no entry ...

Former Member
0 Kudos

Dear Dev,

After creating a project through FM BAPI_BUS2172_CREATE you'll have to call BAPI BAPI_CPROJECTS_COMMIT_WORK to commit the work. The project GUID will then appear in the DPR_PROJECT table.

Try writing a small ABAP program for it and test it out.

Regards,

Debaranjan Hazarika.

Former Member
0 Kudos

thansk debaranjan.

i tried this but i get

S DPR_CORE 001 No changes were made. Data is not saved

Any idea?

Former Member
0 Kudos

Are you using custom Report?

you need to commit after the create bapi is over in same program

Niranjan

Former Member
0 Kudos

thanks .. problem solved! i created a z function module with the combined code from bapi_bus2172_create and BAPI_CPROJECTS_COMMIT_WORK and it works.

Answers (0)