Hello everyone,
I want to create functional locations with classification (TA: IL01) by using BAPI functionality. Therefor I found functions BAPI_FUNCLOC_CREATE and BAPI_OBJCL_CREATE which work fine individually, but not by using both of them.
First I have to say that we use a customer exit which forces the user in IL01 to type in classicfication in every functional location. In the application this works fine but how to do this with BAPI?
(1) When I first use BAPI_OBJCL_CREATE for assigning class to the object I got the problem/error message that the object (func.loc) is not created yet.
(2) When I first use BAPI_FUNCLOC_CREATE for creating the func.loc., I got the problem with my customer exit message that classification has to be entered.
So what to do? :-)
Regards
Michael Boguth