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: 

exbas value is not getting updated with the correct value

ajith_kumar10
Participant
0 Kudos


Dear experts

while I am creating ARE1 exc.base value is updating only with base price.

My pricing is as follow

pr00           1000

packing ch 1000

total            2000

bed12           240

ecs 2               4.8

secs1               2.4

bed, ecs and secs are flowing correctly in are1 but exc.base instead of 2000  it is showing only pr00 value 1000.

client requirement is that it should show 2000.

please give some solution.

regards

Ajith

1 ACCEPTED SOLUTION

prasanna_kumar4
Active Contributor
0 Kudos

HI

In Standard it is not possible , we need to go for Enhancement

1. Save Assessable value in Pricing ( V/08) with Subtotal 1

PR00           1000

packing ch 1000

Total           2000    1 ( Subtotal)

Always assign Sub total 1 to all pricing procedure so system will save the assessable value in EXBAS.

2. Write a logic in FM J_1I7_USEREXIT_CALC_EXC_BASE. ( SE37)


IF SY-TCODE = 'J1IIN'.

DATA: L_KZWI1 TYPE KZWI1.

SELECT SINGLE KZWI1

       FROM VBRP

       INTO L_KZWI1

       WHERE VBELN = VBELN

       AND POSNR = POSNR.

IF SY-SUBRC = 0.

EXCITM_BASE = L_KZWI1.

ENDIF.

check the full cycle

1 REPLY 1

prasanna_kumar4
Active Contributor
0 Kudos

HI

In Standard it is not possible , we need to go for Enhancement

1. Save Assessable value in Pricing ( V/08) with Subtotal 1

PR00           1000

packing ch 1000

Total           2000    1 ( Subtotal)

Always assign Sub total 1 to all pricing procedure so system will save the assessable value in EXBAS.

2. Write a logic in FM J_1I7_USEREXIT_CALC_EXC_BASE. ( SE37)


IF SY-TCODE = 'J1IIN'.

DATA: L_KZWI1 TYPE KZWI1.

SELECT SINGLE KZWI1

       FROM VBRP

       INTO L_KZWI1

       WHERE VBELN = VBELN

       AND POSNR = POSNR.

IF SY-SUBRC = 0.

EXCITM_BASE = L_KZWI1.

ENDIF.

check the full cycle