Application Development 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: 

BADI "EXIT_SAPLFMWR_002" is not working

Former Member
0 Kudos

Hi All,

We have upgraded from 4.6C to 6.0 and

BADI "EXIT_SAPLFMWR_002" is not working . please suggest some solution for this.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Look at OSS <a href="https://service.sap.com/sap/support/notes/834826">Note 834826 - Replacement for customer enhancement SAPLFMWR 002</a>

<b>

Symptom</b>

After the upgrade to SAP_APPL 4.70, the CMOD-exit EXIT_SAPLFMWR_002 for the derivation of the commitment item from the current G/L account does not work anymore.

(...)

<b>

Solution</b>

Do not activate the EA-PS enhancement or the Funds Management, but go to the general exit instead, in other words: Transfer the function to a separate implementation of the BADI 'TR_GET_ACCNT_ASSIGN' (Transaction SE19).

You can find example code for the implementation of the strict derivation logic in the source code of the method GET_ACCNT_ASSIGN below. If you already have a BADI implementation with a separate logic (for example, from the migration of the exit EXIT_SAPLFMCH_001) the specified logic should be prepended to your own logic.

Regards

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Look at OSS <a href="https://service.sap.com/sap/support/notes/834826">Note 834826 - Replacement for customer enhancement SAPLFMWR 002</a>

<b>

Symptom</b>

After the upgrade to SAP_APPL 4.70, the CMOD-exit EXIT_SAPLFMWR_002 for the derivation of the commitment item from the current G/L account does not work anymore.

(...)

<b>

Solution</b>

Do not activate the EA-PS enhancement or the Funds Management, but go to the general exit instead, in other words: Transfer the function to a separate implementation of the BADI 'TR_GET_ACCNT_ASSIGN' (Transaction SE19).

You can find example code for the implementation of the strict derivation logic in the source code of the method GET_ACCNT_ASSIGN below. If you already have a BADI implementation with a separate logic (for example, from the migration of the exit EXIT_SAPLFMCH_001) the specified logic should be prepended to your own logic.

Regards

Former Member
0 Kudos

I looked at the note but found it preety confusing. Can you explain it a bit.

0 Kudos

The Exit doesn't exist any lionguer (from 4.7 on) and is replaced by new functionality in the Funds Management.

It seems that youcan use an implementatin of BADI TR_GET_ACCNT_ASSIGN to get the functionnality back, and that the sample provided by SAP is helpful.

But, sorry, i dont have access to this BADI in my current site.

Regards