cancel
Showing results for 
Search instead for 
Did you mean: 

Auto PO replication issue- Classic scenario

Former Member
0 Kudos

Hi All

I am having problems in Auto -po creation in SRM 7.0.

Once the Shopping cart is approved, it doesn't change into any further status.

The PO creation fails in the backend , with error - Shopping cart XXXXXXXXX: Error creating the follow-on document

There are no further details in RZ20

For the same shopping cart , i can manually create a PO & it is created successfully after a few warnings.

Pls. help

Thanks

Kedar

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi All

Thanks for all your replies.Muthu had guessed correctly.

This problem was solved in 2 stages:

1) I ran a trace in ST05 for all users in SRM and for the RFC-user in ECC.

That's when I found the error (T100)in the trace

Interval & of number range object REQREQ does not exist - BBP_PU -208

That's when it occurred that SRM is trying to create a PR instead of PO.

Once I assigned the Number range in SRM & ECC ( external) & linked the PR doc type (EC) to PO ( EC), system started creating a PR in backend

2) Then I debugged the Process using the process mentioned in SDN wiki.

I found that the fields Requisition was getting set as X

This was because the function ME_CHECK_SOURCE_OF_SUPPLY_1 was returning an error : 06- 634

In the case of a fixed vendor, please enter info record

When this error was changed to Warning in

Materials Management --> Purchasing --> Environment Data --> Define Attributes of System Messages -->

System started creating a PO.

Finally 3 days of digging paid off.

Regards

Kedar

former_member183819
Active Contributor
0 Kudos

NBF is maintained in Org structure via document type.

What is the status of your shopping cart ? ERROR IN PROCESS or contain errors?

In BBP_PD go to item data and search PO number . Is PO number generated for this sc item?

If your shopping cart data is incomplete it tries to create a PR .Did you define any number range for PR too?

Is your source of supply CONTRACT ? what is your source of supply for your shopping cart?

or

create describe procurement shopping cart

dont assign any vendor in the shopping cart so after approval shopping cart goes to cockpit

and take the shopping cart to cockpit and assign the vendpor and create a PO .

or

http://wiki.sdn.sap.com/wiki/display/SRM/Howtoanalyzethefollow-ondocumentdetermination

lets see..

Muthu

Former Member
0 Kudos

Hi Muthu

The status of my Shopping cart remains as approved . There is no further change in the status.

The shopping cart data is not incomplete as I can create a PO manually without entering any further data.

There is no record of PO in either BBP_PD or in the backend.

I do see external number ranges maintained for PRs in backend.

However checked in EBAn table that there is no PR created today.

Thanks

Kedar

former_member183819
Active Contributor
0 Kudos

SC satus must change to follow on docuement created or error in process.

in your case even PO number also not created by SRM

i am wondering why shopping cart status remains approved .we are expecting next staus in the shopping cart .

Muthu

Former Member
0 Kudos

Muthu,

I am wondering why there is no entry for the items in CRM_JEST?

Why is there no workflow starting for these items.

Even the items should show approved.

Is something missing in workflow to set the status of the items to Approved & in transfer.

Thanks

Kedar

former_member183819
Active Contributor
0 Kudos

your sc item guidmust be there in jest table paste bbp_pd sc status .. it is strange.

mean time open message to SAP.

Please clarify your backend ECC versions 4.6 c or ECC 6.0 / with ehp4 and SRM sp

muthu

Former Member
0 Kudos

Hi Kedar,

What is the workflow you are using. after shopping cart getting approved the set released method of business object should have status completed for the backend object to be created.

check for the shopping cart the work item id . and in SWi1 for the work item id if the task SETRELEASED is completed.

Try to execute the FM BBP_PD_WF_STATUS_CHANGE to manually release the workflow .

Hope that works

Thanks

Iftekhar Alam

former_member183819
Active Contributor
0 Kudos

Hi

click the create follow on docuement icon in the monitor shopping cart and youwill get detail error .

it is clue less . any error in sm58 or slg1

check sc item data any PO number generated and PO is available in ECC .

muthu

Former Member
0 Kudos

Thanks all for your replies.

I am able to create a Backend PO manually using exact same data, however Auto-PO is not working even though all source of supply details are present.

I checked the config as below:

1) Define Sourcing for Product Categories

CatID /Backend # /Sourcing carried out for items without..........

2) Define Objects in Backend System

SRM PORG ID / category ID /Source Syst = Backend/ Always ext/PO if item data complete.......

3) Define Number Ranges for Shopping Carts and Follow-on Documents

05 4100000000 4199999999 4100000089 - PO

10 1000000000 1999999999 1000000169 - SC

4) Define Number Ranges per Backend System for Follow-on Documents

Backend system 05

5) Define transaction type - For BUS2201

EC Purchase Order 05 ( I copied ECPO into EC as the backend doc type is EC & made ECPO inactive)

For BUS2121 - ( I have maintained SHC, however I am not able to maintain the Transaction type of follow on documents for SHC)

It says - Function for selected object type not possible - Could this be an issue????

6) I have assigned the attribute at root level

Document Type in R/3 System BSA EC Backendsystem 0 0 0

Also I have added the WF-BATCH and the RFc user in SRM to the org structure.

The workflow without approval is active for all shopping carts currently.

In the backend system

1) I have created the following as an external # range ( the Interval # is 41 which is different from SRM as 05 was already being used in backend)

41 4100000000 4199999999

2) I have created a doc type EC in backend , and assigned the ext # range to it

EC E-Commerce PO 10 45 41 SAP NBF

Should I be using the debugging as I am able to manually create the PO in backend.

Also checked that WF and RFc users have strong authorizations.

I see no log in SLG1, SM58 in SRM or ECC.

Also it is not possible to create follow on docs in Application monitor as the option is grayed out.

Once the PO creation fails, the shopping cart is not sourcing relevant anymore.

All I see is the error in RZ20.

Shopping cart XXXXXXXXXX: Error creating the follow-on document ( These are local errors) so most likely the RFC call has not happened.

Thanks

Kedar

laurent_burtaire
Active Contributor
0 Kudos

Hello Kedar,

Have a look at the SAP SRM community wiki below:

[Shopping cart transfer|http://wiki.sdn.sap.com/wiki/display/SRM/Shoppingcarttransfer]

With its help, you should be able to solve your problem by yourself.

Regards.

Laurent.

Former Member
0 Kudos

Hi Kedar,

What does the follow-on documents tab in SRM show?

Did you create the backend PO manually with exactly the same data as that of the shopping cart? Is there any entry in the table BBP_DOCUMENT_TAB? There should be one.

Please, check if all the data used in the shopping cart are synchronised with the back-end. Also, if the PO transaction type has been maintained correctly in SRM and backend with the correct number ranges.

Regards

Saravanan.