‎2010 Sep 08 5:56 PM
Hi Everyone,
I am using BAPI_PR_CREATE.
I am able to create Standard Purchase requisition.
But while creating Service Purchase Requisition, i am not able to create.
I am getting no errors for the PR Item, but even after entering Services for the PR Item i am getting error message in return table of bapi "Please Maintain Services or limits'.
Do i have to pass value to Package_No field in the item level table of BAPI_PR_CREATE.
Please help.
Regards,
Akash
‎2010 Sep 09 12:59 AM
Hi,
it looks like you are getting message SE029 or SE122. You can go to SE91 and search where are these messages used and put break point there. You can debug that BAPI and figure out why you are getting that message.
Cheers
‎2010 Sep 09 12:59 AM
Hi,
it looks like you are getting message SE029 or SE122. You can go to SE91 and search where are these messages used and put break point there. You can debug that BAPI and figure out why you are getting that message.
Cheers
‎2010 Sep 09 4:40 AM
Yes you do have to pass the package number the one is parent package number and child package ,
1. You have a Number Range where you can generate the Numbers it is 'SERVICE',
2. The Logic of the Parent and child Package number you Can Check in Tables ( for some existing service pr ) ESLH (Header )
ESLL ( Line item...) (Parent package we have a line item level and so on...and parent and child are maintained in Same table)
Edited by: Anup Deshmukh on Sep 9, 2010 5:42 AM
‎2010 Sep 09 2:39 PM
Hi Anop,
I am still not able to create Service Purchase Requisition.
Could u please tell me what all fields do i have to fill in the tables of BAPI_PR_CREATE to create a service PR.
Regards,
Akash Rana
‎2010 Sep 09 2:41 PM
Hi Akash,
I'm not sure if you have checked the threads I had provided.
Sujay
‎2010 Sep 09 2:44 PM
hi,
I am Passing PRITEM-PCKG_NO = '00000001'.
and same in SERVICELINES-SERVICE = '00000001'.
Along with this i am also passing PRITEMX-PCKG_NO = 'X' and SERVICELINESX-SERVICE = 'X'.
I am getting error SE-029 = 'Please maintain services or limits'.
i also debugged bapi at the error message and i found PACKNO field is still initial so the error is coming.
Please help.
Regards,
Akash
‎2010 Sep 09 2:45 PM
Hi Sujay,
I checked all the threads but i was not able to figure out, the solution.
Akash
‎2010 Sep 09 7:37 AM
‎2010 Sep 09 2:48 PM
Hi Sujay,
Also the threads u provided does not talk about BAPI_PR_CREATE two amoung them talk about BAPI_PO_CREATE1 with complete different structures and one talks about BAPI_PR_CHANGE.
Regards,
Akash
‎2010 Sep 09 3:56 PM
Hi everyone,
How to create Service PR using BAPI_PR_CREATE
Regards,
Akash
Edited by: Akash Rana on Sep 9, 2010 6:57 PM