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

any ok code which does not effect anything?

Former Member
0 Likes
387

Hi,

In VA02 transaction in sales tab table control there is a column 'Reason of rejection' as list box.

my requirement is when ever the reason has changes i have to trigger some code. for that i have assigned function code(REJCT) to that list box and written code. now the logic is working but in the end it is given an error message.

'Request function REJCT is not available here'.

so i cleared the function code in the end of my logic then i am getting the follwoing error.

'Flow control: entry SAPMV45B, , ,,*,is missing in T185

Can any body know how solve this.

Thanks in advance,

sudheer. A

Message was edited by:

sudheer Addepalli

2 REPLIES 2
Read only

Former Member
0 Likes
350

Hi,

You can use the userexit userexit_check_vbap which is available in the include MV45AFZB...

There you can check if the Reason for rejection changed..Then trigger your code..

Ex..

if vbap-augru <> *vbap-augru. " Previous reason for rejection.

***Trigger your code..

Endif.

Thanks

Naren

Read only

naimesh_patel
Active Contributor
0 Likes
350

This Table T185 contains the FLOW logic data for the screens.

You need to have the control of the SAPMV45B.

Look at the FM SCREEN_SEQUENCE_CONTROL to make control of the screen.You can also check the Tocde VFBS for more information.

Regards

Naimesh Patel