cancel
Showing results for 
Search instead for 
Did you mean: 

How to call LE_DSP_ALL_STEPS(fm) with "combine" parameter?

Former Member
0 Kudos

Hello,

I'd like to split some lips from a few delivers(in the same transport) and wrap it in new delivery, is it possible using LE_DSP_ALL_STEPS ?

I tried to do :

CALL FUNCTION 'LE_DSP_ALL_STEPS'
EXPORTING
if_combine = 'X'
IMPORTING
ef_subrc = ef_subrc
CHANGING
cs_split_wa = gs_split_wa

I filled cs_split_wa structure with data in the same way as it was done in implemented split feature of transaction vt02n , but when I was calling this fm, the subroutine "ccr_check_and_execute_shipment" module threw an exception in 212 line.

The problem is with CS_SPLIT_WA-RS-VBNUM, because I've 2 entries with the same dummy number ($3) and when the program perform instruction of read in loop of table VBNUM

READ TABLE wa-rs-trdas TRANSPORTING NO FIELDS WITH KEY
tknum = <ls_vbfa>-vbeln
vbeln = <ls_vbnum>-vbeln_new BINARY SEARCH.

the program get sy-subrc eqaul zero and insert entry with dummy number and tknum to CS_SPLIT_WA-RS-TRDAS, on the next iteration the perform is throwing exception.

Accepted Solutions (0)

Answers (1)

Answers (1)

Jelena
Active Contributor

Function module LE_DSP_ALL_STEPS is not released and you should not be calling it with any parameters.

I'm sorry but it's very hard to understand what exactly you are trying to achieve. Not sure if it's a case of "lost in translation" but "deliver" is a verb (noun would be "delivery") and it's not clear what "transport" has to do with all of this. The whole post is just very confusing...

Delivery Split is a standard SAP functionality that has been discussed numerous times on SCN. Google -> delivery split site:sap.com

P.S. Standard SAP terminology with translation can be found in STERM transaction.