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

User Exit for VA41 Validity Date

Former Member
0 Likes
678

Hi,

I am giving order type in VA41 Tcode and then Clicking on 'Create with Reference' .Then a Pop Up is getting generated. In this i am giving Contract created with validity date lessthan today's date(in Contract Tab).For Example i created a Contract xxxxxx with 'valid to' 9.12.2008. When I am giving this contract and clicking on 'Copy' button a Warning message is getting generated 'The sales document is only valid until 09.12.2008'. Now i have to change this into Error message instead of Warning Message.

i used User Exits mv45afzz,MV45AFZA,MV45AFZB. But the debugger is getting started only after Warning message got generated.Is there any User Exit for which debugger gets started when i give the Contract and then Click on 'Copy' button. Please Suggest.

Thanks

K Srinivas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
549

Hi,

Create a file say breakpoint.txt file as follows:-

[FUNCTION]

Command=/H

Title=Debugger

Type=SystemCommand

Once you come to the screen of 'Create with reference' where you are giving the contract, from second session drag the above mentiuoned file to the session where you are running VA41, & drop it here. Now debugger has been activated. Proceed with debugging. This method you can use for any of the 'POP UPs'.

I hope this helps,

Regards

Raju Chitale

Hi,

I am giving order type in VA41 Tcode and then Clicking on 'Create with Reference' .Then a Pop Up is getting generated. In this i am giving Contract created with validity date lessthan today's date(in Contract Tab).For Example i created a Contract xxxxxx with 'valid to' 9.12.2008. When I am giving this contract and clicking on 'Copy' button a Warning message is getting generated 'The sales document is only valid until 09.12.2008'. Now i have to change this into Error message instead of Warning Message.

i used User Exits mv45afzz,MV45AFZA,MV45AFZB. But the debugger is getting started only after Warning message got generated.Is there any User Exit for which debugger gets started when i give the Contract and then Click on 'Copy' button. Please Suggest.

Thanks

K Srinivas

2 REPLIES 2
Read only

Former Member
0 Likes
550

Hi,

Create a file say breakpoint.txt file as follows:-

[FUNCTION]

Command=/H

Title=Debugger

Type=SystemCommand

Once you come to the screen of 'Create with reference' where you are giving the contract, from second session drag the above mentiuoned file to the session where you are running VA41, & drop it here. Now debugger has been activated. Proceed with debugging. This method you can use for any of the 'POP UPs'.

I hope this helps,

Regards

Raju Chitale

Read only

Former Member
0 Likes
549

answered