Skip to Content
0
Former Member
Nov 05, 2012 at 10:56 PM

Routine Outputs in NACE

128 Views

Hello All,

I am stumped on something I feel should be easily developed. I am wanting to supress NEU outputs on purchase order create but let them go on purchase order change for a particualr vendor. This is a short lived solution that will be viable for only a few weeks.

Here is where I am at:

I have enhanced the following routine 101 under NEU.

In particular KOBED_101 and KOBEV_101

My code looks like the following:

IF ( XNAST-PARNR = 'VENDORNUMBER' ).
IF ( KOMKBEA-DRUVO EQ NEU ).
SY-SUBRC = 4.
ENDIF.
ENDIF.


This works on the intial create and supresses the print output but doesnt work on the changes. Its not proposing the changes to print is there something that I am missing?