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: 

User exit in VA01/VA02

Former Member
0 Kudos

Dear All,

I had found out two user exits - EXIT_SAPLKACB_001 and EXIT_SAPLKACB_002 in transaction VA02. However, I cannot determinate that it belongs to which Enhancement.

Please help!

PS: It is come from Sale Document Item -> Account Assignment (subsreen: SAPLKACB)

Thanks and regards,

Well

1 ACCEPTED SOLUTION

Former Member
0 Kudos

What is your requirement ?

generally i used to write in MV45AFZZ,MV45AFZB,MV45AFZC Includes

Thanks

Seshu

6 REPLIES 6

Former Member
0 Kudos

Hi

For sales Order, instead of using the other user exits better to use the Standard Include MV45AFZZ of the sales Order Main program SAPMV45A

in this include use the correct place FORM...ENDFORM.. based on the requirement

If you need see the further exits and BADI's related to VA01/VA02

Enhancement

V60F0001 SD Billing plan (customer enhancement) diff. to billing plan

V46H0001 SD Customer functions for resource-related billing

V45W0001 SD Service Management: Forward Contract Data to Item

V45S0004 Effectivity type in sales order

V45S0003 MRP-relevance for incomplete configuration

V45S0001 Update sales document from configuration

V45P0001 SD customer function for cross-company code sales

V45L0001 SD component supplier processing (customer enhancements)

V45E0002 Data transfer in procurement elements (PRreq., assembly)

V45E0001 Update the purchase order from the sales order

V45A0004 Copy packing proposal

V45A0003 Collector for customer function modulpool MV45A

V45A0002 Predefine sold-to party in sales document

V45A0001 Determine alternative materials for product selection

SDTRM001 Reschedule schedule lines without a new ATP check

SDAPO001 Activating Sourcing Subitem Quantity Propagation

Business Add-in

BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073

BADI_SD_V46H0001 SD Customer functions for resource-related billing

<b>Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos

Hi,

u can find thease in enhancement <b>ACCOBL01</b>

<b>Reward points</b>

Regards

0 Kudos

Hi Kiran,

I find the same enhancement by search Package - GKNTCORE, what is your way to find it out?

However, this enhancement doesn't solve my question!

by the way, thanks!

Well

Former Member
0 Kudos

What is your requirement ?

generally i used to write in MV45AFZZ,MV45AFZB,MV45AFZC Includes

Thanks

Seshu

0 Kudos

Dear Seshu,

I want to make some checking on "WBS Element" (COBL-PS_POSID) on VA02 -> Sale Document Item -> Account assignment.

I am trying to use MV45AFZB -> Form USEREXIT_CHECK_VBAP

However, after I prompt up an ERROR message, all input field become non-modifiable, I am try the following code to resume the screen-input parameter, but it can not work:

loop at screen.

if SCREEN-NAME = 'COBL-PS_POSID'.

SCREEN-INPUT = 1.

MODIFY SCREEN.

exit.

endif.

endloop.

MESSAGE E026(Z_MM_MESSAGE) with COBL-PS_POSID.

I find that the Account Assignment screen is SAPLKACB screen 1006, but user exit MV45AFZB is under SAPMV45A... they are diff program.

My question is how to enable user to change "WBS Element" after raising an Error message?

Thanks,

Well

0 Kudos

I am not sure whether my logic works or not

Screen internal table logics works only MV45AFZZ Include ,other than this you should not use loop at screen.

FORM USEREXIT_FIELD_MODIFICATION.

enform. -> this is available

why don't you try in MV45AFZZ ?

FORM USEREXIT_SAVE_DOCUMENT_PREPARE.

-> write the code here

ENDFORM.

I did not try this logic,you can try

in other way you can use export and import parameter between MV45AFZB and MV45AFZZ

before raising error message at MV45AFZB ,use export parameter some flag = 'X' in MV45AFZB

now

in MV45AFZZ in form modification.

import

if flag = 'X'.

loop at screen.

use your logic.

endloop.

Thanks

Seshu