Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

add field in Lean sales order in FPM on ehp4


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



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 :-(

Former Member
Former Member replied

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


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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question