cancel
Showing results for 
Search instead for 
Did you mean: 

PR

Former Member
0 Kudos

Hi all,

How can we retrieve the deleted pegged requirements of a PR once it gets converted into PO....Is these values stored in any tables or is there any other way by which we can get these pegged requirements if we are having the PR..???

Regards,

Joseph.

Accepted Solutions (1)

Accepted Solutions (1)

muthusamy_sankaran
Active Contributor
0 Kudos

Hi,

Try with Tcode MD09 --> select purchase req

regards,

sankaran

Former Member
0 Kudos

hi sankaran.

Thnks for ur reply

In MD09 we can see the pegged requirements of PR which is not been converted into PO.

I want to see the pegged requirements even after PR is converted into PO.

Regards,

Joseph.

sundaresan_velayudam
Active Contributor
0 Kudos

Dear,

you can able to see the PO only( once the pr is converted in to PO), if you want to see the PR- go the PO ( me22n) you can find the PR no or check in EKPO table to find the PR relevant to that PO

Former Member
0 Kudos

Hi Sundaresan,

I need the pegged requirements of the PR after it is converted into PO...The pegged requirements are getting stored in the FM MD_PEGGING_NODIALOG, but after the PR is converted into PO there vil be no value in the function module. So is there any way to obtain the pegged requirements of PR after it is converted into PO..???

Regards,

Joseph.

Edited by: joseph5885 on Mar 4, 2011 1:57 PM

sundaresan_velayudam
Active Contributor
0 Kudos

Dear,

IN FM MD_PEGGING_NODIALOG, You can see the PO no in pegged requirement once the PR is converted into PO

if you want to know the PR for that PO, then you need to develop the report by passing the PO no and line item in EKPO table to find the Purchase requistion

Former Member
0 Kudos

Dear,

I am developing a report for the trace back of PR...Here i need to find out the pegged requirements of a PR in the future..say after 2 weeks, by the time the quantities of PR vil be issued for production and in the present scenario pegged requirements are deleted so we are not able to get the trace back of the pegged requirements.

When i give the batch and the material no: we can get the PO in the table MSEG and when this PO is given in EBAN we will get the PR but i need the Pegged requirements. It is deleted every time wen the PR is converted into PO.

Can u tell me any way by which i can retrieve the pegged requirements ...???

sundaresan_velayudam
Active Contributor
0 Kudos

Dear Joseph,

Create a separate Z table and maintain a field, Material , Plant , DELKZ, purchase requistion No , Line item,

and write a program like, when ever the program is Carried out, system need to update the Z table ( or make it as Back ground job day wise)

so that PR no is getting updated in Z table

In the report fetch the Purchase requisition field from that Z table.

Former Member
0 Kudos

Dear,

I have created Z table and its working fine for the PR. Im getting the trace back til PR,but our prime aim is to get the pegged requirements of the PR as in FM MD_PEGGING_NODIALOG including the sales order no: sales order type, finished material and its quantities etc

Is there any way to store the data in this FM

Regards,

Joseph

sundaresan_velayudam
Active Contributor
0 Kudos

Dear,

During run time, system will store the data in temporary table IMDRQX, after you close the program, the data will be delted, thats the reason we are storing in Z table

If you are using sale order then you can use MD_SALES_ORDER_STATUS_REPORT to update the Z table

Former Member
0 Kudos

Dear sundaresan,

Thanks for your support....

Regards,

Joseph.

Answers (1)

Answers (1)

former_member533946
Active Contributor
0 Kudos

HI dear,

U can see pegged requirement of PR and PO in MD009 it self.Note that once GR is made against PO then you wont be able to see the pegged requirement.

Also u can use T. code MD05 & MD04.

Just ckick on the PR or PO no in MD04 or MD05 and click on the icon (sift+F5) and you will get the details of the pegged requirement.

Edited by: Deepak Kulkarni on Mar 4, 2011 1:52 PM