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 Error

Former Member
0 Likes
804

Im using the BAPI_MATPHYSINV_CHANGECOUNT, in the SE37, it works, but in my program, it doesn´t work. I use the same data...

Thanks all!

1 ACCEPTED SOLUTION
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
754

HI,

Try and declare variable of the type expected by the function module and pass the data instead of hardcoding the data to the FM if you are doing so in this case.

Regards,

Sesh

6 REPLIES 6
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
755

HI,

Try and declare variable of the type expected by the function module and pass the data instead of hardcoding the data to the FM if you are doing so in this case.

Regards,

Sesh

Read only

Former Member
0 Likes
754

I´m using an internal table with the FM structure, but the data isn´t save.

Read only

0 Likes
754

Does it return any error message? If not and nothing is updated in database perhaps you should call 'commit work' after that bapi....

Message was edited by: Tomasz Kozerski

Read only

0 Likes
754

It is returning an error message, it says that the data is not modified... But in the se37 test´s the message ís that all was ok...

Read only

0 Likes
754

Is there anything more in that error message?

Make sure you are passing data to that BAPI in an appropriate format (SE37 may convert some fields to internal format). There can be dozens of reasons it does not update anything, without complete error message (or debugging) it is not easy to guess.

Read only

Former Member
0 Likes
754

HI Julio,

One suggestion. Execute your program and the BAPI is SE37 in different sessin (parallel) in <b>debug mode.</b>

Check if all the structures are getting populated correctly in both.

Hope this helps.

Manish