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: 

Need to delete serial number from outbound delivery created in MIGO

0 Kudos
966

I need to remove serial numbers which are chosen while creation of outbound delivery in MIGO transaction.

I found the BADI LE_SHP_DELIVERY_PROC for removing the serial numbers. Please suggest some function module to delete serial number from OBJK which is saved against the outbound delivery.

DELETE_SERNR_LS FM has J_VORGANG which is a obligatory parameter.

4 REPLIES 4

Eileenwang
Discoverer
0 Kudos
685

Hello,

could you tell me if you have fixed this issue?

now I need to remove serial numbers from delivery , I tried the funtion DELETE_SERNR_LS but I dont know how to give value to parameter J_VORGANG 

0 Kudos
657

(Use of where-used search is mandatory when using  unreleased FM)
You could try a code similar to



 

    PERFORM sn_status_operation_determine(sapfv50w)
                                  USING    likp-vbtyp
                                           tvlk-aufer
                                           lips
                                           charx
                                  CHANGING lf_vorgang.

 

NB: Look via BS33 to operation with code starting with PMS

0 Kudos
175

I'm trying VORGANG = PMSA for delivery assignment removal, function works, but it's not reflecting to VL03N... 😞

0 Kudos
132

"DELETE_SERNR_LS" calls "SERNR_DEL_FROM_DOCUMENT"

but in order to actually delete you need to follow up with "SERIAL_LISTE_POST_LS"

and then update action such as commit work