Skip to Content
avatar image
Former Member

PS:BAPI question for BAPI_NETWORK_MAINTAIN.

When i use the BAPI-BAPI_NETWORK_MAINTAIN to create network like CN21.There are 2 parameter like BAPI_NETWORK-START_DATE and BAPI_NETWORK-FINISH_DATE.Even i fill vaule to they but they still "Dates copied from project definition GCXXXXXXXXXX".

How can i make they become what i want ? Do not copy from project definition ?Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 22, 2017 at 06:47 AM

    Hello

    Although not mentioned for this specific BAPI, SAP-KBA's on other PS-BAPI's mention this Message (CN 731) and how the input dates are not used, rather the Project-based dates :


    Check these, (have you implemented these KBA's yet?) as the codechanges might also touch the Network-BAPI? If not, you could raise this as an issue with SAP Support?

    Add comment
    10|10000 characters needed characters exceeded

    • OK, could you please verify SAP-KBA 666476 for BAPI "BAPI_PROJECT_MAINTAIN" for a suggested approach ...

      Extract :

      "Symptom
      While creating project definition and network using BAPI_PROJECT_MAINTAIN, the start and finish dates entered for the network are ignored. Instead the dates are copied from the project definition.

      Reason and Prerequisites
      While creating project definition and network using BAPI_PROJECT_MAINTAIN, the start and finish dates entered for the network are ignored. Instead the dates are copied from the project definition. Information message CN 731 'Dates copied from project definition ' is displayed. This happens only if both start and finish dates are entered for the project definition. If only one date is entered for project definition (either start or finish), the dates entered with the network are used while creating the network. This behaviour is caused by program error."

      The above sound suspiciously like your issue, be it for another PS-BAPI ...

      So you should tinker around with your BAPI and Project-input to see if this matches the above description? If so, you should implement a bunch of SAP-KBA's because this is a very old symptom that will probably fix your BAPI-execution ...

      If not, why not raise a Ticket to SAP Support by now? => There's evidence enough that the SAP-PS-BAPI's have some Date-related issues ... So, state your case to SAP Support and they will help. You can easily simulate the system behaviour I suppose, so the Support Team can verify this also.


      Kind regards

      Nic T.