This website is not affiliated with, sponsored by, or approved by SAP AG.

[SOLVED] Delivery split - LE_DSP_ALL_STEPS

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: thx4allthefish, Snowy, Gothmog, YuriT

[SOLVED] Delivery split - LE_DSP_ALL_STEPS

Postby JuergenL » Thu Mar 23, 2006 3:30 am

Hi,

did someone use this FM already. We have the requirement to execute a delivery split from a Z*-program. Therefore I'm thinking of using this FM.

My question related to this is if it's possible to say manually:
- which items of lips should be splitted completely
- which items of lips should be splitted partly.

This is because we will not be able to use standard splitting profiles.

Any help appreciated...

Last edited by JuergenL on Tue Jul 25, 2006 6:55 am, edited 1 time in total.
JuergenL
 
Posts: 875
Joined: Wed Nov 13, 2002 8:08 am
Location: Cologne, Germany

Postby JuergenL » Thu Mar 23, 2006 8:31 am

Some advances I made myself

I'm able to split deliveries by
- it_res-vbeln = lips-vbeln
- it_res-posnr = lips-posnr
- it_res-akmng = 'A'
- it_res-vrkme = lips-vrkme
- it_res-lfimg = quantitiy to be splitted in new delivery

Now I got the problem that I'm not able to split a delivery until vbup-lvsta is initial or 'C' (we are using SAP WM). Any idea?
JuergenL
 
Posts: 875
Joined: Wed Nov 13, 2002 8:08 am
Location: Cologne, Germany

Postby JuergenL » Tue Jul 25, 2006 6:56 am

Had to it this way (in new task)

Code: Select all
  CALL FUNCTION 'LE_DSP_REMOTE'
    STARTING NEW TASK if_task
    PERFORMING lsplit_results ON END OF TASK
       EXPORTING
            if_batch              = if_batch
            if_simulate           = if_simulate
            if_confirm_decentral  = if_confirm_decentral
            if_pmode              = if_pmode
       TABLES
            it_res                = it_res
       EXCEPTIONS
        communication_failure     = 91 MESSAGE gs_dsp_decentral-rfc_msg
        system_failure            = 92 MESSAGE gs_dsp_decentral-rfc_msg
        error_message             = 98
        OTHERS                    = 99.

JuergenL
 
Posts: 875
Joined: Wed Nov 13, 2002 8:08 am
Location: Cologne, Germany

Hmmm

Postby Dr Sidewalk » Tue Jul 25, 2006 8:11 am

Just had a thought when reading this. Does tranx VLSP perform delivery splits?.

Perhaps you should also take a look at what FM's are being used by this transaction. A word of warning though, I don't know what version you're on but even in 4.6C there are at least 7 OSS notes related to performance against the VLSP and FM's related. Might be worth checking this if you get performance issues. ;]

Dr Sidewalk
"In the middle of difficulty lies opportunity" - Albert Einstein
"Money isn't everything in life, unless you don't have it"
"Fail to plan, plan to fail"
"Success is a journey, not a destination."
Dr Sidewalk
 
Posts: 3625
Joined: Mon Oct 21, 2002 11:06 am
Location: Everywhere...

Re: Hmmm

Postby hognoxious » Tue Jul 25, 2006 8:48 am

Dr Sidewalk wrote:I don't know what version you're on

Well who's to blame for that?
First he pinches my sig, Now he's cribbing my posts too!
hognoxious
 
Posts: 1399
Joined: Thu Dec 04, 2003 8:16 am
Location: Stuck in a pagoda with Tricia Toyoda

Postby JuergenL » Tue Jul 25, 2006 12:28 pm

We are on 4.6. And I copied the logic from SAP's implementation.

Performance? Transaction isn't live yet so I don't have an idea...
JuergenL
 
Posts: 875
Joined: Wed Nov 13, 2002 8:08 am
Location: Cologne, Germany

Re: [SOLVED] Delivery split - LE_DSP_ALL_STEPS

Postby snoopy99 » Thu Jun 28, 2012 2:39 am

I´m struggeling with FM LE_DSP_ALL_STEPS as well.
Unfortunately the technical documentation provided in OSS 205496 is not "good" enough for me. :?

I want to use this FM for a very simple scenario.
==> Just do a delivery split for one specific delivery item which is unpacked. I will provide the quantity which should be splitted into a new delivery.

What parameters I have to fill?
I want to use as less as possible.
I have "old" delivery number, "old" item number, split profile, quantity for the new delivery.

Or is there another FM with less functionality which could also be used?

Thanks,
Tobi
snoopy99
 
Posts: 1
Joined: Thu Jun 28, 2012 2:20 am


Return to ABAP

Who is online

Users browsing this forum: Google Adsense [Bot] and 27 guests




This website is not affiliated with, sponsored by, or approved by SAP AG.