cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign Purchasing Organization in Shopping Cart (SSP in ECC6 EhP6)

laurent_burtaire
Active Contributor
0 Kudos

Hello,

we are using Self-Service Procurement from Business Function LOG_MM_SSP_1.

After SC is created and workflow is over, Purchase Requisition should be created. Nevertheless, this is not the case because Purchasing Organization is not passed from SC to PR.

In SSP standard, purchasing organization cannot be populated by user himself. So, i tried to use rulesets i defined for material group determination and which i assigned to BRF+ function /SRMERP/F_DET_PUR_GRP.

For this, i change value of EKORG from component name IS_SC_ITEM being part of the function module signature context. But this does not work.

I see with simuation that field is updated with my default value. But during transactional process, the field is not updated.

I think being an importing parameter in the BRF+ function, that's why it is not updated.

So, how can i do to update field EKORG from /SRMERP/S_SC_ITM table ?

There is no BRF+ function for this purpose.

How this point is managed in SSP standard design ?

Besides, how can i do to determine where in ABAP program a BRF+ function is called ?

Thank you for you answers.

Regards.

Laurent.

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello,

i finally found what was the problem...

It was due to missing MM customizing for the Enterprise Structure.

Indeed, to get a default purchasing organization, it is mandatory to assign standard purchasing organization to plant:

IMG: SAP Customizing Implementation Guide > Enterprise Structure > Assignment > Materials Management > Assign purch. organization to reference purch. organization

This customizing is linked to T001W table.

I found this point with /SRMERP/CL_H_SC_ITM_DEFAULTS class. Inside this class, GET_DEFAULT_PURCHASING_ORG method calls /SRMERP/IF_MO_DAC_PLANT~READ_PLANT method from Class /SRMERP/CL_MO_DAC_PLANT.

I will give this answer i was expecting to SAP OSS : it seems they did not know it

Regards.

Laurent.

Answers (4)

Answers (4)

laurent_burtaire
Active Contributor
0 Kudos

Hello Bijay,

thank you for your answer.

Just for precision, this issue occurs for free-text Shopping Cart item as Purchasing Organization is not linked to Material Group.

Finally, i opened an OSS message as for me there is a standard bug.

Regards.

Laurent

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

Purchasing organisation is considered as reporting unit in MM Oragisation Structure.

Shopping Cart in SRM  and Purchase Requsition in ECC  are purchasing documents( transaction data).

Cross check you have maintaioned  master data( source list and inforecord) which help to flow Purchasing organisation in Purchase Requsition in ECC  and in Shopping Cart in SRM( For SRM, check General Attribute for Organisation in t.code:PPOSA_BBP)

Regards,

Biju K

former_member210560
Active Contributor
0 Kudos

Dear Laurent,

Do you have SRM scenario in your system?

If it with SRM, you may check FM BBP_OM_DETERMINE_RESP_PGROUP

and FM BBP_OM_FIND_SC .

Regards,

ian Wong Loke Foong

laurent_burtaire
Active Contributor
0 Kudos

Hello Ian,

no SRM, is not in the lanscape system.

Regards.

Laurent.

laurent_burtaire
Active Contributor
0 Kudos

Hi,

nobody knows ??

Regards.

Laurent.