2008 Jan 02 3:34 PM
hi,
i have a document no from one comp.code 0600
and i have another doc from another cocd 0500.
i need to check the amount for these doc's and if the amount is zero then i need to use tcode F-04 and run the bdc call transaction to clear these doc's.
when we manually use tcode F-04 and clear these 2 doc's ,
Two new documents will be genetraed on both comp.codes 0600 and 0500.
but when the Call Trasaction is finished I got a single doc
on 0600 comp.code. I checked itab (of type BDCMSGCOLL)
with message no :312..but there is only one doc .
how to get the other document on comp.code 0500??
in summary, after call transaction i want two new doc no's to be genetrated ...how to get this ??????
when we are getting 2 new doc's manullay using tocd f-04
why not using call transaction?
regrds
VAJA
hi,
i have a document no from one comp.code 0600
and i have another doc from another cocd 0500.
i need to check the amount for these doc's and if the amount is zero then i need to use tcode F-04 and run the bdc call transaction to clear these doc's.
when we manually use tcode F-04 and clear these 2 doc's ,
Two new documents will be genetraed on both comp.codes 0600 and 0500.
but when the Call Trasaction is finished I got a single doc
on 0600 comp.code. I checked itab (of type BDCMSGCOLL)
with message no :312..but there is only one doc .
how to get the other document on comp.code 0500??
in summary, after call transaction i want two new doc no's to be genetrated ...how to get this ??????
when we are getting 2 new doc's manullay using tocd f-04
why not using call transaction?
regrds
VAJA
2008 Jan 02 3:36 PM
loop at the table and call the call transaction code twice.. with diff company codes
2008 Jan 02 3:44 PM
hi,
which table has to be looped?
actually CAll T ransaction is working fine.
but I want to get the second doc no ?
where it will be stored?
regards
vaja
2008 Jan 02 3:48 PM
i have a document no from one comp.code 0600
and i have another doc from another cocd 0500.
loop at the above table ,...... table which have the doc number and comp code.
itab
doc code
1 600
2 500
loop at itab.
call transaction inputs itab-doc, itab-code.
endloop.
>mark helpful answers