cancel
Showing results for 
Search instead for 
Did you mean: 

Stock Transport Order (STO)

Former Member
0 Kudos

Hi All,

This is regarding Intra Comapny STO.

There are 2 plants KH01 & JS01.

JS01 - Receiving Plant

KH01 - Supplying Plant

JS01 raise the STO on KH01 plant.

For JS01 receiving plant in Set Up STO --> Define Shpping data for Plant.Here we have maintained Receving plant JS01 & Customer No.628 for the Sales org Inter.Company Sales Area KH01- C1 - D1.

We have also maintained 628 as customer for the supplying plant for the Sales Area KH01-C1-D1 & Kh05-C1-D1.

We have to Process the STO through Sales Area KH05-C1-D1,but by default system picks KH01-C1-D1.In the Stock Transfer Order (ME21N),we are not able to change the Sales Area in Shipping Tab.

Please suggest some inputs to solve the problem.

Thanks & Regards,

Hemant Patil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Hemant

Sales Area made of Sales organisationdistributio channedivision.

Check the sales area u have maintian in the supplying plant.

and which plant u r entering during STO creation.

If u r entering KH01 as yr supplying plant ( first screen - Plant)

then check sales area of the above plant.

Please check

Hope this will help you.

Thx.

Former Member
0 Kudos

Hi,

Thanks ROHIT & DWARKESH for your answer.

But when we want tp process through Sales Area KH01- C1-D1 again I have to change the setting the Supplying plant.

Is there any user exit or other way so that client can process through both the Sales Area.

Points will be rewared for the answer.

Thanks & Regards,

Hemant Patil

Former Member
0 Kudos

Hi

Hemant

Please create one Y/Z transaction and ask user to run when the sales are get chage. This way h/she can process for both the sales area.

This way u can use the logic

parameters : pwerks like t001w-werks obligatory,

pkunnr like kna1-kunnr obligatory value check,

pvkorg like t001w-vkorg obligatory,

pvtweg like t001w-vtweg obligatory,

pspart like t001w-spart obligatory.

start-of-selection.

data : i_t001w like t001w.

data : wkunnr(10) type n.

select single * from t001w into i_t001w

where werks = pwerks.

if sy-subrc = 0.

wkunnr = pkunnr.

i_t001w-kunnr = wkunnr.

i_t001w-vkorg = pvkorg.

i_t001w-vtweg = pvtweg.

i_t001w-spart = pspart.

modify t001w from i_t001w.

commit work.

Hope this will help you.

Answers (2)

Answers (2)

Former Member
0 Kudos

Go to Set up stock transport order in SPRO --->define shipping data for plants --->

For your plant KH01 make sure that the sales area is KH05-C1-D1,

Former Member
0 Kudos

Hi,

As per above query you have clearly stated that

'we have maintained Receving plant JS01 & Customer No.628 for the Sales org Inter.Company Sales Area KH01- C1 - D1.'

'We have to Process the STO through Sales Area KH05-C1-D1,but by default system picks KH01-C1-D1.'

This is because of your above assignment.

If you want sales area Kh05-C1-D1 in your PO for your receiving plant you have to maintain this in your shipping data for plant settings.

Hope this will help.

Thanks & Regards,

Former Member
0 Kudos

Hi SAP FC,

Thanks fro ur reply.

It does not work. We have tried with the above settings.

Regards,

Hemant Patil

Former Member
0 Kudos

HI,

check whether you have created your receiving plant as a customer for the above sales area & refer the same customer & sales area in your shipping data settings for your plant.

Hope this wil work.

Thanks & regards,