cancel
Showing results for 
Search instead for 
Did you mean: 

how to include vendor catalog number on purchase order?

Former Member
0 Kudos

Is there a way to have the vendor catalog number print on the purchase order? Or does it have to be manually typed in each time in "Vendor mat. no." under the "Material Data" tab? Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

diana_dai
Active Participant
0 Kudos

Hello Vanessa,

If you are using ME21N to create a PO, the vendor material number (EKPO-IDNLF) will be determined in include LMEPOF5W:

---------------------------------------------------

... ...

    IF rekpo-ebelp NE space AND rekpo-idnlf NE space AND

       rekko-lifnr EQ ekko-lifnr.                           "530554

      lf_idnlf = rekpo-idnlf.

    ELSEIF aekpo-ebeln NE space AND aekpo-idnlf NE space AND

      aekko-lifnr EQ ekko-lifnr.                            "530554

      lf_idnlf = aekpo-idnlf.

    ELSEIF reban-banfn NE space AND reban-idnlf NE space AND

         ( reban-flief EQ ekko-lifnr OR                     "548217

           ( reban-flief EQ space AND

             reban-lifnr EQ ekko-lifnr ) ).

      lf_idnlf = reban-idnlf.

    ELSEIF kekpo-ebeln NE space AND kekpo-idnlf NE space AND

      kekko-lifnr EQ ekko-lifnr.                            "530554

      LF_IDNLF = KEKPO-IDNLF.

    ELSEIF FEKPO-INFNR EQ *EINA-INFNR.

      LF_IDNLF = *EINA-IDNLF.

    ENDIF.

    CH_IDNLF = LF_IDNLF.

  ENDIF.

--------------------------

As above, the vendor material number will be firstly taken from the reference doc. If there is no vendor material number found in the referece doc. system will take the data from the vendor master. Otherwise, you have to enter it manually in the PO item.

For the question that if it can be printed,  can check whether it is defined in print form MEDRUCK ( by using transaction code SE71).

Regards,

Diana

Answers (0)