cancel
Showing results for 
Search instead for 
Did you mean: 

validation for reverse button(VL09) when document Status P (Posted)?

Former Member
0 Kudos

Hello All,

Tcode:VL09

In reversal process of PGI

when user click on reverse button Then   System will generate message

“Excise invoice already done, please reverse excise invoice first”.

if Status is P (Posted)

Thanks in Advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member202818
Active Contributor
0 Kudos

Hi sam,

if the problem solved, please close the thread..

regards

Former Member
0 Kudos

In between Delivery Document and Excise Document there exists a Billing document , so ideally this Check should be implemented while reversing the Billing Document.

Can you confirm on this ?

Former Member
0 Kudos

Hello sir,

Thanks for reply.

But I want to check , when i press reverse button(VL09) system should check delivery document in j_1irg23d table(Excise invoice table ). if the Status is P then delivery document not reverse and message raise.

i am using table and standard prog. RVV50L09 ,

LIKP-VBELN= J_1IRG23D-VBELN

STATUS=P

 

Then

System will generate message

“Excise invoice already done, please reverse excise invoice first”.

its correct or not.

Former Member
0 Kudos
its correct or not.

I tried to give my views functionally , functionally thinking you should make a check at Billing doc level first.

Technically thinking , if I am not wrong you are going to Implicitly Enhance VL09 standard code and gonna place your Error Checking code there. It may be right you just implement your logic and check the same with your Functional Consultants.

I have done a very similar requirement for making a check while Reversing a Billing document and a discussion like this was made for that scenario also , that's why I suggested the same to you.

Please don't call me Sir

former_member202818
Active Contributor
0 Kudos

HI Sam,

Do an implicit enhancement at the beginning of form ' user_command' in program 'RVV50L09'.

Regards

Sreekanth

Former Member
0 Kudos

Thanks for reply ,

Please explain me details,

How i write code .

former_member202818
Active Contributor
0 Kudos

1. Press Spiral button as shown in snap

2.Edit->Enhancement Operations->Show Implicit Enhancement Options

3.Right click on the line shown

4.Give an Implementation name, say .. ZTEST

5.Now you will get an area here to write you code

6.Activate the implementation 

Former Member
0 Kudos

thanks for reply,

how i add Enhancement in under ,when 'WAST'  condition in Rverse button in RVV50L09.

former_member202818
Active Contributor
0 Kudos

No that you can't using implicit enhancement.

Write code at the beginning using IF.

if iv_ucomm = 'WAST'.

status check..

error mesage............. so control won't go down

endif.