on 05-16-2012 1:42 AM
Hello,
We are integrating third part project management software with SAP PS. Projects would be created in third party application and then it would be replicated in SAP.
We intend to use PI as middleware and IDOC approach.
I have few queries-
1. Which IDOC type should be used? Is is PROJECT01?
2. Which is the associated function module? Is it IDOC_INPUT_PROJECT?
3. While using PROJECT01, its giving error-
***
You tried to create WBS element 123.01 by using BAPI method "SaveReplica".
This method is used for distributing work breakdown structures using ALE and is only intended for internal usage.
***
does this mean, this not an appropriate IDOC type and FM?
4. I read documentation of this IDOC type and it says this would create Project and WBS. Is there anything else to create Network, Activity, Milestone and Material assignments?
Your help is appreciated !
Thanks
Mahesh.
Hi Mahesh,
I think you should post this question in ABAP forum for better response. Also consider using BAPI_PROJECT_MAINTAIN instead of idoc.
Regards
Shrikant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Shrikant for reply.
I have few queries related to BAPI BAPI_PROJECT_MAINTAIN.
Can we use BAPI_PROJECT_MAINTAIN for create as well as change?
Will it be possible to create/maintain all the objects- Project, WBS, Network, Milestone, Activity, Material assignments etc using the same BAPI?
Can we use Z IDOC message type and use it with this BAPI?
In some threads I saw usage of combination of following BAPIs-
1. BAPI_PS_INITIALIZATION
2. BAPI_BUS2001_CREATE
3. BAPI_PS_PRECOMMIT
4. BAPI_TRANSACTION_COMMIT/BAPI_TRANSACTION_ROLLBACK
Is this the case?
I am trying to figure out best approach and more likely along with IDOC for comminication.
Thanks a lot!
Mahesh.
Hi Mahesh,
Yes, you can use the BAPI for create, update & delete project objects.
BAPI documentation says "Each processing unit must be initialized by calling the BAPI "BAPI_PS_INITIALIZATION" once. The processing unit must be finished by calling the BAPIs BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT (in that order)."
The 2nd BAPI in your list is for creating project definition only, it wont create other objects.
As I am not technical consultant, I cant comment much on using ZIDOC You can refer to ABAP forums for that.
Hope this helps.
Regards
Shrikant
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.