cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Delivery with standard Batch/Direct Input method?

0 Kudos

Hi,

Can we create delivery using LSMW with the standard Batch/Direct Input method?

If yes can you please suggest me how to do that.

Thanks,

Monika

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Depending on your requirement, I would suggest using :

  • LSMW with DESADV IDOC input for inbound deliveries.
  • Function modules for outbound deliveries (can be called from LSMW as well).

Unless you have customer specific fields to fill in, in which case batch input would work better (assuming the fields are appearing in the background version of the screen).

Do you need direction with those suggestions ?

Former Member
0 Kudos

please be more specific with your requirement? Talking about inbound or outbound delivery? What's the business requirement? Looking forward to your reply. Thanks.

0 Kudos

Hi,

I want to create a LSMW that would create bulk outbound deliveries with multiple line items along with picking and PGI in the same.

Deliveries will be having different numbers of line item.

Thanks,

Monika

Former Member
0 Kudos

Monika, standard batch/direct input won't fulfill your requirement at this stage. In order to achieve this, would suggest you to go for BAPI and i believe in your case single BAPI isn't enough so better to create a Z* program with the help of your abaper or go for BDC and in it use following BAPI's of FM's step by step.

BAPI_OUTB_DELIVERY_CREATE_SLS (for delivery generation with reference to customer order)

BAPI_OUTB_DELIVERY_CONFIRM_DEC (to set PGI flag)

SD_DELIVERY_UPDATE_PICKING (for picking)

You can also use following FM's

RV_DELIVERY_CREATE

W_FRM_DELIVERY_CREATE_GENERAL

This wouldn't be much easy for you but not impossible to achieve however if you need any further help related to this, please feel free to ask. Thanks.