‎2013 Oct 27 7:41 PM
in sap we can create functional location with reference using: IL01 .
we can create new functional location based on existing functional location. I need create same with using BAPI or Functional modules.
I was see create functional location:BAPI_FUNCLOC_CHANGE,
but I need create new functional location with reference of exist functional location.
please help me it urgent..
Regards
Praveen Cheatpally
‎2013 Oct 28 5:43 AM
Hi Praveen,
Check the BAPI_FUNCLOC_CREATE
check BAPI_ITOB_FL_ONLY Structure and u find a field READ_REFERENCE_LOCATION filed here u pass the reference function location.
‎2013 Oct 28 3:05 PM
Hi Pattajoshi,
while create new functional location using IL01 using like in attachment file.
I need to uncheck some functionality while copy one functional location into another functional location.
it will not work with BAPI_FUNCLOC_CREATE.
Regards
Praveen Chetpally
Hi Pattajoshi,
while create new functional location using IL01 using like in attachment file.
I need to uncheck some functionality while copy one functional location into another functional location.
it will not work with BAPI_FUNCLOC_CREATE.
Regards
Praveen Chetpally
‎2013 Oct 29 5:24 AM
Hi Praveen,
For ur requirement u can create BDC for IL01.else
If u want BAPI then 1st use BAPI_FUNCLOC_GETDETAIL for reference function location details and pass all the data to BAPI_FUNCLOC_CREATE in the respective field.
Regards,
Lingaraj
‎2013 Oct 29 6:18 AM
‎2013 Oct 29 12:31 PM
Use this FM "PM_COPY_SUBOBJECTS" and then Call "BAPI_FUNCLOC_CREATE" for Create Functional Location with reference of other functional location .
also you can check this FM Source Code "ITOB_EQUIPMENT_CREATE_SING_REF" for how to use
this FM "PM_COPY_SUBOBJECTS" like which parameter are required to fill , Commit Work ...etc...
Regard's
Smruti
‎2013 Oct 30 5:37 AM
Hi Smruti Ranjan,
I was try with PM_COPY_SUBOBJECTS functional module , it copying only classification with characteristics data only. it not copy other parameters.
for testing :
1) I create functional location il01.
2) used that new functional location and existing functional location
3) commit transaction
please suggest if any other F.M or BAPI is there....
Regards
Praveen
‎2013 Oct 30 5:46 AM
Hi praveen,
For ur requirement It will be better to create BDC.