2009 Nov 23 7:01 AM
Hi Experts,
I have a program where two BDC sessions are recorded in two BDCDATA's for transaction MF50.
So there are two call transaction 'MF50' in a same program.
My problem is the 2nd BDC phase seems override the 1st part BDC. The 1st call transaction does't work.
Anybody have seen this before? how to solve it?
Thanks a lot.
Legend Lee.
2009 Nov 23 7:06 AM
Hi,
Refer:-
" 1st BDC code lines (appending BDCDATA)
CALL TRANSACTION <t-code> USING bdcdata.
REFRESH bdcdata.
CLEAR bdcdata.
" 2nd BDC code lines (appending BDCDATA)
CALL TRANSACTION <t-code> USING bdcdata.
Hope this helps you.
Regards,
Tarun
Hi Experts,
I have a program where two BDC sessions are recorded in two BDCDATA's for transaction MF50.
So there are two call transaction 'MF50' in a same program.
My problem is the 2nd BDC phase seems override the 1st part BDC. The 1st call transaction does't work.
Anybody have seen this before? how to solve it?
Thanks a lot.
Legend Lee.
2009 Nov 23 7:06 AM
Hi,
Refer:-
" 1st BDC code lines (appending BDCDATA)
CALL TRANSACTION <t-code> USING bdcdata.
REFRESH bdcdata.
CLEAR bdcdata.
" 2nd BDC code lines (appending BDCDATA)
CALL TRANSACTION <t-code> USING bdcdata.
Hope this helps you.
Regards,
Tarun
2009 Nov 23 7:09 AM
Avoid call transaction and use session method.
Have one BDC_OPEN_GROUP,
Multiple BDC_INSERT
one BDC_CLOSE_GROUP.
You should have multiple BDC_INSERT s for multiple transactions.
2009 Nov 23 7:16 AM
Hi Lee,
Run the 1st BDC in foreground, and see what is happening.
May be you have to put a check that if first BDC fails, do not execute 2nd BDC code.
Regards,
Nisha Vengal.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |