‎2011 Sep 01 1:50 PM
Hello Team.
We send the IDOC for the Basic Type PEXR2002, Message Type PAYEXT.
This IDOC doesn't fill the Segment E1IDBW1 (IDoc header - special instructions (INP) )
I'm review some notes(1164524) and said to fill this segment it's neccesarie config the IHC.
But doesn't have this functionality.
It's possible fill the segment E1IDBW1 in a user exit or any other enhacement at creation idoc moment?
My idea is used the FM
CALL FUNCTION 'GET_SEGMENT_POS_FOR_INSERT'
EXPORTING
I_BASIS_TYPE = ch_edidc-idoctp
I_EXT_TYPE = ch_edidc-cimtyp
I_SEGMENT_TYPE = 'E1IDBW1'
IMPORTING
E_INDEX = li_tabix
TABLES
IT_EDIDD = t_edidd
EXCEPTIONS
BASIS_TYPE_NOT_FOUND = 1
EXTENSION_NOT_FOUND = 2
EXTENSION_ERROR = 3
INVALID_IDOC_DEFINITION = 4
IDOC_ERROR = 5
INVALID_SEGMENT_TYPE = 6
INVALID_START_INDEX = 7
NO_MORE_POSITION = 8
TOO_MANY_SEGMENTS = 9
OTHERS = 10.
To Fill 2 constants in this segment.
Do you have any other idea?
Thanks
Edited by: David Lezama Gonzalez on Sep 1, 2011 2:51 PM
‎2013 Aug 08 7:41 PM
Hi,
Basically the segment E1IDBW1 will always be filled via user exit.
If you work with the IHC (In-House-Cash) application you have to fill
the E1IDBW1 segment as described in note 626577.
If you don't work in an IHC environment the following conditions must
be fulfilled:
1. The payment program has to fill certain fields (e. g. REGUH-DTAWS,
REGUH-DTWS1 - REGUH-DTWS4).
2. If this is fulfilled the payment data (REGUH, REGUP tables) will
be filled. The instruction keys will be moved to IDOC segment
E1IDKU3.
3. In user exit EXIT_SAPLIEDP_002 you can take over the instruction
keys from segment E1IDKU3 into E1IDBW1.
You may also read note 496663, this note explains about user exit
EXIT_SAPLIEDP_002 to populate this field in the idoc.
Also, you can check the note:
580321 - RFFOEDI1: BTE process 00002441 (Change IDoc)
REgards,
Cristiano