Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

reg : call transaction

mallikarjun_vaja
Participant
0 Likes
496

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

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
470

loop at the table and call the call transaction code twice.. with diff company codes

Read only

0 Likes
470

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

Read only

0 Likes
470

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