I am maintaining output for billing docs via idoc.
Business has one more requirement as they want pricing date and billing date also in the segment.
Kindly provide help in this, how to maintain these changes.
Both the data must be available in the standard Invoice IDOC itself. Billing date is available in the segment EIEDK02(or E2EDK02 depending on version) - field Datum itself(header level) and the pricing date can be available in segment E2EDP02 (Item level). Check the documentation of this IDOC in t.code WE60 and IDOC data in t.code WE02.