Skip to Content
avatar image
Former Member

Problem of Discount Format at Order Confirmation Form /SMB40/SDORC_A

Hi all,

at the Footer of the MAIN Window, there is a ABAP Code block, "HD_FORMAT_QUNATITY", as:

  • This piece of code can change the percentage

  • value KOMVD-KBETR to the right format

  • Example: customer discount "4 percent"

  • in the database table, it is stored as 40.00-,

  • The following code can get the right format

  • 4,000-%

WRITE <KO>-KBETR CURRENCY <KO>-KOEI1 TO GV_KBETR .

It seems GV_KBETR will be shown on the print-out with correct value format. However, I found the format has not be changed and show a wrong one on the form, like 4% become 40.00-%.

Can anyone tell me what is the problem.

Cheers,

Simon

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 07, 2011 at 05:31 AM

    Hi Simon,

    Better post this is abap forums than Sd forums 1) Generally in table konv that will store 40.00 if it is 4 percent.Divide that percent with 10.If my understanding is wrong explain little more.2) Check the user parameters also.

    Regards,

    Madhu.

    Add comment
    10|10000 characters needed characters exceeded