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

Please maintain services or limits

Former Member
0 Likes
7,465

Hi,

I am facing an error message 'Please maintain services or limits' while trying to create a service PO with reference to Purchase Requisition through BAPI_PO_CREATE1 where services are already there in purchase requisition. Please help and please give inputs for BAPI to create service po with reference to Purchase Requisition.

Thank you.

Venkatesh

Hi,

I am facing an error message 'Please maintain services or limits' while trying to create a service PO with reference to Purchase Requisition through BAPI_PO_CREATE1 where services are already there in purchase requisition. Please help and please give inputs for BAPI to create service po with reference to Purchase Requisition.

Thank you.

Venkatesh

11 REPLIES 11
Read only

atul_mohanty
Active Contributor
0 Likes
5,566

Hi

Did you pass the service no POITEM - PCKG_NO and marked 'X' for the same POITEMX for the line item,

Read only

0 Likes
5,566

Hi Atul

yes I am already passing PCKG_NO in POITEM and X in POITEMX.

Read only

0 Likes
5,566

Hi Venkatesh

Please provide the error message number and class which you are getting in return table.

Nabheet

Read only

0 Likes
5,566

Ok

Please check you are populating the following

In POSERIVES structure

(a) PCKG_NO

(b) LINE_NO

(c)EXT_LINE

(d) SERVICE

(e) QUANTITY

(f) BASE_UOM

(g) GR_PRICE

(h)SHORT_TEXT

MATL_GROUP

(j) SUBPCKG_NO

There should be link between PCKG_NO to SUBPCKG_NO

in POSRVACCESSVALUES

PCKG_NO

LINE_NO

SERNO_LINE

QUANTITY

NET_VALUE

Read only

0 Likes
5,566

Hi Naveet

Message class 'SE'

Number '029'

Read only

0 Likes
5,566

Hi Venkatesh -

It seems the message is triggered after the FM -   MS_SERVICE_PACKAGE called in LMEPOF14.

Please check if you are passing  POSERIVES-PCKG_NO and POSRVACCESSVALUES 

PCKG_NO.

Read only

0 Likes
5,566

As we are creating PO with reference to Purchase Requisition, we don't have to enter any data in POSERVICES structure. This data should get automatically from the Purchase Requisition.

Even i tried providing pckg_no,line_no,ext_line in poservices structure i am getting a different error '06:436:In case of account assignment, please enter acc. assignment data for item' where acc assignment category and item category already entered in POITEM.

Read only

0 Likes
5,566

In ITEMX table have you passed ACCTASSCAT as also X? What have you passed in POACCOUNT and POACCOUNTX table..?

Nabheet

Read only

0 Likes
5,566

Hi - I am not very sure of 'get automatically from the Purchase Requisition' in this case.

But still you can try to populate POACCOUNT-WBS_ELEMENT if it helps (also check relevant field in POACCOUNTX).

We have done similar things in past for Service PO.

Regards,

Atul Mohanty

Read only

0 Likes
5,566

in ITEMX table ACCTASSCAT = X.

As we are creating PO with ref to PURCHASE REQUISITION we are only populating POHEADER,

POHEADERX, POITEM, POITEMX, POSCHEDULE, POSCHEDULEX.

As all the POACCOUNT AND POSERVICES data should get automatically from Pur. Req , i am not passing anything to POACCOUNT , POACCOUNTX AND POSERVICES table

Read only

0 Likes
5,566

Can you please check sample code in class CL_MMPUR_UI_CPPR method  CREATE_PO. It has sample code where SAP is even passing the service line item stuff

Nabheet