cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase Requisition idoc/webservice triggering

sander_ten_hagen
Explorer

Hi Experts,

I suppose to make one integration scenario in SAP PI 7.0. The scenario is that after creation of a Purchase Requisition ( after running MRP ) the data of Purchase Requisition will be send automatically to other party through a web service or idoc.

1) Which possibilities are availble : IDOC or Webservice? what is the best practice for the this scenario?

2) When the PR is created in ECC, how will i push it to SAP XI/PI? which code do i have to activate? in case of idoc, where i can see the triggering the idoc?

Thanks in advance

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

sander_ten_hagen
Explorer
0 Kudos

Andy,

We have the sender, PI, receiver systems.

In which system do i have to create the ws from BBP_RFC_READ_TABLE ? sender system?

what do you mean with : only need coding in your external system?

Thanks

pataselano
Active Contributor
0 Kudos

In tcode WE60, you can see that description of basic type PREQCR02 is 'Create purchase requisition'. It is mean that you can create PR from external system and posting to SAP using basic type PREQCR02.

In tcode NACE, you can't found output control for purchase requisition because PR is internal document. So, you can't send PR document to external system except through z-program.

0 Kudos

Thanks .. or using badi right ?

pataselano
Active Contributor
0 Kudos

Your ABAPER create web service for fm BBP_RFC_READ_TABLE.

Your external system use this web service for get data directly from table EBAN base on your guidance.

This way is more simple because no need coding in ABAP, only need coding in your external system for get PR data.

pataselano
Active Contributor
0 Kudos

Purchase requisition is internal document. So, no output message (IDOC) for PR. You must create z-program for send PR data to other server.

sander_ten_hagen
Explorer
0 Kudos

Thanks for your answer .. but what about the idocs PREQCR02