Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

problem in BDC

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

former_member196280
Active Contributor
0 Kudos

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

0 Kudos

It is not passing to the screen if i hardcode the value also...

Regards,

Sai

0 Kudos

Just do the re recording of your transaction and then you can see what would have been missed in your code.

Regards,

Atish