Application Development 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: 

Is there a FM to post goods issues?

Former Member
0 Kudos

I have an already confirmed OT, and, instead of using a batch input in transaction <b>VL02N</b> I'd rather use a FM.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

JIT08_POST_GOODS_ISSUE

and

SD_SHIPMENT_POST_GOODS_ISSUE

these are the 2 FM related to that

reward if useful

8 REPLIES 8

Former Member
0 Kudos

Hi,

You can use the following BAPI for posting goods issue:

CALL FUNCTION 'BAPI_GOODSMVT_CREATE'

EXPORTING

goodsmvt_header = IT_HEADER

goodsmvt_code = '03' “MB1A

IMPORTING

materialdocument = V_MATDOC

TABLES

goodsmvt_item = IT_ITEMS

return = IT_RETURN.

Reward points if it is useful.

Regards,

Lavanya.

0 Kudos

Hello, Lavanya,

Sounds quite like it, but there is an enormous amount of fields in the tables. Could you indicate me which ones it is necessary to populate?

Thank you very much.

0 Kudos

Hi,

When you use BAPI function module (as Lavanya suggested one) just go thru the function module documentation there every thing is explained like what are the mandatory tables to be passed and mandatory fields to be given etc... and approach to pass the values.

Thanks,

Nageswar.

.

Former Member
0 Kudos

Hi,

Please check out these FM;

BAPI_OUTB_DELIVERY_CREATENOREF -> Generates Delivery Without Reference

BAPI_OUTB_DELIVERY_CREATE_SLS -> Generates Delivery for Customer Order

BAPI_OUTB_DELIVERY_CREATE_STO -> Generates Delivery for Stock Transport Order

Regards,

Former Member
0 Kudos

Hi

JIT08_POST_GOODS_ISSUE

and

SD_SHIPMENT_POST_GOODS_ISSUE

these are the 2 FM related to that

reward if useful

0 Kudos

I'm afraid those are from inadequate modules. I'm not working with just in time.

And I've tryed SD_SHIPMENT_POST_GOODS_ISSUE, but it doesn't work for me. So I gather there is something about my deliveries that doesn't fit with it. I get a message from the transaction called by the function:

<i>Item with material : Please specify the qty to be delivered.</i>

and the goods issue is not posted.

Thanks for your answer.

0 Kudos

Use FM - WS_DELIVERY_UPDATE FM ,I used many times this fm to post the goods issue.

It works great.

Thanks

Seshu

0 Kudos

Does work great. Thanks a lot, Seshu.