03-31-2009 9:32 AM
My requirement says that if BDC sessions are generated by the process, they are to be submitted with the prefix of HR_TSD. I am not able to understand this requirement. Anyone Pls explain.
Thanks in advance.
03-31-2009 9:48 AM
If ur program process BDC data using the session method, then need to be create session name starting with HR_TSD_XXXXXX (name of the session is Mat_create, then it would be HR_TSD_mat_create)
03-31-2009 9:35 AM
Hi,
i guess they are asking to create the session with starting HR_XXX..
Regards,
Pavan
03-31-2009 9:40 AM
Define a parameter on selction screen for session name and use it .
PARAMETERS:p_fname LIKE rlgrap-filename OBLIGATORY,
p_group LIKE apqi-groupid OBLIGATORY.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
* DEST = ' '
group = p_group
holddate = v_date
keep = 'X'
user = sy-uname
* RECORD = ' '
prog = sy-cprog.
* IMPORTING
* QID =
* EXCEPTIONS
* CLIENT_INVALID = 1
* DESTINATION_INVALID = 2
* GROUP_INVALID = 3
* GROUP_IS_LOCKED = 4
* HOLDDATE_INVALID = 5
* INTERNAL_ERROR = 6
* QUEUE_ERROR = 7
* RUNNING = 8
* SYSTEM_LOCK_ERROR = 9
* USER_INVALID = 10
* OTHERS = 11.
.
03-31-2009 9:48 AM
If ur program process BDC data using the session method, then need to be create session name starting with HR_TSD_XXXXXX (name of the session is Mat_create, then it would be HR_TSD_mat_create)
03-31-2009 10:03 AM
What is BDC sessions ? How is BDC sessions created ?
Is it in any related to back ground submission using FMs job_open , job_submit , job_close ?
My Func Spec requirement shows a button in the Selection Screen with text 'Session Overview' which also says that 'Provide Session button if tech specs indicate creating BDC sessions ' .
Pls help.Thanks
03-31-2009 10:08 AM
Hi,
For BDC session method, we call 3 function modules (BDC_OPEN_GROUP, BDC_INSERT, BDC_CLOSE) we pass the session name in BDC_INSERT FM and program will generate a session with the name provided in the FM, and this can be viewed in SM35 after running the programs...
Hope its clear!!
Regards,
Pavan
03-31-2009 10:32 AM
HI,
The Batch Input is a SAP technique that allows automating the input in transactions from the NON-SAP environment to SAP environment. It lies on a BDC (Batch Data commands) scenario.
BDC FMs:
· BDC_OPEN_GROUP : Opens a session group
· BDC_CLOSE_GROUP : Closes a session
· BDC_INSERT : Insert a BDC scenario in the session
Regards,
Manee
03-31-2009 10:35 AM
BDC session process flows with three FMs BDC_OPEN_GROUP, BDC_INSERT & BDC_CLOSE.
as per your requirement u need to process the session in the back ground, using the program RSBDCSUB, which process the sessions in the back ground. once session processed in the back ground, ur prog. need to be display the session over view.