problem in vl10b
the scenario is :
we are doing STO via :
vl10b (no PGI)
we wanted to reduce the three transactions for the end user ie vt01n vl02n and vi01 into a Bdc Program which can be called in the user exit after vl10b.
my primery requirement is i need an user exit to be triggered when i press save button in vl10b, but as per my knowledge i did not find any exit, but there is an exit EXIT_SAPLV50P_001 which triggers when i press PGI Button.IN the user exit i am running a bdc (3 t-code - vt01n , creating a PGI , and then running the transaction vi01).
after the exit is run the control comes out the exit and the regular pgi carries on. But at this point the pgi has already been created, so it will throw an error .
how can i resolve the issue.