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

Create Service Order via BAPI_PO_CREATE or BAPI_CREATE1

Former Member
0 Likes
1,195

Hello,

since days I try to create a service order via BAPI_PO_CREATE or BAPI_CREATE1. The result so far is, that the purchase order is created, but afterward EKPO is not propper (quantity, price) filled, or I get different error messages.

I'm working in R/3 4.6C environement.

Does anyone has experience with creating service orders via BAPI and can maybe provide me a propper working example.

Thanks in advance for you help.

Regards

klaus

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,106

Hi,

The BAPI BAPI_PO_CREATE is for creating purchase order. How can you create the service order using this. I mean is there any field where we can mention that this call is to create service and not for PO.

And try out this BAPI BAPI_ALM_ORDER_MAINTAIN which is used to create service orders.

I think this helps you.

Thanks,

Prasanna

Hello,

since days I try to create a service order via BAPI_PO_CREATE or BAPI_CREATE1. The result so far is, that the purchase order is created, but afterward EKPO is not propper (quantity, price) filled, or I get different error messages.

I'm working in R/3 4.6C environement.

Does anyone has experience with creating service orders via BAPI and can maybe provide me a propper working example.

Thanks in advance for you help.

Regards

klaus

5 REPLIES 5
Read only

Former Member
0 Likes
1,106

Hello Klaus,

perhaps OSS note 420332 "BAPI_PO_CREATE: Specimen for services" can help you.

Best regards

Stephan

Read only

Former Member
0 Likes
1,106

This message was moderated.

Read only

0 Likes
1,106

Hello Klaus,

if you mail me your code, I'll have a look at it. Perhaps you can also send the exact error messages. You can find the email address in my user profile.

Best regards

Stephan

Read only

Former Member
0 Likes
1,107

Hi,

The BAPI BAPI_PO_CREATE is for creating purchase order. How can you create the service order using this. I mean is there any field where we can mention that this call is to create service and not for PO.

And try out this BAPI BAPI_ALM_ORDER_MAINTAIN which is used to create service orders.

I think this helps you.

Thanks,

Prasanna

Read only

0 Likes
1,106

Hello Prasanna,

he wants to create a purchase order for external services (using the item category D). Therefore BAPI_PO_CREATE resp. BAPI_PO_CREATE1 are the correct one's.

He sent me some screenshots. I'll post the solution (when we find it) here.

Best regards

Stephan