‎2009 Jan 29 11:29 AM
All,
I have been working to create the PD, WBS Elements, Networks & Activities using the FM BAPI_PROJECT_MAINTAIN.
I am able to create the PD, WBS Elements & Networks.
Now when I am trying to create the Activities, I am unable to find what OBJECTKEY needs to be given in the I_METHOD_PROJECT Table of the FM.
OBJECTTYPE = NETWORKACTIVITY
METHOD = CREATE
OBJECTKEY = ????
I get an Error as - "An incorrect object key was entered for object type NetworkActivity" - when I give the OBJECTKEY as the Network Number for which I want to create the Activity.
I have serached everywhere I could but unable to get the solution.
Please advise - I have literally given up now.
Regards,
Pankaj Agarwal.
‎2009 Jan 29 11:42 AM
Project Definition needs to be passed in OBJECTKEY, if OBJECTTYPE = 'PROJECTDEFINITION'.
Edited by: Poorna Chandrasekhar on Jan 29, 2009 5:12 PM
‎2009 Jan 31 4:37 AM
I found out by debugging the FM.
We need pad ht enetwork Number to make it to 12 Digits.