2008 Feb 06 4:13 PM
Hello all,
Can somebody explain me the following 2 statements.
komp-cepok = 'B'.
xkomv-fxmsg = '249'.
Where to configure the message 249?
Thanks,
Lavanya
2008 Feb 06 4:27 PM
Hello Lavanya,
For komp-cepok = 'B'.
B Expected price not correct
The message number will be filled depending of the condition.
This cannot be condigured. This is done via coding.
Regards,
Vasanth
Hello all,
Can somebody explain me the following 2 statements.
komp-cepok = 'B'.
xkomv-fxmsg = '249'.
Where to configure the message 249?
Thanks,
Lavanya
2008 Feb 06 4:27 PM
Hello Lavanya,
For komp-cepok = 'B'.
B Expected price not correct
The message number will be filled depending of the condition.
This cannot be condigured. This is done via coding.
Regards,
Vasanth
2008 Feb 06 4:32 PM
Hello Vasanth,
Thanks for the reply. 249 is a message number. This message number is from which message class. I have seen this statement in the code which already exists in a formula but i am not able to figure out where is this message stored.
Any ideas?
2008 Feb 06 4:34 PM
Hello,
Just double click on the message number it will takes to the meesage class.
If u r not able to figure it out. Paste the code here
Regards,
Vasanth
2008 Feb 06 4:43 PM
Here is the code.
* NEW CODE - Entered on August 10, 2004
data: maximum(3) type p decimals 2 value 500,
****Commented on December 29, 2004
*data: maximum(3) type p value 5,
difference(6) type p decimals 2.
* only continue if the pricing line item is greater than 0
check komp-kposn ne 0.
check: xkomv-waers = komk-waerk,
komp-prsfd = 'X'.
* Clear the expected price status
komp-cepok = ' '.
* Calculate the difference between the original claim amount (ZCBK)
* and the vendor accepted amount. The original claim amount was
* entered into subtotal B (komp-wavwr).
****Commented on Decemeber 29, 2004
*difference = ( komp-wavwr - xkomv-kwert ) / 100.
****No need to divide with 100 as the difference can store decimals !!!
if komk-kalsm eq 'ZIPBBP'.
**{ INSERT DECK900076 2
* komk-kalsm eq 'ZIPBBZ' or
**} INSERT
* komk-kalsm eq 'ZIPBM1' or
* komk-kalsm eq 'ZIPBM2' or
* komk-kalsm eq 'ZIPDEP' or
* komk-kalsm eq 'ZIPBBW'.
* In case of billbacks, if it is not entered take it from Original Claim
if xkwert eq 0.
xkwert = komp-wavwr.
xkomv-kwert = xkwert.
endif.
* Do not consider auto adjustment amount to determine the difference
difference = ( komp-netwr - xworkh ) - xkomv-kwert.
else.
difference = komp-wavwr - xkomv-kwert.
endif.
if difference lt 0.
difference = difference * -1.
endif.
* If there is no difference between the vendor accepted amount and the
* original claim amount, then the status will be set to 'X'
* (accepted amount was equal)
if difference = 0.
komp-cepok = 'X'.
*{ INSERT DECK900076 3
* elseif xworkg is initial.
* komp-cepok = 'B'.
* xkomv-fxmsg = '249'.
*} INSERT
* If there is a difference between the vendor accepted amount and the
* original claim amount, but it is within the tolerance, then the status
* will be set to 'A' (within tolerance but not adjusted)
elseif difference <= maximum.
komp-cepok = 'A'.
* If there is a difference between the vendor accepted amount and the
* original claim amount, and it is outside of tolerance, then the status
* will be set to 'B' (outside of tolerance, not adjusted)
else.
komp-cepok = 'B'.
xkomv-fxmsg = '249'.
endif.
2008 Feb 06 4:46 PM
Hello Lavanaya,
Ok I got it.
In Se38, give the report name and click display.
In the menu follow the path.
GO TO --> Messages. This will take to the message class.
Hope this will helps you.-
Regards,
Vasanth
2008 Feb 06 4:51 PM
Vasanth,
This is not a report. This is a formula RV64A910. And the messages option is disabled.
Any other ideas?
2008 Feb 06 4:54 PM
Hello,
What do you mean by Formular.
I cant find this in my system.
Vasanth
2008 Feb 06 4:56 PM
This is a pricing formula (Alternate calculation type) assigned to a condition in the pricing procedure. The pasted code is from that. You will not find it unless formula 910 is created and generated.
Thanks.
2008 Feb 06 5:00 PM
Ok, You mean to say that it is a Copy routine from the Tcode VOFM Right !!!
Do one thing .
Put the breakpoint at the point adn check value of the SY-MSGID.
Regards,
Vasanth
2008 Feb 06 5:20 PM
Message ID is VP. Any table to check the message 249 and this message ID VP? I tried most of the tables but I didnt find anything useful.
Thanks,
2008 Feb 06 5:25 PM
Hello Lavanya,
I got it.
The message ID is V1 and message number is 246.
V1 249 Customer expected price differs from net price for item &.
The table to find out the messages is T100.
<REMOVED BY MODERATOR>
Cheers,
Vasanth
Edited by: Alvaro Tejada Galindo on Feb 6, 2008 12:49 PM
2008 Feb 06 6:47 PM
Thanks Vasanth. It solved my problem. Where can I check that message on the sales document?
2025 May 19 7:16 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |