Skip to Content
0
Jul 12, 2008 at 04:55 PM

Not able to create Service PR using BAPI_PR_CREATE

285 Views

Hi All,

We are in SAP ECC 6.0.

I am creating / Changing PR which is coming from other system(Inbound) using Message Type / IDOC Basic Type --> PREQCR1/ PREQCR101( Enjoy Transaction )- PR Create / PREQCHANGE01- PR Change Which will be internally using BAPI BAPI_PR_CREATE / BAPI_PR_CHANGE respectively.

I have no issues in creating Standard PR Items but i am not able to create Service PR ( Item Category - D ) using this Message Type. There is no option to pass service data to this IDOC. Have anyone guide me how to achieve this using the same IDOC Type.

I know we can create service PR using Message type / IDOC Type / BAPI -> PREQCR / PREQCR03 / BAPI_REQUISITION_CREATE but my requirement is to use Enjoy transaction Message type only and one more issue with message type PREQCR is that i dont have change option.

In SAP 4.7, BAPI_PR_CREATE has option to pass service data but in 4.7 it is not released but i dont know why SAP has removed this option in ECC 6.0. Is there any other option to achieve this or should i have to do any second step to update service data.

One thing i noticed is, the link between the PR line item and the service data which is the package number field is still there in the Item structure.

Useful answer will be greatly appreciated and <removed_by_moderator>

Thanks in advance.

Thanks & Regards,

Rajanidhi Rajasekeran.

Edited by: Julius Bussche on Jul 14, 2008 6:03 PM