‎2008 Aug 07 12:24 PM
Hi,
im using bdc call transaction method ..when i run it foregorund its working ok but in the background it doesnt..
plz advise..
regards
‎2008 Aug 07 12:25 PM
‎2008 Aug 07 12:27 PM
check u have put mode as no display or all screens disply (N or A).
make it N.
‎2008 Aug 07 12:28 PM
Hi Brightside,
Hope the below threads clear your queries:
https://forums.sdn.sap.com/click.jspa?searchID=14948501&messageID=5553624
Have A Good Day
Chaitanya.
‎2008 Aug 07 12:29 PM
Use Error Mode .
SO that it will stop at Error screen.
CALL TRANSCTION TCODE using BDCDATA MODE 'E'....
‎2008 Aug 07 12:29 PM
Hi,
see the message table 'BDCMSGCOLL' while running it in backgroud.
Run the program in mode 'E'.
Hope it helps you.
‎2008 Aug 07 12:31 PM
Hi there,
thanks for your replies ...
when running in mode A(foreground) its working alright.
when running in mode N( back ground) its not working for some reason.
‎2008 Aug 07 12:42 PM
Hi There.
I would like to suggest,
If In Foreground, There is no problem which means that the program is running fine.
If there was any error in the BDC program, It could have easily rectified by running in 'E' or 'A' mode.
But, While delivering the object to the client we keep in 'N' mode.
Apart from this, In the case of Background job these modes will make no meaning as in foreground there were no errors.
Possibly, the cause may be the scheduling of the background jobs.
I suggest, In BDCMSCOLL the error messages can be found out or are stored.
Check these messages after running the BDC program in background.
This will be very vital in the analysis.
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
‎2008 Aug 07 12:59 PM
hai,
in the final o/p screen u give the mode as 'N'. then it wil defnitely work in background.
with regards,
R.Dhineshraj.
‎2008 Aug 07 1:07 PM
Hi,
Your bdc is doing well in foreground means your program is OK. But in Background which is not work well, this is means your background seheduling is not proper way.
check bdcmsgcoll table carefully and identify where acctually problem happen.
also you use Mode 'E' in Call Transaction.
bye
Tarapada
‎2008 Aug 07 3:42 PM
hi guyz,
thanks for ur replies..but still not working ..i tried with mode E it goes to initial screen and saves with out going any further..i recorded the bdc again but ima gettin same ..this is the bdc im using
FORM delete_hu USING p_vbelv.
PERFORM clear_bdc.
PERFORM bdc_dynpro USING 'SAPLHU_PACKING_STATION' '0010'.
PERFORM bdc_field USING: 'BDC_OKCODE' '=ENTR',
'BDC_CURSOR' 'HUM_PROFILE_S-PAKING_STATION',
'HUM_PROFILE_S-PACKING_STATION' 'DELIVERY01'.
PERFORM bdc_dynpro USING 'SAPLHU_PACKING_STATION' '1000'.
PERFORM bdc_field USING:
'BDC_OKCODE' '=ENTR',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1010SUBOBJKEY',
'BDC_CURSOR' 'GF_DELIVERY',
'GF_DELIVERY' p_vbelv,
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1020SUBHU',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1051SUBWIEGEN',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1030SUBTAB',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1060SUBSCANNER'.
PERFORM bdc_dynpro USING 'SAPLHU_PACKING_STATION' '1000'.
PERFORM bdc_field USING:
'BDC_OKCODE' '=DELHU',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1010SUBOBJKEY',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1020SUBHU',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1051SUBWIEGEN',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1030SUBTAB',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1060SUBSCANNER',
'BDC_CURSOR' 'GF_SCANBARCODE'.
PERFORM bdc_dynpro USING 'SAPLHU_PACKING_STATION' '1000'.
PERFORM bdc_field USING:
'BDC_OKCODE' '=SAVE',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1010SUBOBJKEY',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1020SUBHU',
'BDC_CURSOR' 'GF_HU',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1051SUBWIEGEN',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1030SUBTAB',
'BDC_SUBSCR' 'SAPLHU_PACKING_STATION1060SUBSCANNER'.
CALL TRANSACTION 'HUPAST' USING bdcdata
MODE p_mode
UPDATE 'S'
MESSAGES INTO gt_messtab.
plz let me know if im missing something in it...
thanks
‎2009 Jul 02 7:20 AM
Hai Experts,
I have uploaded the image using the UI element file upload and then i need to see it using the UI element image when i clicking the button.
can u please tell me the solution?
with regards,
R.Dhineshraj.