Application Development 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: 

BDC sessions

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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)

7 REPLIES 7

Former Member
0 Kudos

Hi,

i guess they are asking to create the session with starting HR_XXX..

Regards,

Pavan

GauthamV
Active Contributor
0 Kudos

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.
.

Former Member
0 Kudos

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)

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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.