Skip to Content
avatar image
Former Member

add field in Lean sales order in FPM on ehp4

Hi,

I've got a customer where they have a field on additional data B in VA01. We need this field on the lean sales order web dynpro screen. they customer are on Ehp4 at the moment.

I've appended the field to the two structures

TDS_HEAD_COMV

TDS_HEAD_COMC

and added the mapping in LORD_MAPPING.

I managed to get the field on the screen in the configuration. However when i add a value to the field and press enter, the value disappears. If i use the display sales order on an existing order with the value filled out, then the value is passed from the field in VBAK.

Can someone help me on what i am missing to get this working. The enhancement workbench for lean sales order is only from ehp5 :-(

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 12, 2013 at 02:37 PM

    Please share the details of the FPM application that your are using.

    Regards,

    Sahir.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I managed to find the correct answer.  I extended the structures TDS_HEAD_COMV and TDS_HEAD_COMC and did the LORD_MAPPING in SM30.

      Then added the field in the floor plan. Afterward i created an enhancement in Enhancement spot

      ENH_SPOT_LORD and BADI BADI_LORD_DO_PAI

      In method

      IF_BADI_LORD_DO_PAI~ADD_SUPPLY_LIST    Add to List for Single PAI Processing

      i filled in the code

      data: ls_supply type tds_field_supply.

         if iv_object_id eq 'HEAD'.
           clear ls_supply.
           ls_supply-field = '"Field to be added"'.
           append ls_supply to ct_supply.
         endif.