cancel
Showing results for 
Search instead for 
Did you mean: 

STO classic scenario SRM 4.0

Former Member
0 Kudos

Hi All,

We create SC that transferred to STO (Stock Transfer Order).

With the Classic Scenario(SRM 4.0) we use BBP_CREAT_PO_BACK.

A STO is created but the number of the STO is not displayed in SC.

Any suggestion ?

Thanks in Advance..

Moti

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi, has anyone implemented STO scenraios for SRM extended classic scenario?

Former Member
0 Kudos

Hi,

To enable STO scenario, you need to implement the BADI that modify PO data before sending it to R/3 (BBP_CREATE_PO_BACK or BBP_CREATE_BE_PO_NEW depending the version):

- switch the vendor to a supplying plant in PO header

- replace item category at line item to category U

- replace doc type with order type UB

Rgds

Christophe

Former Member
0 Kudos

Hi Christophe

I) In CS - Did you use the scenario were a SC is transferred to a STO in R/3?

II) In ECS - Did you use the scenario were a SC is transferred to a PO in SRM and a STO in R/3?

Here are more detail of whate i have done:

A. In the Classic Scenario

I) Standard Purchse Order (this one works fine):-

I adapted the BADI BBP_CREATE_PO_BACK as follows :

1. Changing the document from EC to NB,

2. Changing the Vendor from 1000000272 to 1000000271,

Run the program - CLEAN_REQREQ_UP.

The system as expected - A PO is created and

In the Follow-on Document, in the SC, I get tow messages:

1. Shopping Cart 1000000508/1 Follow-on Document Created

2. Purchase Order 4400002238/1

II) Stock transport Order (here the problem arises):-

In order to create a STO

I adapted the BADI BBP_CREATE_PO_BACK as follows :

1. Changing the document type from EC to UB (STO),

2. Changing the Vendor to a Supplying Plant – 236 (The central warehouse),

3. Changing the Item category – 7 (U - Transport),

Run the program - CLEAN_REQREQ_UP.

A STO is created (Number 4400002239) but the number of the PO is not in

the SC.

In the Follow-on Document in the SC I get only onr tow message:

1. Shopping Cart 1000000511/1 Follow-on Document Created

To confirm the goods receipt of that STO from the status screen I get the messsge: 'PO 1 contains no items for confirmation'.

When confirming the goods receipt from the Confirm Goods/Service I get the message: 'PO 4400002239 contains no items for confirmation'.

B. In the Extended Classic Scenario

I adapted the BADI BBP_ECS_PO_OUT_BADI as follows :

Document type - UB (STO),

Supplying Plant – 1000 (The central warehouse),

Item category – 7 (U - Transport),

The BADI use the BAPI BAPI_PO_CREATE1.

The BAPI_PO_CREATE1 returns the following listed error messages:

'Net price must be greater than 0'.

Because the BAPI is activated whith extra parameters like: Invoice Receipt Indicator and Partial Invoice

Your help is appreciated.

Rgds

Yoram

Former Member
0 Kudos

Hello Yoram,

First of all, have you tried to create a GR directly in R/3, before trying to do it from SRM ?

Rgds

Christophe

Former Member
0 Kudos

Has anyone implemented a working process to handle this in an extended classic scenario?

Former Member
0 Kudos

Hi,

I don't get it: what is the difference between what you call STO and reservations. Wouldn't it be more simple to use the standard scenario with backend reservation creation ?

Concerning the document number in the history, if your scenario is not standard, and you choosed to create another kind of document in R/3, then you 'll have to adapt the 'BBP_GET_STATUS2' programm to fill in your R/3 document in the SC history.

Regards.

Vadim

Former Member
0 Kudos

Unfortunately, we now use the distribution Model in MM and because of that we create STO.

we do use 'BBP_GET_STATUS2'(every 2 min').

should we add something else?

thank's moti

Former Member
0 Kudos

Yoram,

Please answer my questions if you want me to help

Regards.

Vadim

Former Member
0 Kudos

Hi Vadim,

I) STO vs. Reservations - STO enables the additional functionality of:

1. Using the distribution module to handle the distribution of the ordered goods.

2. Use two steps transport - Get a confirmation for the delivery from the recipient.

II)I adapted the 'BBP_GET_STATUS2' programm. I still don't get the PO number in the SC. What operations are required to achieve this?

Here are more detail of

In Classic Scenario (this one works fine)

I) Standard Purchse Order:-

I adapted the BADI BBP_CREATE_PO_BACK as follows :

1. Changing the document from EC to NB,

2. Changing the Vendor from 1000000272 to 1000000271,

Run the program - CLEAN_REQREQ_UP.

The system as expected - A PO is created and

In the Follow-on Document, in the SC, I get tow messages:

1. Shopping Cart 1000000508/1 Follow-on Document Created

2. Purchase Order 4400002238/1

II) Stock transport Order (here the problem arises):-

In order to create a STO

I adapted the BADI BBP_CREATE_PO_BACK as follows :

1. Changing the document type from EC to UB (STO),

2. Changing the Vendor to a Supplying Plant – 236 (The central warehouse),

3. Changing the Item category – 7 (U - Transport),

Run the program - CLEAN_REQREQ_UP.

A STO is created (Number 4400002239) but the number of the PO is not in

the SC.

In the Follow-on Document in the SC I get only onr tow message:

1. Shopping Cart 1000000511/1 Follow-on Document Created

To confirm the goods receipt of that STO from the status screen I get the messsge: 'PO 1 contains no items for confirmation'.

When confirming the goods receipt from the Confirm Goods/Service I get the message: 'PO 4400002239 contains no items for confirmation'.

Your help is appreciated.

Yoram