Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How are Purchase Info Records generated in APO after CIFing them from R/3.

Hi ,

I have a problem which i need clarity on. I need to know if I am on the right path.
I will list the things I have done and then bring up the issue I am facing.

     i) I created a contract in an R/3 system using me31k

    ii) I then created an Integration Model using CFM1 and CFM2.

   iii) And then used RIMODINI to CIF this IM over to APO.

   iv) I was told that this becomes a PURCHASE INFO RECORD in the APO side.

    v) Using TCode /sapapo/PWBSRC1 I have viewed the contents of the contract successfully on the APO side.

Requirement: I need to run a batch program on APO side to create/change PIRs with values from a Ztable(Ztable has all the values from the Integration Model).

Qn1) Please let me know if I am on the right path?

Qn2)  I need to know if the Purchase Info Records is generated on the APO side Or are PIRs generated on the R/3 side itself ? 

Qn3)  If they are generated on the APO side would anyone point out links , provide tcodes or a Standard program or Function Module that creates these PIRs?

Note: I am an ABAP programmer and not very functionally sound in APO.

Former Member
Former Member replied

A2)As Sergio pointed out in the APO side a PIR is called an external procurement relationship.

A3) Find the order of the nesting function module starting from the RFC



--->  /SAPAPO/DM_TPSRC_MAINTAIN (intermediate)


To debug at the RFC level you need to De- Register the incoming queue  using tcode SMQR with the queue name  ' CFLDR* '.

Place external breakpoints and debug deeper into the respective function modules.

Thanks ,

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question