cancel
Showing results for 
Search instead for 
Did you mean: 

SOCO requiremnts not getting cleared.

Former Member
0 Kudos

Hello Freinds,

I am working on SRM 5.0 classic scenario( with support pack 11). The requiremnts are not getting cleared although follow on docs are created for them ( PO). This is happening for only goods shopping carts and not for the limit.

Any inputs on this will be highly appriciated.

Regards

SRM USER

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use the report to clear these documents from Sourcing Cockpit.

BBP_CHECK_SOURCING_FLAG

Regards

Kathirvel

former_member183819
Active Contributor
0 Kudos

Hello Kathir/ Pradeep,

Vijay has a problem all goods SC.

Vijay:- More than one reference to a purchase requisition is not expected " . Where did you see the error?

In the job spool?

BR

Muthu

Former Member
0 Kudos

Hi Muthu ,

I can see these massage when i exicute this report in foreground , And its giving me out put like this .

" 1000008082 More than one reference to a purchase requisition is not expected ".

Thank you

Former Member
0 Kudos

Hi Kathirvel,

I have run the report , which update in the database.

Will check it and let you know the status.?

And one more question , for the new shopping carts , how it will update the status indicator, Do i need to schedule the report in background job .

Thank you.

Former Member
0 Kudos

Hi All,

I am able to create the multiple PO for the same shopping cart .

Thank you

former_member183819
Active Contributor
0 Kudos

Hi Vijay

Hope that you have set up a job BBP_GET_STATUS_2 in sm36 periodically right?

regards

Muthu

Former Member
0 Kudos

Hi Muthu ,

This job will run in periodically for very 5 min .

Thank you .

former_member183819
Active Contributor
0 Kudos

Hi

As pradeep advised did you debug the job bbp_get_status_2 ?

you may come to know how the flag is setting for that field?

BR

Muthu

Former Member
0 Kudos

Hi Vijay,

There are lot off OSS notes for this issue. Please check your support pack level and upgrade to latest verison.This is the best option. Then the report I sugsested was to clear these off (suggested by SAP) one off, please do not schedule that.

BTW what Pradeep has suggested is very much valid. The job introduces/updated incorrect indicators. By upgrading to latest SP level, you can sort out most of the issues.

I will not recommend scheduling this report in background, though it is a short term fix; this should get resolved by SP upgrade.

Regards

Kathirvel

Answers (1)

Answers (1)

Former Member
0 Kudos

And i am able to create the PO again for the same shopping cart.

former_member183819
Active Contributor
0 Kudos

Hi

It seems some wondering. After you created a follow on document it must disappear from sourcing cockpit right?

so you are telling that again it is appearing in sourcing cockpit right. Is it again the same sc appears int he worklist?

Note 1001882 - BID: Requirement reappears in sourcing cockpit

BR

Muthu

Edited by: Muthuraman Govindasamy on Oct 6, 2008 8:45 AM

Edited by: Muthuraman Govindasamy on Oct 6, 2008 8:48 AM

Former Member
0 Kudos

Hi Muthu,

Yes , its gaian apprearing in the sourcing cockpit , and i am able to create PO again for the same shopping cart.

Thank you.

former_member183819
Active Contributor
0 Kudos

Hi Vijay

Only one sc or every goods sc? How did you complete your earlier sourcing..

Note 1115597 - Service shopping cart remains in SOCO in SRM 4.0

plz check BBP_GET_STATUS_2 job?

BR

Muthu

Edited by: Muthuraman Govindasamy on Oct 6, 2008 9:00 AM

Former Member
0 Kudos

Hi Muthu ,

It is for all SC getting created , except limit item SC .

earlier sourcing..will be same ...except it wont get catalog SC to shopping carts, for that we are using the BBP_SRC_DETERMINE .

Thank you,

former_member183819
Active Contributor
0 Kudos

Hi

In the mean time create oss message to SAP.

BR

Muthu

Former Member
0 Kudos

Hi Muthu ,

I have check the note which you have give , But we are in SRM 550 ., That note is valid to SRM 500.

Strange is , We have applied support pack(11) in 2 sytems , In one system it was working properly. But where is in another system its creating multiple PO's

Thank you .

Former Member
0 Kudos

Hi I am seeing this Job also , For some shopping carts it is giving the error " More than one reference to a purchase requisition is not expected " .

Thank you

former_member183819
Active Contributor
0 Kudos

Hi

Check this field entry in the table

SOURCE_REL_IND Table BBP_PDIGP

BR

Muthu

Former Member
0 Kudos

Hi Muthu ,

Even i am also checking the same in BBP_PDIGP.

X Sourcing-Relevant

Y Sourcing Completed

A Relevant for Automatic Grouping of POs

D Relevant for Automatic Grouping of RFQs

N Relevant for RFQ from Shopping Cart

M Relevant for RFQ from SOCO

T Temporary: Not Sourcing-Relevant

For me its showing as SOURCE_REL_IND = X even though its completed ( Fallow on document is created ).

Thank you,

former_member183819
Active Contributor
0 Kudos

Hi

Please check once again this BADI

BBP_SRC_DETERMINE

since you have changed the logic here according to your business need.

BR

Muthu

Former Member
0 Kudos

Hi Muthu ,

I have check the code , But i sisnt see any difference , Infact we didn done any change recently . It was working fine beofre support pack and still working fine in another system aftter support pack .this Badi code is same in the both systems .

you can also have look into this code.zsrm_sourcing is a custom table where we are maintaing document type and account assignment catogory for catalog items.

Thank you .

  • Get details of shopping cart.

CALL FUNCTION 'BBP_PD_SC_ITEM_GETDETAIL'

EXPORTING

i_guid = item_bbp_guid

IMPORTING

E_ITEM = ls_item

ET_ATTACH = lt_attach

TABLES

E_ACCOUNT = lt_account

E_PARTNER = lt_partner.

    • If lt_attach got any records sourcing needs to be done.

  • SET SOURCING parameter to 'X'.

IF lt_attach[] IS NOT INITIAL.

SOURCING = 'X'.

EXIT.

ENDIF.

  • If lt_partner doenst contain a fixed vendor, sourcing

  • needs to be carried out.

READ TABLE lt_partner TRANSPORTING NO FIELDS

WITH KEY partner_fct = c_vendor. " Fixed vendor

IF NOT sy-subrc IS INITIAL.

SOURCING = 'X'.

EXIT.

ELSE.

  • If there is a fixed vendor, but item is not assigned to

  • account assignment category, EXPENSE or INTERNAL ORDER .

  • Sourcing needs to be carried out for this case.

  • Load table with sourcing rules

SELECT * FROM zsrm_sourcing

INTO TABLE lt_sourcing.

CLEAR SOURCING.

LOOP AT lt_account ASSIGNING <fs_account>.

READ TABLE lt_sourcing TRANSPORTING NO FIELDS

WITH KEY acc_cat = <fs_account>-acc_cat

skip_sourcing = c_x.

IF sy-subrc IS NOT INITIAL.

SOURCING = 'X'.

EXIT.

ENDIF.

ENDLOOP.

ENDIF.

former_member183819
Active Contributor
0 Kudos

Hi

check the job BBP_GET_STATUS_2 program

Check why it is not showing SOURCE_REL_IND correct value after you created a follow on document in backend.

regards

Muthu

Former Member
0 Kudos

Hi Vijay,

I feel the issue is with BBP_GET_STATUS_2 program.

Please see the following notes:

Note 1130842 - BBP_GET_STATUS_2: shopping cart sent back to SOCO.

Note 948716 - External requirements reappear in the Sourcing Cockpit

Look for other similar notes which involves BBP_GET_STATUS_2 program.

Thanks,

Pradeep.