We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-log-sd] How to auto-pick STO orders?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by Juan_Tamad (ABAP Developer)
on Apr 4 at 2:24 AM
Hi Experts,

Currently there is a program that auto-picks qty for CSO deliveries.
This program creates ZPIC (auto-pick) when ZPAK is detected in the order.
Now I want to include also STO orders to auto-pick a qty but the program can't select the STO and I don't know why.

Here's the code for it.
* Check if delivery document output type is ZPAK.
SELECT vsztp INTO g_vsztp FROM nast UP TO 1 ROWS
WHERE kappl EQ c_v2
AND objky EQ nast-objky
AND kschl EQ c_zpak
AND spras EQ c_e.
ENDSELECT.

I used the RSNAST00 to trigger the program.
Hope you can help.
__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
View this online
  
Most Popular White Papers

In the Spotlight
SAP Enterprise Mobility Webcast April 7, 2011 @ 12 PM EDT Register today!
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language