cancel
Showing results for 
Search instead for 
Did you mean: 

API_RE_AO_CHANGE for Automatic Arch. Object Assignment

0 Kudos

Hi All,

I am trying to use API_RE_AO_CHANGE to assign 2 Arch.Objects with each other on the "Assignment" tab automatically. However, I get the error message: You cannot make assignments between AO 000000000015-001 and AO 000000000009-001

AO 000000000015-001 and AO 000000000009-001 are under the same Top Level Object AO 000000000001-001. I can assign the AOs manually in REBDAO transaction. Why I cannot assign them using the FM.

Config detail:

Object Type = I0 Architect. Object

Assignment Obj.Type = I0 Architect. Object

/ Obj Assignment Permit

/ Group Asgmnt Allowed

RECAMENUDEV also enhanced for Object Assignment.

The following values in the FM (API_RE_AO_CHANGE):

IT_OBJ_ASSIGN - CHANGEIND = I ; OBJNRTRG = the OBJNR for AO 000000000015-001

IT_ARCH_REL - CHANGEIND = I; OBJNRAR = the OBJNR for AO 000000000015-001; OBJTYPEAR = AO and OBJIDAR = 000000000015-001

IT_ARCH_RELMS - CHANGEIND = I; OBJNRAR = the OBJNR for AO 000000000015-001; OBJTYPEAR = AO and OBJIDAR = 000000000015-001

Your input is very much appreciated.

Thanks.

SHAMSHUL

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Shanshul,

Even i was getting same error while assigning usage view to architecutral view using BAPI_RE_AO_CHANGE, But i resolved this by using LSMW BDC.

You can also try the same.. and check if its works.

Thanks

Veman

0 Kudos

Hi Veman,

Thanks for the reply. Well, this activity will be triggered by interface when Architectural Object is created from GIS system. I am not sure whether we can include LSMW BDT inside the Function Module.

Thanks.

SHAMSHUL

Former Member
0 Kudos

Hi,

You can do it in another way,

1. Trigger the file out from interface, for

2. then run LSMW BDC, after interface program