BAPI for creating Networks in Project System
Can you guys provide me BAPIs I can use in creating networks in Project Systems? I tried using BAPI_BUS2002_CREATE but encountered errors when checking the PS Global Flags. I tried setting the said flags by running the FM PS_FLAG_SET_GLOBAL_FLAGS but the changes are not reflected in the system.
Thanks in advance!
CALL FUNCTION 'BAPI_PS_INITIALIZATION'
CALL FUNCTION 'BAPI_BUS2002_CREATE'
fill values in I_NETWORK
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
If you have a project, you will need to create it with
CALL FUNCTION 'BAPI_BUS2001_CREATE', but you need to do all the steps above, starting with INITIALIZATION.
Use CALL FUNCTION 'BAPI_BUS2054_CREATE' to create WBS elements.