Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Which exit can modify AccAss. in PR for 3rd party process?

patrick_g1
Active Participant
0 Kudos
306

Dear experts,

I am searching for an user exit it something like this which allows me to modify the account assignment within

a PR wich will be created out of 3rd party sales order (x).

I would like to select the correct G/L account, order and cost center from anouther source.

Is there any exit for such a request?

We tried interface IF_PUR_SE_PURREQERPCRTRC1 in BAdI PUR_SE_PURREQERPCRTRC1 and Enhancement spot PUR_SPOT_SE_PURCHASE_REQUEST.

Regrettable without success. The breakpoit we places has not been reached.

For any feedback I would be very thankful!

Many thanks in advance.

Best regards

Patrick

(x)

3rd Party process:

Sales order with 3rd party item category creates purchasing requisition after saving (if no creadit block comes up).

1 ACCEPTED SOLUTION

patrick_g1
Active Participant
0 Kudos
229

Hi,

finally no user exit or enhancement could manage the requested access.

This especially because sales order data from 3rd party process could not be accessed (neigther structure nore Database).

So we needed to develop a new report which will be executed before ME59N / ME59 in batch processing.

Thanks a lot.

Best regards

Patrick

3 REPLIES 3

Former Member
0 Kudos
229

Hi,

Try this BADIs:

- Enjoy:

BADI: ME_PROCESS_REQ

Method: PROCESS_ACCOUNT

- Internal:

BADI: ME_PROCESS_REQ_CUST

Method: PROCESS_ACCOUNT


Regards.

Gian

0 Kudos
229

Almost ok..

  • ME_PROCESS_REQ is SAP reserved, forget it
  • ME_PROCESS_REQ_CUST, ok, use methods [GET,SET]_EXKN[X] on received parameter IM_ACCOUNT to read/modify Account Assignment Structure

Regards,

Raymond

patrick_g1
Active Participant
0 Kudos
230

Hi,

finally no user exit or enhancement could manage the requested access.

This especially because sales order data from 3rd party process could not be accessed (neigther structure nore Database).

So we needed to develop a new report which will be executed before ME59N / ME59 in batch processing.

Thanks a lot.

Best regards

Patrick