Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI For Change Functional Location

Former Member
0 Kudos
2,826

Hi All,


I have a requirement to change the functional location label using a BAPI . I have found a BAPI by name "BAPI_FUNCLOC_CHANGE" through which we can change the fields of functional location. In my requirement I need to change the label of the functional location from this path Goto IL02 ->enter the functional location -> goto Extras  --> Alternative Label --> Overview --> Select a functional location and then click on change. Here u need to enter the new label. I am unable to find the field new label in the BAPI "BAPI_FUNCLOC_CHANGE". I kindly request you to help me out finding the correct BAPI or finding the correct field name in the above given BAPI. You can even suggest a Function Module if there is any.


Thanks & Regards,

Adarsh Srivastava

Ph - +91-9160384999

6 REPLIES 6

arindam_m
Active Contributor
0 Kudos
507

Hi,

Do an F1 see the technical name check in tables

  • IFLOT
  • IFLOTX

Chances are you will find the field you are looking for.

Cheers,

Arindam

Former Member
0 Kudos
507

Dear Arindam,

Thank you for the reply. The actual screen field name for my particular field is STRTO. I am unable to find that particular field in "BAPI_FUNCLOC_CHANGE". The actual thing I need to do is to change the functional location name using IL02 tcode through a BAPI.

Thanks & Regards,

Adarsh Srivastava

Ph - +91-9160384999

0 Kudos
507

Hi Adarsh,

As an alternative, maybe you can do a BDC for changing the Functional Location Label.

Former Member
0 Kudos
507

Hi  A N,

Thank you for the reply. I can only use a BAPI in my requirement. Kindly suggest some relevant BAPI.

Thanks & Regards,

Adarsh Srivastava

Ph - +91-9160384999

arindam_m
Active Contributor
0 Kudos
507

Hi,

Have you checked the FM BAPI_FUNCLOC_GETLIST. Looks like it has the field that you want i.e. Alternate Label. See the documentation in your system.

Cheers,

Arindam

Former Member
0 Kudos
507

Hi Adarsh,

Check the Function Groups 'ILOX' and 'ILOY'. Standard program uses them.

A suitable FM can be ILOX_IFLOS_UPDATE, please try this.

BR