10-25-2006 12:05 PM
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!
10-25-2006 12:08 PM
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
10-25-2006 12:08 PM
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
10-25-2006 12:15 PM
I´m using an internal table with the FM structure, but the data isn´t save.
10-25-2006 12:21 PM
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
10-25-2006 12:27 PM
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...
10-25-2006 12:33 PM
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.
10-25-2006 12:33 PM
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