Skip to Content
0

PS:BAPI question for BAPI_NETWORK_MAINTAIN.

Aug 22, 2017 at 03:46 AM

90

avatar image
Former Member

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!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Nic Teunckens Aug 22, 2017 at 06:47 AM
0

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?

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

thanks your help!i have read the note,but it can not solve my problem。It shows that "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",but now ,there are both STAR_DATA and FINISH_DATA in WBS,so it will still copy data from wbs.

0

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.

0