SESSION METHOD:
This method is used to transfer large amount of data (eg: >10,000 to 10 lakhs)
It is basically a 2 step process
Create a session
Process a session
Session: a session contains a group of records, which have to be transferred into SAP.
To create a session, we use the below function modules.
BDC_Opengroup
BDC_Insert
BDC_Closegroup
BDC_OPENGROUP: This function module is used to create a session with the below parameters.
client no = client no
user name = user name
group name = Session Name
Keep = ’X’
hold Date = session is locked until the specified date
Keep = ‘X’ , specifies the session to be available in the session queue for processing at a later point of time.
Just call the function module and provide the above parameters.
The session will be created
BDC_INSERT:
This function module is used to transfer the data from BDCDATA structure into the session.
Just call the function module and provide the transaction code name and BDCDATA internal table name.
BDC_CLOSEGROUP:
This function module is used to close the session which is created by function module BDC_OPENGROUP.
Once the session is created, we need to process the session.
Processing the session:
SM35 is the transaction code for processing the session.
Go to SM35
Select the session name. eg:ZSESS1
Click on process button.
Select either foreground or background or error mode, click on the process button.
The session will be processed.
Status of session:
To know the status or to know how many records are successfully processed, follow the below steps.
select the session name. eg:ZSESS1
click on the button Analysis
click on the tap Log.
it will clearly display all the messages whether each record is successful or error with clear meaningful messages.
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)
3 comments
Click here for commentsvery clear information.
Replythanks for uploading.
Thank you
ReplyShort But sweet personally, I really appreciate.
ReplyConversionConversion EmoticonEmoticon