Application Development 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: 

Routine not triggering

former_member200874
Participant
0 Kudos
1,662

Hi All,

I have coded a new routine and assigned to the output type as requirement in 'NACE' transaction. This routine stops IDOC triggering when the delivery document is changed. When we put break-point and test in Developemnt system, we could see that thi routine triggers and successfully stops IDOC triggering when delivery document is changed in 'VL02N' transcation.

This routine and configuration set up to assign the routine to output type has been transported to QA system in the landscape. But there it is not triggered.

And IDOC gets triggered when delivery is changed. What could be the reason for this? Any clue?

Please let me know what the issue is.

Thanks in advance.

Regards

Jawahar

1 ACCEPTED SOLUTION

Former Member
0 Kudos
287

Hi,

Hi,

If it is a VOFM routine...Then run the program RV80HGEN to activate the routines

The procedure to create the new VOFM.

1. Go to VOFM transaction

2. Page down until you find a new spot on the page to put in the VOFM number and description.

3. Put in the VOFM number and the description of the VOFM.

4. Now the VERY IMPORTANT part of the process. Double click on the VOFM description not the VOFM number to create this as a Development/Correction and not as a repair. If you double click on the number then this copies some existing code and prompts you for a repair.

5. Activate and generate the VOFM routine. Note: Configuration must be setup by the OM team for this step.

for example Go to the routine number that needs to be copied.

Put your cursor on the routine number field that needs to be copied.

Overwrite that number with your new routine number and hit enter.

The new routine will be created as a copy of the old routine and you can modify the new routine as you need it.

Ex.

You have to copy routine 104 to 904

Routine number Description Active

104 Bill.bus.item data X

Put your cursor on 104 and then change it to 904 and hit enter.

904 will be created as a copy of 104 and you can make your changes in 904.

Don't forget to activate it after you are done.

<b>*Reward points</b>

Regards

1 REPLY 1

Former Member
0 Kudos
288

Hi,

Hi,

If it is a VOFM routine...Then run the program RV80HGEN to activate the routines

The procedure to create the new VOFM.

1. Go to VOFM transaction

2. Page down until you find a new spot on the page to put in the VOFM number and description.

3. Put in the VOFM number and the description of the VOFM.

4. Now the VERY IMPORTANT part of the process. Double click on the VOFM description not the VOFM number to create this as a Development/Correction and not as a repair. If you double click on the number then this copies some existing code and prompts you for a repair.

5. Activate and generate the VOFM routine. Note: Configuration must be setup by the OM team for this step.

for example Go to the routine number that needs to be copied.

Put your cursor on the routine number field that needs to be copied.

Overwrite that number with your new routine number and hit enter.

The new routine will be created as a copy of the old routine and you can modify the new routine as you need it.

Ex.

You have to copy routine 104 to 904

Routine number Description Active

104 Bill.bus.item data X

Put your cursor on 104 and then change it to 904 and hit enter.

904 will be created as a copy of 104 and you can make your changes in 904.

Don't forget to activate it after you are done.

<b>*Reward points</b>

Regards