cancel
Showing results for 
Search instead for 
Did you mean: 

SRM PR,PO is not getting created in ECC backend

Former Member
0 Kudos

HI

i create SC in classic scenario. and after the manager approve the SC the follow on Doc didnt create in ECC

i define object for po pr and reserve in backend

when i check FM :BBP_PD_SC_CHECK i havent any error message

but when i have chek the SC in RZ20 i have this error: Local Error: Shopping cart 0010000308: Error creating the follow-on document

and when i chek BBP_PD i have this status:

Stats:

           Status         Description                    Inactiv

HEADER     I1015          Awaiting Approval              X

HEADER     I1021          Created

HEADER     I1038          Complete

HEADER     I1106          Shopping cart ordered

HEADER     I1129          Approved

how to resolve this issue?

Regards

Elham

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

Check If number range and document type is correctly maintained .

Otherwise put the breakpoint in BADI "BBP_CREATE_BE_PO_NEW" implementation method "FILL_PO_INTERFACE1".

And then put the breakpoint in in BAPi_PO_CREATE1.

Also check SAP_ALL and SAP_New profile is assigned to backed RFC could be authorization issue also.

Thanks

Ankit

Former Member
0 Kudos

i do all of these

when i run test in se37 for BAPi_PO_CREATE1 i have this error

T ID                   NUM MESSAGE

E BAPI                 001 No instance of object type PurchaseOrder has been created. External reference:

E MEPO                 002 PO header data still faulty

E ME                   083 Enter Purchasing Org.

W W5                   005 Please enter items first

W W5                   151 All mandatory header data is missing

and i dont know the influence of (((put the breakpoint in BADI "BBP_CREATE_BE_PO_NEW" implementation method "FILL_PO_INTERFACE1")))

Former Member
0 Kudos

This is not SRM problem for sure.

Request you to create first purchase order manually in the ecc system with data you have entered in the shopping cart and then I think you will surely resolve your problem.

Cheers Ankit

Former Member
0 Kudos

i create PO and PR in ECC

and then create SC whit same data but i no follow on doc created

as before i have this error in bbp_pd

Stats:

           Status         Description                    Inactiv

HEADER     I1015          Awaiting Approval              X

HEADER     I1021          Created

HEADER     I1038          Complete

HEADER     I1106          Shopping cart ordered

HEADER     I1129          Approved

Former Member
0 Kudos

????

Former Member
0 Kudos

Could you please send the screenshot of approval tab from sc interface and bbp_pd also.

Thanks

Ankit

Former Member
0 Kudos
Yateesh_h
Active Participant
0 Kudos

Hi,

Could you also post a screenshot of the error message from RZ20.

Regards,

Yateesh

Former Member
0 Kudos

Dear Elham,

To find the solution of the problem I think you need to debug.

Follow below steps if this help you

a) Run the report "FBGENDAT"

b) Input the data as below screen shot

 

c) Then go to se37 execute FM : BAPI_PO_CREATE1

d) You will find the test data directory and test data will be saved as below

e) In this test date change PO number you should get the error which you are getting above.

Thanks

Ankit Jain

Former Member
0 Kudos

Hi Dear Ankit

tnx alot for ur attention

i do this until step C but when i click on test data directly i have this error

Test data directory does not exist

but when i execute this FM module i have 5 error and warning

Former Member
0 Kudos

Hi

this is my RZ20 :

Former Member
0 Kudos

Screenshot is the error you mentioned above but do you "Test Data Directory" created or not ?

Thanks

Ankit Jain

Former Member
0 Kudos

no when i run FM : BAPI_PO_CREATE1 then when i click on "Test Data Directory" i have this error

Test data directory does not exist

how i can create test data directly

and also i create BAPI_PO_CREATE1 in se38

Former Member
0 Kudos

Bro it should create "test data directly " automatically if you run the report "FBGENDAT" mentioned in the step A.

Thanks

Ankit

Former Member
0 Kudos

i do it step by step as blw:

Former Member
0 Kudos

 

I've done the steps correctly?

Former Member
0 Kudos

I just want to check again with you have you assigned SAP_ALL and SAP_NEW profile to RFC user which you have created.

Thanks

Ankit

Former Member
0 Kudos

HI dear Ankit

my RFC user didnt have SAP_NEW

i assigned it now

Former Member
0 Kudos

Any change after that ? Request you to check the data because I think data is not passing in BAPi_PO_CREATE1.

Thanks

Ankit Jain

Former Member
0 Kudos

HOW i can check the data?

what about my error in BAPi_PO_CREATE


T ID                   NUM MESSAGE



E BAPI                 001 No instance of object type PurchaseOrder has been created. External reference:

E MEPO                 002 PO header data still faulty

E ME                   083 Enter Purchasing Org.

W W5                   005 Please enter items first

W W5                   151 All mandatory header data is missing

Former Member
0 Kudos

Hi Elham,

Please check your org structure(ppoma_bbp), did you assigned company code to your purchasing organization?

Are there multiple purchasing organization's in the org structure?

Thanks&Regards,

Praveen

Former Member
0 Kudos

yes i assigned it

no i havent multiple purchase organization

Former Member
0 Kudos

i solved my problem by:

1. delete the logical system and define it again

2. delete RFC connection for both ECC and SRM side

3.define 2 job: bbp_get_status2 AND clean_reqreq-up

sc created and after approving all of follow on doc created in backend system

former_member208675
Active Contributor
0 Kudos

Hi,

You should check SAP Note:1173815, it will help you to find where follow on document is determined.

Regards,

Former Member
0 Kudos

this note is realese for 700 srm

but we are 701 and the note doesnt work for us

and the solution in that note explain about why the system create PO instead PR but my issue is why the system didnt create any PR,P,RS