cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed vendor getting selected in the Shopping cart by mistake

Former Member
0 Kudos

Hi,

We are on SRM_SERVER 550, SP07 and SAP R/3 - 4.7.

We are on classic scenario.

Our Scenario: When users order the cart with preferred vendor, the cart will go through approval and once the approval WF gets completed and cart item moves to sourcing cockpit (carry out sourcing). Here the buyers create the PO in the backend.

But we observed one issue recently. For one particular material id, there is a fixed vendor getting chosen. User enters the preferred vendor, system chooses a fixed vendor--> So the cart doesnt go to sourcing and the PO gets created after the approvals are over.

I checked if there were any Purchase info records maintained in SAP for this vendor material combination, but there were none.

There are also no vendor lists maintained.

Is there any other way a fixed vendor can be picked up in a shopping cart?

Please let us know .

Regards,

Srivatsan

Accepted Solutions (0)

Answers (2)

Answers (2)

peter_novoth
Active Contributor
0 Kudos

Hi Srivatsan,

1) create a new SC and set on hold.

2) set a breakpoint in the function B45A_SOURCEDETERMIN_GETSOS at the point:

 CALL FUNCTION 'BAPI_SOURCEDETERMIN_GETSOS'       <----- here
            DESTINATION destination 

3) execute the FM BBP_PD_SC_TRANSFER with the GUID of the SC (from the step 1)

If you have a dialog user in the bakcend, you can debug the SOS find in the backend. If you just need the result, doubleclick on the sources_of_supply:

 CALL FUNCTION 'BAPI_SOURCEDETERMIN_GETSOS'
      DESTINATION destination
      EXPORTING
        material              = material
        mat_grp               = mat_grp
        plant                 = plant
        deliv_date            = deliv_date
        quantity              = quantity
        unit                  = unit
        item_cat              = item_cat
        acctasscat            = acctasscat
        purch_org             = purch_org
        fixed_vend            = fixed_vend
        pckg_no               = pckg_no
        unit_iso              = unit_iso
      TABLES
        sources_of_supply     = sources_of_supply    <--- check the result here
        return                = return
      EXCEPTIONS
        communication_failure = 1  MESSAGE msg_text
        system_failure        = 2  MESSAGE msg_text
        OTHERS                = 3. 

Kind regards,

Peter

imthiaz_ahmed
Active Contributor
0 Kudos

Is there a contract exist for that Vendor?