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: 

Data Migration

Former Member
0 Kudos
147

Hi Group,

Here is a query for data migration.

Can i use both session and call transaction simultaneously in one program to upload records? How to achieve this???

5 REPLIES 5

amit_khare
Active Contributor
0 Kudos
112

You can do that, but why you wanna do that?

Also, if you try to upload same data in both one will fail.

Secondly, are you just creating the session or executing it too.

Otherwise , you can use both in the same program unless not pasing same data to them.

Regards,

Amit

0 Kudos
112

Yes amit i am trying to pass different data to both of them.

My idea is : i ll UPLOAD data into two ITABs and use one for the Session and other for the Call Transaction. For the session i ll give some group name in BDC_OPEN_GROUP. And after the session procedure i ll work for Call Transaction and UPLOAD data for ITAB2 and do the

CALL TRANSACTION 'TCODE' USING ........ MODE 'A'......

Then I ll Execute. Here how it ll do like will it upload the data for call transaction at execution and then i ve to go for SM35 to execute the session created for Session method in OPEN GROUP??

0 Kudos
112

Hi sam

Nice playaround in BDC!!

Yes, u can do the same, as written by u in the 2nd post.

And yes, the records of CALL TRANSACTION will get uploaded first. and then, u need to process the SESSION created in SM35. only then, the records created in the Group will get updated...

Reward points if this is useful

Regards

Message was edited by:

Blue moon

Former Member
0 Kudos
112

hi

good

no you cant do it,using LSMW you can use only one method at a time.

Thanks

mrutyun^

0 Kudos
112

Mrutyunjay i am not talking about LSMW. I am trying it in a custom program.