cancel
Showing results for 
Search instead for 
Did you mean: 

bapi_goddsmvt_create

Former Member
0 Kudos

hello all!

i am trying to run this bapi through a test program.

i am trying to post movement type '311', with code = '04'.

i am getting an error that i cant overcome it, that the material, plant and storage location does not exist.

it comes from the fm good_movement_item_create

because its trying to find a record in table mard,

and cant find it.

what might be the problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Yifat,

This simply means that the material you are using is not defined for the plant and storage location you are using in this test program. You can use material master create transaction MM01 to extend the material for this plant and storage location combination. If your material is alreay extended for this plant you can easily extend it for the storage location using a simple transaction MMSC ( I think , I am not sure. Just try otherwise use MM01 only).

But I think for testing purpose, it will be simpler if you pick up a material, plant and storage location combination from MARD (using SE16) or even better look at table MSEG with movement tye 311 for existing material documents and use test data from there.

Cheers,

Sanjeev

Former Member
0 Kudos

i will try that.

but if i update transaction mb1b manually with the same

parameters, there is no problem.

thanks

yifat

Former Member
0 Kudos

Just make sure your plant and storage location are being passed in upper case. If they are then maybe you need to debug the BAPI to figure out what is causing the error.

Cheers,

Sanjeev

Answers (0)