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

BAPI_MATERIAL_SAVEREPLICA

aayushaggarwal
Active Participant
0 Likes
2,301

Hi Experts,

I am facing an issue with the BAPI_MATERIAL_SAVEREPLICA bapi. I am using this BAPI to extend materials, it was working fine till now,

but now when i tried to extend Material, the Bapi didn't return any messages and the material also did not got extended,

as it din't returned anything, it became very difficult to find the reason of the material not getting extended.

Can u please advise what possibly can be the reason for the same ??

Thanks in advance,

Aayush

6 REPLIES 6
Read only

paul_bakker2
Active Contributor
0 Likes
2,103

Hi,

So what do you see when you debug?

I assume you did a 'commit work' after calling the BAPI? Maybe something stopped that from happening... then everything would look ok, but nothing would be saved.

cheers

Paul

Read only

0 Likes
2,103

Hi Paul,

Thanks for your reply!!

Actually the issue is in PROD and team is trying to replicate the same in DEV so that we can debug it.

but there is one return table in the BAPI usually it returns whether the material is extended or not, but in this case it is returning nothing.

Regards,

Aayush

Read only

0 Likes
2,103

Did you check SU53 after running your custom report to check if in PROD you got some Authorization problem?

Read only

Former Member
0 Likes
2,103

We used BAPI_MATERIAL_SAVEDATA to extend materials and it worked fine.

In case it is not getting extended with your BAPI, try checking SM13 and ST22 for any update errors.

Read only

aayushaggarwal
Active Participant
0 Likes
2,103

Hi all,

This issue is on hold for now, I'll let you all know when it will get fixed.

Thanks,

Aayush

Read only

ThangaPrakash
Active Contributor
0 Likes
2,103

Hello Aayush,

1) Before passing the material into BAPI, do a conversion by using " CONVERSION_EXIT_MATN1_INPUT" and pass to the BAPI header.

2) Also did you pass X to checkbox table for those fields which you are passing the values.

Try it and let me know does it work.

Regards,

Thanga