on 02-23-2015 1:14 PM
Hi,
Could anyone please help me with an integration issue between PPM and PS?.
I am working with PPM 5.0 and EHP 6.0 for the ERP.
I am trying to configure the creation of a project in PS automatically when an item in PPM is generated.
Unfortunately an error is appearing when I try to generate it from the PPM item.
The error says that it was unable to create the PS Project because there were some fields required that were not filled.
In consequence the item in PPM is created but not the PS Project.
I have done the following:
I have already activated the master switch (Area 0002 Name 007 - Integration with PS and FI/CO).
I have created an item type exclusively for PS projects in Global Customizing > Portfolio-Independent Settings > Define Portfolio Item Types
I have created a model PS project including the WBS level 1
I have done the mapping between this two in Global Customizing > Portfolio-Independent Settings > Map Item Type to Project or PS
To mitigate the error I have modified the setting of all fields in PS Project and WBS so there are no required ones during the creation (I understood that doing so the error should not appear but it still does so).
This last thing I have done it in Project System > Operative Structures > Work Breakdown Structure (WBS) > User Interface Settings > Define Field Selection for Work Breakdown Structures.
Also, after leaving no required fields in the settings of PS, I have created a Project and a WBS in CJ20N and it does not pop ups the error that appears through PPM.
I am attaching the error and the configuration done as screenshots (I am not including the PS WBS and Project field configuration because it is too long but I have eliminated all required fields).
Thanks.
Regards.
Santiago
Hi Santiago,
I know it is too late for reply on this thread.
Did you change the ID of Item while creating Item in PPM ?
Like you have Z/003-001 in your screen shot. We can mention the next available project number (Z/003-XXX) and save.
It will create the same Project structure as mentioned in Z/003-001 Project of PS.
Regards,
Ashish Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santiago,
It might be something to do with OPUJ tcode, Field selection at PS Project level. When you try to create the project in PS when saving the portfolio item some fields which are required are not being indicated in the item.....
Regards,
Anna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Santiago,
In the customizing of "Map Item Type to Project or PS" you have maintained the item-type
with the object type 0INMPSPD.
Then go to the customizing of DFM "Common Functions > Decision Flow Management Settings:
=> Define DFM Object Link Types" and check the object type, which is used in the item-type:
Are the parameters maintained for: Log. System, Destination, Webserver... ?
Are you using the following parameters in the object type:
Key OLR3_TS_PROJ_INT_ID
Identification OLR3_TS_PROJ_EXT_ID
Group PD
Search Fields OLR3_TS_PROJ_SHLP
Proxy Class CL_DPR_OLR3_PROJECTDEFINITION
Implem. Class CL_INM_OF_PS_PD
Proxy Class CL_R3_OLR3_PROJECTDEFINITION
=> Maintain Objects for Synchronization:
Is the "Source Grouping" (Portfolio Item) with the "Target Grouping" (Project Definition)
maintained for the Category as "FALSE"?
To debug the creation of the PS-project you can put a breakpoint at:
In PPM-System:
FM: DFM_DO_CREATE_PROCESSING
Class: CL_INM_OF_PS_HELPER, method CREATE_OBJECT_WITH_TEMPLATE
In ERP-System:
FM: BAPI_PROJECT_MAINTAIN
FM: 2054_PROJECT_MAINTAIN
best regards,
Judith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Santiago,
please use the breakpoints which I have mentioned below (or in my last reply) and check the return-parameters
of the functionmodules and methods.
PPM-system: This is the RFC-call to the ERP-system.
===========
class: CL_INM_OF_PS_HELPER
CREATE_OBJECT_WITH_TEMPLATE
132 * Create Project
133 CALL FUNCTION 'INM_S_OF_RFC'
134 DESTINATION iv_rfc_destination
135 EXPORTING
136 iv_method_name = lv_method_name
137 iv_bo_node_name = iv_bo_node_name
138 it_keys = lt_keys
139 it_data = lt_data
140 it_data1 = lt_data1
141 IMPORTING
142 et_failed_keys = lv_failed_keys
143 et_data = lt_data_out
144 ev_rc = lv_rc
145 TABLES
146 it_extension = it_extension
147 et_messages = lt_return
148 EXCEPTIONS
149 system_failure = 1 MESSAGE lv_error
150 communication_failure = 2
151 OTHERS = 3.
ERP-system
===========
FUNCTION / 2054_PROJECT_MAINTAIN
322 * Arbeitstabelle abarbeiten
323 PERFORM objects_maintain.
> for project-definition the mandatory field check occurs at the following coding part:
SAPLCJWB / LCJWBU07
FUNCTION / CJWB_CHECK_BEFORE_COMMIT
73 * Mussfeldprüfung für Projektdefinition
74 IF NOT upddf IS INITIAL.
75 CLEAR flg_chkbuk.
76 PERFORM mussfeld_proj.
77 IF NOT subrc IS INITIAL.
78 RAISE cancel.
> for WBS-elements the mandatory fields are checked at:
SAPLCJWB / LCJWBU07
FUNCTION / CJWB_CHECK_BEFORE_COMMIT
175 * Mussfeldprüfung für PSP-Elemente
176 IF NOT updps IS INITIAL.
177 PERFORM mussfeld_prps USING updps.
178 IF NOT subrc IS INITIAL.
Please check at the coding parts, which field is mandatory. The message log can also be checked in FM 2054_PROJECT_MAINTAIN.
best regards,
Judith
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.