• May 11, 2026
  • Kishore Thutaram
  • 0

Update PO type for purchase requisition or purchase orders by using enhancemnt

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:  TYPE eban.
ASSIGN ('(SAPLMEPI)XEBAN') TO .
IF (  IS ASSIGNED ) AND -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