Application Development and Automation 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: 
Read only

ALV Invoice#

Former Member
0 Likes
407

Hi experts,

i have some isuue on ALV report(SD) on which i am strucked

The requirement is i want to display the Invoice no(vbrk-vbeln) for the delivery document in the grid

here iam getting invoice no but the problrm is : when iam creating a invoice it shows that invoice no ,but when i cancel the invoice it shows the same invoice no

ex:when Created the invoice it shows invoice no 100

when cancel the invoice it shows same invoice no 100

But i need some negative value for canceled invoice like ' -100'

pls help me to complete my task(it can be logic or any suggestion whther it is possible or not in ALV )

u can also mail ur great suggestion at [email protected]

Thanks in advance

Cordially

Barkath Shaik

Hi experts,

i have some isuue on ALV report(SD) on which i am strucked

The requirement is i want to display the Invoice no(vbrk-vbeln) for the delivery document in the grid

here iam getting invoice no but the problrm is : when iam creating a invoice it shows that invoice no ,but when i cancel the invoice it shows the same invoice no

ex:when Created the invoice it shows invoice no 100

when cancel the invoice it shows same invoice no 100

But i need some negative value for canceled invoice like ' -100'

pls help me to complete my task(it can be logic or any suggestion whther it is possible or not in ALV )

u can also mail ur great suggestion at [email protected]

Thanks in advance

Cordially

Barkath Shaik

1 REPLY 1
Read only

Former Member
0 Likes
333

loop at itab.

if cancel = 'X'.

price = price * -1.

endif.

modify itab.

endloop.

put like this , then u will get.

Regards

Prabhu