Application Development and Automation 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: 
Read only

Error from BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
734

Hi experts,

I am getting an error "Field LGNUM has been transferred inconsistently or is blank " from BAPI_MATERIAL_SAVEDATA.I am giving data to bapi structure like

........................

.....................

la_warehousenumberdata-whse_no = gt_upload_crea-lgnum.

la_warehousenumberdatax-whse_no = gt_upload_crea-lgnum.

.................................

.............................

Please help.

Regards,

Ajish John.

5 REPLIES 5
Read only

Former Member
0 Likes
650

change below line

la_warehousenumberdatax-whse_no = gt_upload_crea-lgnum.

TO

la_warehousenumberdatax-whse_no = 'X'.

Regards,

Atish

Read only

0 Likes
650

Hi Atish,

I tried by changining like this then I am getting other error message like,

Key fields for user data WAREHOUSENUMBERDATA and checkbox structure WAREHOUSENUMBERDATAX are different.Please help.

Thanks,

Ajish John.

Read only

0 Likes
650

Hi,

I think Atish wants you to make both of them like that

la_warehousenumberdata-whse_no = 'X'.

la_warehousenumberdatax-whse_no = 'X'.

Regards

Read only

0 Likes
650

HI all,

This thread is moved to ABAP Data Transfers section.So I am closing it here.

Thanks,

Ajish.

Read only

rahul2000
Contributor
0 Likes
650

What ur transfering might not be correct...check u r flat file