AW: Open FI BTE 1030 & 2213 does not work in 6.20

Schmidinger, Heinz (Unaxis IT BZ) heinz.schmidinger at unaxis.com
Wed Dec 3 03:32:25 EST 2003


Hi Robin,
 
I don't know it exactly, but the ABUP-dump looks for me like a problem =
in
the declaration of t_vbkpf. Maybe the type has changed (in EXPORT).
 
Regards
 
 
Heinz
 
 
 
-----Urspr=FCngliche Nachricht-----
Von: R S [mailto:robinwug at yahoo.com]
Gesendet am: Dienstag, 2. Dezember 2003 23:51
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Open FI BTE 1030 & 2213 does not work in 6.20
 
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    =3D t_vbkpf-gjahr.
        e_bukrs    =3D t_vbkpf-ausbk.
        e_belnr    =3D 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    =3D t_bkpf-gjahr.
          e_bukrs    =3D t_bkpf-bukrs.
          e_belnr    =3D t_bkpf-belnr.
        ELSE.
* Populate Export field "No_Action"
          e_cancelled =3D '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