Open FI BTE 1030 & 2213 does not work in 6.20
R S
robinwug at yahoo.com
Tue Dec 2 17:50:38 EST 2003
Greetings all,
We have a productive workflow in 4.6c with a dialog step to post/park AP invoices using BDC call transaction FB60. We import the memory id 'OPENFI00001030E' to capture information if a document is posted and the memory id 'OPENFI00002213E' to capture info if a document is parked.
In 4.6c, the two memory ids return info about the posted and parked documents. However, the same code when upgraded to R/3 Enterprise (ext set 110) does not return any values in the memory id 1030, when a document is posted. If a document is parked, the IMPORT statement for memory id 2213 cause an ABAP dump with an error:
CX_SY_IMPORT_MISMATCH_ERROR
Error when importing object "T_VBKPF"
I have reviewed the OSS Note 336305 and it is not relevant as we do not use BKPF.CREATED events. Rather, we rely on the import parameters to indicate if a document was posted/parked. If no document is posted/parked, the tasks remains in the Inbox.
We use the following code:
CALL TRANSACTION w_tran_code
USING bdcdata OPTIONS FROM s_bdcopt
MESSAGES INTO i_messages.
IMPORT t_vbkpf FROM MEMORY ID 'OPENFI00002213E'.
READ TABLE t_vbkpf INDEX 1.
IF t_vbkpf-belnr NE space AND t_vbkpf-belnr NE '0000000000'.
* Update Export fields: Document was Parked
e_gjahr = t_vbkpf-gjahr.
e_bukrs = t_vbkpf-ausbk.
e_belnr = t_vbkpf-belnr.
ELSE. " Posted document:
IMPORT t_bkp1 t_bkpf t_bsec t_bsed t_bseg t_bset t_bseu
FROM MEMORY ID 'OPENFI00001030E'.
READ TABLE t_bkpf INDEX 1.
IF t_bkpf-belnr NE space AND t_bkpf-belnr NE '0000000000'.
* Update Export fields: Document was Posted
e_gjahr = t_bkpf-gjahr.
e_bukrs = t_bkpf-bukrs.
e_belnr = t_bkpf-belnr.
ELSE.
* Populate Export field "No_Action"
e_cancelled = 'X'.
ENDIF.
ENDIF.
I have reviewed the OSS Note 336305 and it is not relevant as we do not use BKPF.CREATED events.
I would greatly appreciate any help in resolving this problem. Thanks in advance.
Robin Sahasranam
World Bank
---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
More information about the SAP-WUG
mailing list