cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script - transfer order

Former Member
0 Kudos

Hi Experts,

I need to modify the Script LVSTAEINZEL for Transfer order with shipping instructions used to assist the material handler in picking for shipment.

How can i make this script to be created when a transfer order is generated?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for all.

Former Member
0 Kudos

Hi,

I am sorry, I didn't understood your question completly

Do u mean ,,. You want to trigger Script when TO is created..

If so

1. TO o/p are depends upon Print code (field in TO header)

2. You need to setup relation between print code and movement

and Print code and script in transaction OMLV.

--> In OMLV assign Script name againisgt printcode " Print code" tab

and then

assign printcode in "Movement type" tab.

This wil automatically trigger your script..

Hope this helps, Let me know if u need any thing.. (correct me if i misunderstood your question)

Nag

Edited by: Naga Mohan Kummara on Dec 22, 2009 8:12 AM

Former Member
0 Kudos

Thank you for reply.

I have two conditions to be followed .

1) Changes to the following form if the requirement type (LTAK-BETYP) on transfer order is equal to L

-Add WM text field on the header from the shipment with a fixed box around text with 'special instruction' title.

- Add shipment number on header with 'shipment' title.

-add sourec and destination storage type descritption.

2)Changes to the following form if the requirement type (LTAK-BETYP) on transfer order is not equal to L.

-Add sourec and destination storage type descritption.

How can I follow these instructions?

Former Member
0 Kudos

Hi,

Create a copy script in (Eg ZLVSTAEINZEL)

assign the same as specified above.

In the mail window you can actually the below conditions.. The variabkeare directly available in script..

U can use Tcode LT31 for your testing and debugging purpose.

Nag

Former Member
0 Kudos

Hi Mohan,

You mean, After modifying form with above conditions can i directly execute using LT31

OR Do i need to change print program( because print program seems to be tough due to number of INCLUDES and i can't understand where to modify?

please help me out

Former Member
0 Kudos

Hi Kalandar,

Sorry i missed out this message,

yes You can use LT31 once you modify form and assign it to Warehouse and print code.

No need of any program changes... If some variable is not available or values not getting populated .. You can use PERFORM in Form to retrieve correct values.

Nag