on 05-12-2008 9:37 AM
How to get the document number from table bkpf into i_messtab while doing BDC for posting through F-63.plzz reply.
VERY URGENT..
Apply below code to fetch your docuemnt number
CALL TRANSACTION tcode USING bdcdata
MODE 'N'
UPDATE 'S'
MESSAGES INTO bdcmsgcoll.
LOOP AT bdcmsgcoll.
IF bdcmsgcoll-tcode = 'F-63'
AND bdcmsgcoll-msgtyp = 'S'
AND bdcmsgcoll-msgspra = 'E'.
WRITE bdcmsgcoll-msgv1. "Document number
ENDIF.
Close the thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can u try in the following way declaring the message structure with BELNR and proceed with the normal logic.
data: begin of i_messtab,
belnr like bkpf-belnr.
include structure bdcmsgcoll.
data: end of i_messtab.
Reward if helpful.
Chandrasekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.