cancel
Showing results for 
Search instead for 
Did you mean: 

Freeze PO current Date - Plantwise

shubham_gupta9
Participant
0 Kudos

Hi,

I want to freeze current date of Purchase Order - Plantwise, for example freeze current date of PO for plant -1000 and date can't be changed.

Please tell me how can it be done.

Accepted Solutions (1)

Accepted Solutions (1)

pardhreddyc
Active Contributor
0 Kudos

Dear,

We are using this SHD0 for specific user and plant in some other purchasing areas.

If you feel the transaction variants are not suitable to your specific requirement,Hope enhancement

MM06E005 will help you.You just put the logic on saving of your P.O with respect to specific plants in your company code.Its just workaround i can suggest.

We use this enhancement for checking collective number in P.O for our plants.

Regards,

Pardhu

Answers (6)

Answers (6)

former_member619089
Active Participant
0 Kudos

Hello Shubham,

As Dev said can you please close this issue by mentioning the issue as correct and helpfull answer.

Thanks

former_member619089
Active Participant
0 Kudos

Hello Shubham,

your requirement cannot be achieved with the help of standard functionality of SAP.

Variants work same for the complete transactions if you will make the document date of PO screen in ddisplay mode than it will appear in display mode for all the plants.

You can go for enhacement for this purpose with the help of ABAP you can make this requirement possible.

Regards

Harry

shubham_gupta9
Participant
0 Kudos

Hi Harry,

If i wanted to do this company code wise than what should I do/???

former_member619089
Active Participant
0 Kudos

Hello Shubham,

You can tell the ABAP person to write the code in the exit that

If BUKRS = '1000' then BEDAT should be editable

IF BUKRS = '2000' then BEDAT should be non editable

Or maintain a table in company codes are many and ask ABAP person that whatever company codes are maintained in the table for those company codes the document date should be in display mode or vice-versa.

Thanks

shubham_gupta9
Participant
0 Kudos

Thanks Harry !!!

former_member183424
Active Contributor
0 Kudos

If your 'thanks' mean you have found your solution, then you can close your discussion by marking correct and helpful answer (if any).

shubham_gupta9
Participant
0 Kudos

Not fully solved, got an idea for this.

pardhreddyc
Active Contributor
0 Kudos

This message was moderated.

pardhreddyc
Active Contributor
0 Kudos

Dear ,

I suggest use SHDO transaction and put transaction variant here.Kindly keep for ME21N/ME22N.

It i snot possible to do with screen layout for document types in SPRO settings.

Regards

Pardhu

former_member183424
Active Contributor
0 Kudos

Transaction variant also can't be activated for a single plant. Transaction variant is under transaction code level. It will not be dependent upon any fields value.

Former Member
0 Kudos

IMG path>MM> Purchasing>Purchase Order>Define screen layout at document level, where select the screen layout NBF or your defined and go to the detail make the field display mode. By default system takes current date, so no need to check system date.

shubham_gupta9
Participant
0 Kudos

I guess it will be for all plants? I need to freeze for some specific plants only

RahulHanda
Active Contributor
0 Kudos

Hi Shubham,

Could you be more specific which date you are referring here. There is document date, delivery date, validity start & end date, statistical delivery date, confirm delivery date.

Which is the one you are mentioning here, could you share screen shot.

Regards

Rahul

shubham_gupta9
Participant
0 Kudos

Document date

former_member183424
Active Contributor
0 Kudos

Plant and document date is located differently in a purchase order screen. Document Date is exist on header level and plant exist on item level. Document date is always only one for a entire purchase order but plant can be multiple for a purchase order.

Re-think about your requirement, how will system behave when there will be multiple plants in a purchase order ?

You can go for you own development (by using badi ME_PROCESS_PO_CUST or some user exit). But still, you need to think again about your requirement during multiple plants in a purchase order.