2014 Jan 08 7:22 AM
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
2014 Jan 08 7:27 AM
Hi
Did you pass the service no POITEM - PCKG_NO and marked 'X' for the same POITEMX for the line item,
2014 Jan 08 7:44 AM
Hi Atul
yes I am already passing PCKG_NO in POITEM and X in POITEMX.
2014 Jan 08 8:00 AM
Hi Venkatesh
Please provide the error message number and class which you are getting in return table.
Nabheet
2014 Jan 08 8:30 AM
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
2014 Jan 08 8:36 AM
2014 Jan 08 8:43 AM
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.
2014 Jan 08 8:44 AM
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.
2014 Jan 08 8:57 AM
In ITEMX table have you passed ACCTASSCAT as also X? What have you passed in POACCOUNT and POACCOUNTX table..?
Nabheet
2014 Jan 08 9:07 AM
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
2014 Jan 08 9:08 AM
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
2014 Jan 08 9:15 AM
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
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |