Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_PROJECT_MAINTAIN : Hierarchy is inconsistent

Former Member
0 Likes
1,503

Hi Expertises,

I have a structure of WBS as follwing;

Proj.Def I-1104-1201
	WBS(1) I-1104-1201-1
		WBS(2) I-1104-1201-1-01
			WBS(3) I-1104-1201-1-01-01
		WBS(2) I-1104-1201-1-02

WBS(X) : X means level of WBS.

Here is my wbs_hierarchie_table;

POSID	        PSPID	        UP	          DOWN	          LEFT	           RIGHT
I1104120110000	I1104120100000		          I1104120110100		
I1104120110100	I1104120100000	*I1104120110000*  I1104120110101		
I1104120110101	I1104120100000	I1104120110100			
I1104120110200	I1104120100000	*I1104120110000*

When I executed my z program I face an error 'The transfered hierarchy is inconsistent'.

After I debug program standard, I found that UP = 'I1104120110000' in the last record is inconsistency with standard checking in function module 'CJDW_PRHI_CHECK_EXT'

Have anyone ever created WBS like the above WBS structure via FM BAPI_PROJECT_MAINTAIN?

Your response is highly welcome and appreciated.

Thank you.

Edited by: Tiwa Noitawee on Jan 11, 2012 10:14 AM

4 REPLIES 4
Read only

Former Member
0 Likes
880

Already resolved by myself. Thank you

Read only

0 Likes
880

Hi Tiwa,

Could you please tell the solution to the above issue.

Read only

Former Member
0 Likes
880

Hi,

I am also facing the similar issue. I get the error message as 'The transfered hierarchy is inconsistent'.

Can anybody share/help, how should I go ahead in nailing this error.

Former Member Dear Tiwa, It will be really helpful if you could please share your approach to fix this issue.

FYI: I am calling the FM/BAPI in loop for each line item, it was working fine earlier. Somehow right now it is not working.

Thanks

Varun

+91-9718966497

Read only

Former Member
0 Likes
880

Hi Gurus,

Can someone help me to figure it out what are the cause of "The transferred hierarchy is inconsistent" when the program is passes the BAPI_PROJECT_MAINTAIN. it was working well previously but now it doesn't work?

Best Regards,

Weldin