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

BAPI_GOODSMVT_CREATE Dlv. type cannot be determined

0 Likes
1,488

Hello experts,

I trying to perform a post goods receipt with a PO using BAPI 'bapi_goodsmvt_create' (I want to simulate a MB01, I use gm_code = 01 in the bapi). I have the following error message:

Dlv. type (dlv. catgry  for mat. 704A46220023 and BWART 101) cannot be determined (message id = VL and message number = 295).

Do you have any idea where it comes from? I am quite new in ABAP and I am a bit lost with this message.

Thanks in advance for your help.

Lionel

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,334

Ask functional, did he define an entry for the delivery type to be used for replenishment deliveries in Customizing for delivery type determination for direct outbound deliveries. (Not actually an Abap problem ?)

Regards,

Raymond

PS: Look also at table T156Q

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,335

Ask functional, did he define an entry for the delivery type to be used for replenishment deliveries in Customizing for delivery type determination for direct outbound deliveries. (Not actually an Abap problem ?)

Regards,

Raymond

PS: Look also at table T156Q

Read only

0 Likes
1,334

Thanks for your answer Raymond!

In fact we want to post a material document but we don't want to create a delivery. Is it normal that we have to define a delivery type even if we don't want to create a delivery?

Thanks again!

Read only

0 Likes
1,334

That is a question for a SD functional (I'm not) but you could look for OSS notes or even raise a message to OSS if you consider it a bug.

Regards,

Raymond

Read only

Former Member
0 Likes
1,334

Hi Lionel,

don't worry!

Maybe the material is not enabled on this plant?

Did you try to book the Goods receipt in Transaction MIGO?

If you want to book it the same way the Transaction does you can make a breakpoint at "call function bapi goodsmvt_create" in Debugger mode and save/copy the data to se37.

In se37 you can test all the different values.

To undo the booking of 101 try 102 later on for tests.

Maybe also SAPNOTE 540185 can help you for the current Topic.

https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F6465...

BR

Bernhard

Read only

0 Likes
1,334

Rather old note this  540185 - VL295 for posting change (411/412) with delivery

Regards,

Raymond