cancel
Showing results for 
Search instead for 
Did you mean: 

Routine for restricting the Duplicate condition type in PO

Former Member
0 Kudos

In PO, we have condition tab there are various condition types. requirement is that - a particular condition Type should not able to use/entered manually multiple number of times in PO-Condition. I like to know the routines or user exit where I can control this.


For Ex- FRC1 is there PO then nobody should able to add one more FRC1 condition type manually in PO.


There was suggestion on previous discussion but very less insight on Routines which can be used or how can be find out it?


This was old thread -

"Check routine or design to write a routine & assign to Freight Condition - ZFR1 in M/08( in MM Schema), so it should not enter again or not possible to enter by user(can appear only once)."


Please suggest me the routine for this or where I can find out this?

Accepted Solutions (1)

Accepted Solutions (1)

Prasoon
Active Contributor
0 Kudos

Hi Atul,

    As of my knowledge, there is no option to restrict the multiple entry of manual condition type in standard. An alternate way would be to maintain access sequence for the condition type and remove the manual flag for the condition type in the pricing procedure and maintain the condition type as "not possible to maintain manually" in M/06. The access sequence may contain the plant, for example. Maintain the condition record in MEK1 with blank value, so that the same will be proposed for the plant always with blank value. When the user want to enter any value, he can maintain only value, else keep it blank. Since manual entries are configured D (do not possible), then the user can not enter it multiple times in the PO.

    If you still want it as manual and wanted to control the entry, you may go for custom routine. You may create the routine in VOFM transaction with the help of technical team and write the logic to check multiple entries and maintain the same in the "reqmts" field in the pricing procedure.

    Refer the thread: http://scn.sap.com/thread/1279396 which explains the similar procedure in SD.

Regards,

AKPT

Former Member
0 Kudos

Thanks Prasoon,

I am glad to have your timely suggestions,I will opt for the routines.

Thanks for your valuable replies.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Atul,

You can go to transaction M/06 to change the config for particular condition type. Change the option of manual entries to D "Not possible to process manually".

Then, this will make the condition type as automatic and noone will be able to enter the condition type manually later.

Regards

Madhur