Skip to Content
0

Generate STO at the time of GR

May 31, 2017 at 01:45 PM

126

avatar image

Hi All,

We have scenario like this,

Plant - A and Plant B under same company code

Always procure stock at Plant-A and send it to Plant- B.(Meaning procurement happens only at Plant- A).

  1. PR, PO is created at plant- A.
  2. GR is done at Plant- A.(Auto STO has to be created, receiving plant details can be fetched from Z field available in PR)
  3. STO has to be created for Plant - B to transfer stock from Plant - A to B.

Can anybody tell me how to create STO at the time of GR?

I have heard that it could be done through output determination with special function.

Please share the procedure to do the same.

10 |10000 characters needed characters left characters exceeded

Hi All,

Please help me in step by step procedure to configure for GR output determination with special function to create auto STO . and how to to link to BAPI_PO_CREATE1 to create auto STO.

Thank you.

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L
May 31, 2017 at 03:55 PM
1

Am I right that you expect a standard SAP functionality to look into your Z-field without doing any own further coding?

And you did not even get the situation right.

If the goods a send from plant A to plant B, then it is plant B who orders the material and plant B who receives the material, plant A has just a delivery.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello Jurgen,

Yes you are correct.

Plant A just delivers material to Plant B.

0
Harshesh Patel Jun 02, 2017 at 06:39 PM
0

I have seen such requirements typically in Pharma/Medical Device business especially when things are getting imported into US plants to support companies tax strategy.

There is no Standard Automatic way of performing STO creation based on GR posting. However, through custom development this is typically achieved. The suggested approach of using Output determination and use of Special Function only helps in enabling automatic triggering of a custom solution you may build.

So in short, I am not aware of any standard SAP solution and you will need to develop a custom solution.

Thanks

Harshesh

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Harshesh,

Thank you for the response.

Am looking for step by step procedure to link GR output determination with special function to BAPI_PO_CREATE1 to create auto STO.

0

You won't be able to use BAPI_PO_CREATE1 directly as it cannot be linked to Output Type directly. You will need to develop a program from within which you can call this BAPI. Pls take help of an ABAPer to model this new program like any "Print Program" except that instead of printing the "Form Routine" entered in configuration is calling BAPI_PO_CREATE1.

0