2008 Mar 06 10:02 AM
hi Frenz!
i am using a bdc, i can see the values getting passed to the bdc correctly during the debugging mode.
but when i try to process th bdc in the foreground the values are not visible on the screen. Can you please let me know the possible reason for this?
2008 Mar 06 11:31 AM
Hi,
After moving values to the bdc field use condense command.
I hope it will serve ur purpose.
hi Frenz!
i am using a bdc, i can see the values getting passed to the bdc correctly during the debugging mode.
but when i try to process th bdc in the foreground the values are not visible on the screen. Can you please let me know the possible reason for this?
2008 Mar 06 10:24 AM
Hi,
What are the format used in the screen and in your program ?
2008 Mar 07 12:42 PM
hi thanx for the prompt reply...
if you want you can take a look at the code that im using...
perform bdc_dynpro using 'SAPLHRHAP_UI_DOCUMENT_REPORT' '1000'.
perform bdc_field using 'BDC_CURSOR'
'HAP_S_DYNP_REPORT_1000-TEMPLATE_NAME'.
perform bdc_field using 'BDC_OKCODE'
'=DOIT'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-TEMPLATE_NAME'
'Appraisal Upload'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-APPER_TYPE'
'P'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-APPER_AND_APPEE'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-APPEE_TYPE'
'P'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-APPEE_NAME'
newpernr.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-OTHER_TYPE'
'P'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_1'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_6'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_2'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_7'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_3'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_8'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_4'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_9'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_5'
'X'.
perform bdc_dynpro using 'SAPLHRHAP_UI_DOCUMENT_REPORT' '1100'.
perform bdc_field using 'BDC_OKCODE'
'=ADM_STAT'.
perform bdc_dynpro using 'SAPLHRHAP_UI_DOCUMENT_ADMIN' '1400'.
perform bdc_field using 'BDC_CURSOR'
'HAP_S_DYNP_ADMIN_STATUS_CHANGE-NEW_STATUS'.
perform bdc_field using 'BDC_OKCODE'
'=STAT_DUMMY'.
perform bdc_field using 'HAP_S_DYNP_ADMIN_STATUS_CHANGE-NEW_STATUS'
'5'.
perform bdc_dynpro using 'SAPLHRHAP_UI_DOCUMENT_ADMIN' '1400'.
perform bdc_field using 'BDC_CURSOR'
'HAP_S_DYNP_ADMIN_STATUS_CHANGE-NEW_STATUS'.
perform bdc_field using 'BDC_OKCODE'
'=ENTER'.
perform bdc_field using 'HAP_S_DYNP_ADMIN_STATUS_CHANGE-NEW_STATUS
'5'.
perform bdc_dynpro using 'SAPLHRHAP_UI_DOCUMENT_REPORT' '1100'.
perform bdc_field using 'BDC_OKCODE'
'=XBACK'.
perform bdc_dynpro using 'SAPLHRHAP_UI_DOCUMENT_REPORT' '1000'.
perform bdc_field using 'BDC_CURSOR'
'HAP_S_DYNP_REPORT_1000-TEMPLATE_NAME'.
perform bdc_field using 'BDC_OKCODE'
'=XBACK'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-TEMPLATE_NAME'
'Appraisal Upload'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-APPER_TYPE'
'P'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-APPER_AND_APPEE'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-APPEE_TYPE'
'P'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-APPEE_NAME'
newpernr.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_1'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_4'
'X'.
perform bdc_field using 'HAP_S_DYNP_REPORT_1000-AP_STATUS_5'
'X'.
perform bdc_transaction using 'PHAP_ADMIN_PA'.
2008 Mar 07 12:47 PM
which of these values are not shown on the screen?
Regards,
Atish
2008 Mar 06 10:28 AM
Are you trying to pass values which are not character field. BDC will only accept character type data. Convert other data types to character before passing to BDCDATA table.
2008 Mar 06 11:24 AM
i understand that and all the data that i am passing is character type data only..still it is not displaying the data on the screen.is theree any possibility that by missing a part of code or in the way the bdc is being executed is what is creating the problem...?
2008 Mar 06 11:31 AM
Hi,
After moving values to the bdc field use condense command.
I hope it will serve ur purpose.
2008 Mar 07 12:31 PM
thanx for ur reply vijay,
what i would like to know is do i have to use condense command each time i move the value to a field?
payal
2008 Mar 07 12:38 PM
Hi Payal,
You are not required to use CONDENSE if you are using the correct data type for field declaration.
Can you show your code and for which fields you are getting problem.
Regards,
Atish
2008 Apr 03 7:38 AM
thank you friendz the issue got resolved it was the issue with the test data and not the bdc.
2008 Apr 03 7:38 AM
thank you friendz the issue got resolved it was the issue with the test data and not the bdc.