on 2009 Sep 08 3:20 PM
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.