‎2013 Sep 17 12:00 PM
Hi all,
i want to create and integrate a new segment to an iDoc:
1. Copy the FM affiliated to the original BAPI. Extending the interface by creating a new table(for the new segment)
2. Creating a sub-objecttype in BOR. CHanging the concerned method. Delegating the new FM. Customizing the programm.
3. Generating BAPI-ALE-Interface from the changed BAPI.
The new interface can be created but without the new segment...
I also can't find the additional parameter of the changed method in the created object-type.
Where am i going wrong?
‎2013 Sep 17 12:56 PM
which IDoc you want to extend ? Inbound / Outbound ?
Normally you create the segment and release it with TC we31
Create an extension with WE30 and use the previous created segment and release the extended IDoc.
In the Custom (Z) Function module you perform the logic with your custom fields from the extension and call the right bapi or other program/function module to process your data.
Outbound you use the (z) function module to fill the IDoc segments
‎2013 Sep 17 2:28 PM
Thanks for your answer, but its an IDOC generated by an BAPI.
So the segment would not be generated by WE31, but intern.