cancel
Showing results for 
Search instead for 
Did you mean: 

User exit USEREXIT_ACCOUNT_PREP_KOMPCV call through condition contract settlement (WB2R_SV)

muhammadfahim
Explorer
0 Kudos
455

Hi,

Can you please tell me how I can pass value to new field in KOMPCV while making settlement of condition contract through WB2R_SV? I need purchase org (EKORG) field from document header and use it in account determination procedure. The user exit USEREXIT_ACCOUNT_PREP_KOMPCV is not called when settlement is run.

Please advise.

Thanks you.

Muhammad Fahim

muhammadfahim
Explorer
0 Kudos

Resolved by implementing enhancement spot: WLF_DOCUMENT_SPOT, BADI: WLF_ACCOUNT_DETERM_EXT

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member805601
Discoverer
0 Kudos

Hello,

Can you please provide more details on how did you accomplish this?

Did you add to change structures KOMCV, KOMKCV or KOMPCV to include new field there?

Then the enhancement is to read that from the document and fill the field there?

Thanks,

Susana Monteiro