‎2005 Oct 14 10:25 PM
Hi everybody, i have tried to create purchase orders, but that contains service positions, i filled the structures POSERVICES, but always it leaves the same error to me:
"Please maintain services or limits"
Anybody can help me to solve this problem???
Thkns.
Mauricio N.
‎2005 Oct 14 10:37 PM
I think you are getting that message because you are passing both POLIMITS and POSERVICES. Pass only POSERVICES to the BAPI.
‎2005 Oct 14 10:43 PM
May be I am wrong. Look at the code below from LMEPOF2B. This is where the message is coming from and looks like it has got something to do with the outline agreement.
IF ( ekpo-pstyp EQ pstyp-dien OR ekpo-pstyp EQ pstyp-blnk ) AND
ekpo-packno IS INITIAL.
* service item without services
* check comsrv
DATA: l_success TYPE mmpur_bool VALUE mmpur_yes. "511338
* check outline agreement is obligatory (only for services) 511338
PERFORM mepo_check_agmt_srv USING l_success "511338
mmpur_yes. "511338
CASE ekpo-pstyp.
WHEN pstyp-dien.
mmpur_metafield mmmfd_services.
mmpur_metafield_add mmmfd_limits. "619075
WHEN pstyp-blnk.
mmpur_metafield mmmfd_limits.
ENDCASE.
IF l_success EQ mmpur_yes. "511338
MESSAGE e029(se).
ENDIF. "511338
ENDIF.