Enterprise Resource Planning PortalERPGenie.COM Enterprise Resource Planning Portal

   Advertise | Founder BLOG

Web ERPGenie.COM  Other Search Options

Home | Vote for us |

ERPGenie.COM -> SAP Technical -> ABAP -> Tips and Tricks -> Add fields to the PO communication structure

The communication structure to be maintained can be taken from table T681Z. Table T681Z can be displayed with Transaction SE16. Use 'B' for message determination and application EF for purchase order. The structure for purchase order communication is KOMKBEA.

Procedure:

  1. Include field ZZ<field> in the communication structure KOMKBEA. In this structure there is an include that is provided for additional fields. In this Include KOMKBZ you must include the field with the name ZZ<field>.
  2. The same field must also be included in structure KOMB in Include KOMBZ (the same procedure as under point 1).
  3. In table T681F use Transaction SM31 with key B, EF to add the same field.  As of Release 4. 0 you can use view V_T681F in Transaction SM30 for that purpose. Enter usage 'B', your application and field group '001'.
  4. In the message determination, the system runs perform USEREXIT_KOMKBEA_FILL. This perform is in program RVCOMFZZ.
    The source code should be changed as follows:
    FORM_USEREXIT_KOMKBEA_FILL.
      COM_KBEA-ZZ<feild> = <field-value>.
    ENDFORM.
    Any EKKO field with the following syntax can be used. COM_KBEA-ZZFIELD1 = COM_EKKO-field.
  5. After making this change, you must create a new condition table and an access sequence that contains the new field. If a new access sequence and condition table have already been created before changing the communication structure, this must now be deleted again.
    Points 1 to 5 must be carried out in sequence.
  6. Note that the syntax check in Include RVCOMFZZ can deliver errors. Check the entire function group (according to Note 2152).

Contact Us | Polls | Add URL | Contribute | About | Privacy | Terms | Feedback | Help!

Message Board | Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Genie Press | ERPTopSites | Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum | WorkflowGenie