‎2007 Aug 08 9:59 PM
Hi All,
I am uploading material type of UNBW using my conversion pogram in which bapi_material_savedata. While testing the bapi is returning an error "Field LGORT has been transferred inconsistently or is blank". But in my test file i am not using the filed LGORT. I did'nt understand why its giving error whether my program nor test file has that field.
Thanks
‎2007 Aug 08 10:17 PM
Are you saying that you are not entering either of the two optional parameters STORAGELOCATIONDATA or STORAGELOCATIONDATAX?
Or are you saying you are entering them without LGORT being filled out?
Rob
‎2007 Aug 08 10:21 PM
I am entering the stoage location with field lgpro. BUt in my code and test file i dont have any field by name lgort. But the Bapi is returning an error "Field LGORT has been transferred inconsistently or is blank".
‎2007 Aug 08 10:27 PM
Try putting it in BAPI_MARD-STGE_LOC and BAPI_MARDX-STGE_LOC (if you're using them).
Rob
‎2007 Aug 08 10:28 PM
‎2007 Aug 09 12:55 AM
Dear ben,
The reason why this is happening is that you are trying to define an Issue storage location (LGPRO) for a material when the material is not extended in that storage location..
You will need to create the storage view of the material in the store you are defining in the field LGPRO.
Cheers
Nitesh
‎2007 Aug 09 4:34 PM
‎2007 Aug 09 4:41 PM
‎2007 Aug 13 7:57 PM
In program for storage location lgpro field is passed which internally assigned to lgort. In the test file lgpro is null or blank. This makes lgort blank and forced to bapi to throw an error.