• May 11, 2026
  • Kishore Thutaram
  • 0

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.

Kishore Thutaram

SAP Solution Architect | 16+ Years' Experience in SAP | Sharing Practical SAP Knowledge | Engineering Graduate with Expertise in SAP Architecture

https://fiowelt.com