‎2011 Feb 04 5:26 AM
Hi friends,
In TCode VOFM, I have created two output types zet1 for shipment(V7) and another one is zet2(V3). but the print program is same which is assigned to nace for V7 and V3
in billing v3: if the routine(TCode VOFM) gives sy-subr = 4 then nace is not triggered it's working fine.
BUt(MY Problem), in shippment(V7): if the routine(TCode VOFM) gives sy-subrc =4 then the nace(print program) is triggered. How we can restrict.
Thanks & Regards,
Vallamuthu.M
‎2011 Feb 04 9:23 AM
Hi,
Two possibilities:
1. In tcode VOFM, when you do the entry for this subroutine, you have a field for this appl.
2. In the ABAP coding, set a check for the values of komkbv7 (for V7) and for komkbv3 (for V3). Or check the value of NAST-KAPPL or XNAST-KAPPL. Set a breakpoint and check what it's your best option to filter it.
I hope this helps you
Regards
Eduardo
‎2011 Feb 04 9:23 AM
Hi,
Two possibilities:
1. In tcode VOFM, when you do the entry for this subroutine, you have a field for this appl.
2. In the ABAP coding, set a check for the values of komkbv7 (for V7) and for komkbv3 (for V3). Or check the value of NAST-KAPPL or XNAST-KAPPL. Set a breakpoint and check what it's your best option to filter it.
I hope this helps you
Regards
Eduardo