2024 Mar 06 7:43 AM
Hello Experts,
I have problem when call BAPI from Web API Net programming. The problem is BAPI return different result when call Production Environment and Development & QA Environment.
Same Message, become WARNING in Development & QA Environment, and become ERROR in Production Environment, so the transaction not Created.
Please advice about this problem...
Thanks a lot
2024 Mar 06 3:03 PM - edited 2024 Mar 06 3:03 PM
Did you already compare Message and Orders Customizing in the systems (Missing transport?)
2024 Mar 07 2:17 AM
Thank you so much Raymond,
I'm sure that the program is the same, because Dev Environment just copied from Production a couple month ago.
See picture below, the Message on circle in Production Environment appear on ERRORS and WARNING, thats why the transaction NOT Created. But in Development Environment the Message appear only on WARNING, so the transaction Created.
Please help...
Best Regards,
2024 Mar 08 11:00 AM - edited 2024 Mar 08 11:01 AM
(I didn't mention program difference, but missing Customizing)
So, did you check for missing/inconsistent Customizing, for example
Transaction SPRO > IMG > Plant Maintenance and Customer Service > Maintenance and Service Processing > Configuration Control > Define Attributes for System Messages
2024 Mar 07 8:37 AM - edited 2024 Mar 07 8:37 AM
I assume we are talking about BAPI "BAPI_ALM_ORDER_MAINTAIN" ...?
You should check a few things first :
With limited info, I would focus on the 'IW 431 - Start date is in the past'-Message, because in some cases it does lead to an Error, while the Workday-calculation would generate a Warning ...
Chances are some minor difference in Customizing / FactoryCalendar / ... ór in your Web-Call generates one or more Messages, of which the 'IW 431' will show up as an Error ...
Hope this helps
Nic T.