Error during GUID assignment: not possible to save

Most of us find difficulty in understanding the error while creating the WBS element in bulk via data migration ( LTMC ) or via SE38 ( ABAP Editor). The error: 'GUID assignment: not possible to save' occurs. This error is faced when we try to create/upload the WBS element data in a false manner.

So today I thought to come up with the solution for the same. Let's quickly understand the flaws which we make while creating WBS(Work Breakdown structure) element.


Error Description

The error "Error during GUID assignment" in SAP occurs in the Function Module DMC_MIG_WBS_ELEMENT. This FM is meant to create the WBS element. When we try to deep dive into this FM, there are 4 BAPI namely:
  1. BAPI_PS_INITIALIZATION ----------- Initializes the Current Processing Unit
  2. BAPI_BUS2054_CREATE_MULTI -------- Creates the WBS Elements 
  3. BAPI_PS_PRECOMMIT ------------ Precommits for PS BAPIs
  4. BAPI_TRANSACTION_ROLLBACK --------- Rollback the changes if any error occurs

Once 'BAPI_BUS2054_CREATE_MULTI' gets executed successfully, BAPI returns the below successful message. 

BAPI_BUS2054_CREATE_MULTI


NOTE: WBS element creation has still not taken place in the above FM.

Although the GUID is created in BAPI_BUS2054_CREATE_MULTI, the reading of GUID takes place in BAPI_PS_PRECOMMIT. Once the reading of GUID is successful, the new external WBS element is reflected in the SAP system. 

However, in our case, the program gives a dump when it tries to execute BAPI_PS_PRECOMMIT. Since reading of the GUID fails.

BAPI_PS_PRECOMMIT

Solution

The error pops up when an individual tries to create the WBS element distinctly and intermittently. To avoid this error, ensure you create all the WBS elements for a particular project in one go.
Example: If you have 1000 WBS elements for the 'XYZ' project,  create those 1000 WBS elements at once to avoid this error.


The above illustrations will help individuals and professionals avoid getting GUID assignment errors.
If you have more queries regarding WBS element creation, do let me know in the comment section below.

Post a Comment

0 Comments