09-10-2008 2:20 PM
hi i have developed a report which creates a session and i have to run the session in the same report i want to use the program RSBDCSUB using the syntax
SUBMIT rsbdcsub
USING SELECTION-SET 'zvariant'
AND RETURN.
now in the place of zvariant i am giving my session name(zbdc) is it the correct way please suggest me.
thanks,
srinu.
09-10-2008 2:23 PM
Do it this way.
SUBMIT rsbdcsub AND RETURN
WITH mappe EQ v_bdc_name. "BDC session name
Amandeep
09-10-2008 2:26 PM
hi,
submit rsbdcsub with mappe = '<session name>' and skip first screen
regards
padma
09-10-2008 2:58 PM
09-10-2008 3:00 PM
Open BDC session
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
group = p_sesion <<< Define session here
keep = 'X'
user = sy-uname
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.
09-10-2008 4:23 PM
Hi Srinu,
Use the statement below.
submit rsbdcsub with mappe = 'TEST1' AND RETURN.
Thanks,
Jyothi