cancel
Showing results for 
Search instead for 
Did you mean: 

Project system: Purchase requisition coming from PS

Former Member
0 Kudos

Dear Experts,

My intention is to inherit purchase requisitions comming from PS in a specific number range I already defined in the TC OMH7.

According to my needs I've activated a customer enhancement M06B0003.

What I am checking in the include of this particular exit is the field EBAN-KNTTP. I defined a values for which the specific number range should be taken but the system ignore my settings.

My coding of the ZXM06U18 looks like this:

IF NEBAN-KNTTP = 'D' OR NEBAN-KNTTP = 'N' OR

NEBAN-KNTTP = 'P' OR NEBAN-KNTTP = 'Q'.

RANGE = '05'.

ENDIF.

I tried to create the purchase requisition via ME51, ME51N, also from the CJ20N transaction but it doesn't work and I don't know why!!!

Please could you help me on this ASAP?

Note: The user-exit has been activated!

Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ensure the below:

1. If Document type for Purchase requisitions ( MM configuration) is 'NB' ensure this uses the number range '05'

2. Ensure to use this document type (i.e., NB) in T Code OPTT (PS configuration).

If it still doesn't work, check your exit once again.

Regards

Sreenivas

Former Member
0 Kudos

Hello,

When I connect the document type NB with the number range ID "05" all the purchase requisition will be generated from this range which isn't desired.

I want to achieve that the purchase requisitions caused (call out) by sales order, order or customer individual requirements stay the same ... number range already defined in the past.

For the project related purchases I want to derive the new number range based on the account assignment category EBAN-KNTTP.

I tried with ME51 ... using those transaction ... it works!

Using ME51N or directly via CJ20N ... this doesn't work, the user-exit will be not called during creation of purchase requisition.

Is there any other possibility to ensure that all transactions (program calls) will be grabbed (kept) by the system.

Do I have to activate an other exit???

Thanks

Former Member
0 Kudos

Hi,

Please try with user exit COZF0001 & COZF0002.

You can build logic between account assignment category and document type. As number ranges are linked with document type, u may be able to achieve.

Thanks

Kishore