‎2007 Sep 17 7:45 PM
Hi All,
This is first time I am working on BDC. Can you correct me if I did some mistakes in the process...
Here are the steps ..
1.I did recording for a transaction FB70. And I created a programme from that recording.
2. I did all validations, and I gave default Application server path for the input file in that programme.
3. I ran That programme.
3. It asking for session. I gave name for the session , and I click on execute button. Its giving
session Name xyz
open session return code 0
close session return code 0
4. I opened sm35. There I saw the session name. And I clicked on Process. Its asking for Fore ground/ back ground. For testing purpose I gave Fore ground.
its giving "Processing of batch input session completed"
if check on Log ' It giving "Log w/o session"
And I have another doubt ..
5. I created a session. I want to execute that session every day night @ 9.00 PM. Where to do all these setting and how to do that?
‎2007 Sep 18 8:53 AM
Hi priya..
When you check the Session in SM35(before processing) how many transactions it contain? You can see this by Selecting The session and clicking on Statistics button.
If the No of Transactions are 0 then it will give this error. Log w/o Session.
That means your file may not contain the Data.
And....
For Processing the Session periodically in Background
We have to Schedule the Program RSBDCSUB in Tcode SM36.
before that create a Variant for this program in SE38 with the Session name as input.
REWARD IF HELPFUL.
‎2007 Sep 17 8:44 PM
hello
go to se 38 execute this program RSBDCSUB and create variant
Sesstion Name
created on
session status
Target host
go to sm36
There is job wizard
on
1 step
Job name--zname
job class-- low , High Mediem
target server -current application server name
2 step
radio select ABAP program step
3 step
ABAP -program - RSBDCSUB
Vairnat - vairant that u have saved in RSBDCSUB program
next few steps u have decide accordingly
THanks
‎2007 Sep 18 7:12 AM
Hi Priya,
is your flat file contains any data in it..?
if yes please follow the steps here...
session name should be reffered as grouid in APQI table
Ex: v_session type APQI-GROUPID
and pass this session name in BDC_OPEN_GROUP fm
build the bdc structured data using bdcdata structure for the data which you are trying to upload the data(Flat file data) into SAP.
after creating the session you have to pass the BDC structured data into BDC_INSERT fm.
Close the session using BDC_CLOSE_GROUP fm.
<b>reward points if useful</b>
Chandra
‎2007 Sep 18 8:53 AM
Hi priya..
When you check the Session in SM35(before processing) how many transactions it contain? You can see this by Selecting The session and clicking on Statistics button.
If the No of Transactions are 0 then it will give this error. Log w/o Session.
That means your file may not contain the Data.
And....
For Processing the Session periodically in Background
We have to Schedule the Program RSBDCSUB in Tcode SM36.
before that create a Variant for this program in SE38 with the Session name as input.
REWARD IF HELPFUL.
‎2007 Sep 18 9:09 AM
Hi
<b>Procedural steps in data migration</b>
<u>Data Transfer Program</u>
1)Data Analysis
2) generate SAP structures
3) develop trasfer program
4) create sequential file
<u>BDC Program.</u>
5) create batch input program
6) process batch input data
7) nalyze results
😎 analyze error session
reward if usefull