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

PGI for Outbound Delivery BAPI or Function module which return material document number

Former Member
0 Likes
11,757

Hello All,

As i have requirement for POST Goods Issue for Out bound delivery , where i need the material document number to update hte Z-table , I have cross checked the few function modules : WS_DELIVERY_UPDATE , where it is not returning the material document number.  And it is not possible to with the BAPI :  BAPI_GOODSMVT_CREATE .. . Please let me know if you have any .

Thanks - Nag

4 REPLIES 4
Read only

gouravkumar64
Active Contributor
0 Likes
4,669

Hi,

Can you please try with WS_DELIVERY_UPDATE Like this way?

https://scn.sap.com/thread/1285426

Thanks

Gourav.

Read only

0 Likes
4,669

Thanks for the reply , As i mentioned i need the Material document number to update the Z Table in the current run in the program.  I need the document number while doing PGI.

Thanks - Nag

Read only

0 Likes
4,669

Hi,

As per this answered thread http://scn.sap.com/thread/839859

Calling WS_DELIVERY_UPDATE_2 works.  It will PGI the delivery which ultimately creates the material documents with the correct movement types.

So check that way.

Otherwise wait for some other suggestion.

Thanks.

Gourav.

Read only

tiago_silva118
Explorer
0 Likes
4,669

An options is using FM 'SD_SHIPMENT_POST_GOODS_ISSUE'.