cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Orgunit inconsistent with BBPU_CREATE_ORGUNIT_AND_BUPA

Former Member
0 Kudos
163

Hello Gurus,

when i create a new orgunit with the FM BBPU_CREATE_ORGUNIT_AND_BUPA the new created

orgunit is not consistent.

CALL FUNCTION 'BBPU_CREATE_ORGUNIT_AND_BUPA'

EXPORTING

ACT_ORGUNIT = '00000203' "existing Orgunit

ACT_BEGDA = SY-DATUM

ACT_ENDDA = '99991231'

NEW_ORG_STEXT = description

NEW_ORG_SHORT = short

ORGUNIT_ADDRESS_P = lt_adress "Adressdata

IMPORTING

NEW_ORG_ID = OBJECT_ID

EXCEPTIONS

PARENT_ORGUNIT_NOT_VALID = 1

NO_ACTIVE_PLVAR = 2

ERROR_TO_GET_NEW_NUMBER = 3

ERROR_DURING_INSERT = 4

ENQUEUE_ERROR = 5

ORGUNIT_ADDRESS_DATA_MISSED = 6

OTHERS = 7

Can anybody help ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello Thomas,

Try to add value '01' to exporting parameter ACT_PLVAR.

In T778P table (Plan Versions), it should correspond to 'Current plan'.

Check with FM RH_GET_PLVAR that '01' is your current plan. If not, use the one given by the FM.

Regards.

Laurent.

Former Member
0 Kudos

Hi Laurent,

no, sorry.

I fixed the problem with an other bapi.

Best Regards

Thomas

Former Member
0 Kudos

Hi Thomas,

Which BADI worked ?

Rgds,

Shobhit

Answers (0)

Ask a Question
Top Q&A Solution Author