04-05-2006 2:35 PM
G'day
Question:
How can I get my table EKKO-FIELD1 (EKKO_CIDB-FIELD1) to be updated during processing of idoc of type PORDCR101 using segment E1BPPAREX ?
Background information:
-I have extended EKKO_CIDB with FIELD1.
-This field do also pop up inside structure BAPI_TE_MEPOHEADER (since EKKO_CIDB is included).
-I send in Idoc of type PORDCR101 where I have the segment E1BPPAREX filled with: Structure: BAPI_TE_MEPOHEADER Value 1 : ________12345.
- the first part of Value 1 is blank since that is the key of the PO, but this is set to initial since this is the creation part of the PO.
Result: PO created isn't updated with my value in the extended field.
Tested if enhancement SAPL2012 could help me via functionexit EXIT_SAPL2012_001 or EXIT_SAPL2012_003. But with no success.
Best reg
Henrik
04-06-2006 8:48 AM
Solution found....
CI_EKKODB created with ZZFIELD1 (char20)
CI_EKKODBX created with ZZFIELD1 (char1)
Inside Idoc segment E1BPPAREX is added with data:
structure BAPI_TE_MEPOHEADER
value1 = " testtext"
structure BAPI_TE_MEPOHEADERX
value1 = " X"
(the initial blanks are for the PO-number key - this is initial when creating the PO)
Best reg
Henrik