Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using bapi_projectdef_update with CI_PROJ fields

mike_mcinerney
Participant
0 Likes
1,060

Does anyone know how to use bapi_projectdef_update to update fields added to PROJ through CI_PROJ ?

Thanks...

...Mike

5 REPLIES 5
Read only

Former Member
0 Likes
838

Hi Micheal,

Easy way for updating for the fields which were added through CI_PROJ is through enhancment.

Below is the process:

1) First create a project in CMOD and attach the enhancement CNEX0006 to the project.

2) Go to se11 and in the PROJ table u will find ci_proj include , in this add the required custom fields.

3) Go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose

Dictionary./Program fields and drag and drop in the screen .

4) If u want to write any logic before the screen is displayed do it in PBO.

5) Now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic

move-corresponding sap_proj_imp to proj.

6) Now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic

move-corresponding proj to cnci_proj_exp.

Activate the project .

Read only

0 Likes
838

Hi,

Thanks, but we already have that in place (but that was a great explanation of how to add fields to the project master).

My question concerns the bapi to update the project.

We have a web dynpro for abap app that we want to update the project master. There is a bapi that we can call to update the project fields from the web dynpro ( take a look in se37 at bapi_projectdef_update ) . Unfortunately, the bapi's parameters do not include fields for the ci_proj fields - just the basic fields. I am looking for the right way to make the bapi know about the ci_proj fields.

Thanks...

...Mike

Read only

mike_mcinerney
Participant
0 Likes
838

closed

Read only

0 Likes
838

Can you post the solution plese? I am having the same problem. I can't update ci_proj fields. thanks

Read only

0 Likes
838

Hi Mike

I am facing the same problem you had some time ago. Would you be willing to share how you solved this issue? I am totally out of ideas.

Thanks for any input

Harry