cancel
Showing results for 
Search instead for 
Did you mean: 

problem in vl10b

Former Member
0 Kudos

hello,

the scenario is :

we are doing STO via :

me21n

vl10b (no PGI)

vt01n

vl02n-PGI----->proforma billing.

vi01

ml81n

miro.

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi there,

This is possible through customizing. 1st be clear on the business process by checking when do they do picking. If it is before of after serial num assignment.

In that case 2st the serial num updation include should be called.

Then the picking. For this the include which calls for VT01 is to be called. Then the same code will also confirm the TO.

Then the packing should be called.

After packing, check if there are any other process like box - serial num assignment. If yes, include that step. Or call the PGI include.

What is advisible is to schedule a background job that runs every 1 hr to process all these.

If you want to call all these processes after save, then we need to include the above customizing steps in save user exit in SAPMV50A.

Check with your ABAPer to arrive at a feasible solution between background job or function call.

I feel that background job is better.

Regards,

Sivanand