‎2006 Oct 10 7:11 PM
hi Everybody
Please clear the following doubt.
"In call transaction how you code the two transaction codes in a single syntax? one transaction code output is input to the second trancsaction?How?". Thnxx in Advance.
‎2006 Oct 10 7:48 PM
I could not clearly understood ur requirement. Can you elaborate more precisely. Just a tip:
When your 1st call transaction is successful, the data should be available in DB for the 2nd transaction. Use Commit work and wait. This will update the data into DB and your 2nd transaction will be able to fetch the data from DB.
‎2006 Oct 10 7:20 PM
Hi,
Please always try to give some more details about your doubt. It helps you to get resolution in less time.
Once the first transaction is called, just use COMMIT WORK. Then the data will be saved in the system. So you can get the data from the database tables and you can use them in the second transaction.
Please let us know if this doesn't solve your issue.
Thanks,
Ramakrishna
‎2006 Oct 10 9:57 PM
Hi RamaKrishna
Thnaks for your reply. But what I wana to know is that wheter there is any method through which the output of one transcation can become the input for other call transaction. Like if we use call transaction VA05 to list the sales order and then we can pass this list to other call transaction to change the orders.
Regards
Varun Sanghi
‎2006 Oct 10 10:02 PM
Yes:
CALL TRANSACTION 'VA05' USING BDCDATA MODE U_MODE UPDATE 'S'
MESSAGES INTO MESSTAB.
MESSTAB will have all of the messages returned by the call including the sales order number.
Rob
‎2006 Oct 10 10:07 PM
Hi,
You can do that like Rob Burbank mentioned.
MESSAGES table contains the created sales order. You can use that in the subsequent transaction.
Thanks,
Ramakrishna
‎2006 Oct 10 7:20 PM
call first transaction. and If sy-subrc = 0. call second transaction.
In this way you are posting the first transaction data and if successfull then you are posting second trnsaction data.
hope this is helpful.
‎2006 Oct 10 7:48 PM
I could not clearly understood ur requirement. Can you elaborate more precisely. Just a tip:
When your 1st call transaction is successful, the data should be available in DB for the 2nd transaction. Use Commit work and wait. This will update the data into DB and your 2nd transaction will be able to fetch the data from DB.