Application Development 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: 

Credit limit check not happening when using BAPI: BAPI_ALM_ORDER_MAINTAIN for Service Order creation

kishore_usa
Explorer
0 Kudos

Hi,

We are creating Service Notification by using BAPI: BAPI_SERVNOT_CREATE, and then creating Service Orders using BAPI: BAPI_ALM_ORDER_MAINTAIN by using the method: CREATETONOTIF (which is used to create Service order using Notification)

Service order getting created successfully without doing the Credit limit check,

I have used the same data to create Service order manually and it is doing credit limit check.

Can you please help me on how to get Credit limit check when creating Service Order using BAPI. Is there any thing we need to pass explicitly in order to get credit check status on Service order(Syst status)

Thank you.

Regards,

Kumar

4 REPLIES 4

VeselinaPeykova
Active Contributor
0 Kudos

I have not used this approach to create orders, but the most common way to start troubleshooting credit problems is to compare the outcome between the working and the non-working example in program check_cm.

0 Kudos

Hi,

Thank you for your reply. When i check program: CHECK_CM, it's only checking based on Sales Order number. In my case, it is Service Order and there is no sales order.

Can you please let me know how to proceed in this case.

Thank you.

0 Kudos

Ups, sorry... credit check in CS is different than SD.

Did you take a look at 2406378 - BAPI_ALM_ORDER_MAINTAIN: Saving possible despite error message V1 154?

I do not have CS configured in a sandbox unfortunately and I cannot verify if this is the message that you expect to encounter in foreground processing, but it looks promising.

kishore_usa
Explorer
0 Kudos

HI Tammy Powlas,

Apologies for that, Thank you.