07-11-2007 4:33 AM
Hi All,
I have a BDC prog in which i am recording transaction MB1C
PERFORM fill_bdc_data USING:
c_check 'SAPMM07M' '0421',
space 'BDC_OKCODE' '=NLE',
space 'MSEG-MATNR(01)' <fs_stock_data>-matnr,
space 'MSEG-ERFMG(01)' w_erfmg,
space 'MSEG-ERFME(01)' <fs_stock_data>-erfme,
space 'MSEG-LGORT(01)' <fs_stock_data>-lgort,
space 'MSEG-CHARG(01)' <fs_stock_data>-charg,
c_check 'SAPMM07M' '410',
space 'BDC_OKCODE' '=ENTE',
space 'DM07M-HSDAT_INPUT' <fs_stock_data>-hsdat_input.
endform.
I have used like above.
in debugging mode i cud see the values in BDCDATA structure but only one field production date(HSDAT_INPUT) value is not passing to screen,this is a mandatory field it is asking for that field.
What could be the problem??
Regards,
Sai Prasad
07-11-2007 4:37 AM
Hi Sai,
Just run your BDC in A mode and see if the value is passing or not.
If the problem is still there do the re recording using SHDB.
Regards,
Atish
07-11-2007 4:45 AM
Try doing like this.
'DM07M-HSDAT_INPUT' <b> <SOME HARD CODED VALUE></b>
If it works then see "HSDAT_INPUT" field type is equivalent to the itab field type.
If still have the problem, do re-recording and try.
Reward points to all useful answers.
Regards,
SaiRam
07-11-2007 4:49 AM
It is not passing to the screen if i hardcode the value also...
Regards,
Sai
07-11-2007 4:52 AM
Just do the re recording of your transaction and then you can see what would have been missed in your code.
Regards,
Atish