Application Development and Automation 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: 
Read only

Problem in BAPI /INCMD/BAPI_GROUP_SAVE ?

Former Member
0 Likes
1,802

Dear Experts ,

when i am trying to execute  BAPI : /INCMD/BAPI_GROUP_SAVE it will create the substitution master data in the APO system ,

But when i am trying to change the existing interchangeability groups or delete the groups .

BAPI is returns  an error .  " Interchangeability Group  cannot be changed."

Can any one suggests me how to overcome this.

Regards,

sudheer Yatgiri.

5 REPLIES 5
Read only

tiago_furlanetto
Product and Topic Expert
Product and Topic Expert
0 Likes
1,481

Hi Sudheer,

Please, check in transaction /INCMD/UI what is the Allowed Method for Change of the Interchangeability Group.

If it says "User Interface", it can only be changed through the UI and the error message in BAPI is expected.

In this case, if you need to modify the setting to allow it to be changed via BAPI,you may create an OSS incident and we (SAP) will check whether it's possible in your scenario or not.

Regards,

Tiago

Read only

0 Likes
1,481

Hi Tiago,

Thanks a lot for your response.

Kindly correct me if i am wrong .

In the t-code /N/INCMD/UI ,

Change allowed : using user interface .

my requirement is to change the header details / item details / subset details (via program )and

                           to add new subsets / items details via program - selection screen select options values under a single interchangeability group as shown in the figures.

i found another BAPI :: /INCMD/GROUP_MAINT .

Is the above requirement can be achieved through this BAPI .

Thanks in avance.

Regards,

Sudheer.

Read only

0 Likes
1,481

Hi Sudheer,

You're right, that's the setting I meant.

Given that Change Allowed has value "Using User Interface", the interchangeability group cannot be modified through BAPI or CIF.

If you want to use a BAPI, please, create an incident and SAP will evaluate whether it's possible to change the setting for you.

Regards,

Tiago

Read only

charu1234567
Discoverer
0 Likes
1,481

Can you please provide the code because my requirement is also same.

I need to update the Block ,Unblock status base on it.

I also need to use BAPI /INCMD/BAPI_GROUP_SAVE.

Read only

charu1234567
Discoverer
0 Likes
1,481

Thanks for the information ......

I will raise the incident for same.