Requirment – Update PO type whicle creation or change of PR /PO, based on a rule.
Steps : Create a CMOD project on the customer enhancemnt – CIFPUR02
Implement the exit FM : EXIT_SAPLMEPI_007
Include : ZXCIFU27
Implement the code based on requirment.
FIELD-SYMBOLS: <lfs_xeban> TYPE eban.
ASSIGN ('(SAPLMEPI)XEBAN') TO <lfs_xeban>.
IF ( <lfs_xeban> IS ASSIGNED ) AND <lfs_xeban>-pstyp ='XYTC'. "condition
cp_bsart = 'ZPOP'. "set doc type
ENDIF.






























