2008 Apr 04 1:34 PM
Hi,
I have created a BDC for creation of cost center (Tcode : KS01).
When i run BDC in forground, i m getting warning message for one of the field in Ks01 transaction,which i m bypassing by hitiing enter.
When i am running BDC i background it is getting failed because of this warning message.
please let me know what i suppose to do
2008 Apr 04 1:45 PM
do you use BDCMSGCOLL structure to catch the messages?
regards
2008 Apr 04 1:52 PM
hi
try by putting one additional ok code for ENTER in ur BDC prg.
perform bdc_field using 'BDC_OKCODE'
'/00'.
and write all code of OK_CODE under this.
then put that OK_CODE after code
perform bdc_field using 'BDC_OKCODE'
'<put OK_CODE>'.
rest prg remain same
reward if helpful.
2008 Apr 04 1:54 PM
OK Code varies from screen to screen. These are the below possible OK codes for transaction code <KS01>
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
2008 Apr 04 2:41 PM
Hi,
when we execute in background it doesn't care about the info messages and warning messages. i think u r missing some thing in the screen, analyze the error and pass the required info are take some corrective actions to avoid the message.
Thanks,
Rajinikanth