Running VL10 in the background 13 Oct

Well, I recently found out that it’s not as simple as I thought.  The idea is in my test system, I wanted to create some deliveries in the background.  Seemed easy, at least that’s what I thought, until I played with it for a while and just couldn’t get it to do anything beyond showing me the list of deliveries.  Finally, I reached out to an old friend, and he pointed me to OSS note 310022.  Now, if you have questions, you can also refer to that note, but I’ll do my best to walk you through what you need to do.

Call Transaction VL10CUA for maintenance of the user roles.

blog01-01

Now, I just picked 5001 to copy.  Branch to the detail view of the user role and change the entry for
the F-code profile from “Display delivery list” to “Supply delivery
list”.

blog01-02

Be sure to change the change this one value.

Next, Call the desired Transaction VL10* and branch to the “User role” tab page. Do not use Transaction SE38 or VL10BATCH for variant maintenance of VL10*.  MY personal favorite is VL10G, but any of them will work.

Here, enter the user role that you have maintained for background processing.
Caution! If you use a user role with an F-code profile for the immediate creation of deliveries, you receive no dialog with a shipping due list but the deliveries are created immediately at the start of the selection!

Please note, if the user tab is grayed out, you will need to go to transaction VL10CU and make sure you check the box for allow assignment.  in VL10G, I needed to add this check box to 0003.

image

blog01-03

Now press save or branch to your variant and then you use VL10BATCH to schedule it.  and you are ready to go.

Thanks for reading,

============================================================================

补充一点:

5001 和0101 profile 的区别。

除了在layout和display上面不一样,最主要是delivery creation profile 0001和0101

image

VL10CUC: Maintain delivery creation profile for VL10*

delivery profile 0001: by sales order

image

是把SO里面所有符合筛选条件的item都用于创建DN,即使你选了某一个item, 那么创出来的DN也是SO里面所有的item.

delivery profile 0002: by selected items:

image

即你选哪个ITEM ,DN里面就会只显示该items.

image

这里一点要点<background>,否则闯出来的DN还是SO里面所有的item.

image

原文地址:https://www.cnblogs.com/chrisrockdl/p/11115243.html